|
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) |
| bool | EncodeBool (ScriptBitSerializer packet) |
| bool | DecodeBool (ScriptBitSerializer packet) |
| int | EncodeInt (ScriptBitSerializer packet) |
| int | DecodeInt (ScriptBitSerializer packet) |
| float | EncodeFloat (ScriptBitSerializer packet) |
| float | DecodeFloat (ScriptBitSerializer packet) |
| vector | EncodeVector (ScriptBitSerializer packet) |
| vector | 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 | ) |
| bool SSnapSerializerBase.DecodeBool | ( | ScriptBitSerializer | packet | ) |
| float SSnapSerializerBase.DecodeFloat | ( | ScriptBitSerializer | packet | ) |
| int SSnapSerializerBase.DecodeInt | ( | ScriptBitSerializer | packet | ) |
| proto void SSnapSerializerBase.DecodeString | ( | ScriptBitSerializer | packet | ) |
| vector SSnapSerializerBase.DecodeVector | ( | ScriptBitSerializer | packet | ) |
| bool SSnapSerializerBase.EncodeBool | ( | ScriptBitSerializer | packet | ) |
| float SSnapSerializerBase.EncodeFloat | ( | ScriptBitSerializer | packet | ) |
| int SSnapSerializerBase.EncodeInt | ( | ScriptBitSerializer | packet | ) |
| proto void SSnapSerializerBase.EncodeString | ( | ScriptBitSerializer | packet | ) |
| vector 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.