|
Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Go to the documentation of this file.
5 [
ComponentEditorProps(
category:
"GameScripted/Editor (Editables)", description:
"", icon:
"WBData/ComponentEditorProps/componentEditor.png")]
15 [
Attribute(
"300", UIWidgets.Slider,
"Detect locations within this radius.",
params:
"0 10000 1")]
16 protected float m_fMaxLocationSize;
45 if (pos == vector.Zero)
54 if (nearestLocation.GetPos(locationPos) && vector.DistanceSqXZ(locationPos, pos) < m_fMaxLocationSize)
57 nearestLocationID = nearestLocation.GetOwner().GetID();
70 [
RplRpc(RplChannel.Reliable, RplRcver.Broadcast)]
111 if (!super.RplSave(writer))
122 if (!super.RplLoad(reader))
139 m_fMaxLocationSize *= m_fMaxLocationSize;
protected void GetOnLocationChange(SCR_EditableEntityComponent nearestLocation)
SCR_FragmentEntityClass ComponentEditorProps
EEditableEntityFlag
Unique flags of the entity.
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.
protected ref ScriptInvoker Event_OnUIRefresh
ArmaReforgerScripted GetGame()
override bool RplSave(ScriptBitWriter writer)
override SCR_UIInfo GetInfo(IEntity owner=null)
protected EntityID m_NearestLocationID
protected ref SCR_EditableDescriptorUIInfo m_UIInfoDescriptor
SCR_AchievementsHandlerClass ScriptComponentClass RplRpc(RplChannel.Reliable, RplRcver.Owner)] void UnlockOnClient(AchievementId achievement)
protected ref ScriptInvoker_EditableDescriptorLocationChange m_OnChange
override bool RplLoad(ScriptBitReader reader)
ScriptInvokerBase< ScriptInvoker_EditableDescriptorLocationChangeMethod > ScriptInvoker_EditableDescriptorLocationChange
EEditableEntityType
Defines type of SCR_EditableEntityComponent. Assigned automatically based on IEntity inheritance.
SCR_CompositionSlotManagerComponentClass EntityID
ScriptInvoker_EditableDescriptorLocationChange GetOnChange()
protected LocalizedString m_sLocationName
IEntity GetOwner()
Owner entity of the fuel tank.
func ScriptInvoker_EditableDescriptorLocationChangeMethod
bool UpdateNearestLocation(vector pos=vector.Zero)
protected void UpdateInfo(SCR_UIDescription from=null)
protected SCR_EditableEntityComponent m_NearestLocation
void SCR_EditableDescriptorComponent(IEntityComponentSource src, IEntity ent, IEntity parent)
Configs ServerBrowser KickDialogs params
protected void UpdateNearestLocationBroadcast(EntityID nearestLocationID)