Uint16 & Int16 Scripting support.

This commit is contained in:
Jean-Baptiste Perrier
2021-05-10 22:24:35 +02:00
parent 2c51f79c0a
commit 9eaa6e622b
2 changed files with 9 additions and 1 deletions

View File

@@ -58,6 +58,9 @@ API_STRUCT(InBuild) struct FLAXENGINE_API VariantType
Int3,
Int4,
Int16,
Uint16,
MAX
};
@@ -135,6 +138,8 @@ API_STRUCT(InBuild) struct FLAXENGINE_API Variant
union
{
bool AsBool;
int16 AsInt16;
uint16 AsUint16;
int32 AsInt;
uint32 AsUint;
int64 AsInt64;