mirror of
https://github.com/godotengine/godot.git
synced 2025-10-31 21:51:22 +00:00
Added API version and hashing to ObjectTypeDB
This commit is contained in:
parent
a4156f1f0a
commit
a75f5f039e
5 changed files with 212 additions and 2 deletions
|
|
@ -5244,6 +5244,18 @@ void EditorNode::add_plugin_init_callback(EditorPluginInitializeCallback p_callb
|
|||
EditorPluginInitializeCallback EditorNode::plugin_init_callbacks[EditorNode::MAX_INIT_CALLBACKS];
|
||||
|
||||
|
||||
int EditorNode::build_callback_count=0;
|
||||
|
||||
void EditorNode::add_build_callback(EditorBuildCallback p_callback) {
|
||||
|
||||
ERR_FAIL_COND(build_callback_count==MAX_INIT_CALLBACKS);
|
||||
|
||||
build_callbacks[build_callback_count++]=p_callback;
|
||||
}
|
||||
|
||||
EditorPluginInitializeCallback EditorNode::build_callbacks[EditorNode::MAX_BUILD_CALLBACKS];
|
||||
|
||||
|
||||
void EditorNode::_bind_methods() {
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue