|
Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Go to the documentation of this file. 1 [
ComponentEditorProps(
category:
"GameScripted/Editor (Editables)", description:
"", icon:
"WBData/ComponentEditorProps/componentEditor.png")]
4 [
Attribute(
"#AR-Tasks_Objective",
desc:
"Name of objective type eg: Attack objective. Used among in, among other things, in notifications",
category:
"Visualization")]
12 return m_sObjectiveTypeName;
50 return m_Task.GetTextType();
71 [
RplRpc(RplChannel.Reliable, RplRcver.Broadcast)]
84 return m_Task.GetTaskCompletionType();
92 if (
m_Task.GetTaskCompletionType() == completionType)
100 [
RplRpc(RplChannel.Reliable, RplRcver.Broadcast)]
103 m_Task.SetTaskCompletionType(completionType);
128 override void SetTransform(vector transform[4],
bool changedByUser =
false)
130 super.SetTransform(transform, changedByUser);
138 return super.Serialize(outTarget, outTargetIndex, outSaveFlags);
144 super.Deserialize(target, targetValue);
163 if (!super.RplSave(writer))
167 if (
GetGame().GetFactionManager())
170 writer.WriteInt(factionIndex);
182 if (!super.RplLoad(reader))
186 reader.ReadInt(factionIndex);
187 if (
GetGame().GetFactionManager())
193 m_Task.Deserialize(reader);
229 override bool Delete(
bool changedByUser =
false,
bool updateNavmesh =
true)
234 return super.Delete(changedByUser, updateNavmesh);
SCR_FragmentEntityClass ComponentEditorProps
override bool Delete(bool changedByUser=false, bool updateNavmesh=true)
override bool Serialize(out SCR_EditableEntityComponent outTarget=null, out int outTargetIndex=-1, out EEditableEntitySaveFlag outSaveFlags=0)
override SCR_EditableEntityComponent EOnEditorPlace(out SCR_EditableEntityComponent parent, SCR_EditableEntityComponent recipient, EEditorPlacingFlags flags, bool isQueue, int playerID=0)
override void SetTransform(vector transform[4], bool changedByUser=false)
SCR_EditableTaskComponentClass m_Task
Editable SCR_BaseTask.
protected ref ScriptInvoker Event_OnUIRefresh
protected void UpdateText()
ArmaReforgerScripted GetGame()
void SetTextIndex(int index)
void ActivateTask()
Reveal the task to all players.
protected ref SCR_EditableDescriptorUIInfo m_UIInfoDescriptor
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
SCR_AchievementsHandlerClass ScriptComponentClass RplRpc(RplChannel.Reliable, RplRcver.Owner)] void UnlockOnClient(AchievementId achievement)
protected int m_iTextIndex
override ScriptInvoker GetOnUIRefresh()
override bool RplSave(ScriptBitWriter writer)
override protected void GetOnLocationChange(SCR_EditableEntityComponent nearestLocation)
protected Faction m_TargetFaction
typedef Attribute
Post-process effect of scripted camera.
void SetTaskCompletionType(EEditorTaskCompletionType completionType)
ETaskTextType GetTextType()
SCR_BaseTaskManager GetTaskManager()
override bool RplLoad(ScriptBitReader reader)
protected void SetTaskCompletionTypeBroadcast(EEditorTaskCompletionType completionType)
protected void SetTextIndexBroadcast(int index)
EEditorTaskCompletionType
Way of determening if a task is completed automaticly, manually or always manually (In the latter cas...
bool UpdateNearestLocation(vector pos=vector.Zero)
SCR_DestructionSynchronizationComponentClass ScriptComponentClass int index
override Faction GetFaction()
protected void UpdateInfo(SCR_UIDescription from=null)
override void Deserialize(SCR_EditableEntityComponent target, int targetValue)
void SCR_EditableDescriptorComponent(IEntityComponentSource src, IEntity ent, IEntity parent)
void SCR_EditableTaskComponent(IEntityComponentSource src, IEntity ent, IEntity parent)
EEditorTaskCompletionType GetTaskCompletionType()