Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Go to the source code of this file.
Data Structures | |
class | SCR_CallsignCharacterComponentClass |
Functions | |
override bool | GetCallsignNames (out string company, out string platoon, out string squad, out string character, out string format) |
override bool | GetCallsignIndexes (out int companyIndex, out int platoonIndex, out int squadIndex, out int characterNumber=-1, out ERoleCallsign characterRole=ERoleCallsign.NONE) |
void | AssignCharacterCallsign (Faction faction, int companyIndex, int platoonIndex, int squadIndex, int characterNumber, ERoleCallsign role, bool aloneInGroup) |
void | UpdateCharacterRoleCallsign (ERoleCallsign roleCallsignIndex) |
void | UpdateCharacterCallsignAndRole (int characterCallsign, ERoleCallsign roleCallsignIndex) |
override void | ClearCallsigns () |
Called on server only before assigning new callsign to make sure everything is clear. Does not broadcast cleared values to players! More... | |
void | ClearCharacterRoleCallsign () |
Called on server only before assigning new role callsign to make sure everything is clear. It is not broadcast! More... | |
protected void | AssignCallsignBroadcast (int company, int platoon, int squad, int character, int role, bool aloneInGroup) |
protected void | AssignCallsignNoRoleBroadcast (int company, int platoon, int squad, int character, bool aloneInGroup) |
protected void | AssignCharacterAndRoleCallsignBroadcast (int character, int role) |
protected void | AssignCharacterCallsignBroadcast (int character) |
protected void | AssignRoleCallsignBroadcast (int role) |
protected void | SetAloneInGroupBroadcast (bool isAloneInGroup) |
protected void | SetFactionBroadCast (int factionID) |
bool | GetIsCharacterAloneInGroup () |
int | GetCharacterCallsignIndex () |
int | GetCharacterOrRoleCallsignIndex () |
void | GetCharacterAndRoleCallsign (out int character, out int role) |
bool | GetCharacterCallsignName (out string characterCallsignName) |
protected void | OnPlayerCallsignChanged (int playerId, int companyIndex, int platoonIndex, int squadIndex, int characterNumber, ERoleCallsign characterRole) |
void | InitPlayerOnServer (int playerId) |
override bool | RplSave (ScriptBitWriter writer) |
override bool | RplLoad (ScriptBitReader reader) |
void | ~SCR_CallsignCharacterComponent () |
Variables | |
SCR_CallsignCharacterComponentClass | m_iCharacterCallsign = -1 |
Component of assigning and storing squad names. More... | |
protected ERoleCallsign | m_iRoleCallsign = ERoleCallsign.NONE |
protected bool | m_bAloneInGroup = false |
protected int | m_iFactioniD = -1 |
protected int | m_iPlayerId = 0 |
protected void AssignCallsignBroadcast | ( | int | company, |
int | platoon, | ||
int | squad, | ||
int | character, | ||
int | role, | ||
bool | aloneInGroup | ||
) |
Definition at line 190 of file SCR_CallsignCharacterComponent.c.
protected void AssignCallsignNoRoleBroadcast | ( | int | company, |
int | platoon, | ||
int | squad, | ||
int | character, | ||
bool | aloneInGroup | ||
) |
Definition at line 204 of file SCR_CallsignCharacterComponent.c.
Definition at line 217 of file SCR_CallsignCharacterComponent.c.
void AssignCharacterCallsign | ( | Faction | faction, |
int | companyIndex, | ||
int | platoonIndex, | ||
int | squadIndex, | ||
int | characterNumber, | ||
ERoleCallsign | role, | ||
bool | aloneInGroup | ||
) |
Called by group, assigns a specific character group index and role (if any assigned) to character within specific group
[in] | faction | Faction of group |
[in] | companyIndex | Company Index |
[in] | platoonIndex | Platoon Index |
[in] | squadIndex | Squad Index |
[in] | characterNumber | Character number in squad (starts with 1) |
[in] | role | Character role (If any assigned) |
[in] | aloneInGroup | If character is alone in the group |
Definition at line 86 of file SCR_CallsignCharacterComponent.c.
protected void AssignCharacterCallsignBroadcast | ( | int | character | ) |
Definition at line 227 of file SCR_CallsignCharacterComponent.c.
protected void AssignRoleCallsignBroadcast | ( | int | role | ) |
Definition at line 236 of file SCR_CallsignCharacterComponent.c.
override void ClearCallsigns | ( | ) |
Called on server only before assigning new callsign to make sure everything is clear. Does not broadcast cleared values to players!
Definition at line 171 of file SCR_CallsignCharacterComponent.c.
void ClearCharacterRoleCallsign | ( | ) |
Called on server only before assigning new role callsign to make sure everything is clear. It is not broadcast!
Definition at line 180 of file SCR_CallsignCharacterComponent.c.
override bool GetCallsignIndexes | ( | out int | companyIndex, |
out int | platoonIndex, | ||
out int | squadIndex, | ||
out int | characterNumber = -1 , |
||
out ERoleCallsign | characterRole = ERoleCallsign.NONE |
||
) |
Definition at line 58 of file SCR_CallsignCharacterComponent.c.
override bool GetCallsignNames | ( | out string | company, |
out string | platoon, | ||
out string | squad, | ||
out string | character, | ||
out string | format | ||
) |
Definition at line 17 of file SCR_CallsignCharacterComponent.c.
Returns both character index and character role index
[out] | character | group index |
[out] | role | index |
Definition at line 299 of file SCR_CallsignCharacterComponent.c.
int GetCharacterCallsignIndex | ( | ) |
Returns the character index (ignoring the role)
Definition at line 279 of file SCR_CallsignCharacterComponent.c.
bool GetCharacterCallsignName | ( | out string | characterCallsignName | ) |
Returns the character callsign name, this either the character group index or the specific role name
[out] | characterCallsignName | the character Callsign name in string |
Definition at line 309 of file SCR_CallsignCharacterComponent.c.
int GetCharacterOrRoleCallsignIndex | ( | ) |
Returns either the character index or, if a role is assigned, it will return the character role index instead
Definition at line 287 of file SCR_CallsignCharacterComponent.c.
bool GetIsCharacterAloneInGroup | ( | ) |
Definition at line 271 of file SCR_CallsignCharacterComponent.c.
void InitPlayerOnServer | ( | int | playerId | ) |
Called by Callsign Manager. Makes sure that player characters listen to On Callsign Changed (Server Only)
[in] | playerId |
Definition at line 351 of file SCR_CallsignCharacterComponent.c.
protected void OnPlayerCallsignChanged | ( | int | playerId, |
int | companyIndex, | ||
int | platoonIndex, | ||
int | squadIndex, | ||
int | characterNumber, | ||
ERoleCallsign | characterRole | ||
) |
Definition at line 324 of file SCR_CallsignCharacterComponent.c.
override bool RplLoad | ( | ScriptBitReader | reader | ) |
Definition at line 377 of file SCR_CallsignCharacterComponent.c.
override bool RplSave | ( | ScriptBitWriter | writer | ) |
Definition at line 363 of file SCR_CallsignCharacterComponent.c.
protected void SetAloneInGroupBroadcast | ( | bool | isAloneInGroup | ) |
Definition at line 245 of file SCR_CallsignCharacterComponent.c.
protected void SetFactionBroadCast | ( | int | factionID | ) |
Definition at line 252 of file SCR_CallsignCharacterComponent.c.
void UpdateCharacterCallsignAndRole | ( | int | characterCallsign, |
ERoleCallsign | roleCallsignIndex | ||
) |
Updates the assigned callsign and role. Called when leader role is assigned as leader is always 1
[in] | characterCallsign | character callsign |
[in] | roleCallsignIndex | role index |
Definition at line 156 of file SCR_CallsignCharacterComponent.c.
void UpdateCharacterRoleCallsign | ( | ERoleCallsign | roleCallsignIndex | ) |
Updates the assigned role
[in] | roleCallsignIndex | role index |
Definition at line 139 of file SCR_CallsignCharacterComponent.c.
void ~SCR_CallsignCharacterComponent | ( | ) |
Definition at line 398 of file SCR_CallsignCharacterComponent.c.
protected bool m_bAloneInGroup = false |
Definition at line 12 of file SCR_CallsignCharacterComponent.c.
SCR_CallsignCharacterComponentClass m_iCharacterCallsign = -1 |
Component of assigning and storing squad names.
protected int m_iFactioniD = -1 |
Definition at line 13 of file SCR_CallsignCharacterComponent.c.
protected int m_iPlayerId = 0 |
Definition at line 14 of file SCR_CallsignCharacterComponent.c.
protected ERoleCallsign m_iRoleCallsign = ERoleCallsign.NONE |
Definition at line 11 of file SCR_CallsignCharacterComponent.c.