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

Go to the source code of this file.

Classes

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.
ScriptInvoker_EditableDescriptorLocationChange GetOnChange ()
bool UpdateNearestLocation (vector pos=vector.Zero)
void UpdateNearestLocationBroadcast (EntityID nearestLocationID)
void GetOnLocationChange (SCR_EditableEntityComponent nearestLocation)
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

LocalizedString m_sLocationName
EntityID m_NearestLocationID
SCR_EditableEntityComponent m_NearestLocation
ref SCR_EditableDescriptorUIInfo m_UIInfoDescriptor
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()

void GetOnLocationChange ( SCR_EditableEntityComponent nearestLocation)
protected

Definition at line 24 of file SCR_EditableSpawnPointComponent.c.

◆ RplLoad()

override bool RplLoad ( ScriptBitReader reader)
protected

Definition at line 120 of file SCR_EditableDescriptorComponent.c.

◆ RplSave()

override bool RplSave ( ScriptBitWriter writer)
protected

Definition at line 109 of file SCR_EditableDescriptorComponent.c.

◆ SCR_EditableDescriptorComponent()

void SCR_EditableDescriptorComponent ( IEntityComponentSource src,
IEntity ent,
IEntity parent )
protected
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()

void UpdateInfo ( SCR_UIDescription from = null)
protected

Definition at line 87 of file SCR_EditableDescriptorComponent.c.

◆ UpdateNearestLocation()

bool UpdateNearestLocation ( vector pos = vector.Zero)
protected

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()

void UpdateNearestLocationBroadcast ( EntityID nearestLocationID)
protected

Definition at line 71 of file SCR_EditableDescriptorComponent.c.

Variable Documentation

◆ m_NearestLocation

SCR_EditableEntityComponent m_NearestLocation
protected

Definition at line 20 of file SCR_EditableDescriptorComponent.c.

◆ m_NearestLocationID

EntityID m_NearestLocationID
protected

Definition at line 19 of file SCR_EditableDescriptorComponent.c.

◆ m_OnChange

Definition at line 22 of file SCR_EditableDescriptorComponent.c.

◆ m_sLocationName

LocalizedString m_sLocationName
protected

Definition at line 18 of file SCR_EditableDescriptorComponent.c.

◆ m_UIInfoDescriptor

ref SCR_EditableDescriptorUIInfo m_UIInfoDescriptor
protected

Definition at line 21 of file SCR_EditableDescriptorComponent.c.