For each company, holds availible platoons, which in turn holds availible squads.
More...
|
| void | Init (SCR_FactionCallsignInfo factionCallsignInfo) |
| | Init Company data, creating all the platoons within which in turn create the availible squads within.
|
| |
| void | GetRandomCallsign (out int platoon, out int squad) |
| | Gets platoon and squad index randomly from availible callsigns.
|
| |
| void | GetFirstAvailibleCallsign (out int firstAvailiblePlatoon, out int firstAvailibleSquad) |
| | Goes through all availible platoons and squads and gets the first availible.
|
| |
| void | AddCallsign (int platoonIndex, int squadIndex) |
| | Adds callsign back to availible callsign pool.
|
| |
| bool | RemoveCallsign (int plattonIndex, int squadIndex) |
| | Removes callsign from availible callsign pool.
|
| |
For each company, holds availible platoons, which in turn holds availible squads.
◆ AddCallsign()
| void SCR_CallsignCompanyData.AddCallsign |
( |
int | platoonIndex, |
|
|
int | squadIndex ) |
Adds callsign back to availible callsign pool.
- Parameters
-
◆ GetFirstAvailibleCallsign()
| void SCR_CallsignCompanyData.GetFirstAvailibleCallsign |
( |
out int | firstAvailiblePlatoon, |
|
|
out int | firstAvailibleSquad ) |
Goes through all availible platoons and squads and gets the first availible.
Meaning if platoon 1 is taken it will get 2 next not 3.
- Parameters
-
| [out] | platoon | index |
| [out] | squad | index |
- Returns
- bool true if succesfully found a callsign
◆ GetRandomCallsign()
| void SCR_CallsignCompanyData.GetRandomCallsign |
( |
out int | platoon, |
|
|
out int | squad ) |
Gets platoon and squad index randomly from availible callsigns.
- Parameters
-
| [out] | platoon | index |
| [out] | squad | index |
- Returns
- bool true if succesfully found a callsign
◆ Init()
Init Company data, creating all the platoons within which in turn create the availible squads within.
- Parameters
-
| factionCallsignInfo | specific callsign info for faction |
◆ RemoveCallsign()
| bool SCR_CallsignCompanyData.RemoveCallsign |
( |
int | plattonIndex, |
|
|
int | squadIndex ) |
Removes callsign from availible callsign pool.
- Parameters
-
◆ m_mPlatoonCallsigns
The documentation for this interface was generated from the following file:
- Game/Callsign/SCR_CallsignCompanyData.c