|
| override void | HandlerAttached (Widget w) |
| |
| override void | HandlerDeattached (Widget w) |
| |
| void | FocusOnEntry (SCR_Task task=null) |
| |
| override bool | OnMouseEnter (Widget w, int x, int y) |
| |
| override bool | OnMouseLeave (Widget w, Widget enterW, int x, int y) |
| |
| void | RequestRefreshFactionChange (SCR_Task task, FactionKey factionKey) |
| | Request refresh of task list on task faction change.
|
| |
| void | RefreshTaskList () |
| | Get a list of all available to display tasks. If entry for task is already created, toggles its visibility, otherwise creates a new entry.
|
| |
| void | CollapseTask () |
| | Hides task description.
|
| |
| void | SetTaskListHeight (float size) |
| | Sets height of task list.
|
| |
| void | SetTaskListVisibility (bool show=false) |
| | Sets visibility of task list.
|
| |
| bool | GetTaskListVisibility () |
| |
| void | SetTaskDescriptionVisiblity (bool visibility) |
| |
| bool | GetTaskDescriptionVisiblity () |
| |
| SCR_TaskListEntryDescriptionUIComponent | GetTaskDescription () |
| |
| ScriptInvokerVoid | GetOnButtonTaskListHide () |
| |
| void | AddAllowedTaskTypenames (notnull array< string > allowedTaskTypenames) |
| | Adds allowed task typenames and only those will be shown.
|
| |
| override bool | OnClick (Widget w, int x, int y, int button) |
| |
| Widget | GetRootWidget () |
| |
| bool | IsVisible () |
| |
◆ AddAllowedTaskTypenames()
| void SCR_TaskListUIComponent.AddAllowedTaskTypenames |
( |
notnull array< string > | allowedTaskTypenames | ) |
|
Adds allowed task typenames and only those will be shown.
- Parameters
-
◆ CollapseTask()
| void SCR_TaskListUIComponent.CollapseTask |
( |
| ) |
|
Hides task description.
- Parameters
-
| [in] | taskUIComp | UI component of collapsed task. |
◆ CreateTaskEntry()
| void SCR_TaskListUIComponent.CreateTaskEntry |
( |
notnull SCR_Task | task, |
|
|
Widget | parent = null, |
|
|
SCR_ETaskTabType | tabType = SCR_ETaskTabType::AVAILABLE ) |
|
protected |
Creates new entry for task.
- Parameters
-
| [in] | task | Task which will be initialized. |
| [in] | parent | Widget, to which newly created entry will be parented. |
◆ ExpandTask()
Shows task description and initializes it with task data.
- Parameters
-
| [in] | task | Expanded task. |
| [in] | taskUIComp | Expanded task UI component. |
◆ FocusOnEntry()
| void SCR_TaskListUIComponent.FocusOnEntry |
( |
SCR_Task | task = null | ) |
|
◆ GetOnButtonTaskListHide()
| ScriptInvokerVoid SCR_TaskListUIComponent.GetOnButtonTaskListHide |
( |
| ) |
|
◆ GetStateToCheck()
| SCR_ETaskState SCR_TaskListUIComponent.GetStateToCheck |
( |
| ) |
|
|
protected |
◆ GetTaskDescription()
- Returns
- task description ui component
◆ GetTaskDescriptionVisiblity()
| bool SCR_TaskListUIComponent.GetTaskDescriptionVisiblity |
( |
| ) |
|
- Returns
- visibility of task description.
◆ GetTaskListVisibility()
| bool SCR_TaskListUIComponent.GetTaskListVisibility |
( |
| ) |
|
- Returns
- Visibility of task list
◆ HandlerAttached()
| override void SCR_TaskListUIComponent.HandlerAttached |
( |
Widget | w | ) |
|
◆ HandlerDeattached()
| override void SCR_TaskListUIComponent.HandlerDeattached |
( |
Widget | w | ) |
|
◆ InititializeTaskTabs()
| void SCR_TaskListUIComponent.InititializeTaskTabs |
( |
| ) |
|
|
protected |
◆ OnChildTaskChanged()
| void SCR_TaskListUIComponent.OnChildTaskChanged |
( |
SCR_Task | task | ) |
|
|
protected |
Triggered when task is added as a child.
- Parameters
-
◆ OnHideButton()
| void SCR_TaskListUIComponent.OnHideButton |
( |
| ) |
|
|
protected |
Triggered on hide tasks button clicked, hides task list.
◆ OnMouseEnter()
| override bool SCR_TaskListUIComponent.OnMouseEnter |
( |
Widget | w, |
|
|
int | x, |
|
|
int | y ) |
◆ OnMouseLeave()
| override bool SCR_TaskListUIComponent.OnMouseLeave |
( |
Widget | w, |
|
|
Widget | enterW, |
|
|
int | x, |
|
|
int | y ) |
◆ OnTabClicked()
◆ OnTaskAdded()
| void SCR_TaskListUIComponent.OnTaskAdded |
( |
SCR_Task | task | ) |
|
|
protected |
Invoked whenever new task is added to the system.
Creates entry for it.
- Parameters
-
◆ OnTaskRemoved()
| void SCR_TaskListUIComponent.OnTaskRemoved |
( |
notnull SCR_Task | task | ) |
|
|
protected |
Invoked whenever task is removed from the system.
Removes entry from task list.
- Parameters
-
◆ OnTaskSelected()
| void SCR_TaskListUIComponent.OnTaskSelected |
( |
notnull SCR_Task | task | ) |
|
|
protected |
Invoked whenever task is selected in manager.
Controls display of task description.
- Parameters
-
◆ OnTaskVisualChanged()
| void SCR_TaskListUIComponent.OnTaskVisualChanged |
( |
SCR_Task | task | ) |
|
|
protected |
Triggered task SCR_UIInfo is changed.
Reinitializes task description with new data.
- Parameters
-
◆ RefreshTaskList()
| void SCR_TaskListUIComponent.RefreshTaskList |
( |
| ) |
|
Get a list of all available to display tasks. If entry for task is already created, toggles its visibility, otherwise creates a new entry.
◆ ReparentTask()
| void SCR_TaskListUIComponent.ReparentTask |
( |
SCR_Task | task | ) |
|
|
protected |
Reparents task to keep hierachy.
- Parameters
-
◆ RequestRefreshFactionChange()
| void SCR_TaskListUIComponent.RequestRefreshFactionChange |
( |
SCR_Task | task, |
|
|
FactionKey | factionKey ) |
Request refresh of task list on task faction change.
- Parameters
-
| [in] | task | which faction was changed |
| [in] | factionKey | of adjusted faction |
◆ SetTaskDescriptionVisiblity()
| void SCR_TaskListUIComponent.SetTaskDescriptionVisiblity |
( |
bool | visibility | ) |
|
- Parameters
-
| [in] | visibility | of task description. |
◆ SetTaskListHeight()
| void SCR_TaskListUIComponent.SetTaskListHeight |
( |
float | size | ) |
|
Sets height of task list.
- Parameters
-
| [in] | size | New height of task list. |
◆ SetTaskListVisibility()
| void SCR_TaskListUIComponent.SetTaskListVisibility |
( |
bool | show = false | ) |
|
Sets visibility of task list.
- Parameters
-
| [in] | size | New visibility of task list. |
◆ ShowTaskOnMap()
| void SCR_TaskListUIComponent.ShowTaskOnMap |
( |
| ) |
|
|
protected |
Opens map and moves camera to task location.
◆ UnfoldParent()
| void SCR_TaskListUIComponent.UnfoldParent |
( |
notnull SCR_Task | task | ) |
|
|
protected |
Invoked whenever task entry on list is selected.
Triggers selection in manager.
- Parameters
-
◆ m_aAllowedTaskTypenames
| ref array<string> SCR_TaskListUIComponent.m_aAllowedTaskTypenames = {} |
|
protected |
◆ m_aTaskTabStates
◆ m_CurrentlySelectedTask
| SCR_Task SCR_TaskListUIComponent.m_CurrentlySelectedTask |
|
protected |
◆ m_eSelectedTab
| SCR_ETaskTabType SCR_TaskListUIComponent.m_eSelectedTab = SCR_ETaskTabType.AVAILABLE |
|
protected |
◆ m_MapCursorModule
◆ m_MapEntity
◆ m_mTasksMap
◆ m_OnButtonTaskListHide
| ref ScriptInvokerVoid SCR_TaskListUIComponent.m_OnButtonTaskListHide |
|
protected |
◆ m_sTaskListEntryLayout
| ResourceName SCR_TaskListUIComponent.m_sTaskListEntryLayout |
|
protected |
◆ m_sTaskTabEntryLayout
| ResourceName SCR_TaskListUIComponent.m_sTaskTabEntryLayout |
|
protected |
◆ m_TaskListDescriptionComponent
◆ m_TaskManager
◆ m_TaskSystem
◆ m_Widgets
The documentation for this interface was generated from the following file:
- Game/UI/Tasks/SCR_TaskListUIComponent.c