Enfusion Script API
Loading...
Searching...
No Matches
Public Member Functions | List of all members
SSnapSerializerBase Interface Reference
Inheritance diagram for SSnapSerializerBase:
[legend]

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)
 

Member Function Documentation

◆ Compare()

proto bool SSnapSerializerBase.Compare ( void  data,
int  sizeInBytes 
)

Compares the insides of the buffer with provided pointer (bitwise).

Size is the amount of read bytes from the data.

◆ CompareBool()

bool SSnapSerializerBase.CompareBool ( bool  val)

◆ CompareFloat()

bool SSnapSerializerBase.CompareFloat ( float  val)

◆ CompareInt()

bool SSnapSerializerBase.CompareInt ( int  val)

◆ CompareSnapshots()

proto native bool SSnapSerializerBase.CompareSnapshots ( SSnapSerializerBase  snapshot,
int  sizeInBytes 
)

Compares the contents of two SnapSerialiers.

The size is amount of bytes used.

◆ CompareString()

proto bool SSnapSerializerBase.CompareString ( string  val)

◆ CompareStringSnapshots()

proto bool SSnapSerializerBase.CompareStringSnapshots ( SSnapSerializerBase  snapshot)

◆ CompareVector()

bool SSnapSerializerBase.CompareVector ( vector  val)

◆ DecodeBool()

void SSnapSerializerBase.DecodeBool ( ScriptBitSerializer  packet)

◆ DecodeFloat()

void SSnapSerializerBase.DecodeFloat ( ScriptBitSerializer  packet)

◆ DecodeInt()

void SSnapSerializerBase.DecodeInt ( ScriptBitSerializer  packet)

◆ DecodeString()

proto void SSnapSerializerBase.DecodeString ( ScriptBitSerializer  packet)

◆ DecodeVector()

void SSnapSerializerBase.DecodeVector ( ScriptBitSerializer  packet)

◆ EncodeBool()

void SSnapSerializerBase.EncodeBool ( ScriptBitSerializer  packet)

◆ EncodeFloat()

void SSnapSerializerBase.EncodeFloat ( ScriptBitSerializer  packet)

◆ EncodeInt()

void SSnapSerializerBase.EncodeInt ( ScriptBitSerializer  packet)

◆ EncodeString()

proto void SSnapSerializerBase.EncodeString ( ScriptBitSerializer  packet)

◆ EncodeVector()

void SSnapSerializerBase.EncodeVector ( ScriptBitSerializer  packet)

◆ Serialize()

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.

◆ SerializeBool()

void SSnapSerializerBase.SerializeBool ( inout bool  val)

◆ SerializeBytes()

proto void SSnapSerializerBase.SerializeBytes ( inout void  data,
int  sizeInBytes 
)

Serializes the data pointer. The size is the amount of bytes serialized.

◆ SerializeFloat()

void SSnapSerializerBase.SerializeFloat ( inout float  val)

◆ SerializeInt()

void SSnapSerializerBase.SerializeInt ( inout int  val)

◆ SerializeString()

proto void SSnapSerializerBase.SerializeString ( inout string  val)

◆ SerializeVector()

void SSnapSerializerBase.SerializeVector ( inout vector  val)

◆ Tell()

proto native int SSnapSerializerBase.Tell ( )

Returns the current position within the buffer with byte precision.


The documentation for this interface was generated from the following file: