Arma Reforger Explorer
1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Toggle main menu visibility
Loading...
Searching...
No Matches
FactionManager.c
Go to the documentation of this file.
1
/*
2
===========================================
3
Do not modify, this script is generated
4
===========================================
5
*/
6
11
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
GetFactionIndex
int GetFactionIndex()
Definition
SCR_AIGroup.c:5047
index
SCR_DestructionSynchronizationComponentClass ScriptComponentClass int index
Definition
SCR_DestructionSynchronizationComponent.c:17
Faction
Definition
Faction.c:13
FactionKey
Definition
FactionKey.c:3
FactionManagerClass
Definition
FactionManager.c:13
GenericEntity
Definition
GenericEntity.c:16
GetFactionsCount
proto external int GetFactionsCount()
GetFactionByIndex
proto external Faction GetFactionByIndex(int index)
GetFactionByKey
FactionManagerClass GenericEntityClass GetFactionByKey(FactionKey factionKey)
GetFactionsList
proto external int GetFactionsList(out notnull array< Faction > outFactions)
scripts
Game
generated
Faction
FactionManager.c
Generated by
1.17.0