Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
FactionManager.c
Go to the documentation of this file.
1
/*
2
===========================================
3
Do not modify, this script is generated
4
===========================================
5
*/
6
12
class
FactionManagerClass
: GenericEntityClass
13
{
14
}
15
16
class
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
GetFactionsCount
proto external int GetFactionsCount()
GetFactionsList
proto external int GetFactionsList(out notnull array< Faction > outFactions)
GenericEntity
SCR_GenericBoxEntityClass GenericEntity
GetFactionByKey
FactionManagerClass GenericEntityClass GetFactionByKey(FactionKey factionKey)
GetFactionIndex
proto external int GetFactionIndex(Faction faction)
Faction
Definition:
Faction.c:12
index
SCR_DestructionSynchronizationComponentClass ScriptComponentClass int index
Definition:
SCR_DestructionSynchronizationComponent.c:17
FactionManagerClass
Definition:
FactionManager.c:12
GetFactionByIndex
proto external Faction GetFactionByIndex(int index)
scripts_Arma_Reforger_v1.1.0.42
scripts
Game
generated
Faction
FactionManager.c
Generated by
1.8.17