Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
SCR_EditableGroupComponent Interface Reference
Inheritance diagram for SCR_EditableGroupComponent:
[legend]

Public Member Functions

void EnableCycledWaypoints (bool enable)
 
bool AreCycledWaypointsEnabled ()
 
SCR_AIGroup GetAIGroupComponent ()
 Get ai group component, server only.
 
override ScriptInvoker GetOnUIRefresh ()
 Get event called when GUI should refresh entity's GUI, i.e., update faction color and call events in GUI widgets.
 
override Faction GetFaction ()
 Get entity's faction.
 
override SCR_EditableEntityComponent GetAIGroup ()
 Get entity's AI group.
 
override SCR_EditableEntityComponent GetAIEntity ()
 Get entity which represents this entity as AI.
 
int GetSize ()
 Get number of group members.
 
int GetWaypointCount ()
 Get count of all waypoints of this group.
 
void ClearWaypoints ()
 Remove all waypoints from the group.
 
override bool GetEntityBudgetCost (out notnull array< ref SCR_EntityBudgetValue > outBudgets, IEntity owner=null)
 Get entity budget costs.
 
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)
 Can entity be duplicated by editor and which recipients should be passed to the duplicated entity Overridden by other EditableEntityComponents.
 
override SCR_EditableEntityComponent GetChild (int index)
 Get child on given index.
 
override bool GetPos (out vector pos)
 Get position representing the entity.
 
override bool CanDestroy ()
 
override bool IsDestroyed ()
 Check if the entity is destroyed.
 
void HideIfEmpty ()
 
override bool RplSave (ScriptBitWriter writer)
 
override bool RplLoad (ScriptBitReader reader)
 
override bool Destroy ()
 Kill/destroy this editable entity.
 
override void ForceVehicleCompartments (notnull array< ECompartmentType > forceVehicleCompartments)
 Authority Only, forces entities such as Character and Group to place characters into a specific vehicle position.
 
override void OnParentEntityChanged (SCR_EditableEntityComponent parentEntity, SCR_EditableEntityComponent parentEntityPrev, bool changedByUser)
 
override void OnCreatedServer (notnull SCR_PlacingEditorComponent placedEditorComponent)
 
void OnAllMembersSpawned (SCR_AIGroup group)
 
override void OnChildEntityChanged (SCR_EditableEntityComponent child, bool isAdded)
 
override void OnPostInit (IEntity owner)
 
void SCR_EditableGroupComponent (IEntityComponentSource src, IEntity ent, IEntity parent)
 
- Public Member Functions inherited from SCR_EditableEntityComponent
string GetDisplayName ()
 Get entity name from info component.
 
ResourceName GetPrefab (bool shorten=false)
 Get entity prefab.
 
SCR_EditableEntityComponentClass GetEditableEntityData (IEntity owner=null)
 Get prefab data of this editable entity.
 
EEditableEntityType GetEntityType (IEntity owner=null)
 Get entity type.
 
SCR_EditableEntityInteraction GetEntityInteraction (IEntity owner=null)
 Get entity interaction rules of this entity.
 
SCR_UIInfo GetInfo (IEntity owner=null)
 Get information about the entity.
 
ScriptInvokerEntity GetOnDeleted ()
 Get event called when entity is deleted.
 
void SetInfoInstance (SCR_UIInfo info)
 Set information about the entity on entity instance, locally on this machine.
 
bool IsReplicated (out RplId replicationID=-1)
 Check component's replication.
 
bool Serialize (out SCR_EditableEntityComponent outTarget=null, out int outTargetIndex=-1, out EEditableEntitySaveFlag outSaveFlags=0)
 Check if the entity can be serialized during session saving managed by SCR_EditableEntityStruct.
 
void Deserialize (SCR_EditableEntityComponent target, int targetValue)
 Deserialise the entity based on given params.
 
GenericEntity GetOwnerScripted ()
 
bool GetPos (out vector pos)
 Get position representing the entity.
 
vector GetIconPos ()
 Get icon offset.
 
