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

Go to the source code of this file.

Data Structures

class  SCR_EditableDescriptorComponentClass
 

Typedefs

typedef func ScriptInvoker_EditableDescriptorLocationChangeMethod
 
typedef ScriptInvokerBase< ScriptInvoker_EditableDescriptorLocationChangeMethodScriptInvoker_EditableDescriptorLocationChange
 

Functions

void ScriptInvoker_EditableDescriptorLocationChangeMethod (SCR_EditableCommentComponent location)
 
SCR_EditableDescriptorComponentClass SCR_EditableSystemComponentClass Attribute ("300", UIWidgets.Slider, "Detect locations within this radius.", params:"0 10000 1")] protected float m_fMaxLocationSize
 Editable entity which can contain location description. More...
 
ScriptInvoker_EditableDescriptorLocationChange GetOnChange ()
 
bool UpdateNearestLocation (vector pos=vector.Zero)
 
protected void UpdateNearestLocationBroadcast (EntityID nearestLocationID)
 
protected void GetOnLocationChange (SCR_EditableEntityComponent nearestLocation)
 
protected void UpdateInfo (SCR_UIDescription from=null)
 
override bool RplSave (ScriptBitWriter writer)
 
override bool RplLoad (ScriptBitReader reader)
 
void SCR_EditableDescriptorComponent (IEntityComponentSource src, IEntity ent, IEntity parent)
 

Variables

protected LocalizedString m_sLocationName
 
protected EntityID m_NearestLocationID
 
protected SCR_EditableEntityComponent m_NearestLocation
 
protected ref SCR_EditableDescriptorUIInfo m_UIInfoDescriptor
 
protected ref ScriptInvoker_EditableDescriptorLocationChange m_OnChange
 

Typedef Documentation

◆ ScriptInvoker_EditableDescriptorLocationChange

◆ ScriptInvoker_EditableDescriptorLocationChangeMethod

Function Documentation

◆ GetOnChange()

Returns

Definition at line 26 of file SCR_EditableDescriptorComponent.c.

◆ GetOnLocationChange()

protected void GetOnLocationChange ( SCR_EditableEntityComponent  nearestLocation)

Definition at line 24 of file SCR_EditableSpawnPointComponent.c.

◆ RplLoad()

override bool RplLoad ( ScriptBitReader  reader)

Definition at line 120 of file SCR_EditableDescriptorComponent.c.

◆ RplSave()

override bool RplSave ( ScriptBitWriter  writer)

Definition at line 109 of file SCR_EditableDescriptorComponent.c.

◆ SCR_EditableDescriptorComponent()

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

Definition at line 137 of file SCR_EditableDescriptorComponent.c.

◆ ScriptInvoker_EditableDescriptorLocationChangeMethod()

void ScriptInvoker_EditableDescriptorLocationChangeMethod ( SCR_EditableCommentComponent  location)

◆ UpdateInfo()

protected void UpdateInfo ( SCR_UIDescription  from = null)

Definition at line 87 of file SCR_EditableDescriptorComponent.c.

◆ UpdateNearestLocation()

bool UpdateNearestLocation ( vector  pos = vector.Zero)

Update location name.

Parameters
posPosition from which the nearest location will be searched for.
Returns
True if there was a change

Definition at line 38 of file SCR_EditableDescriptorComponent.c.

◆ UpdateNearestLocationBroadcast()

protected void UpdateNearestLocationBroadcast ( EntityID  nearestLocationID)

Definition at line 71 of file SCR_EditableDescriptorComponent.c.

Variable Documentation

◆ m_NearestLocation

protected SCR_EditableEntityComponent m_NearestLocation

Definition at line 20 of file SCR_EditableDescriptorComponent.c.

◆ m_NearestLocationID

protected EntityID m_NearestLocationID

Definition at line 19 of file SCR_EditableDescriptorComponent.c.

◆ m_OnChange

Definition at line 22 of file SCR_EditableDescriptorComponent.c.

◆ m_sLocationName

protected LocalizedString m_sLocationName

Definition at line 18 of file SCR_EditableDescriptorComponent.c.

◆ m_UIInfoDescriptor

protected ref SCR_EditableDescriptorUIInfo m_UIInfoDescriptor

Definition at line 21 of file SCR_EditableDescriptorComponent.c.