You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
781: Added Godot exportable methods along with the expected signature r=jacobsky a=jacobsky
Added a list of the Godot Virtual methods from Node and Control to the #[export] trait documentation.
closes#672
Co-authored-by: Jacobsky <cael.jacobsen@gmail.com>
/// This enables you to set the [Multiplayer API RPC Mode](https://docs.godotengine.org/en/stable/classes/class_multiplayerapi.html?highlight=RPC#enumerations) for the function.
264
+
///
244
265
/// Refer to [Godot's Remote Procedure documentation](https://docs.godotengine.org/en/stable/tutorials/networking/high_level_multiplayer.html#rpc) for more details.
266
+
/// #### `Node` virtual functions
245
267
///
246
-
268
+
/// This is a list of common Godot virtual functions that are automatically called via [notifications](https://docs.godotengine.org/en/stable/classes/class_object.html#class-object-method-notification).
269
+
///
270
+
/// ```ignore
271
+
/// fn _ready(&self, owner: &Node);
272
+
/// ```
273
+
/// Called when both the node and its children have entered the scene tree.
274
+
/// _See [Godot docs](https://docs.godotengine.org/en/stable/classes/class_node.html#class-node-method-ready) for more information._
275
+
/// <br><br>
276
+
///
277
+
/// ```ignore
278
+
/// fn _enter_tree(&self, owner: &Node);
279
+
/// ```
280
+
/// Called when the node enters the scene tree.
281
+
/// _See [Godot docs](https://docs.godotengine.org/en/stable/classes/class_node.html#class-node-method-enter-tree) for more information._
282
+
/// <br><br>
283
+
///
284
+
/// ```ignore
285
+
/// fn _exit_tree(&self, owner: &Node);
286
+
/// ```
287
+
/// Called when the node is removed from the scene tree.
288
+
/// _See [Godot docs](https://docs.godotengine.org/en/stable/classes/class_node.html#class-node-method-exit-tree) for more information._
/// The string returned from this method is displayed as a warning in the Scene Dock if the script that overrides it is a tool script.
295
+
/// _See [Godot docs](https://docs.godotengine.org/en/stable/classes/class_node.html#class-node-method-get-configuration-warning) for more information._
/// Called when an `InputEventKey` hasn't been consumed by `_input()` or any GUI.
330
+
/// _See [Godot docs](https://docs.godotengine.org/en/stable/classes/class_node.html#class-node-method-unhandled-key-input) for more information._
331
+
/// <br><br>
332
+
///
333
+
/// #### `Control` virtual functions
334
+
///
335
+
/// This is a list of common Godot virtual functions that are automatically called via [notifications](https://docs.godotengine.org/en/stable/classes/class_object.html#class-object-method-notification).
/// Returns a `Control` node that should be used as a tooltip instead of the default one.
362
+
/// _See [Godot docs](https://docs.godotengine.org/en/stable/classes/class_control.html#class-control-method-make-custom-tooltip) for more information._
0 commit comments