Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_EditableGroupComponent.c File Reference

Go to the source code of this file.

Classes

class  SCR_EditableGroupComponentClass

Functions

override void OnDelete (IEntity owner)
void EnableCycledWaypoints (bool enable)
void AddWaypoints (array< AIWaypoint > waypoints)
void RemoveAllWaypointsFromGroup ()
void EnableCycledWaypointsBroadcast (bool enable)
bool AreCycledWaypointsEnabled ()
void OnAgentAdded (AIAgent child)
void OnAgentRemoved (SCR_AIGroup group, AIAgent child)
void OnLeaderChanged (AIAgent currentLeader, AIAgent prevLeader)
void OnCurrentWaypointChanged (AIWaypoint currentWP, AIWaypoint prevWP)
void OnWaypointCompleted (AIWaypoint wp)
void OnWaypointAdded (AIWaypoint wp)
void OnWaypointRemoved (AIWaypoint wp)
int GetGroupWaypoints (array< AIWaypoint > outWaypoints)
void ReindexWaypoints ()
void OnLeaderIdChanged ()
void SetLeader (SCR_EditableEntityComponent leader)
void OnFactionChanged (Faction faction)
void OnIdentityChange (SCR_MilitarySymbol symbol, LocalizedString name)
SCR_AIGroup GetAIGroupComponent ()
override ScriptInvoker GetOnUIRefresh ()
override Faction GetFaction ()
override SCR_EditableEntityComponent GetAIGroup ()
override SCR_EditableEntityComponent GetAIEntity ()
int GetSize ()
int GetWaypointCount ()
void ClearWaypoints ()
 Remove all waypoints from the group.
override bool GetEntityBudgetCost (out notnull array< ref SCR_EntityBudgetValue > outBudgets, IEntity owner=null)
void GetRuntimeBudgetCost (out notnull array< ref SCR_EntityBudgetValue > outBudgets)
void GetPrefabBudgetCost (out notnull array< ref SCR_EntityBudgetValue > outBudgets)
override bool CanDuplicate (out notnull set< SCR_EditableEntityComponent > outRecipients)
override SCR_EditableEntityComponent GetChild (int index)
override bool GetPos (out vector pos)
override bool CanDestroy ()
override bool IsDestroyed ()
void HideIfEmpty ()
override bool RplSave (ScriptBitWriter writer)
override bool RplLoad (ScriptBitReader reader)
override bool Destroy (int editorPlayerID)
override void ForceVehicleCompartments (notnull array< ECompartmentType > forceVehicleCompartments)
override void OnParentEntityChanged (SCR_EditableEntityComponent parentEntity, SCR_EditableEntityComponent parentEntityPrev, bool changedByUser)
override void OnCreatedServer (notnull SCR_PlacingEditorComponent placedEditorComponent)
void OnAllMembersSpawned (SCR_AIGroup group)
void OnAfterAllMembersSpawned ()
override void OnChildEntityChanged (SCR_EditableEntityComponent child, bool isAdded)
override void OnPostInit (IEntity owner)
 Editable Mine.
void SCR_EditableGroupComponent (IEntityComponentSource src, IEntity ent, IEntity parent)

Variables

SCR_EditableGroupComponentClass m_Group
 Special configuration for editable group.
RplId m_LeaderId
SCR_EditableEntityComponent m_Leader
ref SCR_EditableGroupUIInfo m_GroupInfo
ref ScriptInvoker Event_OnUIRefresh = new ScriptInvoker
ref array< ECompartmentTypem_aForceSpawnVehicleCompartments
SCR_PlacingEditorComponent m_PlacedEditorComponent
AIWaypointCycle m_CycleWaypoint
bool m_bAreWaypointsCycled

Function Documentation

◆ AddWaypoints()

void AddWaypoints ( array< AIWaypoint > waypoints)
protected

Definition at line 105 of file SCR_EditableGroupComponent.c.

◆ AreCycledWaypointsEnabled()

bool AreCycledWaypointsEnabled ( )
protected

Definition at line 132 of file SCR_EditableGroupComponent.c.

◆ CanDestroy()

override bool CanDestroy ( )
protected

Definition at line 541 of file SCR_EditableGroupComponent.c.

