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

Public Member Functions

proto bool Read (out void dst, int sizeInBits)
 Reads sizeInBits bits of data from internal storage.
 
proto bool ReadRplId (out RplId val)
 Decompresses and returns a RplId from internal storage.
 
proto bool ReadEntityId (out EntityID val)
 Decompresses and returns a EntityID from internal storage.
 
proto bool ReadInt (out int val)
 Decompresses and returns an integer from internal storage.
 
proto bool ReadIntRange (out int val, int min, int max)
 Decompresses and returns an integer from internal storage.
 
proto bool ReadHalf (out float val)
 Decompresses and returns a float from internal storage.
 
proto bool ReadFloat01 (out float val)
 Decompresses and returns a float from internal storage.
 
proto bool ReadRadian (out float val)
 Decompresses and returns a float from internal storage.
 
proto bool ReadQuaternion (out float val[4])
 Decompresses and returns a quaternion from internal storage.
 
proto bool ReadResourceName (out ResourceName val)
 Reads and returns a ResourceName from internal storage.
 
proto bool ReadString (out string val)
 Reads a string from internal storage.
 
proto native int Tell ()
 Returns the current position in internal storage in bits.
 
bool ReadBool (out bool val)
 
bool ReadFloat (out float val)
 
bool ReadVector (out 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

◆ Read()

proto bool ScriptBitReader.Read ( out void  dst,
int  sizeInBits 
)

Reads sizeInBits bits of data from internal storage.

◆ ReadBool()

bool ScriptBitReader.ReadBool ( out bool  val)

◆ ReadEntityId()

proto bool ScriptBitReader.ReadEntityId ( out EntityID  val)

Decompresses and returns a EntityID from internal storage.

◆ ReadFloat()

bool ScriptBitReader.ReadFloat ( out float  val)

◆ ReadFloat01()

proto bool ScriptBitReader.ReadFloat01 ( out float  val)

Decompresses and returns a float from internal storage.

◆ ReadHalf()

proto bool ScriptBitReader.ReadHalf ( out float  val)

Decompresses and returns a float from internal storage.

◆ ReadInt()

proto bool ScriptBitReader.ReadInt ( out int  val)

Decompresses and returns an integer from internal storage.

◆ ReadIntRange()

proto bool ScriptBitReader.ReadIntRange ( out int  val,
int  min,
int  max 
)

Decompresses and returns an integer from internal storage.

◆ ReadQuaternion()

proto bool ScriptBitReader.ReadQuaternion ( out float  val[4])

Decompresses and returns a quaternion from internal storage.

◆ ReadRadian()

proto bool ScriptBitReader.ReadRadian ( out float  val)

Decompresses and returns a float from internal storage.

◆ ReadResourceName()

proto bool ScriptBitReader.ReadResourceName ( out ResourceName  val)

Reads and returns a ResourceName from internal storage.

◆ ReadRplId()

proto bool ScriptBitReader.ReadRplId ( out RplId  val)

Decompresses and returns a RplId from internal storage.

◆ ReadString()

proto bool ScriptBitReader.ReadString ( out string  val)

Reads a string from internal storage.

◆ ReadVector()

bool ScriptBitReader.ReadVector ( out vector  val)

◆ Tell()

proto native int ScriptBitReader.Tell ( )

Returns the current position in internal storage in bits.


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