Skip to content

Commit

Permalink
Expose NOTIFICATION_EXTENSION_RELOADED to ClassDB
Browse files Browse the repository at this point in the history
  • Loading branch information
EterDelta committed Feb 2, 2024
1 parent 10e1114 commit fee7055
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions core/object/object.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1683,6 +1683,7 @@ void Object::_bind_methods() {

BIND_CONSTANT(NOTIFICATION_POSTINITIALIZE);
BIND_CONSTANT(NOTIFICATION_PREDELETE);
BIND_CONSTANT(NOTIFICATION_EXTENSION_RELOADED);

BIND_ENUM_CONSTANT(CONNECT_DEFERRED);
BIND_ENUM_CONSTANT(CONNECT_PERSIST);
Expand Down
3 changes: 3 additions & 0 deletions doc/classes/Object.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1056,6 +1056,9 @@
<constant name="NOTIFICATION_PREDELETE" value="1">
Notification received when the object is about to be deleted. Can act as the deconstructor of some programming languages.
</constant>
<constant name="NOTIFICATION_EXTENSION_RELOADED" value="2">
Notification received when the object finishes hot reloading. This notification is only sent for extensions classes and derived.
</constant>
<constant name="CONNECT_DEFERRED" value="1" enum="ConnectFlags">
Deferred connections trigger their [Callable]s on idle time (at the end of the frame), rather than instantly.
</constant>
Expand Down

0 comments on commit fee7055

Please sign in to comment.