![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Go to the source code of this file.
Classes | |
| 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! | |
| void | ClearCharacterRoleCallsign () |
| Called on server only before assigning new role callsign to make sure everything is clear. It is not broadcast! | |
| void | AssignCallsignBroadcast (int company, int platoon, int squad, int character, int role, bool aloneInGroup) |
| void | AssignCallsignNoRoleBroadcast (int company, int platoon, int squad, int character, bool aloneInGroup) |
| void | AssignCharacterAndRoleCallsignBroadcast (int character, int role) |
| void | AssignCharacterCallsignBroadcast (int character) |
| void | AssignRoleCallsignBroadcast (int role) |
| void | SetAloneInGroupBroadcast (bool isAloneInGroup) |
| void | SetFactionBroadCast (int factionID) |
| bool | GetIsCharacterAloneInGroup () |
| int | GetCharacterCallsignIndex () |
| int | GetCharacterOrRoleCallsignIndex () |
| void | GetCharacterAndRoleCallsign (out int character, out int role) |
| bool | GetCharacterCallsignName (out string characterCallsignName) |
| 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. | |
| ERoleCallsign | m_iRoleCallsign = ERoleCallsign.NONE |
| bool | m_bAloneInGroup = false |
| int | m_iFactioniD = -1 |
| int | m_iPlayerId = 0 |
|
protected |
Definition at line 190 of file SCR_CallsignCharacterComponent.c.
|
protected |
Definition at line 204 of file SCR_CallsignCharacterComponent.c.
Definition at line 217 of file SCR_CallsignCharacterComponent.c.
|
protected |
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 |
Definition at line 227 of file SCR_CallsignCharacterComponent.c.
|
protected |
Definition at line 236 of file SCR_CallsignCharacterComponent.c.
|
protected |
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.
|
protected |
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.
|
protected |
Definition at line 58 of file SCR_CallsignCharacterComponent.c.
|
protected |
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.
|
protected |
Returns the character index (ignoring the role)
Definition at line 279 of file SCR_CallsignCharacterComponent.c.
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.
|
protected |
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.
|
protected |
Definition at line 271 of file SCR_CallsignCharacterComponent.c.
|
protected |
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 |
Definition at line 324 of file SCR_CallsignCharacterComponent.c.
|
protected |
Definition at line 377 of file SCR_CallsignCharacterComponent.c.
|
protected |
Definition at line 363 of file SCR_CallsignCharacterComponent.c.
|
protected |
Definition at line 245 of file SCR_CallsignCharacterComponent.c.
|
protected |
Definition at line 252 of file SCR_CallsignCharacterComponent.c.
|
protected |
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.
|
protected |
Updates the assigned role
| [in] | roleCallsignIndex | role index |
Definition at line 139 of file SCR_CallsignCharacterComponent.c.
|
protected |
Definition at line 398 of file SCR_CallsignCharacterComponent.c.
|
protected |
Definition at line 12 of file SCR_CallsignCharacterComponent.c.
| SCR_CallsignCharacterComponentClass m_iCharacterCallsign = -1 |
Component of assigning and storing squad names.
|
protected |
Definition at line 13 of file SCR_CallsignCharacterComponent.c.
|
protected |
Definition at line 14 of file SCR_CallsignCharacterComponent.c.
|
protected |
Definition at line 11 of file SCR_CallsignCharacterComponent.c.