Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Go to the source code of this file.
Data Structures | |
class | SCR_UITaskManagerComponentClass |
Functions | |
bool | IsTaskListOpen () |
void | SetSelectedWidget (Widget w) |
void | StopHUDIconUpdates (SCR_BaseTask task) |
void | KeepHUDIconUpdated (int msTime, SCR_BaseTask task) |
void | OnTaskDeleted (SCR_BaseTask task) |
void | SelectTask (SCR_BaseTask task, Widget w=null) |
SCR_BaseTask | GetSelectedTask () |
Widget | GetRootWidget () |
Widget | GetParentWidget () |
array< Widget > | GetWidgetsArray () |
void | UnregisterTimer (SCR_BaseTask task) |
void | RegisterTimer (SCR_BaseTask task, TextWidget timerWidget) |
void | SetupAssigneeTexts (notnull SCR_BaseTask task, Widget parent) |
Creates assignee texts if needed. More... | |
void | GenerateUI (Widget rootWidget, SCR_BaseTask taskToFocus=null) |
protected void | GenerateRequestButtons () |
protected void | ClearUI () |
override void | EOnFrame (IEntity owner, float timeSlice) |
string | GetFormattedTimerText (float time) |
Widget | InitCurrentTaskWidget () |
bool | HasLocallyAssignedTask () |
void | ToggleCurrentTask (bool fade=true) |
void | HidePickAssignee () |
void | HideDetail () |
void | Action_PickAssignee () |
void | Action_TasksOpen () |
void | Action_ShowHint () |
void | Action_TasksClose () |
void | Action_ShowOnMap () |
void | Action_AssignTask (SCR_BaseTask task=null) |
void | Action_ShowDetail () |
void | Action_Expand () |
Action expand task called from controller. More... | |
void | OnMapOpen (MapConfiguration cfg) |
void | OnMapClose (MapConfiguration config) |
void | HideAllHUDIcons (bool fade=true) |
void | Action_ShowTasks (Widget targetWidget=null, SCR_BaseTask taskToFocus=null) |
void | Action_HideTasks () |
void | Action_SelectTask (notnull SCR_BaseTask task) |
void | Action_RequestTasksClose () |
Do not close task list directly, but request it on mapTaskListUI in ordero unregister all events and set the variables properly. More... | |
protected void | RemoveTaskFromList (SCR_BaseTask task) |
void | UpdateTimers () |
Updates the timers in task descriptions. More... | |
void | EnableTaskContext (bool enable) |
protected void | OnInputDeviceIsGamepad (bool isGamepad) |
override void | OnPostInit (IEntity owner) |
Editable Mine. More... | |
protected void | OnDestroyed (Instigator killer, IEntity killerEntity) |
void | AddActionListeners () |
void | RemoveActionListeners () |
protected void | OnControlledEntityChanged (IEntity from, IEntity to) |
Runs every time the controlled entity has been changed. More... | |
protected void | LifeStateChanged (ECharacterLifeState previousLifeState, ECharacterLifeState newLifeState) |
override void | EOnInit (IEntity owner) |
Initialise this component with data from FactionsManager. More... | |
void | OnPlayerConnected (int playerID) |
Widget | CreateTaskList (Widget w=null) |
void | ClearWidget () |
void | SCR_UITaskManagerComponent (IEntityComponentSource src, IEntity ent, IEntity parent) |
void | ~SCR_UITaskManagerComponent () |
Variables | |
SCR_UITaskManagerComponentClass | NO_ASSIGNED_TASK = "#AR-Tasks_NoAssignedTaskTitle" |
protected ref array< SCR_BaseTask > | m_aHUDIconUpdatedTasks = {} |
protected Widget | m_wWidgetToFocus = null |
protected Widget | m_wTasksUI = null |
protected Widget | m_wParentWidget = null |
protected Widget | m_wUI = null |
protected Widget | m_wTaskDetail = null |
protected Widget | m_wExpandButton = null |
SCR_MapEntity | m_MapEntity |
ref array< Widget > | m_aWidgets = {} |
ref map< SCR_BaseTask, TextWidget > | m_mTasksTimers = new map<SCR_BaseTask, TextWidget>() |
protected bool | m_bVisible |
protected bool | m_bDetailVisible |
protected bool | m_bPickAssigneeVisible |
protected bool | m_bCurrentTaskVisible |
protected bool | m_bTaskContextEnabled |
protected bool | m_bIsUnconscious |
protected float | m_fCurrentTaskTime |
protected SCR_BaseTask | m_SelectedTask |
protected SCR_BaseTask | m_LastSelectedTask |
protected bool | m_bShowSelectedTaskOnMap |
ResourceName | m_UIResource |
protected ResourceName | m_sCurrentTaskLayout |
protected ResourceName | m_sTaskDetailLayout |
protected float | m_fCurrentTaskShowTime |
protected bool | m_bOpenTaskListOnMapOpen |
protected ResourceName | m_wPlayerListEntry |
protected ref Color | m_AssignedTaskColor |
protected Widget | m_wCurrentTask |
void Action_AssignTask | ( | SCR_BaseTask | task = null | ) |
[in] | task |
Definition at line 677 of file SCR_UITaskManagerComponent.c.
void Action_Expand | ( | ) |
Action expand task called from controller.
Definition at line 751 of file SCR_UITaskManagerComponent.c.
void Action_HideTasks | ( | ) |
Definition at line 829 of file SCR_UITaskManagerComponent.c.
void Action_PickAssignee | ( | ) |
Definition at line 519 of file SCR_UITaskManagerComponent.c.
void Action_RequestTasksClose | ( | ) |
Do not close task list directly, but request it on mapTaskListUI in ordero unregister all events and set the variables properly.
Definition at line 866 of file SCR_UITaskManagerComponent.c.
void Action_SelectTask | ( | notnull SCR_BaseTask | task | ) |
[in] | task |
Definition at line 845 of file SCR_UITaskManagerComponent.c.
void Action_ShowDetail | ( | ) |
Definition at line 716 of file SCR_UITaskManagerComponent.c.
void Action_ShowHint | ( | ) |
Definition at line 612 of file SCR_UITaskManagerComponent.c.
void Action_ShowOnMap | ( | ) |
Definition at line 642 of file SCR_UITaskManagerComponent.c.
void Action_ShowTasks | ( | Widget | targetWidget = null , |
SCR_BaseTask | taskToFocus = null |
||
) |
[in] | targetWidget | |
[in] | taskToFocus |
Definition at line 807 of file SCR_UITaskManagerComponent.c.
void Action_TasksClose | ( | ) |
Definition at line 630 of file SCR_UITaskManagerComponent.c.
void Action_TasksOpen | ( | ) |
Definition at line 595 of file SCR_UITaskManagerComponent.c.
void AddActionListeners | ( | ) |
Definition at line 963 of file SCR_UITaskManagerComponent.c.
protected void ClearUI | ( | ) |
Definition at line 344 of file SCR_UITaskManagerComponent.c.
void ClearWidget | ( | ) |
Definition at line 1085 of file SCR_UITaskManagerComponent.c.
Widget CreateTaskList | ( | Widget | w = null | ) |
void EnableTaskContext | ( | bool | enable | ) |
[in] | enable |
Definition at line 931 of file SCR_UITaskManagerComponent.c.
override void EOnFrame | ( | IEntity | owner, |
float | timeSlice | ||
) |
Definition at line 361 of file SCR_UITaskManagerComponent.c.
protected void GenerateRequestButtons | ( | ) |
Definition at line 325 of file SCR_UITaskManagerComponent.c.
void GenerateUI | ( | Widget | rootWidget, |
SCR_BaseTask | taskToFocus = null |
||
) |
[in] | rootWidget | |
[in] | taskToFocus |
Definition at line 254 of file SCR_UITaskManagerComponent.c.
string GetFormattedTimerText | ( | float | time | ) |
Widget GetParentWidget | ( | ) |
Definition at line 167 of file SCR_UITaskManagerComponent.c.
Widget GetRootWidget | ( | ) |
Definition at line 160 of file SCR_UITaskManagerComponent.c.
SCR_BaseTask GetSelectedTask | ( | ) |
Definition at line 153 of file SCR_UITaskManagerComponent.c.
array<Widget> GetWidgetsArray | ( | ) |
Definition at line 174 of file SCR_UITaskManagerComponent.c.
bool HasLocallyAssignedTask | ( | ) |
Definition at line 423 of file SCR_UITaskManagerComponent.c.
void HideAllHUDIcons | ( | bool | fade = true | ) |
[in] | fade |
Definition at line 794 of file SCR_UITaskManagerComponent.c.
void HideDetail | ( | ) |
Definition at line 509 of file SCR_UITaskManagerComponent.c.
void HidePickAssignee | ( | ) |
Definition at line 501 of file SCR_UITaskManagerComponent.c.
Widget InitCurrentTaskWidget | ( | ) |
Definition at line 415 of file SCR_UITaskManagerComponent.c.
bool IsTaskListOpen | ( | ) |
Definition at line 71 of file SCR_UITaskManagerComponent.c.
void KeepHUDIconUpdated | ( | int | msTime, |
SCR_BaseTask | task | ||
) |
[in] | msTime | |
[in] | task |
Definition at line 123 of file SCR_UITaskManagerComponent.c.
protected void LifeStateChanged | ( | ECharacterLifeState | previousLifeState, |
ECharacterLifeState | newLifeState | ||
) |
Definition at line 1010 of file SCR_UITaskManagerComponent.c.
protected void OnDestroyed | ( | Instigator | killer, |
IEntity | killerEntity | ||
) |
SCR_PlayerController Event Listeners are added back because they are previously removed on unconsciousness and if character dies, they need to added back.
Definition at line 956 of file SCR_UITaskManagerComponent.c.
protected void OnInputDeviceIsGamepad | ( | bool | isGamepad | ) |
Definition at line 937 of file SCR_UITaskManagerComponent.c.
void OnMapClose | ( | MapConfiguration | config | ) |
[in] | config |
Definition at line 783 of file SCR_UITaskManagerComponent.c.
void OnMapOpen | ( | MapConfiguration | cfg | ) |
[in] | cfg |
Definition at line 769 of file SCR_UITaskManagerComponent.c.
void OnTaskDeleted | ( | SCR_BaseTask | task | ) |
[in] | task |
Definition at line 134 of file SCR_UITaskManagerComponent.c.
void RegisterTimer | ( | SCR_BaseTask | task, |
TextWidget | timerWidget | ||
) |
[in] | task | |
[in] | timerWidget |
Definition at line 192 of file SCR_UITaskManagerComponent.c.
void RemoveActionListeners | ( | ) |
Definition at line 972 of file SCR_UITaskManagerComponent.c.
protected void RemoveTaskFromList | ( | SCR_BaseTask | task | ) |
Definition at line 883 of file SCR_UITaskManagerComponent.c.
void SCR_UITaskManagerComponent | ( | IEntityComponentSource | src, |
IEntity | ent, | ||
IEntity | parent | ||
) |
[in] | src | |
[in] | ent | |
[in] | parent |
Definition at line 1096 of file SCR_UITaskManagerComponent.c.
void SelectTask | ( | SCR_BaseTask | task, |
Widget | w = null |
||
) |
[in] | task | |
[in] | w |
Definition at line 144 of file SCR_UITaskManagerComponent.c.
void SetSelectedWidget | ( | Widget | w | ) |
[in] | w |
Definition at line 78 of file SCR_UITaskManagerComponent.c.
void SetupAssigneeTexts | ( | notnull SCR_BaseTask | task, |
Widget | parent | ||
) |
Creates assignee texts if needed.
Definition at line 201 of file SCR_UITaskManagerComponent.c.
void StopHUDIconUpdates | ( | SCR_BaseTask | task | ) |
[in] | task |
Definition at line 113 of file SCR_UITaskManagerComponent.c.
void ToggleCurrentTask | ( | bool | fade = true | ) |
[in] | fade |
Definition at line 443 of file SCR_UITaskManagerComponent.c.
void UnregisterTimer | ( | SCR_BaseTask | task | ) |
[in] | task |
Definition at line 182 of file SCR_UITaskManagerComponent.c.
void UpdateTimers | ( | ) |
Updates the timers in task descriptions.
Definition at line 909 of file SCR_UITaskManagerComponent.c.
void ~SCR_UITaskManagerComponent | ( | ) |
Definition at line 1104 of file SCR_UITaskManagerComponent.c.
protected ref array<SCR_BaseTask> m_aHUDIconUpdatedTasks = {} |
Definition at line 11 of file SCR_UITaskManagerComponent.c.
protected ref Color m_AssignedTaskColor |
Definition at line 58 of file SCR_UITaskManagerComponent.c.
ref array<Widget> m_aWidgets = {} |
Definition at line 25 of file SCR_UITaskManagerComponent.c.
protected bool m_bCurrentTaskVisible |
Definition at line 31 of file SCR_UITaskManagerComponent.c.
protected bool m_bDetailVisible |
Definition at line 29 of file SCR_UITaskManagerComponent.c.
protected bool m_bIsUnconscious |
Definition at line 33 of file SCR_UITaskManagerComponent.c.
protected bool m_bOpenTaskListOnMapOpen |
Definition at line 52 of file SCR_UITaskManagerComponent.c.
protected bool m_bPickAssigneeVisible |
Definition at line 30 of file SCR_UITaskManagerComponent.c.
protected bool m_bShowSelectedTaskOnMap |
Definition at line 37 of file SCR_UITaskManagerComponent.c.
protected bool m_bTaskContextEnabled |
Definition at line 32 of file SCR_UITaskManagerComponent.c.
protected bool m_bVisible |
Definition at line 28 of file SCR_UITaskManagerComponent.c.
protected float m_fCurrentTaskShowTime |
Definition at line 49 of file SCR_UITaskManagerComponent.c.
protected float m_fCurrentTaskTime |
Definition at line 34 of file SCR_UITaskManagerComponent.c.
protected SCR_BaseTask m_LastSelectedTask |
Definition at line 36 of file SCR_UITaskManagerComponent.c.
SCR_MapEntity m_MapEntity |
Definition at line 23 of file SCR_UITaskManagerComponent.c.
ref map<SCR_BaseTask, TextWidget> m_mTasksTimers = new map<SCR_BaseTask, TextWidget>() |
Definition at line 26 of file SCR_UITaskManagerComponent.c.
protected ResourceName m_sCurrentTaskLayout |
Definition at line 43 of file SCR_UITaskManagerComponent.c.
protected SCR_BaseTask m_SelectedTask |
Definition at line 35 of file SCR_UITaskManagerComponent.c.
protected ResourceName m_sTaskDetailLayout |
Definition at line 46 of file SCR_UITaskManagerComponent.c.
ResourceName m_UIResource |
Definition at line 40 of file SCR_UITaskManagerComponent.c.
protected Widget m_wCurrentTask |
Definition at line 60 of file SCR_UITaskManagerComponent.c.
protected Widget m_wExpandButton = null |
Definition at line 20 of file SCR_UITaskManagerComponent.c.
protected Widget m_wParentWidget = null |
Definition at line 17 of file SCR_UITaskManagerComponent.c.
protected ResourceName m_wPlayerListEntry |
Definition at line 55 of file SCR_UITaskManagerComponent.c.
protected Widget m_wTaskDetail = null |
Definition at line 19 of file SCR_UITaskManagerComponent.c.
protected Widget m_wTasksUI = null |
Definition at line 16 of file SCR_UITaskManagerComponent.c.
protected Widget m_wUI = null |
Definition at line 18 of file SCR_UITaskManagerComponent.c.
protected Widget m_wWidgetToFocus = null |
Definition at line 15 of file SCR_UITaskManagerComponent.c.
SCR_UITaskManagerComponentClass NO_ASSIGNED_TASK = "#AR-Tasks_NoAssignedTaskTitle" |