Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
FactionManager.c
Go to the documentation of this file.
1/*
2===========================================
3Do not modify, this script is generated
4===========================================
5*/
6
11
12class FactionManagerClass: GenericEntityClass
13{
14}
15
16class FactionManager: GenericEntity
17{
18 /*
19 \brief Tries to find a faction stored in the manager by name.
20 \return Returns a faction or null if faction does not exist.
21 */
22 proto external Faction GetFactionByKey(FactionKey factionKey);
23 /*
24 \brief Tries to find a faction stored in the manager by index.
25 \return Returns a faction or null if faction with provided index does not exist.
26
27 Note: Keep in mind that due to internal storage of factions the index might not
28 correspond to the originally defined order! Use GetFactionByKey instead, if neccessary.
29 */
30 proto external Faction GetFactionByIndex(int index);
31 /*
32 \brief Finds provided faction and returns its index.
33 \return Returns faction index or -1 if action does not exist or is null.
34
35 Note: Keep in mind that due to internal storage of factions the index might not
36 correspond to the originally defined order! Use GetFactionByKey instead, if neccessary.
37 */
38 proto external int GetFactionIndex(Faction faction);
43 proto external int GetFactionsCount();
44 /*
45 \brief Fills an array with factions stored in the FactionManager
46 \param outFactions Output array that will be cleared and then filled with factions
47 \return Returns the number of factions that were added to the provided list
48 */
49 proto external int GetFactionsList(out notnull array<Faction> outFactions);
50}
51
int GetFactionIndex()
SCR_DestructionSynchronizationComponentClass ScriptComponentClass int index
proto external int GetFactionsCount()
proto external Faction GetFactionByIndex(int index)
FactionManagerClass GenericEntityClass GetFactionByKey(FactionKey factionKey)
proto external int GetFactionsList(out notnull array< Faction > outFactions)