bool GetTransform (out vector outTransform[4])
 Get world transformation matrix of editable entity.
 
bool GetLocalTransform (out vector outTransform[4])
 Get local transformation matrix of editable entity.
 
int GetPlayerID ()
 Get player controlling this entity.
 
void SetAuthor (int playerID)
 Sets AuthorID (player that modified this entity last) in Session.
 
void SetAuthor (SCR_EditableEntityAuthor author)
 Sets AuthorID (player that modified this entity last) from a Save.
 
SCR_EditableEntityAuthor GetAuthor ()
 
string GetAuthorUID ()
 Returns author UID.
 
string GetAuthorPlatformID ()
 Returns author Platform ID.
 
int GetAuthorPlayerID ()
 Returns author Player ID.
 
int GetAuthorLastUpdated ()
 Returns Unix Time of last modification.
 
PlatformKind GetAuthorPlatform ()
 Returns Unix Time of last modification.
 
void SetAuthorUID (string authorUID)
 Set Author UID (for normal usage use SetAuthor())
 
void SetAuthorPlatformID (string authorPlatformID)
 
void SetAuthorUpdatedTime (int updatedLast)
 Set Time of last update.
 
void SetAuthorPlatform (PlatformKind authorPlatform)
 
Faction GetFaction ()
 Get entity's faction.
 
ScriptInvoker GetOnUIRefresh ()
 Get event called when GUI should refresh entity's GUI, i.e., update faction color and call events in GUI widgets.
 
ScriptInvoker GetOnUIReset ()
 Get event called when GUI should reset widgets that are used for entity visualization.
 
SCR_EditableEntityComponent GetAIGroup ()
 Get entity's AI group.
 
SCR_EditableEntityComponent GetAIEntity ()
 Get entity which represents this entity as AI.
 
SCR_EditableEntityComponent GetVehicle ()
 Get vehicle the entity's in.
 
int GetCrew (out notnull array< CompartmentAccessComponent > crewCompartmentAccess, bool ignorePlayers=true)
 Get crew of vehicle or if in a vehicle get self.
 
float GetHealth ()
 Get entity health.
 
bool CanDestroy ()
 
bool IsDestroyed ()
 Check if the entity is destroyed.
 
void SetStatic (bool isStatic)
 Set entity as static.
 
bool GetStatic ()
 Check if the entity is marked as static.
 
void UpdateStaticPos ()
 Update static cached position.
 
void SetHierarchyAsDirtyInParents ()
 Mark hierarchy in all parents of the entity as dirty, i.e., modified by user.
 
void SetHierarchyAsDirty ()
 Mark entity hierarchy as dirty, i.e., modified by user.
 
void SetTransformWithChildren (vector transform[4])
 Update transformation of the entity and all its editor children and broadcast the changes to all clients.
 
void SetTransform (vector transform[4], bool changedByUser=false)
 Update entity's transformation and broadcast the changes to all clients.
 
bool Destroy ()
 Kill/destroy this editable entity.
 
bool Delete (bool changedByUser=false, bool updateNavmesh=false)
 Delete this editable entity.
 
RplId GetOwnerRplId ()
 
float GetMaxDrawDistanceSq ()
 Get squared maximum distance in which this entity is drawn in editor (e.g., with an icon).
 
void SetMaxDrawDistance (float maxDrawDistance)
 Set maximum distance in which this entity is drawn in editor (e.g., with an icon).
 
bool GetEntityBudgetCost (out notnull array< ref SCR_EntityBudgetValue > outBudgets, IEntity owner=null)
 Get entity budget costs.
 
bool GetEntityChildrenBudgetCost (out notnull array< ref SCR_EntityBudgetValue > outBudgets, IEntity owner=null)
 Get entity budget costs including cost of children (for groups/compositions)
 
bool GetEntityAndChildrenBudgetCost (out notnull array< ref SCR_EntityBudgetValue > outBudgets, IEntity owner=null)
 Get budgets for both, entity and it's children.
 
