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

Go to the source code of this file.

Classes

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
SCR_MilitarySymbol GetMilitarySymbol ()
LocalizedString GetGroupName ()
ScriptInvokerBase< SCR_GroupIdentityComponent_OnChangeGetOnIdentityChange ()
void UpdateIdentity ()
 Update group identity based on its current state.
void UpdateIdentityBroadcast (int nameID, SCR_MilitarySymbol symbol)
void OnGroupInit (SCR_AIGroup aiGroup)
void OnAgentAdded ()
void OnAgentRemoved ()
override bool RplSave (ScriptBitWriter writer)
override bool RplLoad (ScriptBitReader reader)
override void OnPostInit (IEntity owner)
 Editable Mine.
override void OnDelete (IEntity owner)

Variables

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

Typedef Documentation

◆ SCR_GroupIdentityComponent_OnChange

Function Documentation

◆ GetGroupName()

LocalizedString GetGroupName ( )
protected

Get group's dynamic name.

Returns
Name

Definition at line 33 of file SCR_GroupIdentityComponent.c.

◆ GetMilitarySymbol()

SCR_MilitarySymbol GetMilitarySymbol ( )
protected

Get group's symbol data.

Returns
Symbol data

Definition at line 25 of file SCR_GroupIdentityComponent.c.

◆ GetOnIdentityChange()

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

Definition at line 40 of file SCR_GroupIdentityComponent.c.

◆ OnAgentAdded()

void OnAgentAdded ( )
protected

Definition at line 99 of file SCR_GroupIdentityComponent.c.

◆ OnAgentRemoved()

void OnAgentRemoved ( )
protected

Definition at line 105 of file SCR_GroupIdentityComponent.c.

◆ OnDelete()

override void OnDelete ( IEntity owner)
protected

Definition at line 150 of file SCR_GroupIdentityComponent.c.

◆ OnGroupInit()

void OnGroupInit ( SCR_AIGroup aiGroup)
protected

Definition at line 90 of file SCR_GroupIdentityComponent.c.

◆ RplLoad()

override bool RplLoad ( ScriptBitReader reader)
protected

Definition at line 121 of file SCR_GroupIdentityComponent.c.

◆ RplSave()

override bool RplSave ( ScriptBitWriter writer)
protected

Definition at line 111 of file SCR_GroupIdentityComponent.c.

◆ SCR_GroupIdentityComponent_OnChange()

◆ UpdateIdentity()

void UpdateIdentity ( )
protected

Update group identity based on its current state.

Definition at line 47 of file SCR_GroupIdentityComponent.c.

◆ UpdateIdentityBroadcast()

void UpdateIdentityBroadcast ( int nameID,
SCR_MilitarySymbol symbol )
protected

Definition at line 77 of file SCR_GroupIdentityComponent.c.

Variable Documentation

◆ m_bForced

bool m_bForced
protectedattribute

Definition at line 15 of file SCR_GroupIdentityComponent.c.

◆ m_Group

SCR_AIGroup m_Group
protected

Definition at line 17 of file SCR_GroupIdentityComponent.c.

◆ m_iNameID

int m_iNameID = -1
protected

Definition at line 18 of file SCR_GroupIdentityComponent.c.

◆ m_OnIdentityChange

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

Definition at line 20 of file SCR_GroupIdentityComponent.c.

◆ m_sName

LocalizedString m_sName
protected

Definition at line 19 of file SCR_GroupIdentityComponent.c.