◆ CanDuplicate()

override bool CanDuplicate ( out notnull set< SCR_EditableEntityComponent > outRecipients)
protected

Definition at line 509 of file SCR_EditableGroupComponent.c.

◆ ClearWaypoints()

void ClearWaypoints ( )
protected

Remove all waypoints from the group.

Definition at line 418 of file SCR_EditableGroupComponent.c.

◆ Destroy()

override bool Destroy ( int editorPlayerID)
protected

Definition at line 608 of file SCR_EditableGroupComponent.c.

◆ EnableCycledWaypoints()

void EnableCycledWaypoints ( bool enable)
protected

Definition at line 75 of file SCR_EditableGroupComponent.c.

◆ EnableCycledWaypointsBroadcast()

void EnableCycledWaypointsBroadcast ( bool enable)
protected

Definition at line 126 of file SCR_EditableGroupComponent.c.

◆ ForceVehicleCompartments()

override void ForceVehicleCompartments ( notnull array< ECompartmentType > forceVehicleCompartments)
protected

Definition at line 638 of file SCR_EditableGroupComponent.c.

◆ GetAIEntity()

override SCR_EditableEntityComponent GetAIEntity ( )
protected

Definition at line 378 of file SCR_EditableGroupComponent.c.

◆ GetAIGroup()

override SCR_EditableEntityComponent GetAIGroup ( )
protected

Definition at line 372 of file SCR_EditableGroupComponent.c.

◆ GetAIGroupComponent()

SCR_AIGroup GetAIGroupComponent ( )
protected

Get ai group component, server only

Returns
m_Group

Definition at line 346 of file SCR_EditableGroupComponent.c.

◆ GetChild()

override SCR_EditableEntityComponent GetChild ( int index)
protected

Definition at line 515 of file SCR_EditableGroupComponent.c.

◆ GetEntityBudgetCost()

override bool GetEntityBudgetCost ( out notnull array< ref SCR_EntityBudgetValue > outBudgets,
IEntity owner = null )
protected

Definition at line 440 of file SCR_EditableGroupComponent.c.

◆ GetFaction()

override Faction GetFaction ( )
protected

Definition at line 358 of file SCR_EditableGroupComponent.c.

◆ GetGroupWaypoints()

int GetGroupWaypoints ( array< AIWaypoint > outWaypoints)
protected

Definition at line 234 of file SCR_EditableGroupComponent.c.

◆ GetOnUIRefresh()

override ScriptInvoker GetOnUIRefresh ( )
protected

Definition at line 352 of file SCR_EditableGroupComponent.c.

◆ GetPos()

override bool GetPos ( out vector pos)
protected

Definition at line 528 of file SCR_EditableGroupComponent.c.

◆ GetPrefabBudgetCost()

void GetPrefabBudgetCost ( out notnull array< ref SCR_EntityBudgetValue > outBudgets)
protected

Definition at line 473 of file SCR_EditableGroupComponent.c.

◆ GetRuntimeBudgetCost()

void GetRuntimeBudgetCost ( out notnull array< ref SCR_EntityBudgetValue > outBudgets)
protected

Definition at line 447 of file SCR_EditableGroupComponent.c.

◆ GetSize()

int GetSize ( )
protected

Get number of group members.

Returns
Number of group members

Definition at line 386 of file SCR_EditableGroupComponent.c.

◆ GetWaypointCount()

int GetWaypointCount ( )
protected

Get count of all waypoints of this group

Returns
Number of waypoints

Definition at line 397 of file SCR_EditableGroupComponent.c.

◆ HideIfEmpty()

void HideIfEmpty ( )
protected

Definition at line 572 of file SCR_EditableGroupComponent.c.

◆ IsDestroyed()

override bool IsDestroyed ( )
protected

Definition at line 556 of file SCR_EditableGroupComponent.c.

◆ OnAfterAllMembersSpawned()

void OnAfterAllMembersSpawned ( )
protected

Definition at line 735 of file SCR_EditableGroupComponent.c.

◆ OnAgentRemoved()

void OnAgentRemoved ( SCR_AIGroup group,
AIAgent child )
protected

Definition at line 168 of file SCR_EditableGroupComponent.c.