bool CanDuplicate (out notnull set< SCR_EditableEntityComponent > outRecipients)
 Can entity be duplicated by editor and which recipients should be passed to the duplicated entity Overridden by other EditableEntityComponents.
 
void ForceVehicleCompartments (notnull array< ECompartmentType > forceVehicleCompartments)
 Authority Only, forces entities such as Character and Group to place characters into a specific vehicle position.
 
void OnCreatedServer (notnull SCR_PlacingEditorComponent placedEditorComponent)
 
bool HasEntityState (EEditableEntityState state)
 Check if given entity state is active.
 
EEditableEntityState GetEntityStates ()
 Check bit array with all currently active states.
 
void SetEntityState (EEditableEntityState state, bool toSet)
 Set value of an entity state.
 
void ResetEntityStates ()
 Reset all entity states.
 
bool HasEntityFlag (EEditableEntityFlag flag)
 Check if a flag is active.
 
EEditableEntityFlag GetEntityFlags ()
 Get entity flags.
 
void SetEntityFlag (EEditableEntityFlag flag, bool toSet)
 Set entity flag.
 
void CopyEntityFlags (EEditableEntityFlag flags)
 Override the Entity flags.
 
string GetLogText (string prefix="")
 
void Log (string prefix="", bool onlyDirect=false, LogLevel logLevel=LogLevel.DEBUG)
 Print out entity information.
 
void Log (string prefix, EEditableEntityAccessKey accessKey)
 Print out the entity and all its descendants which are compatible with given key.
 
void LogAccessKey ()
 Print out entity's access key.
 
SCR_EditableEntityComponent EOnEditorPlace (out SCR_EditableEntityComponent parent, SCR_EditableEntityComponent recipient, EEditorPlacingFlags flags, bool isQueue, int playerID=0)
 Event called on server when the entity is placed in the editor.
 
void EOnEditorSessionLoad (SCR_EditableEntityComponent parent)
 Event called on server when the session is being loaded by SCR_EditableEntityStruct.
 
override bool RplSave (ScriptBitWriter writer)
 
override bool RplLoad (ScriptBitReader reader)
 
override void OnDelete (IEntity owner)
 
override void OnPostInit (IEntity owner)
 
void SCR_EditableEntityComponent (IEntityComponentSource src, IEntity ent, IEntity parent)
 
void Attach (notnull SCR_EditableEntityComponent attachable)
 Add the received attachable waypoint to the attached entities (runs on parent)
 
void Detach (notnull SCR_EditableEntityComponent attachable)
 Removes the received attachable waypoint from the attached entities (runs on parent)
 
set< SCR_EditableEntityComponentGetAttachedEntities ()
 Returns attached entities of self.
 
bool IsAttachable ()
 Returns if current entity is attachable.
 
bool IsAttached ()
 Returns if current entity is attached.
 
SCR_EditableEntityComponent GetAttachedTo ()
 Returns current entity which this editable task is attached to.
 
bool CanSetParent (SCR_EditableEntityComponent parentEntity)
 Check if the entity can be moved to intended parent.
 
SCR_EditableEntityComponent SetParentEntity (SCR_EditableEntityComponent parentEntity, bool changedByUser=false)
 Set parent of the entity.
 
void RestoreParentEntity ()
 Add the entity to its previous parent after it was unregistered using RemoveParentEntity() Allowed only on server.
 
void RemoveParentEntity ()
 Remove entity from its parent.
 
SCR_EditableEntityComponent GetParentEntity ()
 Get parent entity.
 
void GetParentEntities (out notnull array< SCR_EditableEntityComponent > entities)
 Get hierarchy of all parent entities, all the way to the root.
 
bool IsChildOf (SCR_EditableEntityComponent entity)
 Check if the entity is in hierarchy of given entity.
 
set< SCR_EditableEntityComponentGetChildrenRef ()
 Get direct reference to entity's immediate children.
 
void GetChildren (out notnull set< SCR_EditableEntityComponent > entities, bool onlyDirect=false, bool skipIgnored=false)
 Get child entities.
 
