Fix more missing constants.

This commit is contained in:
Relintai 2023-06-03 01:44:34 +02:00
parent b5c9435b3b
commit 6d3d236ce9

View File

@ -12,20 +12,31 @@ from pandemonium.builtins import (
Color, Color,
Dictionary, Dictionary,
NodePath, NodePath,
StringName,
Plane, Plane,
Quaternion, Quaternion,
Rect2, Rect2,
Rect2i,
RID, RID,
Transform2D, Transform2D,
Transform, Transform,
Projection,
Vector2, Vector2,
Vector2i,
Vector3, Vector3,
Vector3i,
Vector4,
Vector4i,
PoolByteArray, PoolByteArray,
PoolIntArray, PoolIntArray,
PoolRealArray, PoolRealArray,
PoolStringArray, PoolStringArray,
PoolVector2Array, PoolVector2Array,
PoolVector2iArray,
PoolVector3Array, PoolVector3Array,
PoolVector3iArray,
PoolVector4Array,
PoolVector4iArray,
PoolColorArray, PoolColorArray,
GDString, GDString,
) )
@ -90,16 +101,23 @@ class VariantType(IntFlag):
REAL: int REAL: int
STRING: int STRING: int
VECTOR2: int VECTOR2: int
VECTOR2I: int
RECT2: int RECT2: int
RECT2I: int
VECTOR3: int VECTOR3: int
VECTOR3I: int
VECTOR4: int
VECTOR4I: int
TRANSFORM2D: int TRANSFORM2D: int
PLANE: int PLANE: int
QUATERNION: int QUATERNION: int
AABB: int AABB: int
BASIS: int BASIS: int
TRANSFORM: int TRANSFORM: int
PROJECTION: int
COLOR: int COLOR: int
NODE_PATH: int NODE_PATH: int
STRING_NAME: int
RID: int RID: int
OBJECT: int OBJECT: int
DICTIONARY: int DICTIONARY: int
@ -109,7 +127,11 @@ class VariantType(IntFlag):
POOL_REAL_ARRAY: int POOL_REAL_ARRAY: int
POOL_STRING_ARRAY: int POOL_STRING_ARRAY: int
POOL_VECTOR2_ARRAY: int POOL_VECTOR2_ARRAY: int
POOL_VECTOR2I_ARRAY: int
POOL_VECTOR3_ARRAY: int POOL_VECTOR3_ARRAY: int
POOL_VECTOR3I_ARRAY: int
POOL_VECTOR4_ARRAY: int
POOL_VECTOR4I_ARRAY: int
POOL_COLOR_ARRAY: int POOL_COLOR_ARRAY: int