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

Go to the source code of this file.

Data Structures

class  SCR_AccessKeysEditorComponentClass
 

Functions

SCR_AccessKeysEditorComponentClass SCR_BaseEditorComponentClass Attribute ("1", UIWidgets.Flags, "", enums:ParamEnumArray.FromEnum(EEditableEntityAccessKey))] private EEditableEntityAccessKey m_AccessKey
 
void AddAccessKey (EEditableEntityAccessKey accessKey)
 
void RemoveAccessKey (EEditableEntityAccessKey accessKey)
 
protected void AddAccessKeyServer (EEditableEntityAccessKey accessKey)
 
protected void RemoveAccessKeyServer (EEditableEntityAccessKey accessKey)
 
protected void AccessKeyChangedOwner (EEditableEntityAccessKey accessKey)
 
EEditableEntityAccessKey GetAccessKey ()
 
bool HasAccess (EEditableEntityAccessKey accessKey)
 
void AddEntityAccessKey (SCR_EditableEntityComponent entity, EEditableEntityAccessKey accessKey)
 
void RemoveEntityAccessKey (SCR_EditableEntityComponent entity, EEditableEntityAccessKey accessKey)
 
protected void AddEntityAccessKeyServer (int entityID, EEditableEntityAccessKey accessKey)
 
protected void RemoveEntityAccessKeyServer (int entityID, EEditableEntityAccessKey accessKey)
 
protected string GetKeyDebug ()
 
void LogAvailableEntities ()
 Print out all entities with compatible access keys. More...
 
void LogAccessKey ()
 Print out access keys. More...
 
override void EOnEditorDebug (array< string > debugTexts)
 
override void EOnFrame (IEntity owner, float timeSlice)
 
override bool RplSave (ScriptBitWriter writer)
 
override bool RplLoad (ScriptBitReader reader)
 
override protected void EOnEditorActivate ()
 
override void EOnEditorInit ()
 
override protected void EOnEditorDelete ()
 

Variables

ref ScriptInvoker Event_OnChanged = new ScriptInvoker()
 

Function Documentation

◆ AccessKeyChangedOwner()

protected void AccessKeyChangedOwner ( EEditableEntityAccessKey  accessKey)

Definition at line 66 of file SCR_AccessKeysEditorComponent.c.

◆ AddAccessKey()

void AddAccessKey ( EEditableEntityAccessKey  accessKey)

Add access key.

Parameters
[in]accessKeyKey to be added

Definition at line 27 of file SCR_AccessKeysEditorComponent.c.

◆ AddAccessKeyServer()

protected void AddAccessKeyServer ( EEditableEntityAccessKey  accessKey)

Definition at line 44 of file SCR_AccessKeysEditorComponent.c.

◆ AddEntityAccessKey()

void AddEntityAccessKey ( SCR_EditableEntityComponent  entity,
EEditableEntityAccessKey  accessKey 
)

Add access key to an entity.

Parameters
[in]entityAffected entity
[in]accessKeyKey to be added

Definition at line 94 of file SCR_AccessKeysEditorComponent.c.

◆ AddEntityAccessKeyServer()

protected void AddEntityAccessKeyServer ( int  entityID,
EEditableEntityAccessKey  accessKey 
)

Definition at line 109 of file SCR_AccessKeysEditorComponent.c.

◆ EOnEditorActivate()

override protected void EOnEditorActivate ( )

Definition at line 259 of file SCR_AccessKeysEditorComponent.c.

◆ EOnEditorDebug()

override void EOnEditorDebug ( array< string >  debugTexts)

Definition at line 191 of file SCR_AccessKeysEditorComponent.c.

◆ EOnEditorDelete()

override protected void EOnEditorDelete ( )

Definition at line 295 of file SCR_AccessKeysEditorComponent.c.

◆ EOnEditorInit()

override void EOnEditorInit ( )

Definition at line 265 of file SCR_AccessKeysEditorComponent.c.

◆ EOnFrame()

override void EOnFrame ( IEntity  owner,
float  timeSlice 
)

Definition at line 197 of file SCR_AccessKeysEditorComponent.c.

◆ GetAccessKey()

EEditableEntityAccessKey GetAccessKey ( )

Get access key.

Returns
Editor's access key

Definition at line 75 of file SCR_AccessKeysEditorComponent.c.

◆ GetKeyDebug()

protected string GetKeyDebug ( )

Definition at line 127 of file SCR_AccessKeysEditorComponent.c.

◆ HasAccess()

bool HasAccess ( EEditableEntityAccessKey  accessKey)

Has access to given key. \accessKey Key to be checked

Returns
True when has access

Definition at line 84 of file SCR_AccessKeysEditorComponent.c.

◆ LogAccessKey()

void LogAccessKey ( )

Print out access keys.

Definition at line 177 of file SCR_AccessKeysEditorComponent.c.

◆ LogAvailableEntities()

void LogAvailableEntities ( )

Print out all entities with compatible access keys.

Definition at line 158 of file SCR_AccessKeysEditorComponent.c.

◆ RemoveAccessKey()

void RemoveAccessKey ( EEditableEntityAccessKey  accessKey)

Remove access key.

Parameters
[in]accessKeyKey to be removed

Definition at line 36 of file SCR_AccessKeysEditorComponent.c.

◆ RemoveAccessKeyServer()

protected void RemoveAccessKeyServer ( EEditableEntityAccessKey  accessKey)

Definition at line 55 of file SCR_AccessKeysEditorComponent.c.

◆ RemoveEntityAccessKey()

void RemoveEntityAccessKey ( SCR_EditableEntityComponent  entity,
EEditableEntityAccessKey  accessKey 
)

Remove access key from an entity.

Parameters
[in]entityAffected entity
[in]accessKeyKey to be removed

Definition at line 102 of file SCR_AccessKeysEditorComponent.c.

◆ RemoveEntityAccessKeyServer()

protected void RemoveEntityAccessKeyServer ( int  entityID,
EEditableEntityAccessKey  accessKey 
)

Definition at line 118 of file SCR_AccessKeysEditorComponent.c.

◆ RplLoad()

override bool RplLoad ( ScriptBitReader  reader)

Definition at line 252 of file SCR_AccessKeysEditorComponent.c.

◆ RplSave()

override bool RplSave ( ScriptBitWriter  writer)

Definition at line 244 of file SCR_AccessKeysEditorComponent.c.

Variable Documentation

◆ Event_OnChanged

ref ScriptInvoker Event_OnChanged = new ScriptInvoker()

Definition at line 18 of file SCR_AccessKeysEditorComponent.c.