void GetChildren (out notnull set< SCR_EditableEntityComponent > entities, bool onlyDirect, EEditableEntityAccessKey accessKey)
 Get child entities with compatible key.
 
int GetChildrenCount (bool onlyDirect=false)
 Get number of child entities.
 
bool IsLayer ()
 Check if the entity is also a layer, i.e., has some child entities.
 
bool CanEnterLayer (SCR_LayersEditorComponent layersManager=null, bool toExtreme=false)
 Checks if can enter layer.
 
bool IsRegistered ()
 Check if the entity is registered.
 
void SetVisible (bool show)
 Set entity visibility.
 
void EnableVisibilityReplication (bool enable)
 
bool CanReplicateVisibility ()
 
void OnRplVisibilityChanged ()
 
bool GetVisibleSelf ()
 Check visibility setting of the entity.
 
bool GetVisibleInHierarchy ()
 Check visibility setting of the entity in hierarchy (e.g., if an entity is set as visible, but its parent is not, false will be returned).
 
void AddAccessKey (EEditableEntityAccessKey accessKey)
 Add access key.
 
void RemoveAccessKey (EEditableEntityAccessKey accessKey)
 Remove access key.
 
void ClearAccessKeys ()
 Clear all access keys.
 
EEditableEntityAccessKey GetAccessKey ()
 Get entity's access key.
 
bool HasAccessSelf (EEditableEntityAccessKey accessKey)
 Check access key of the entity.
 
bool HasAccessInHierarchy (EEditableEntityAccessKey accessKey)
 Check acces keys of the entity in hierarchy (e.g., if an entity is compatible, but its parent is not, false will be returned).
 
bool HasAccessSelf ()
 Check access key of the entity compared to those defined in SCR_AccessKeysEditorComponent.
 
bool HasAccessInHierarchy ()
 Check access key of the entity in hierarchy (e.g., if an entity is compatible, but its parent is not, false will be returned).
 

Static Public Attributes

static ResourceName AI_WAYPOINT_CYCLE = "{35BD6541CBB8AC08}Prefabs/AI/Waypoints/AIWaypoint_Cycle.et"
 

Protected Member Functions

void AddWaypoints (array< AIWaypoint > waypoints)
 
void RemoveAllWaypointsFromGroup ()
 
void EnableCycledWaypointsBroadcast (bool enable)
 
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)
 
- Protected Member Functions inherited from SCR_EditableEntityComponent
bool IsServer ()
 
bool CanRpc ()
 
void SetTransformOwner (vector transform[4])
 
void SetTransformBroadcast (vector transform[4])
 
void OnAuthorChangedServer (string authorUID, int authorID, string authorPlatformID, int platform, int lastUpdated)
 
void OnAuthorChangedSaveServer (string authorUID, int authorID, string authorPlatformID, int platform, int lastUpdated)
 
void OnAuthorChanged (string authorUID, int authorID, string authorPlatformID, int platform, int lastUpdated)
 
void OnParentEntityChanged (SCR_EditableEntityComponent parentEntity, SCR_EditableEntityComponent parentEntityPrev, bool changedByUser)
 
void SetParentEntityBroadcast (SCR_EditableEntityComponent parentEntity, SCR_EditableEntityComponent parentEntityPrev, bool changedByUser=false, bool isAutoRegistration=false)
 
void SetParentEntityBroadcastReceive (RplId parentEntityID, RplId parentEntityPrevID, bool changedByUser)
 
void OnRegistrationChanged (bool toRegister)
 
EEditableEntityRegister GetAutoRegister ()
 
void Register ()
 
void Unregister (IEntity owner=null)
 
void AddToParent (SCR_EditableEntityComponent parentEntity, bool changedByUser)
 
void RemoveFromParent (SCR_EditableEntityComponent parentEntity, bool changedByUser)
 
void AddChild (SCR_EditableEntityComponent entity)
 
void RemoveChild (SCR_EditableEntityComponent entity)
 
void UpdateGameHierarchy (IEntity parent, IEntity child, bool toAdd)
 
