![]() |
Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Go to the source code of this file.
Data Structures | |
| class | SCR_EditableFactionComponentClass |
Functions | |
| SCR_EditableFactionComponentClass SCR_EditableEntityComponentClass | Attribute ()] protected ref array< ref SCR_ArsenalItemCountConfig > m_MaxCountPerItemType |
| Special configuration for editable faction. More... | |
| void | SetFactionIndex (int index) |
| int | GetFactionIndex () |
| protected void | SetFactionIndexBroadcast (int index) |
| protected void | InitSpawnPointCount () |
| protected void | InitSpawnPointCountBroadcast (int spawnPointCount) |
| protected void | OnSpawnpointFactionChanged (SCR_SpawnPoint spawnPoint) |
| protected void | OnSpawnPointsChanged (string factionKey) |
| protected void | OnSpawnPointCountChangedBroadcast (int spawnPointCount) |
| protected void | InitTaskCount () |
| protected void | InitTaskCountBroadcast (int factionTaskCount) |
| protected void | OnTasksChanged (notnull SCR_BaseTask task) |
| protected void | OnTaskCountChangedBroadcast (int factionTaskCount) |
| void | SetFactionPlayableServer (bool factionPlayable) |
| protected void | OnFactionplayableChangedBroadcast (bool factionPlayable) |
| int | GetFactionSpawnPointCount () |
| int | GetFactionTasksCount () |
| ScriptInvoker | GetOnSpawnPointCountChanged () |
| ScriptInvoker | GetOnTaskCountChanged () |
| SCR_EArsenalItemType | GetAllowedArsenalItemTypes () |
| void | SetAllowedArsenalItemTypes (SCR_EArsenalItemType allowedArsenalItemTypes) |
| override bool | CanDuplicate (out notnull set< SCR_EditableEntityComponent > outRecipients) |
| override Faction | GetFaction () |
| override bool | GetPos (out vector pos) |
| override bool | GetEntityBudgetCost (out notnull array< ref SCR_EntityBudgetValue > outBudgets, IEntity owner=null) |
| override void | OnPostInit (IEntity owner) |
| Called on PostInit when all components are added. More... | |
| override bool | RplSave (ScriptBitWriter writer) |
| override bool | RplLoad (ScriptBitReader reader) |
| void | ~SCR_EditableFactionComponent () |
Variables | |
| protected int | m_iFactionIndex = -1 |
| protected Faction | m_Faction |
| protected SCR_Faction | m_ScrFaction |
| protected ref SCR_UIInfo | m_Info |
| protected int | m_iSpawnPointCount = -1 |
| protected int | m_iTaskCount = -1 |
| protected SCR_BaseTask | m_PrevTask = null |
| protected ref ScriptInvoker | Event_OnSpawnPointCountChanged = new ScriptInvoker() |
| protected ref ScriptInvoker | Event_OnTaskCountChanged = new ScriptInvoker() |
| protected SCR_EArsenalItemType | m_AllowedArsenalItemTypes |
| protected ref map< SCR_EArsenalItemType, int > | m_aCurrentItemTaken = new map<SCR_EArsenalItemType, int>() |
| override bool CanDuplicate | ( | out notnull set< SCR_EditableEntityComponent > | outRecipients | ) |
Definition at line 313 of file SCR_EditableFactionComponent.c.
| SCR_EArsenalItemType GetAllowedArsenalItemTypes | ( | ) |
Definition at line 300 of file SCR_EditableFactionComponent.c.
| override bool GetEntityBudgetCost | ( | out notnull array< ref SCR_EntityBudgetValue > | outBudgets, |
| IEntity | owner = null |
||
| ) |
Definition at line 331 of file SCR_EditableFactionComponent.c.
| override Faction GetFaction | ( | ) |
Definition at line 319 of file SCR_EditableFactionComponent.c.
| int GetFactionIndex | ( | ) |
Get index of a faction represented by this delegate.
Definition at line 57 of file SCR_EditableFactionComponent.c.
| int GetFactionSpawnPointCount | ( | ) |
Get Spawnpoint count of faction
Definition at line 269 of file SCR_EditableFactionComponent.c.
| int GetFactionTasksCount | ( | ) |
Get Task count of faction
Definition at line 277 of file SCR_EditableFactionComponent.c.
| ScriptInvoker GetOnSpawnPointCountChanged | ( | ) |
Get On Spawn Point Count Changed Script Invoker
Definition at line 285 of file SCR_EditableFactionComponent.c.
| ScriptInvoker GetOnTaskCountChanged | ( | ) |
Get On Task Count Changed Script Invoker
Definition at line 293 of file SCR_EditableFactionComponent.c.
| override bool GetPos | ( | out vector | pos | ) |
Definition at line 325 of file SCR_EditableFactionComponent.c.
| protected void InitSpawnPointCount | ( | ) |
Definition at line 115 of file SCR_EditableFactionComponent.c.
| protected void InitSpawnPointCountBroadcast | ( | int | spawnPointCount | ) |
Definition at line 125 of file SCR_EditableFactionComponent.c.
| protected void InitTaskCount | ( | ) |
Definition at line 180 of file SCR_EditableFactionComponent.c.
| protected void InitTaskCountBroadcast | ( | int | factionTaskCount | ) |
Definition at line 195 of file SCR_EditableFactionComponent.c.
| protected void OnFactionplayableChangedBroadcast | ( | bool | factionPlayable | ) |
Definition at line 256 of file SCR_EditableFactionComponent.c.
| protected void OnSpawnPointCountChangedBroadcast | ( | int | spawnPointCount | ) |
Definition at line 170 of file SCR_EditableFactionComponent.c.
| protected void OnSpawnpointFactionChanged | ( | SCR_SpawnPoint | spawnPoint | ) |
Definition at line 131 of file SCR_EditableFactionComponent.c.
| protected void OnSpawnPointsChanged | ( | string | factionKey | ) |
Definition at line 140 of file SCR_EditableFactionComponent.c.
| protected void OnTaskCountChangedBroadcast | ( | int | factionTaskCount | ) |
Definition at line 228 of file SCR_EditableFactionComponent.c.
| protected void OnTasksChanged | ( | notnull SCR_BaseTask | task | ) |
Definition at line 202 of file SCR_EditableFactionComponent.c.
| override bool RplLoad | ( | ScriptBitReader | reader | ) |
Definition at line 359 of file SCR_EditableFactionComponent.c.
| override bool RplSave | ( | ScriptBitWriter | writer | ) |
Definition at line 348 of file SCR_EditableFactionComponent.c.
| void SetAllowedArsenalItemTypes | ( | SCR_EArsenalItemType | allowedArsenalItemTypes | ) |
| [in] | allowedArsenalItemTypes |
Definition at line 307 of file SCR_EditableFactionComponent.c.
| void SetFactionIndex | ( | int | index | ) |
Assign faction to this editable entity.
| [in] | index | Index of the faction in FactionManager array |
Definition at line 45 of file SCR_EditableFactionComponent.c.
| protected void SetFactionIndexBroadcast | ( | int | index | ) |
Definition at line 64 of file SCR_EditableFactionComponent.c.
| void SetFactionPlayableServer | ( | bool | factionPlayable | ) |
Set faction Playable, can only be called from the server side
| [in] | factionPlayable | bool for setting faction playable |
Definition at line 239 of file SCR_EditableFactionComponent.c.
| void ~SCR_EditableFactionComponent | ( | ) |
Definition at line 379 of file SCR_EditableFactionComponent.c.
| protected ref ScriptInvoker Event_OnSpawnPointCountChanged = new ScriptInvoker() |
Definition at line 35 of file SCR_EditableFactionComponent.c.
| protected ref ScriptInvoker Event_OnTaskCountChanged = new ScriptInvoker() |
Definition at line 36 of file SCR_EditableFactionComponent.c.
| protected ref map<SCR_EArsenalItemType, int> m_aCurrentItemTaken = new map<SCR_EArsenalItemType, int>() |
Definition at line 40 of file SCR_EditableFactionComponent.c.
| protected SCR_EArsenalItemType m_AllowedArsenalItemTypes |
Definition at line 39 of file SCR_EditableFactionComponent.c.
| protected Faction m_Faction |
Definition at line 23 of file SCR_EditableFactionComponent.c.
| protected int m_iFactionIndex = -1 |
Definition at line 21 of file SCR_EditableFactionComponent.c.
| protected ref SCR_UIInfo m_Info |
Definition at line 25 of file SCR_EditableFactionComponent.c.
| protected int m_iSpawnPointCount = -1 |
Definition at line 28 of file SCR_EditableFactionComponent.c.
| protected int m_iTaskCount = -1 |
Definition at line 29 of file SCR_EditableFactionComponent.c.
| protected SCR_BaseTask m_PrevTask = null |
Definition at line 32 of file SCR_EditableFactionComponent.c.
| protected SCR_Faction m_ScrFaction |
Definition at line 24 of file SCR_EditableFactionComponent.c.