Enfusion Script API
Loading...
Searching...
No Matches
Static Public Member Functions | Public Attributes | List of all members
ComplexType Interface Reference

[Codec example] More...

Static Public Member Functions

static bool Extract (ComplexType instance, ScriptCtx ctx, SSnapSerializerBase snapshot)
 
static bool Inject (SSnapSerializerBase snapshot, ScriptCtx ctx, ComplexType instance)
 
static void Encode (SSnapSerializerBase snapshot, ScriptCtx ctx, ScriptBitSerializer packet)
 
static bool Decode (ScriptBitSerializer packet, ScriptCtx ctx, SSnapSerializerBase snapshot)
 
static bool SnapCompare (SSnapSerializerBase lhs, SSnapSerializerBase rhs, ScriptCtx ctx)
 
static bool PropCompare (ComplexType instance, SSnapSerializerBase snapshot, ScriptCtx ctx)
 
static void EncodeDelta (SSnapSerializerBase oldSnapshot, SSnapSerializerBase newSnapshot, ScriptCtx ctx, ScriptBitSerializer packet)
 
static void DecodeDelta (ScriptBitSerializer packet, ScriptCtx ctx, SSnapSerializerBase oldSnapshot, SSnapSerializerBase newSnapshot)
 

Public Attributes

bool m_Bool
 
int m_Int
 
string m_String
 
float m_Float
 
WorldTimestamp m_Timestamp
 
vector m_Vector
 

Detailed Description

[Codec example]

Member Function Documentation

◆ Decode()

static bool ComplexType.Decode ( ScriptBitSerializer  packet,
ScriptCtx  ctx,
SSnapSerializerBase  snapshot 
)
static

◆ DecodeDelta()

static void ComplexType.DecodeDelta ( ScriptBitSerializer  packet,
ScriptCtx  ctx,
SSnapSerializerBase  oldSnapshot,
SSnapSerializerBase  newSnapshot 
)
static

◆ Encode()

static void ComplexType.Encode ( SSnapSerializerBase  snapshot,
ScriptCtx  ctx,
ScriptBitSerializer  packet 
)
static

◆ EncodeDelta()

static void ComplexType.EncodeDelta ( SSnapSerializerBase  oldSnapshot,
SSnapSerializerBase  newSnapshot,
ScriptCtx  ctx,
ScriptBitSerializer  packet 
)
static

◆ Extract()

static bool ComplexType.Extract ( ComplexType  instance,
ScriptCtx  ctx,
SSnapSerializerBase  snapshot 
)
static

◆ Inject()

static bool ComplexType.Inject ( SSnapSerializerBase  snapshot,
ScriptCtx  ctx,
ComplexType  instance 
)
static

◆ PropCompare()

static bool ComplexType.PropCompare ( ComplexType  instance,
SSnapSerializerBase  snapshot,
ScriptCtx  ctx 
)
static

◆ SnapCompare()

static bool ComplexType.SnapCompare ( SSnapSerializerBase  lhs,
SSnapSerializerBase  rhs,
ScriptCtx  ctx 
)
static

Member Data Documentation

◆ m_Bool

bool ComplexType.m_Bool

◆ m_Float

float ComplexType.m_Float

◆ m_Int

int ComplexType.m_Int

◆ m_String

string ComplexType.m_String

◆ m_Timestamp

WorldTimestamp ComplexType.m_Timestamp

◆ m_Vector

vector ComplexType.m_Vector

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