void OnChildEntityChanged (SCR_EditableEntityComponent child, bool isAdded)
 
void SetEntityStateInChildren (IEntity owner, EEditableEntityState state, bool toSet, out array< Managed > components=null)
 
void OnVisibilityChanged ()
 
void OnAccessKeyChanged (EEditableEntityAccessKey accessKey)
 
void Refresh ()
 
RplComponent GetRplComponent ()
 
bool ValidateType ()
 

Protected Attributes

SCR_AIGroup m_Group
 
RplId m_LeaderId
 
SCR_EditableEntityComponent m_Leader
 
ref SCR_EditableGroupUIInfo m_GroupInfo
 
ref ScriptInvoker Event_OnUIRefresh = new ScriptInvoker
 
ref array< ECompartmentType > m_aForceSpawnVehicleCompartments
 
SCR_PlacingEditorComponent m_PlacedEditorComponent
 
AIWaypointCycle m_CycleWaypoint
 
bool m_bAreWaypointsCycled
 
- Protected Attributes inherited from SCR_EditableEntityComponent
EEditableEntityRegister m_bAutoRegister
 
vector m_vIconPos
 
bool m_bEnabledVisibilityReplication
 
bool m_bVisible
 
bool m_bStatic
 
float m_fMaxDrawDistance
 
EEditableEntityAccessKey m_AccessKey
 
EEditableEntityFlag m_Flags
 
SCR_EditableEntityComponent m_ParentEntity
 
GenericEntity m_Owner
 
EEditableEntityState m_EntityState
 
SCR_UIInfo m_UIInfoInstance
 
ref set< SCR_EditableEntityComponentm_Entities
 
vector m_vStaticPos
 
int m_iIconBoneIndex = -1
 
ref ScriptInvokerEntity m_OnDeleted
 
ref SCR_EditableEntityAuthor m_Author
 
int m_iAuthorLastUpdated
 
ref set< SCR_EditableEntityComponentm_aAttachedEntities
 

Additional Inherited Members

- Static Public Member Functions inherited from SCR_EditableEntityComponent
static SCR_EditableEntityComponent GetEditableEntity (IEntity owner)
 Get editable entity component on given entity.
 

Detailed Description

Special configuration for editable group.

Constructor & Destructor Documentation

◆ SCR_EditableGroupComponent()

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

Member Function Documentation

◆ AddWaypoints()

void SCR_EditableGroupComponent.AddWaypoints ( array< AIWaypoint >  waypoints)
protected

◆ AreCycledWaypointsEnabled()

bool SCR_EditableGroupComponent.AreCycledWaypointsEnabled ( )

◆ CanDestroy()

override bool SCR_EditableGroupComponent.CanDestroy ( )
Returns
if destroying of entity is allowed. Does not check if entity is destroyed already. Use IsDestroyed() for this

Implements SCR_EditableEntityComponent.

◆ CanDuplicate()

override bool SCR_EditableGroupComponent.CanDuplicate ( out notnull set< SCR_EditableEntityComponent outRecipients)

Can entity be duplicated by editor and which recipients should be passed to the duplicated entity Overridden by other EditableEntityComponents.

Parameters
[out]outRecipientseditableEntityComponents that will be passed to the duplicated entity (Groupcomponent / FactionComponent)
Returns
true if entity can be duplicated

Implements SCR_EditableEntityComponent.

◆ ClearWaypoints()

void SCR_EditableGroupComponent.ClearWaypoints ( )

Remove all waypoints from the group.

◆ Destroy()

override bool SCR_EditableGroupComponent.Destroy ( )

Kill/destroy this editable entity.

Returns
true if destroyed

Implements SCR_EditableEntityComponent.

◆ EnableCycledWaypoints()

void SCR_EditableGroupComponent.EnableCycledWaypoints ( bool  enable)

◆ EnableCycledWaypointsBroadcast()

void SCR_EditableGroupComponent.EnableCycledWaypointsBroadcast ( bool  enable)
protected

◆ ForceVehicleCompartments()

