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

Go to the source code of this file.

Data Structures

class  SCR_EditablePlayerDelegateComponentClass
 

Functions

SCR_EditablePlayerDelegateComponentClass SCR_EditableEntityComponentClass RplProp (onRplName:"OnRplPlayerID")
 
override int GetPlayerID ()
 
ScriptInvoker GetOnLimitedEditorChanged ()
 
bool HasLimitedEditor ()
 
void SetControlledEntity (IEntity controlledEntity)
 
protected void SetControlledEntityOwner (RplId entityID)
 
SCR_EditableEntityComponent GetControlledEntity ()
 Returns the controlled entity or null if none. More...
 
protected void OnRplPlayerID ()
 
protected void OnRplLimitedEditor ()
 
protected void OnEditorLimitedChange (bool isLimited)
 
override EEditableEntityType GetEntityType (IEntity owner=null)
 
override SCR_UIInfo GetInfo (IEntity owner=null)
 
override ScriptInvoker GetOnUIReset ()
 
override Faction GetFaction ()
 
override SCR_EditableEntityComponent GetAIGroup ()
 
override SCR_EditableEntityComponent GetVehicle ()
 
override float GetHealth ()
 
override bool GetEntityBudgetCost (out notnull array< ref SCR_EntityBudgetValue > outBudgets, IEntity owner=null)
 
override bool GetPos (out vector pos)
 
override string GetLogText (string prefix="")
 
override bool RplSave (ScriptBitWriter writer)
 
override bool RplLoad (ScriptBitReader reader)
 
override void OnPostInit (IEntity owner)
 Editable Mine. More...
 
void ~SCR_EditablePlayerDelegateComponent ()
 

Function Documentation

◆ GetAIGroup()

override SCR_EditableEntityComponent GetAIGroup ( )

Definition at line 174 of file SCR_EditablePlayerDelegateComponent.c.

◆ GetEntityBudgetCost()

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

Definition at line 201 of file SCR_EditablePlayerDelegateComponent.c.

◆ GetEntityType()

override EEditableEntityType GetEntityType ( IEntity  owner = null)

Definition at line 131 of file SCR_EditablePlayerDelegateComponent.c.

◆ GetFaction()

override Faction GetFaction ( )

Definition at line 160 of file SCR_EditablePlayerDelegateComponent.c.

◆ GetHealth()

override float GetHealth ( )

Definition at line 192 of file SCR_EditablePlayerDelegateComponent.c.

◆ GetInfo()

override SCR_UIInfo GetInfo ( IEntity  owner = null)

Definition at line 140 of file SCR_EditablePlayerDelegateComponent.c.

◆ GetLogText()

override string GetLogText ( string  prefix = "")

Definition at line 217 of file SCR_EditablePlayerDelegateComponent.c.

◆ GetOnLimitedEditorChanged()

ScriptInvoker GetOnLimitedEditorChanged ( )

Get script invoker called when editor belonging to this player become limited (e.g., only photo mode, without any editing capabilities), or vice versa.

Returns
ScriptInvoker

Definition at line 52 of file SCR_EditablePlayerDelegateComponent.c.

◆ GetOnUIReset()

override ScriptInvoker GetOnUIReset ( )

Definition at line 154 of file SCR_EditablePlayerDelegateComponent.c.

◆ GetPlayerID()

override int GetPlayerID ( )

Get ID of player this delegates represents.

Returns
Player ID

Definition at line 44 of file SCR_EditablePlayerDelegateComponent.c.

◆ GetPos()

override bool GetPos ( out vector  pos)

Definition at line 208 of file SCR_EditablePlayerDelegateComponent.c.

◆ GetVehicle()

override SCR_EditableEntityComponent GetVehicle ( )

Definition at line 183 of file SCR_EditablePlayerDelegateComponent.c.

◆ HasLimitedEditor()

bool HasLimitedEditor ( )

Check if the player has access only to limited editor (e.g., only photo mode, without any editing capabilities).

Returns
True when limited

Definition at line 60 of file SCR_EditablePlayerDelegateComponent.c.

◆ OnEditorLimitedChange()

protected void OnEditorLimitedChange ( bool  isLimited)

Definition at line 123 of file SCR_EditablePlayerDelegateComponent.c.

◆ OnRplLimitedEditor()

protected void OnRplLimitedEditor ( )

Definition at line 115 of file SCR_EditablePlayerDelegateComponent.c.

◆ OnRplPlayerID()

protected void OnRplPlayerID ( )

Definition at line 94 of file SCR_EditablePlayerDelegateComponent.c.

◆ RplLoad()

override bool RplLoad ( ScriptBitReader  reader)

Definition at line 239 of file SCR_EditablePlayerDelegateComponent.c.

◆ RplSave()

override bool RplSave ( ScriptBitWriter  writer)

Definition at line 225 of file SCR_EditablePlayerDelegateComponent.c.

◆ SetControlledEntityOwner()

protected void SetControlledEntityOwner ( RplId  entityID)

Definition at line 77 of file SCR_EditablePlayerDelegateComponent.c.

◆ ~SCR_EditablePlayerDelegateComponent()

void ~SCR_EditablePlayerDelegateComponent ( )

Definition at line 261 of file SCR_EditablePlayerDelegateComponent.c.