mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant.
All usages of "type" to refer to classes were renamed to "class" ClassDB has been exposed to GDScript. OBJ_TYPE() macro is now GDCLASS()
This commit is contained in:
@@ -231,7 +231,7 @@ public:
|
||||
#endif
|
||||
void set_hint_flags(uint32_t p_hint) { hint_flags=p_hint; }
|
||||
uint32_t get_hint_flags() const { return hint_flags|(is_const()?METHOD_FLAG_CONST:0)|(is_vararg()?METHOD_FLAG_VARARG:0); }
|
||||
virtual String get_instance_type() const=0;
|
||||
virtual String get_instance_class() const=0;
|
||||
|
||||
_FORCE_INLINE_ int get_argument_count() const { return argument_count; };
|
||||
|
||||
@@ -328,7 +328,7 @@ public:
|
||||
|
||||
void set_method(NativeCall p_method) { call_method=p_method; }
|
||||
virtual bool is_const() const { return false; }
|
||||
virtual String get_instance_type() const { return T::get_type_static(); }
|
||||
virtual String get_instance_class() const { return T::get_class_static(); }
|
||||
|
||||
virtual bool is_vararg() const { return true; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user