Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_GroupIdentityComponent.c File Reference

Go to the source code of this file.

Data Structures

class  SCR_GroupIdentityComponentClass
 

Typedefs

typedef func SCR_GroupIdentityComponent_OnChange
 

Functions

void SCR_GroupIdentityComponent_OnChange (SCR_MilitarySymbol symbol, LocalizedString name)
 
SCR_GroupIdentityComponentClass ScriptComponentClass Attribute ()] protected ref SCR_MilitarySymbol m_MilitarySymbol
 Post-process effect of scripted camera. More...
 
SCR_MilitarySymbol GetMilitarySymbol ()
 
LocalizedString GetGroupName ()
 
ScriptInvokerBase< SCR_GroupIdentityComponent_OnChangeGetOnIdentityChange ()
 
void UpdateIdentity ()
 Update group identity based on its current state. More...
 
protected void UpdateIdentityBroadcast (int nameID, SCR_MilitarySymbol symbol)
 
protected void OnGroupInit (SCR_AIGroup aiGroup)
 
protected void OnAgentAdded ()
 
protected void OnAgentRemoved ()
 
override bool RplSave (ScriptBitWriter writer)
 
override bool RplLoad (ScriptBitReader reader)
 
override void OnPostInit (IEntity owner)
 Editable Mine. More...
 
override void OnDelete (IEntity owner)
 

Variables

protected bool m_bForced
 
protected SCR_AIGroup m_Group
 
protected int m_iNameID = -1
 
protected LocalizedString m_sName
 
protected ref ScriptInvokerBase< SCR_GroupIdentityComponent_OnChangem_OnIdentityChange = new ScriptInvokerBase<SCR_GroupIdentityComponent_OnChange>()
 

Typedef Documentation

◆ SCR_GroupIdentityComponent_OnChange

Function Documentation

◆ GetGroupName()

LocalizedString GetGroupName ( )

Get group's dynamic name.

Returns
Name

Definition at line 33 of file SCR_GroupIdentityComponent.c.

◆ GetMilitarySymbol()

SCR_MilitarySymbol GetMilitarySymbol ( )

Get group's symbol data.

Returns
Symbol data

Definition at line 25 of file SCR_GroupIdentityComponent.c.

◆ GetOnIdentityChange()

ScriptInvokerBase<SCR_GroupIdentityComponent_OnChange> GetOnIdentityChange ( )
Returns
invoker called when group identity changes.

Definition at line 40 of file SCR_GroupIdentityComponent.c.

◆ OnAgentAdded()

protected void OnAgentAdded ( )

Definition at line 99 of file SCR_GroupIdentityComponent.c.

◆ OnAgentRemoved()

protected void OnAgentRemoved ( )

Definition at line 105 of file SCR_GroupIdentityComponent.c.

◆ OnGroupInit()

protected void OnGroupInit ( SCR_AIGroup  aiGroup)

Definition at line 90 of file SCR_GroupIdentityComponent.c.

◆ RplLoad()

override bool RplLoad ( ScriptBitReader  reader)

Definition at line 121 of file SCR_GroupIdentityComponent.c.

◆ RplSave()

override bool RplSave ( ScriptBitWriter  writer)

Definition at line 111 of file SCR_GroupIdentityComponent.c.

◆ SCR_GroupIdentityComponent_OnChange()

◆ UpdateIdentity()

void UpdateIdentity ( )

Update group identity based on its current state.

Definition at line 47 of file SCR_GroupIdentityComponent.c.

◆ UpdateIdentityBroadcast()

protected void UpdateIdentityBroadcast ( int  nameID,
SCR_MilitarySymbol  symbol 
)

Definition at line 77 of file SCR_GroupIdentityComponent.c.

Variable Documentation

◆ m_bForced

protected bool m_bForced
attribute

Definition at line 15 of file SCR_GroupIdentityComponent.c.

◆ m_Group

protected SCR_AIGroup m_Group

Definition at line 17 of file SCR_GroupIdentityComponent.c.

◆ m_iNameID

protected int m_iNameID = -1

Definition at line 18 of file SCR_GroupIdentityComponent.c.

◆ m_OnIdentityChange

protected ref ScriptInvokerBase<SCR_GroupIdentityComponent_OnChange> m_OnIdentityChange = new ScriptInvokerBase<SCR_GroupIdentityComponent_OnChange>()

Definition at line 20 of file SCR_GroupIdentityComponent.c.

◆ m_sName

protected LocalizedString m_sName

Definition at line 19 of file SCR_GroupIdentityComponent.c.