6 protected int m_iCompanyIndex = -1;
7 protected int m_iPlatoonIndex = -1;
8 protected int m_iSquadIndex = -1;
9 protected int m_iCharacterNumber = -1;
21 void SetPlayerCallsignIndexes(
int company,
int platoon,
int squad,
int character,
ERoleCallsign role)
23 m_iCompanyIndex = company;
24 m_iPlatoonIndex = platoon;
25 m_iSquadIndex = squad;
26 m_iCharacterNumber = character;
27 m_eCharacterRole = role;
39 bool GetPlayerCallsignIndexes(out
int company, out
int platoon, out
int squad, out
int character, out
ERoleCallsign role)
41 company = m_iCompanyIndex;
42 platoon = m_iPlatoonIndex;
43 squad = m_iSquadIndex;
44 character = m_iCharacterNumber;
45 role = m_eCharacterRole;
47 return m_iCompanyIndex >= 0;