|
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 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) |
|
◆ CreateBool()
◆ CreateFloat()
◆ CreateInt()
◆ CreateVector()
◆ 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()
◆ 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()
◆ 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
-
◆ SetFloat()
void SCR_BaseEditorAttributeVar.SetFloat |
( |
float |
value | ) |
|
Set float value of the attribute.
- Parameters
-
◆ SetInt()
void SCR_BaseEditorAttributeVar.SetInt |
( |
int |
value | ) |
|
Set integer value of the attribute.
- Parameters
-
◆ SetVector()
void SCR_BaseEditorAttributeVar.SetVector |
( |
vector |
value | ) |
|
Set vector value of the attribute.
- Parameters
-
◆ SnapCompare()
static bool SCR_BaseEditorAttributeVar.SnapCompare |
( |
SSnapSerializerBase |
lhs, |
|
|
SSnapSerializerBase |
rhs, |
|
|
ScriptCtx |
hint |
|
) |
| |
|
static |
◆ 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:
- Game/Editor/Containers/AttributeVariables/SCR_BaseEditorAttributeVar.c