/
EncodedObjectAsID.hx
31 lines (25 loc) · 1.07 KB
/
EncodedObjectAsID.hx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// Automatically generated Godot externs: DO NOT EDIT
// MIT licensed, see LICENSE.md
package godot;
import cs.system.*;
/**
Utility class which holds a reference to the internal identifier of an `godot.Object` instance, as given by `godot.Object.getInstanceId`. This ID can then be used to retrieve the object instance with `@GDScript.instance_from_id`.
This class is used internally by the editor inspector and script debugger, but can also be used in plugins to pass and display objects as their IDs.
**/
@:libType
@:csNative
@:native("Godot.EncodedObjectAsID")
@:autoBuild(godot.Godot.buildUserClass())
extern class EncodedObjectAsID extends godot.Reference {
/**
The `godot.Object` identifier stored in this `godot.EncodedObjectAsID` instance. The object instance can be retrieved with `@GDScript.instance_from_id`.
**/
@:native("ObjectId")
public var objectId:cs.types.UInt64;
@:native("new")
public function new():Void;
@:native("SetObjectId")
public function setObjectId(id:cs.types.UInt64):Void;
@:native("GetObjectId")
public function getObjectId():cs.types.UInt64;
}