Enfusion Script API
|
Public Member Functions | |
proto void | SerializeBytes (inout void data, int sizeInBytes) |
Serializes the data pointer. The size is the amount of bytes serialized. | |
void | SerializeBool (inout bool val) |
void | SerializeInt (inout int val) |
void | SerializeFloat (inout float val) |
void | SerializeVector (inout vector val) |
proto void | SerializeString (inout string val) |
void | EncodeBool (ScriptBitSerializer packet) |
void | DecodeBool (ScriptBitSerializer packet) |
void | EncodeInt (ScriptBitSerializer packet) |
void | DecodeInt (ScriptBitSerializer packet) |
void | EncodeFloat (ScriptBitSerializer packet) |
void | DecodeFloat (ScriptBitSerializer packet) |
void | EncodeVector (ScriptBitSerializer packet) |
void | DecodeVector (ScriptBitSerializer packet) |
proto void | EncodeString (ScriptBitSerializer packet) |
proto void | DecodeString (ScriptBitSerializer packet) |
proto native bool | Serialize (ScriptBitSerializer serializer, int sizeInBytes) |
Serialization of the BitSerializer type. | |
proto native int | Tell () |
Returns the current position within the buffer with byte precision. | |
proto bool | Compare (void data, int sizeInBytes) |
Compares the insides of the buffer with provided pointer (bitwise). | |
bool | CompareBool (bool val) |
bool | CompareInt (int val) |
bool | CompareFloat (float val) |
bool | CompareVector (vector val) |
proto bool | CompareString (string val) |
proto native bool | CompareSnapshots (SSnapSerializerBase snapshot, int sizeInBytes) |
Compares the contents of two SnapSerialiers. | |
proto bool | CompareStringSnapshots (SSnapSerializerBase snapshot) |
Public Member Functions inherited from Managed | |
proto external ref Managed | Clone () |
Return shallow copy of object, or null if it is not allowed (not public constructor) | |
Compares the insides of the buffer with provided pointer (bitwise).
Size is the amount of read bytes from the data.
proto native bool SSnapSerializerBase.CompareSnapshots | ( | SSnapSerializerBase | snapshot, |
int | sizeInBytes | ||
) |
Compares the contents of two SnapSerialiers.
The size is amount of bytes used.
proto bool SSnapSerializerBase.CompareStringSnapshots | ( | SSnapSerializerBase | snapshot | ) |
void SSnapSerializerBase.DecodeBool | ( | ScriptBitSerializer | packet | ) |
void SSnapSerializerBase.DecodeFloat | ( | ScriptBitSerializer | packet | ) |
void SSnapSerializerBase.DecodeInt | ( | ScriptBitSerializer | packet | ) |
proto void SSnapSerializerBase.DecodeString | ( | ScriptBitSerializer | packet | ) |
void SSnapSerializerBase.DecodeVector | ( | ScriptBitSerializer | packet | ) |
void SSnapSerializerBase.EncodeBool | ( | ScriptBitSerializer | packet | ) |
void SSnapSerializerBase.EncodeFloat | ( | ScriptBitSerializer | packet | ) |
void SSnapSerializerBase.EncodeInt | ( | ScriptBitSerializer | packet | ) |
proto void SSnapSerializerBase.EncodeString | ( | ScriptBitSerializer | packet | ) |
void SSnapSerializerBase.EncodeVector | ( | ScriptBitSerializer | packet | ) |
proto native bool SSnapSerializerBase.Serialize | ( | ScriptBitSerializer | serializer, |
int | sizeInBytes | ||
) |
Serialization of the BitSerializer type.
The size is the amount of bytes written/read from the bit serializer.
void SSnapSerializerBase.SerializeBool | ( | inout bool | val | ) |
proto void SSnapSerializerBase.SerializeBytes | ( | inout void | data, |
int | sizeInBytes | ||
) |
Serializes the data pointer. The size is the amount of bytes serialized.
void SSnapSerializerBase.SerializeFloat | ( | inout float | val | ) |
void SSnapSerializerBase.SerializeInt | ( | inout int | val | ) |
proto void SSnapSerializerBase.SerializeString | ( | inout string | val | ) |
void SSnapSerializerBase.SerializeVector | ( | inout vector | val | ) |
proto native int SSnapSerializerBase.Tell | ( | ) |
Returns the current position within the buffer with byte precision.