override void SCR_EditableGroupComponent.ForceVehicleCompartments ( notnull array< ECompartmentType >  forceVehicleCompartments)

Authority Only, forces entities such as Character and Group to place characters into a specific vehicle position.

Parameters
[in]forceVehicleCompartmentscompartment types to force for entity

Implements SCR_EditableEntityComponent.

◆ GetAIEntity()

override SCR_EditableEntityComponent SCR_EditableGroupComponent.GetAIEntity ( )

Get entity which represents this entity as AI.

Returns
Editable entity

Implements SCR_EditableEntityComponent.

◆ GetAIGroup()

override SCR_EditableEntityComponent SCR_EditableGroupComponent.GetAIGroup ( )

Get entity's AI group.

Returns
Editable entity of the group

Implements SCR_EditableEntityComponent.

◆ GetAIGroupComponent()

SCR_AIGroup SCR_EditableGroupComponent.GetAIGroupComponent ( )

Get ai group component, server only.

Returns
m_Group

◆ GetChild()

override SCR_EditableEntityComponent SCR_EditableGroupComponent.GetChild ( int  index)

Get child on given index.

Parameters
[in]indexChild index
Returns
Editable entity

Implements SCR_EditableEntityComponent.

◆ GetEntityBudgetCost()

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

Get entity budget costs.

Parameters
[out]outBudgetsArray to be filled with budget values
[in]owner
Returns
true if the entity cost should be based on outBudgets array, return false to fallback on entityType cost, return true with an empty array to avoid fallback entityType cost

Implements SCR_EditableEntityComponent.

◆ GetFaction()

override Faction SCR_EditableGroupComponent.GetFaction ( )

Get entity's faction.

Returns
Faction

Implements SCR_EditableEntityComponent.

◆ GetGroupWaypoints()

int SCR_EditableGroupComponent.GetGroupWaypoints ( array< AIWaypoint >  outWaypoints)
protected

◆ GetOnUIRefresh()

override ScriptInvoker SCR_EditableGroupComponent.GetOnUIRefresh ( )

Get event called when GUI should refresh entity's GUI, i.e., update faction color and call events in GUI widgets.

To be overridden by inherited classes.

Returns
Script invoker

Implements SCR_EditableEntityComponent.

◆ GetPos()

override bool SCR_EditableGroupComponent.GetPos ( out vector  pos)

Get position representing the entity.

Parameters
[out]posEntity's position
Returns
true if the entity has a position

Implements SCR_EditableEntityComponent.

◆ GetPrefabBudgetCost()

void SCR_EditableGroupComponent.GetPrefabBudgetCost ( out notnull array< ref SCR_EntityBudgetValue outBudgets)

◆ GetRuntimeBudgetCost()

void SCR_EditableGroupComponent.GetRuntimeBudgetCost ( out notnull array< ref SCR_EntityBudgetValue outBudgets)

◆ GetSize()

int SCR_EditableGroupComponent.GetSize ( )

Get number of group members.

Returns
Number of group members

◆ GetWaypointCount()

int SCR_EditableGroupComponent.GetWaypointCount ( )

Get count of all waypoints of this group.

Returns
Number of waypoints

◆ HideIfEmpty()

void SCR_EditableGroupComponent.HideIfEmpty ( )

◆ IsDestroyed()

override bool SCR_EditableGroupComponent.IsDestroyed ( )

Check if the entity is destroyed.

Returns
true when destroyed

Implements SCR_EditableEntityComponent.

◆ OnAgentAdded()

void SCR_EditableGroupComponent.OnAgentAdded ( AIAgent  child)
protected

◆ OnAgentRemoved()

void SCR_EditableGroupComponent.OnAgentRemoved ( SCR_AIGroup  group,
AIAgent  child 
)
protected

◆ OnAllMembersSpawned()

void SCR_EditableGroupComponent.OnAllMembersSpawned ( SCR_AIGroup  group)
Parameters
[in]group

◆ OnChildEntityChanged()

override void SCR_EditableGroupComponent.OnChildEntityChanged ( SCR_EditableEntityComponent  child,
bool  isAdded 
)

