|
static SCR_PlayerFactionInfo | Create (int playerId) |
|
static bool | Extract (SCR_PlayerFactionInfo instance, ScriptCtx ctx, SSnapSerializerBase snapshot) |
| Codec methods.
|
|
static bool | Inject (SSnapSerializerBase snapshot, ScriptCtx ctx, SCR_PlayerFactionInfo 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 (SCR_PlayerFactionInfo instance, SSnapSerializerBase snapshot, ScriptCtx ctx) |
|
◆ SCR_PlayerFactionInfo()
void SCR_PlayerFactionInfo.SCR_PlayerFactionInfo |
( |
| ) |
|
|
protected |
◆ Create()
◆ Decode()
static bool SCR_PlayerFactionInfo.Decode |
( |
ScriptBitSerializer |
packet, |
|
|
ScriptCtx |
ctx, |
|
|
SSnapSerializerBase |
snapshot |
|
) |
| |
|
static |
- Parameters
-
[in] | packet | |
[in] | ctx | |
[in] | snapshot | |
- Returns
◆ Encode()
static void SCR_PlayerFactionInfo.Encode |
( |
SSnapSerializerBase |
snapshot, |
|
|
ScriptCtx |
ctx, |
|
|
ScriptBitSerializer |
packet |
|
) |
| |
|
static |
- Parameters
-
[in] | snapshot | |
[in] | ctx | |
[in] | packet | |
◆ Extract()
static bool SCR_PlayerFactionInfo.Extract |
( |
SCR_PlayerFactionInfo |
instance, |
|
|
ScriptCtx |
ctx, |
|
|
SSnapSerializerBase |
snapshot |
|
) |
| |
|
static |
Codec methods.
- Parameters
-
[in] | instance | |
[in] | ctx | |
[in] | snapshot | |
- Returns
◆ GetFactionIndex()
int SCR_PlayerFactionInfo.GetFactionIndex |
( |
| ) |
|
◆ GetPlayerId()
int SCR_PlayerFactionInfo.GetPlayerId |
( |
| ) |
|
◆ Inject()
static bool SCR_PlayerFactionInfo.Inject |
( |
SSnapSerializerBase |
snapshot, |
|
|
ScriptCtx |
ctx, |
|
|
SCR_PlayerFactionInfo |
instance |
|
) |
| |
|
static |
- Parameters
-
[in] | snapshot | |
[in] | ctx | |
[in] | instance | |
- Returns
◆ PropCompare()
static bool SCR_PlayerFactionInfo.PropCompare |
( |
SCR_PlayerFactionInfo |
instance, |
|
|
SSnapSerializerBase |
snapshot, |
|
|
ScriptCtx |
ctx |
|
) |
| |
|
static |
- Parameters
-
[in] | instance | |
[in] | snapshot | |
[in] | ctx | |
- Returns
◆ SetFactionIndex()
void SCR_PlayerFactionInfo.SetFactionIndex |
( |
int |
factionIndex | ) |
|
◆ SnapCompare()
static bool SCR_PlayerFactionInfo.SnapCompare |
( |
SSnapSerializerBase |
lhs, |
|
|
SSnapSerializerBase |
rhs, |
|
|
ScriptCtx |
ctx |
|
) |
| |
|
static |
◆ m_iFactionIndex
int SCR_PlayerFactionInfo.m_iFactionIndex = -1 |
|
protected |
◆ m_iPlayerId
int SCR_PlayerFactionInfo.m_iPlayerId |
|
protected |
The documentation for this interface was generated from the following file:
- Game/GameMode/FactionManager/SCR_PlayerFactionInfo.c