|
| override void | HandlerAttached (Widget w) |
| |
| override void | HandlerDeattached (Widget w) |
| |
| override vector | GetPos () |
| | Returns origin of task entity.
|
| |
| override bool | OnMouseEnter (Widget w, int x, int y) |
| |
| override bool | OnMouseLeave (Widget w, Widget enterW, int x, int y) |
| |
| void | InitTask (notnull SCR_Task task) |
| | Initializes task, sets its visuals.
|
| |
| void | SetIconFactionColor () |
| | Sets the icon color to the faction color if local player has the task assigned or local player is faction commander and task has any assignees.
|
| |
| void | SetTask (notnull SCR_Task task) |
| |
| void | UpdateTaskInformation () |
| | Updates task title and icon to the one provided in task SCR_TaskUIInfo.
|
| |
| void | UpdateTaskIconColors (Color backgroundColor=null, Color iconColor=null, Color outlineColor=null) |
| | Sets task icon colors.
|
| |
| void | SetTaskBackground (ResourceName imageset, string name) |
| | Sets new background of task.
|
| |
| void | SetTaskIconColors (Color backgroundColor=null, Color iconColor=null, Color outlineColor=null) |
| | Sets task icon colors.
|
| |
| SCR_Task | GetTask () |
| |
| ScriptInvokerVoid | GetOnTaskIconClick () |
| |
| void | SetParent (SCR_MapUIElementContainer parent) |
| |
| string | GetName () |
| |
| bool | GetIconVisible () |
| |
| void | ShowName (bool visible) |
| |
| void | SetVisible (bool visible) |
| |
| Widget | GetRoot () |
| |
| override bool | OnClick (Widget w, int x, int y, int button) |
| |
| void | SelectIcon (bool invoke=true) |
| |
| void | Select (bool select=true) |
| |
| Color | GetColorForFaction (string factionKey) |
| |
| RplId | GetSpawnPointId () |
| |
| void | SetName (string name) |
| |
| Widget | GetRootWidget () |
| |
| bool | IsVisible () |
| |
|
| void | OnHoveredIconStart (SCR_ModularButtonComponent comp, bool mouseInput) |
| |
| void | OnHoveredTitleStart (SCR_ModularButtonComponent comp, bool mouseInput) |
| |
| void | OnHoveredTitleEnd (SCR_ModularButtonComponent comp, bool mouseInput) |
| |
| void | OnHoveredEnd (SCR_ModularButtonComponent comp, bool mouseInput) |
| |
| bool | CheckTitleOverflow () |
| |
| void | OnTaskIconClicked () |
| |
| void | OnTaskTitleClicked () |
| |
| void | OnTaskSelected (SCR_Task task) |
| |
| void | OnTaskAssigneeAdded (SCR_Task task, SCR_TaskExecutor assignee, int requesterID) |
| | Handles update of assigned entities.
|
| |
| void | OnDisplayDataChanged () |
| | Handles update of task visuals.
|
| |
| void | UpdateTaskState (SCR_Task task, SCR_ETaskState state) |
| | Handles task visuals based on new task state.
|
| |
| void | SetMapMarkerAssigneeCount () |
| |
| void | OnTaskUIVisibilityChanged (SCR_Task task, SCR_ETaskUIVisibility visible) |
| | Invoked when task visual data is changed.
|
| |
| void | OnTaskVisibilityChanged (SCR_Task task, SCR_ETaskVisibility visible) |
| | Invoked when task visibility is changed.
|
| |
| void | OnTaskOwnershipChanged (SCR_Task task, SCR_ETaskOwnership ownership) |
| | Invoked when task ownership is changed.
|
| |
| void | OnTaskFactionChanged (SCR_Task task, FactionKey key) |
| | Invoked when task faction is changed.
|
| |
| void | OnTaskGroupChanged (SCR_Task task, int id) |
| | Invoked when task group is changed.
|
| |
| void | HandleTaskVisibilityChange (SCR_Task task) |
| | Invoked when task visibility is changed.
|
| |
| void | CheckTaskVisibility () |
| |
| void | SetVisibility (bool show) |
| | Sets visibility of entry.
|
| |
| void | AnimExpand () |
| |
| void | AnimCollapse () |
| |
| void | PlayHoverSound (string sound) |
| |
| void | SetImage (string image) |
| |
◆ CheckTaskVisibility()
| void SCR_TaskMapUIComponent.CheckTaskVisibility |
( |
| ) |
|
|
protected |
◆ CheckTitleOverflow()
| bool SCR_TaskMapUIComponent.CheckTitleOverflow |
( |
| ) |
|
|
protected |
- Returns
- True when content doesn't fit parent widget.
◆ GetOnTaskIconClick()
| ScriptInvokerVoid SCR_TaskMapUIComponent.GetOnTaskIconClick |
( |
| ) |
|
◆ GetPos()
| override vector SCR_TaskMapUIComponent.GetPos |
( |
| ) |
|
◆ GetTask()
| SCR_Task SCR_TaskMapUIComponent.GetTask |
( |
| ) |
|
◆ HandlerAttached()
| override void SCR_TaskMapUIComponent.HandlerAttached |
( |
Widget | w | ) |
|
◆ HandlerDeattached()
| override void SCR_TaskMapUIComponent.HandlerDeattached |
( |
Widget | w | ) |
|
◆ HandleTaskVisibilityChange()
| void SCR_TaskMapUIComponent.HandleTaskVisibilityChange |
( |
SCR_Task | task | ) |
|
|
protected |
Invoked when task visibility is changed.
◆ InitTask()
| void SCR_TaskMapUIComponent.InitTask |
( |
notnull SCR_Task | task | ) |
|
◆ OnDisplayDataChanged()
| void SCR_TaskMapUIComponent.OnDisplayDataChanged |
( |
| ) |
|
|
protected |
Handles update of task visuals.
◆ OnHoveredEnd()
◆ OnHoveredIconStart()
◆ OnHoveredTitleEnd()
◆ OnHoveredTitleStart()
◆ OnMouseEnter()
| override bool SCR_TaskMapUIComponent.OnMouseEnter |
( |
Widget | w, |
|
|
int | x, |
|
|
int | y ) |
◆ OnMouseLeave()
| override bool SCR_TaskMapUIComponent.OnMouseLeave |
( |
Widget | w, |
|
|
Widget | enterW, |
|
|
int | x, |
|
|
int | y ) |
◆ OnTaskAssigneeAdded()
Handles update of assigned entities.
If player is assigned, changes color of map marker.
- Parameters
-
◆ OnTaskFactionChanged()
Invoked when task faction is changed.
◆ OnTaskGroupChanged()
| void SCR_TaskMapUIComponent.OnTaskGroupChanged |
( |
SCR_Task | task, |
|
|
int | id ) |
|
protected |
Invoked when task group is changed.
◆ OnTaskIconClicked()
| void SCR_TaskMapUIComponent.OnTaskIconClicked |
( |
| ) |
|
|
protected |
◆ OnTaskOwnershipChanged()
| void SCR_TaskMapUIComponent.OnTaskOwnershipChanged |
( |
SCR_Task | task, |
|
|
SCR_ETaskOwnership | ownership ) |
|
protected |
Invoked when task ownership is changed.
◆ OnTaskSelected()
| void SCR_TaskMapUIComponent.OnTaskSelected |
( |
SCR_Task | task | ) |
|
|
protected |
◆ OnTaskTitleClicked()
| void SCR_TaskMapUIComponent.OnTaskTitleClicked |
( |
| ) |
|
|
protected |
◆ OnTaskUIVisibilityChanged()
| void SCR_TaskMapUIComponent.OnTaskUIVisibilityChanged |
( |
SCR_Task | task, |
|
|
SCR_ETaskUIVisibility | visible ) |
|
protected |
Invoked when task visual data is changed.
◆ OnTaskVisibilityChanged()
| void SCR_TaskMapUIComponent.OnTaskVisibilityChanged |
( |
SCR_Task | task, |
|
|
SCR_ETaskVisibility | visible ) |
|
protected |
Invoked when task visibility is changed.
◆ SetIconFactionColor()
| void SCR_TaskMapUIComponent.SetIconFactionColor |
( |
| ) |
|
Sets the icon color to the faction color if local player has the task assigned or local player is faction commander and task has any assignees.
◆ SetMapMarkerAssigneeCount()
| void SCR_TaskMapUIComponent.SetMapMarkerAssigneeCount |
( |
| ) |
|
|
protected |
◆ SetTask()
| void SCR_TaskMapUIComponent.SetTask |
( |
notnull SCR_Task | task | ) |
|
◆ SetTaskBackground()
| void SCR_TaskMapUIComponent.SetTaskBackground |
( |
ResourceName | imageset, |
|
|
string | name ) |
Sets new background of task.
- Parameters
-
| [in] | imageset | with the background. |
| [in] | name | in imageset. |
◆ SetTaskIconColors()
| void SCR_TaskMapUIComponent.SetTaskIconColors |
( |
Color | backgroundColor = null, |
|
|
Color | iconColor = null, |
|
|
Color | outlineColor = null ) |
Sets task icon colors.
- Parameters
-
| [in] | Color | of background |
| [in] | Color | of icon |
| [in] | Color | of outline |
◆ SetVisibility()
| void SCR_TaskMapUIComponent.SetVisibility |
( |
bool | show | ) |
|
|
protected |
Sets visibility of entry.
- Parameters
-
◆ UpdateTaskIconColors()
| void SCR_TaskMapUIComponent.UpdateTaskIconColors |
( |
Color | backgroundColor = null, |
|
|
Color | iconColor = null, |
|
|
Color | outlineColor = null ) |
Sets task icon colors.
- Parameters
-
| [in] | Color | of background |
| [in] | Color | of icon |
| [in] | Color | of outline |
◆ UpdateTaskInformation()
| void SCR_TaskMapUIComponent.UpdateTaskInformation |
( |
| ) |
|
Updates task title and icon to the one provided in task SCR_TaskUIInfo.
◆ UpdateTaskState()
| void SCR_TaskMapUIComponent.UpdateTaskState |
( |
SCR_Task | task, |
|
|
SCR_ETaskState | state ) |
|
protected |
Handles task visuals based on new task state.
- Parameters
-
| [in] | state | New state of task |
◆ m_BackgroundColor
| ref Color SCR_TaskMapUIComponent.m_BackgroundColor |
|
protected |
◆ m_bDisplayAssigned
| bool SCR_TaskMapUIComponent.m_bDisplayAssigned = 1 |
|
protected |
◆ m_bEnableContext
| bool SCR_TaskMapUIComponent.m_bEnableContext |
|
protected |
◆ m_bSelected
| bool SCR_TaskMapUIComponent.m_bSelected |
|
protected |
◆ m_FactionColor
| ref Color SCR_TaskMapUIComponent.m_FactionColor |
|
protected |
◆ m_IconColor
| ref Color SCR_TaskMapUIComponent.m_IconColor |
|
protected |
◆ m_OnTaskIconClick
| ref ScriptInvokerVoid SCR_TaskMapUIComponent.m_OnTaskIconClick |
|
protected |
◆ m_OutlineColor
| ref Color SCR_TaskMapUIComponent.m_OutlineColor |
|
protected |
◆ m_Task
◆ m_TaskManager
◆ m_TaskSystem
◆ m_Widgets
The documentation for this interface was generated from the following file:
- Game/UI/Tasks/SCR_TaskMapUIComponent.c