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

Public Member Functions

proto bool Serialize (inout void data, int sizeInBits)
 Serializes the data pointer. The size is the amount of bits serialized.
 
proto bool SerializeRplId (inout RplId val)
 
proto bool SerializeEntityId (inout EntityID val)
 
proto bool SerializeInt (inout int val)
 
proto bool SerializeIntRange (inout int val, int min, int max)
 
proto bool SerializeHalf (inout float val)
 
proto bool SerializeFloat01 (inout float val)
 
proto bool SerializeRadian (inout float val)
 
proto bool SerializeQuaternion (inout float val[4])
 
proto bool SerializeResourceName (inout ResourceName val)
 
proto bool SerializeString (inout string val)
 
proto native int Tell ()
 Returns the current position in the buffer with bit precision.
 
bool SerializeBool (inout bool val)
 
bool SerializeFloat (inout float val)
 
bool SerializeVector (inout vector val)
 
- 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

◆ Serialize()

proto bool ScriptBitSerializer.Serialize ( inout void  data,
int  sizeInBits 
)

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

◆ SerializeBool()

bool ScriptBitSerializer.SerializeBool ( inout bool  val)

◆ SerializeEntityId()

proto bool ScriptBitSerializer.SerializeEntityId ( inout EntityID  val)

◆ SerializeFloat()

bool ScriptBitSerializer.SerializeFloat ( inout float  val)

◆ SerializeFloat01()

proto bool ScriptBitSerializer.SerializeFloat01 ( inout float  val)

◆ SerializeHalf()

proto bool ScriptBitSerializer.SerializeHalf ( inout float  val)

◆ SerializeInt()

proto bool ScriptBitSerializer.SerializeInt ( inout int  val)

◆ SerializeIntRange()

proto bool ScriptBitSerializer.SerializeIntRange ( inout int  val,
int  min,
int  max 
)

◆ SerializeQuaternion()

proto bool ScriptBitSerializer.SerializeQuaternion ( inout float  val[4])

◆ SerializeRadian()

proto bool ScriptBitSerializer.SerializeRadian ( inout float  val)

◆ SerializeResourceName()

proto bool ScriptBitSerializer.SerializeResourceName ( inout ResourceName  val)

◆ SerializeRplId()

proto bool ScriptBitSerializer.SerializeRplId ( inout RplId  val)

◆ SerializeString()

proto bool ScriptBitSerializer.SerializeString ( inout string  val)

◆ SerializeVector()

bool ScriptBitSerializer.SerializeVector ( inout vector  val)

◆ Tell()

proto native int ScriptBitSerializer.Tell ( )

Returns the current position in the buffer with bit precision.


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