◆ OnCreatedServer()

override void SCR_EditableGroupComponent.OnCreatedServer ( notnull SCR_PlacingEditorComponent  placedEditorComponent)
Parameters
[in]placedEditorComponent

Implements SCR_EditableEntityComponent.

◆ OnCurrentWaypointChanged()

void SCR_EditableGroupComponent.OnCurrentWaypointChanged ( AIWaypoint  currentWP,
AIWaypoint  prevWP 
)
protected

◆ OnFactionChanged()

void SCR_EditableGroupComponent.OnFactionChanged ( Faction  faction)
protected

◆ OnIdentityChange()

void SCR_EditableGroupComponent.OnIdentityChange ( SCR_MilitarySymbol  symbol,
LocalizedString  name 
)
protected

◆ OnLeaderChanged()

void SCR_EditableGroupComponent.OnLeaderChanged ( AIAgent  currentLeader,
AIAgent  prevLeader 
)
protected

◆ OnLeaderIdChanged()

void SCR_EditableGroupComponent.OnLeaderIdChanged ( )
protected

◆ OnParentEntityChanged()

override void SCR_EditableGroupComponent.OnParentEntityChanged ( SCR_EditableEntityComponent  parentEntity,
SCR_EditableEntityComponent  parentEntityPrev,
bool  changedByUser 
)

◆ OnPostInit()

override void SCR_EditableGroupComponent.OnPostInit ( IEntity  owner)

◆ OnWaypointAdded()

void SCR_EditableGroupComponent.OnWaypointAdded ( AIWaypoint  wp)
protected

◆ OnWaypointCompleted()

void SCR_EditableGroupComponent.OnWaypointCompleted ( AIWaypoint  wp)
protected

◆ OnWaypointRemoved()

void SCR_EditableGroupComponent.OnWaypointRemoved ( AIWaypoint  wp)
protected

◆ ReindexWaypoints()

void SCR_EditableGroupComponent.ReindexWaypoints ( )
protected

◆ RemoveAllWaypointsFromGroup()

void SCR_EditableGroupComponent.RemoveAllWaypointsFromGroup ( )
protected

◆ RplLoad()

override bool SCR_EditableGroupComponent.RplLoad ( ScriptBitReader  reader)

◆ RplSave()

override bool SCR_EditableGroupComponent.RplSave ( ScriptBitWriter  writer)

◆ SetLeader()

void SCR_EditableGroupComponent.SetLeader ( SCR_EditableEntityComponent  leader)
protected

Member Data Documentation

◆ AI_WAYPOINT_CYCLE

ResourceName SCR_EditableGroupComponent.AI_WAYPOINT_CYCLE = "{35BD6541CBB8AC08}Prefabs/AI/Waypoints/AIWaypoint_Cycle.et"
static

◆ Event_OnUIRefresh

ref ScriptInvoker SCR_EditableGroupComponent.Event_OnUIRefresh = new ScriptInvoker
protected

◆ m_aForceSpawnVehicleCompartments

ref array<ECompartmentType> SCR_EditableGroupComponent.m_aForceSpawnVehicleCompartments
protected

◆ m_bAreWaypointsCycled

bool SCR_EditableGroupComponent.m_bAreWaypointsCycled
protected

◆ m_CycleWaypoint

AIWaypointCycle SCR_EditableGroupComponent.m_CycleWaypoint
protected

◆ m_Group

SCR_AIGroup SCR_EditableGroupComponent.m_Group
protected

◆ m_GroupInfo

ref SCR_EditableGroupUIInfo SCR_EditableGroupComponent.m_GroupInfo
protected

◆ m_Leader

SCR_EditableEntityComponent SCR_EditableGroupComponent.m_Leader
protected

◆ m_LeaderId

RplId SCR_EditableGroupComponent.m_LeaderId
protected

◆ m_PlacedEditorComponent

SCR_PlacingEditorComponent SCR_EditableGroupComponent.m_PlacedEditorComponent
protected

The documentation for this interface was generated from the following file: