GodotArray {.byref
.} = object
data: array[sizeof(int), byte]
-
Source
Edit
GodotDictionary {.byref
.} = object
data: array[sizeof(int), byte]
-
Source
Edit
GodotNodePath {.byref
.} = object
data: array[sizeof(int), byte]
-
Source
Edit
GodotObject = object
-
Source
Edit
GodotPoolByteArray {.byref
.} = object
data: array[sizeof(int), byte]
-
Source
Edit
GodotPoolByteArrayReadAccess {.byref
.} = object
data: array[1, byte]
-
Source
Edit
GodotPoolByteArrayWriteAccess {.byref
.} = object
data: array[1, byte]
-
Source
Edit
GodotPoolIntArray {.byref
.} = object
data: array[sizeof(int), byte]
-
Source
Edit
GodotPoolIntArrayReadAccess {.byref
.} = object
data: array[1, byte]
-
Source
Edit
GodotPoolIntArrayWriteAccess {.byref
.} = object
data: array[1, byte]
-
Source
Edit
GodotPoolRealArray {.byref
.} = object
data: array[sizeof(int), byte]
-
Source
Edit
GodotPoolRealArrayReadAccess {.byref
.} = object
data: array[1, byte]
-
Source
Edit
GodotPoolRealArrayWriteAccess {.byref
.} = object
data: array[1, byte]
-
Source
Edit
GodotPoolStringArray {.byref
.} = object
data: array[sizeof(int), byte]
-
Source
Edit
GodotPoolStringArrayReadAccess {.byref
.} = object
data: array[1, byte]
-
Source
Edit
GodotPoolStringArrayWriteAccess {.byref
.} = object
data: array[1, byte]
-
Source
Edit
GodotPoolVector2Array {.byref
.} = object
data: array[sizeof(int), byte]
-
Source
Edit
GodotPoolVector2ArrayReadAccess {.byref
.} = object
data: array[1, byte]
-
Source
Edit
GodotPoolVector2ArrayWriteAccess {.byref
.} = object
data: array[1, byte]
-
Source
Edit
GodotPoolVector3Array {.byref
.} = object
data: array[sizeof(int), byte]
-
Source
Edit
GodotPoolVector3ArrayReadAccess {.byref
.} = object
data: array[1, byte]
-
Source
Edit
GodotPoolVector3ArrayWriteAccess {.byref
.} = object
data: array[1, byte]
-
Source
Edit
GodotPoolColorArray {.byref
.} = object
data: array[sizeof(int), byte]
-
Source
Edit
GodotPoolColorArrayReadAccess {.byref
.} = object
data: array[1, byte]
-
Source
Edit
GodotPoolColorArrayWriteAccess {.byref
.} = object
data: array[1, byte]
-
Source
Edit
GodotString {.byref
.} = object
data: array[sizeof(int), byte]
-
Source
Edit
GodotCharString {.byref
.} = object
data: array[sizeof(int), byte]
-
Source
Edit
VariantType {.size: 4, pure
.} = enum
Nil,
Bool, Int, Real, String, Vector2,
Rect2, Vector3, Transform2D, Plane, Quat,
AABB, Basis, Transform,
Color, NodePath,
RID, Object, Dictionary, Array,
PoolByteArray, PoolIntArray, PoolRealArray, PoolStringArray, PoolVector2Array,
PoolVector3Array, PoolColorArray
-
Source
Edit
VariantCallErrorType {.size: 4, pure
.} = enum
OK, InvalidMethod, InvalidArgument, TooManyArguments, TooFewArguments,
InstanceIsNull
-
Source
Edit
VariantCallError = object
error*: VariantCallErrorType
argument*: cint
expected*: VariantType
-
Source
Edit
GodotVariant {.byref
.} = object
data: array[4 + 2, float32]
-
Source
Edit
GodotMethodBind = object
-
Source
Edit
GDNativeAPIVersion = object
major*: cuint
minor*: cuint
-
Source
Edit
GDNativeInitOptions = object
inEditor*: bool
coreApiHash*: uint64
editorApiHash*: uint64
noApiHash*: uint64
reportVersionMismatch*: proc (library: ptr GodotObject; extension: cstring;
want: GDNativeAPIVersion; have: GDNativeAPIVersion) {.
noconv
.}
reportLoadingError*: proc (library: ptr GodotObject; what: cstring) {.noconv
.}
gdNativeLibrary*: ptr GodotObject
gdNativeAPIStruct*: pointer
activeLibraryPath*: ptr GodotString
-
Source
Edit
GDNativeTerminateOptions = object
inEditor*: bool
-
Source
Edit
GodotMethodRPCMode {.size: 4, pure
.} = enum
Disabled, Remote, Sync, Master, Slave
-
Source
Edit
GodotMethodAttributes = object
rpcMode*: GodotMethodRPCMode
-
Source
Edit
GodotPropertyHint {.size: 4, pure
.} = enum
None,
Range,
ExpRange,
Enum,
ExpEasing,
Length,
SpriteFrame, KeyAccel,
Flags,
Layers2DRender, Layers2DPhysics, Layers3DRender, Layers3DPhysics, File,
Dir,
GlobalFile,
GlobalDir,
ResourceType,
MultilineText,
ColorNoAlpha,
ImageCompressLossy, ImageCompressLossless, ObjectId, TypeString,
NodePathToEditedNode,
MethodOfVariantType,
MethodOfBaseType,
MethodOfInstance,
MethodOfScript,
PropertyOfVariantType,
PropertyOfBaseType,
PropertyOfInstance,
PropertyOfScript,
PropertyHintMax
-
Source
Edit
GodotPropertyUsage {.size: 4, pure
.} = enum
Storage = GODOT_PROPERTY_USAGE_STORAGE_VALUE,
Editor = GODOT_PROPERTY_USAGE_EDITOR_VALUE,
Network = GODOT_PROPERTY_USAGE_NETWORK_VALUE,
NoEditor = GODOT_PROPERTY_USAGE_NOEDITOR_VALUE,
Default = GODOT_PROPERTY_USAGE_DEFAULT_VALUE,
EditorHelper = GODOT_PROPERTY_USAGE_EDITOR_HELPER_VALUE, Checkable = GODOT_PROPERTY_USAGE_CHECKABLE_VALUE,
Checked = GODOT_PROPERTY_USAGE_CHECKED_VALUE,
Internationalized = GODOT_PROPERTY_USAGE_INTERNATIONALIZED_VALUE,
DefaultIntl = GODOT_PROPERTY_USAGE_DEFAULT_INTL_VALUE, Group = GODOT_PROPERTY_USAGE_GROUP_VALUE,
Category = GODOT_PROPERTY_USAGE_CATEGORY_VALUE, NonZero = GODOT_PROPERTY_USAGE_STORE_IF_NONZERO_VALUE,
NonOne = GODOT_PROPERTY_USAGE_STORE_IF_NONONE_VALUE,
NoInstanceState = GODOT_PROPERTY_USAGE_NO_INSTANCE_STATE_VALUE,
RestartIfChanged = GODOT_PROPERTY_USAGE_RESTART_IF_CHANGED_VALUE,
ScriptVariable = GODOT_PROPERTY_USAGE_SCRIPT_VARIABLE_VALUE,
StoreIfNull = GODOT_PROPERTY_USAGE_STORE_IF_NULL_VALUE,
AnimateAsTrigger = GODOT_PROPERTY_USAGE_ANIMATE_AS_TRIGGER_VALUE,
UpdateAllIfModified = GODOT_PROPERTY_USAGE_UPDATE_ALL_IF_MODIFIED_VALUE
-
Source
Edit
GodotPropertyAttributes {.bycopy
.} = object
rsetType*: GodotMethodRPCMode
typ*: cint
hint*: GodotPropertyHint
hintString*: GodotString
usage*: cint
defaultValue*: GodotVariant
-
Source
Edit
GodotInstanceCreateFunc {.bycopy
.} = object
createFunc*: proc (obj: ptr GodotObject; methodData: pointer): pointer {.noconv
.}
methodData*: pointer
freeFunc*: proc (a2: pointer) {.noconv
.}
-
returns user data
Source
Edit
GodotInstanceDestroyFunc {.bycopy
.} = object
destroyFunc*: proc (obj: ptr GodotObject; methodData: pointer; userData: pointer) {.
noconv
.}
methodData*: pointer
freeFunc*: proc (a2: pointer) {.noconv
.}
-
Source
Edit
GodotInstanceMethod {.bycopy
.} = object
meth*: proc (obj: ptr GodotObject; methodData: pointer; userData: pointer;
numArgs: cint; args: var array[MAX_ARG_COUNT, ptr GodotVariant]): GodotVariant {.
noconv
.}
methodData*: pointer
freeFunc*: proc (a2: pointer) {.noconv
.}
-
Source
Edit
GodotPropertySetFunc {.bycopy
.} = object
setFunc*: proc (obj: ptr GodotObject; methodData: pointer; userData: pointer;
value: GodotVariant) {.noconv
.}
methodData*: pointer
freeFunc*: proc (a2: pointer) {.noconv
.}
-
Source
Edit
GodotPropertyGetFunc {.bycopy
.} = object
getFunc*: proc (obj: ptr GodotObject; methodData: pointer; userData: pointer): GodotVariant {.
noconv
.}
methodData*: pointer
freeFunc*: proc (a2: pointer) {.noconv
.}
-
Source
Edit
GodotSignalArgument {.bycopy
.} = object
name*: GodotString
typ*: cint
hint*: GodotPropertyHint
hintString*: GodotString
usage*: cint
defaultValue*: GodotVariant
-
Source
Edit
GodotSignal = object
name*: GodotString
numArgs*: cint
args*: ptr GodotSignalArgument
numDefaultArgs*: cint
defaultArgs*: ptr GodotVariant
-
Source
Edit
GodotClassConstructor = proc (): ptr GodotObject {.noconv, gcsafe, locks: 0, raises: [],
tags: []
.}
-
Source
Edit