You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 19:11:41 +00:00
Add static method support to core Variant types
* Properly exposed, including validated and variant call * Bound static functions in String and Color * Did not add support for scripting languages, will have to be added manually.
This commit is contained in:
@@ -562,6 +562,7 @@ void register_global_constants() {
|
||||
BIND_CORE_ENUM_CONSTANT(METHOD_FLAG_REVERSE);
|
||||
BIND_CORE_ENUM_CONSTANT(METHOD_FLAG_VIRTUAL);
|
||||
BIND_CORE_ENUM_CONSTANT(METHOD_FLAG_FROM_SCRIPT);
|
||||
BIND_CORE_ENUM_CONSTANT(METHOD_FLAG_STATIC);
|
||||
BIND_CORE_ENUM_CONSTANT(METHOD_FLAGS_DEFAULT);
|
||||
|
||||
BIND_CORE_ENUM_CONSTANT_CUSTOM("TYPE_NIL", Variant::NIL);
|
||||
|
||||
Reference in New Issue
Block a user