Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
FactionAffiliationComponent.c
Go to the documentation of this file.
1 /*
2 ===========================================
3 Do not modify, this script is generated
4 ===========================================
5 */
6 
13 {
14 }
15 
16 class FactionAffiliationComponent: GameComponent
17 {
19  proto external IEntity GetOwner();
21  proto external Faction GetAffiliatedFaction();
23  proto external Faction GetDefaultAffiliatedFaction();
28  proto external void SetAffiliatedFaction(Faction faction);
34  proto external void SetAffiliatedFactionByKey(FactionKey factionKey);
35 
36  // callbacks
37 
42  event protected void OnPostInit(IEntity owner);
43  event protected void OnCompartmentEntering(IEntity vehicle, IEntity occupant, BaseCompartmentSlot compartment, bool move);
44  event protected void OnCompartmentEntered(IEntity vehicle, IEntity occupant, BaseCompartmentSlot compartment, bool move);
45  event protected void OnCompartmentLeft(IEntity vehicle, IEntity occupant, BaseCompartmentSlot compartment, bool move);
46  event protected void OnFactionChanged(Faction previous, Faction current);
47 }
48 
OnCompartmentEntering
event protected void OnCompartmentEntering(IEntity vehicle, IEntity occupant, BaseCompartmentSlot compartment, bool move)
OnFactionChanged
event protected void OnFactionChanged(Faction previous, Faction current)
GameComponentClass
Definition: GameComponentClass.c:7
OnCompartmentEntered
event protected void OnCompartmentEntered(IEntity vehicle, IEntity occupant, BaseCompartmentSlot compartment, bool move)
FactionAffiliationComponentClass
Definition: FactionAffiliationComponent.c:12
SetAffiliatedFaction
proto external void SetAffiliatedFaction(Faction faction)
GetAffiliatedFaction
proto external Faction GetAffiliatedFaction()
Returns the affiliated faction or null if none.
OnPostInit
override void OnPostInit(IEntity owner)
Called on PostInit when all components are added.
Definition: SCR_AIConfigComponent.c:72
GetOwner
IEntity GetOwner()
Owner entity of the fuel tank.
Definition: SCR_FuelNode.c:128
Faction
Definition: Faction.c:12
GetDefaultAffiliatedFaction
proto external Faction GetDefaultAffiliatedFaction()
Returns the default affiliated faction or null if none.
OnCompartmentLeft
event protected void OnCompartmentLeft(IEntity vehicle, IEntity occupant, BaseCompartmentSlot compartment, bool move)
SetAffiliatedFactionByKey
proto external void SetAffiliatedFactionByKey(FactionKey factionKey)
GameComponent
Definition: GameComponent.c:12