◆ OnAllMembersSpawned()

void OnAllMembersSpawned ( SCR_AIGroup group)
protected
Parameters
[in]group

Definition at line 726 of file SCR_EditableGroupComponent.c.

◆ OnChildEntityChanged()

override void OnChildEntityChanged ( SCR_EditableEntityComponent child,
bool isAdded )
protected

Definition at line 744 of file SCR_EditableGroupComponent.c.

◆ OnCreatedServer()

override void OnCreatedServer ( notnull SCR_PlacingEditorComponent placedEditorComponent)
protected

Definition at line 700 of file SCR_EditableGroupComponent.c.

◆ OnDelete()

override void OnDelete ( IEntity owner)
protected

Definition at line 50 of file SCR_EditableGroupComponent.c.

◆ OnFactionChanged()

void OnFactionChanged ( Faction faction)
protected

Definition at line 311 of file SCR_EditableGroupComponent.c.

◆ OnIdentityChange()

void OnIdentityChange ( SCR_MilitarySymbol symbol,
LocalizedString name )
protected

Definition at line 328 of file SCR_EditableGroupComponent.c.

◆ OnLeaderIdChanged()

void OnLeaderIdChanged ( )
protected

Definition at line 294 of file SCR_EditableGroupComponent.c.

◆ OnParentEntityChanged()

override void OnParentEntityChanged ( SCR_EditableEntityComponent parentEntity,
SCR_EditableEntityComponent parentEntityPrev,
bool changedByUser )
protected

Definition at line 650 of file SCR_EditableGroupComponent.c.

◆ OnWaypointRemoved()

void OnWaypointRemoved ( AIWaypoint wp)
protected

Definition at line 221 of file SCR_EditableGroupComponent.c.

◆ ReindexWaypoints()

void ReindexWaypoints ( )
protected

Definition at line 245 of file SCR_EditableGroupComponent.c.

◆ RemoveAllWaypointsFromGroup()

void RemoveAllWaypointsFromGroup ( )
protected

Definition at line 114 of file SCR_EditableGroupComponent.c.

◆ RplLoad()

override bool RplLoad ( ScriptBitReader reader)
protected

Definition at line 595 of file SCR_EditableGroupComponent.c.

◆ RplSave()

override bool RplSave ( ScriptBitWriter writer)
protected

Definition at line 584 of file SCR_EditableGroupComponent.c.

◆ SCR_EditableGroupComponent()

void SCR_EditableGroupComponent ( IEntityComponentSource src,
IEntity ent,
IEntity parent )
protected
Parameters
[in]src
[in]ent
[in]parent

Definition at line 881 of file SCR_EditableGroupComponent.c.

◆ SetLeader()

void SetLeader ( SCR_EditableEntityComponent leader)
protected

Definition at line 301 of file SCR_EditableGroupComponent.c.

Variable Documentation

◆ Event_OnUIRefresh

ref ScriptInvoker Event_OnUIRefresh = new ScriptInvoker
protected

Definition at line 38 of file SCR_EditableGroupComponent.c.

◆ m_aForceSpawnVehicleCompartments

ref array<ECompartmentType> m_aForceSpawnVehicleCompartments
protected

Definition at line 41 of file SCR_EditableGroupComponent.c.

◆ m_bAreWaypointsCycled

bool m_bAreWaypointsCycled
protected

Definition at line 46 of file SCR_EditableGroupComponent.c.

◆ m_CycleWaypoint

AIWaypointCycle m_CycleWaypoint
protected

Definition at line 45 of file SCR_EditableGroupComponent.c.

◆ m_GroupInfo

ref SCR_EditableGroupUIInfo m_GroupInfo
protected

Definition at line 37 of file SCR_EditableGroupComponent.c.

◆ m_Leader

SCR_EditableEntityComponent m_Leader
protected

Definition at line 36 of file SCR_EditableGroupComponent.c.

◆ m_LeaderId

RplId m_LeaderId
protected

Definition at line 34 of file SCR_EditableGroupComponent.c.

◆ m_PlacedEditorComponent

SCR_PlacingEditorComponent m_PlacedEditorComponent
protected

Definition at line 43 of file SCR_EditableGroupComponent.c.