Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_BaseFactionManagerComponent.c
Go to the documentation of this file.
1 [ComponentEditorProps(category: "GameScripted/FactionManager/Components", description: "Base for FactionManager scripted component.")]
2 class SCR_BaseFactionManagerComponentClass : ScriptComponentClass
3 {
4 }
5 
8 {
9  //------------------------------------------------------------------------------------------------
13  void OnFactionsInit(array<Faction> factions);
14 
15  //------------------------------------------------------------------------------------------------
16  // constructor
20  void SCR_BaseFactionManagerComponent(IEntityComponentSource src, IEntity ent, IEntity parent)
21  {
22  if (!ent.Type().IsInherited(SCR_FactionManager))
23  Print(string.Format("SCR_BaseFactionManagerComponent must be on SCR_FactionManager, it's on %1!", ent.Type()), LogLevel.WARNING);
24  }
25 }
SCR_BaseFactionManagerComponent
void SCR_BaseFactionManagerComponent(IEntityComponentSource src, IEntity ent, IEntity parent)
Definition: SCR_BaseFactionManagerComponent.c:20
ComponentEditorProps
SCR_FragmentEntityClass ComponentEditorProps
ScriptComponent
SCR_SiteSlotEntityClass ScriptComponent
SCR_BaseFactionManagerComponentClass
Definition: SCR_BaseFactionManagerComponent.c:2
OnFactionsInit
SCR_BaseFactionManagerComponentClass ScriptComponentClass OnFactionsInit(array< Faction > factions)
Base class for components attached to SCR_FactionManager.
SCR_FactionManager
void SCR_FactionManager(IEntitySource src, IEntity parent)
Definition: SCR_FactionManager.c:461
category
params category
Definition: SCR_VehicleDamageManagerComponent.c:180