Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Attributes | List of all members
SCR_BaseEditorAttributeVar Interface Reference

Public Member Functions

void SetInt (int value)
 Set integer value of the attribute.
 
int GetInt ()
 Get integer value of the attribute.
 
void SetFloat (float value)
 Set float value of the attribute.
 
float GetFloat ()
 Get float value of the attribute.
 
void SetBool (bool value)
 Set bool value of the attribute.
 
bool GetBool ()
 Get bool value of the attribute.
 
void SetVector (vector value)
 Set vector value of the attribute.
 
vector GetVector ()
 Get vector value of the attribute.
 

Static Public Member Functions

static void Encode (SSnapSerializerBase snapshot, ScriptCtx hint, ScriptBitSerializer packet)
 
static bool Decode (ScriptBitSerializer packet, ScriptCtx hint, SSnapSerializerBase snapshot)
 
static bool SnapCompare (SSnapSerializerBase lhs, SSnapSerializerBase rhs, ScriptCtx hint)
 
static bool PropCompare (SCR_BaseEditorAttributeVar prop, SSnapSerializerBase snapshot, ScriptCtx hint)
 
static bool Extract (SCR_BaseEditorAttributeVar prop, ScriptCtx hint, SSnapSerializerBase snapshot)
 
static bool Inject (SSnapSerializerBase snapshot, ScriptCtx hint, SCR_BaseEditorAttributeVar prop)
 
static SCR_BaseEditorAttributeVar CreateInt (int value)
 
static SCR_BaseEditorAttributeVar CreateFloat (float value)
 
static SCR_BaseEditorAttributeVar CreateBool (bool value)
 
static SCR_BaseEditorAttributeVar CreateVector (vector value)
 

Static Public Attributes

static const int SNAPSHOT_SIZE_VALUE = 12
 

Protected Attributes

vector m_vValue
 

Member Function Documentation

◆ CreateBool()

static SCR_BaseEditorAttributeVar SCR_BaseEditorAttributeVar.CreateBool ( bool  value)
static

◆ CreateFloat()

static SCR_BaseEditorAttributeVar SCR_BaseEditorAttributeVar.CreateFloat ( float  value)
static

◆ CreateInt()

static SCR_BaseEditorAttributeVar SCR_BaseEditorAttributeVar.CreateInt ( int  value)
static

◆ CreateVector()

static SCR_BaseEditorAttributeVar SCR_BaseEditorAttributeVar.CreateVector ( vector  value)
static

◆ Decode()

static bool SCR_BaseEditorAttributeVar.Decode ( ScriptBitSerializer  packet,
ScriptCtx  hint,
SSnapSerializerBase  snapshot 
)
static

◆ Encode()

static void SCR_BaseEditorAttributeVar.Encode ( SSnapSerializerBase  snapshot,
ScriptCtx  hint,
ScriptBitSerializer  packet 
)
static

◆ Extract()

static bool SCR_BaseEditorAttributeVar.Extract ( SCR_BaseEditorAttributeVar  prop,
ScriptCtx  hint,
SSnapSerializerBase  snapshot 
)
static

◆ GetBool()

bool SCR_BaseEditorAttributeVar.GetBool ( )

Get bool value of the attribute.

Returns
value Bool value

◆ GetFloat()

float SCR_BaseEditorAttributeVar.GetFloat ( )

Get float value of the attribute.

Returns
value Number

◆ GetInt()

int SCR_BaseEditorAttributeVar.GetInt ( )

Get integer value of the attribute.

Returns
value Number

◆ GetVector()

vector SCR_BaseEditorAttributeVar.GetVector ( )

Get vector value of the attribute.

Returns
value Vector

◆ Inject()

static bool SCR_BaseEditorAttributeVar.Inject ( SSnapSerializerBase  snapshot,
ScriptCtx  hint,
SCR_BaseEditorAttributeVar  prop 
)
static

◆ PropCompare()

static bool SCR_BaseEditorAttributeVar.PropCompare ( SCR_BaseEditorAttributeVar  prop,
SSnapSerializerBase  snapshot,
ScriptCtx  hint 
)
static

◆ SetBool()

void SCR_BaseEditorAttributeVar.SetBool ( bool  value)

Set bool value of the attribute.

Parameters
valueBool value

◆ SetFloat()

void SCR_BaseEditorAttributeVar.SetFloat ( float  value)

Set float value of the attribute.

Parameters
valueNumber

◆ SetInt()

void SCR_BaseEditorAttributeVar.SetInt ( int  value)

Set integer value of the attribute.

Parameters
valueNumber

◆ SetVector()

void SCR_BaseEditorAttributeVar.SetVector ( vector  value)

Set vector value of the attribute.

Parameters
valueVector

◆ SnapCompare()

static bool SCR_BaseEditorAttributeVar.SnapCompare ( SSnapSerializerBase  lhs,
SSnapSerializerBase  rhs,
ScriptCtx  hint 
)
static

Member Data Documentation

◆ m_vValue

vector SCR_BaseEditorAttributeVar.m_vValue
protected

◆ SNAPSHOT_SIZE_VALUE

const int SCR_BaseEditorAttributeVar.SNAPSHOT_SIZE_VALUE = 12
static

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