Browse Source

Merge pull request #64045 from touilleMan/gdextension-ObjectID-in-native_structures

Rémi Verschelde 3 years ago
parent
commit
f2ddd81726
1 changed files with 1 additions and 0 deletions
  1. 1 0
      core/register_core_types.cpp

+ 1 - 0
core/register_core_types.cpp

@@ -269,6 +269,7 @@ void register_core_types() {
 	_marshalls = memnew(core_bind::Marshalls);
 	_engine_debugger = memnew(core_bind::EngineDebugger);
 
+	GDREGISTER_NATIVE_STRUCT(ObjectID, "uint64_t id = 0");
 	GDREGISTER_NATIVE_STRUCT(AudioFrame, "float left;float right");
 	GDREGISTER_NATIVE_STRUCT(ScriptLanguageExtensionProfilingInfo, "StringName signature;uint64_t call_count;uint64_t total_time;uint64_t self_time");