Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_TaskListEntryDescriptionUIComponent Class Reference
Inheritance diagram for SCR_TaskListEntryDescriptionUIComponent:
SCR_ScriptedWidgetComponent SCR_ConflictTaskListEntryDescriptionUIComponent

Protected Member Functions

override void HandlerAttached (Widget w)
override void HandlerDeattached (Widget w)
void InitAssignGroupList (Widget w)
void DeinitAssignGroupList (Widget w)
override bool OnMouseEnter (Widget w, int x, int y)
override bool OnMouseLeave (Widget w, Widget enterW, int x, int y)
void OnButtonAssign ()
void OnButtonShowOnMap ()
void UpdateAssignees (notnull SCR_Task task, SCR_TaskExecutor newAssignee=null, int requesterID=0)
void AddPlayerAssignee (notnull SCR_TaskExecutorPlayer assignedPlayer, notnull SCR_TaskExecutor player)
void AddGroupAssignee (notnull SCR_TaskExecutorGroup assignedGroup, notnull SCR_TaskExecutor group, notnull SCR_AIGroup aiGroup)
void CreateAssignedPlayerEntry (string playerName, int playerID)
void CreateAssignedGroupEntry (int groupID, Faction groupFaction, SCR_AIGroup aiGroup)
void CheckOverflow (Widget w)
void InitDescription (notnull SCR_Task task)
void CreateTaskEntry (SCR_Task task, Widget parent=null, bool isChild=false)
void OnTaskEntrySelected (SCR_Task task)
void OnTaskVisualChanged (SCR_Task task)
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 OnButtonOpenAssignGroupListActivated (SCR_InputButtonComponent button, string action)
 Invoked when open assign group list button is activated by action.
void OnAssignGroupListOpened ()
 Invoked when assign group list is opened.
void OnAssignGroupListClosed ()
 Invoked when assign group list is closed.
void OnTaskHUDVisible (bool visible)
bool IsAssignGroupListOpened ()
void UpdateTask ()
 Set task icon and title to the ones set in tasks' SCR_TaskUIInfo.
void SetFactionColors ()
 Updates task visuals to color of players faction.
void UpdateTaskIconColors (Color backgroundColor, Color iconColor, Color outlineColor)
void SetTaskIconColors (Color backgroundColor=null, Color iconColor=null, Color outlineColor=null)
void SetTaskBackground (ResourceName imageset, string name)
void HandleTaskStateVisuals (SCR_ETaskState state)
void SetChildTaskText (string text)
void SetVisibility (bool show)
SCR_Task GetCurrentTask ()
ScriptInvokerVoid GetOnButtonShowOnMap ()

Protected Attributes

ResourceName m_sTaskListEntry
ResourceName m_sAssignedPlayerEntry
ResourceName m_sAssignedGroupEntry
string m_sUnassignTaskText
string m_sAssignTaskText
string m_sTaskCancelled
string m_sTaskFailed
string m_sTaskCompleted
ref Color m_TaskStateNegative
ref Color m_TaskStatePositive
int m_iOffsetY = 4
bool m_bIsOverflowing
ref ScriptInvokerVoid m_OnButtonTaskAssign
ref ScriptInvokerVoid m_OnButtonShowOnMap
ref Color m_IconColor
ref Color m_OutlineColor
ref Color m_BackgroundColor
SCR_TaskListEntryUIComponent m_TaskComponent
SCR_TaskManagerUIComponent m_TaskManager
SCR_TaskSystem m_TaskSystem
SCR_Task m_Task
SCR_MapEntity m_MapEntity
SCR_MapCursorModule m_MapCursorModule
ref SCR_TaskListEntryDescriptionWidgets m_Widgets = new SCR_TaskListEntryDescriptionWidgets()

Detailed Description

Definition at line 1 of file SCR_TaskListEntryDescriptionUIComponent.c.

Member Function Documentation

◆ AddGroupAssignee()

void SCR_TaskListEntryDescriptionUIComponent::AddGroupAssignee ( notnull SCR_TaskExecutorGroup assignedGroup,
notnull SCR_TaskExecutor group,
notnull SCR_AIGroup aiGroup )
inlineprotected

Adds a group type assignee to the task

Parameters
[in]assignedGroupto be added
[in]group
[in]aiGroup

Definition at line 294 of file SCR_TaskListEntryDescriptionUIComponent.c.

◆ AddPlayerAssignee()

void SCR_TaskListEntryDescriptionUIComponent::AddPlayerAssignee ( notnull SCR_TaskExecutorPlayer assignedPlayer,
notnull SCR_TaskExecutor player )
inlineprotected

Adds a player type assignee to the task

Parameters
[in]assignedPlayerto be added
[in]player

Definition at line 263 of file SCR_TaskListEntryDescriptionUIComponent.c.

◆ CheckOverflow()

void SCR_TaskListEntryDescriptionUIComponent::CheckOverflow ( Widget w)
inlineprotected

Definition at line 365 of file SCR_TaskListEntryDescriptionUIComponent.c.

◆ CreateAssignedGroupEntry()

void SCR_TaskListEntryDescriptionUIComponent::CreateAssignedGroupEntry ( int groupID,
Faction groupFaction,
SCR_AIGroup aiGroup )
inlineprotected

Creates group label for group assigned to task

Parameters
[in]groupID
[in]groupFaction
[in]aiGroup

Definition at line 345 of file SCR_TaskListEntryDescriptionUIComponent.c.

◆ CreateAssignedPlayerEntry()

void SCR_TaskListEntryDescriptionUIComponent::CreateAssignedPlayerEntry ( string playerName,
int playerID )
inlineprotected

Creates label for player assigned to task

Parameters
[in]playerName
[in]playerID

Definition at line 314 of file SCR_TaskListEntryDescriptionUIComponent.c.

◆ CreateTaskEntry()

void SCR_TaskListEntryDescriptionUIComponent::CreateTaskEntry ( SCR_Task task,
Widget parent = null,
bool isChild = false )
inlineprotected

Creates new entry for task.

Parameters
[in]taskTask which will be initialized.
[in]parentWidget, to which newly created entry will be parented.

Definition at line 486 of file SCR_TaskListEntryDescriptionUIComponent.c.

◆ DeinitAssignGroupList()

void SCR_TaskListEntryDescriptionUIComponent::DeinitAssignGroupList ( Widget w)
inlineprotected

Definition at line 122 of file SCR_TaskListEntryDescriptionUIComponent.c.

◆ GetCurrentTask()

SCR_Task SCR_TaskListEntryDescriptionUIComponent::GetCurrentTask ( )
inlineprotected

Definition at line 842 of file SCR_TaskListEntryDescriptionUIComponent.c.

◆ GetOnButtonShowOnMap()

ScriptInvokerVoid SCR_TaskListEntryDescriptionUIComponent::GetOnButtonShowOnMap ( )
inlineprotected

Definition at line 851 of file SCR_TaskListEntryDescriptionUIComponent.c.

◆ HandlerAttached()

override void SCR_TaskListEntryDescriptionUIComponent::HandlerAttached ( Widget w)
inlineprotected

Definition at line 53 of file SCR_TaskListEntryDescriptionUIComponent.c.

◆ HandlerDeattached()

override void SCR_TaskListEntryDescriptionUIComponent::HandlerDeattached ( Widget w)
inlineprotected

Definition at line 79 of file SCR_TaskListEntryDescriptionUIComponent.c.

◆ HandleTaskStateVisuals()

void SCR_TaskListEntryDescriptionUIComponent::HandleTaskStateVisuals ( SCR_ETaskState state)
inlineprotected

Sets task visuals based on new state of task.

Parameters
[in]stateNew state of task.

Definition at line 757 of file SCR_TaskListEntryDescriptionUIComponent.c.

◆ InitAssignGroupList()

void SCR_TaskListEntryDescriptionUIComponent::InitAssignGroupList ( Widget w)
inlineprotected

Definition at line 100 of file SCR_TaskListEntryDescriptionUIComponent.c.

◆ InitDescription()

void SCR_TaskListEntryDescriptionUIComponent::InitDescription ( notnull SCR_Task task)
inlineprotected

Update buttons visibility based on task data. Set task visuals.

Parameters
[in]task

Definition at line 398 of file SCR_TaskListEntryDescriptionUIComponent.c.

◆ IsAssignGroupListOpened()

bool SCR_TaskListEntryDescriptionUIComponent::IsAssignGroupListOpened ( )
inlineprotected
Returns
true if assing group list is opened

Definition at line 617 of file SCR_TaskListEntryDescriptionUIComponent.c.

◆ OnAssignGroupListClosed()

void SCR_TaskListEntryDescriptionUIComponent::OnAssignGroupListClosed ( )
inlineprotected

Invoked when assign group list is closed.

Definition at line 595 of file SCR_TaskListEntryDescriptionUIComponent.c.

◆ OnAssignGroupListOpened()

void SCR_TaskListEntryDescriptionUIComponent::OnAssignGroupListOpened ( )
inlineprotected

Invoked when assign group list is opened.

Definition at line 584 of file SCR_TaskListEntryDescriptionUIComponent.c.

◆ OnButtonAssign()

void SCR_TaskListEntryDescriptionUIComponent::OnButtonAssign ( )
inlineprotected

Definition at line 175 of file SCR_TaskListEntryDescriptionUIComponent.c.

◆ OnButtonOpenAssignGroupListActivated()

void SCR_TaskListEntryDescriptionUIComponent::OnButtonOpenAssignGroupListActivated ( SCR_InputButtonComponent button,
string action )
inlineprotected

Invoked when open assign group list button is activated by action.

Definition at line 573 of file SCR_TaskListEntryDescriptionUIComponent.c.

◆ OnButtonShowOnMap()

void SCR_TaskListEntryDescriptionUIComponent::OnButtonShowOnMap ( )
inlineprotected

Definition at line 181 of file SCR_TaskListEntryDescriptionUIComponent.c.

◆ OnMouseEnter()

override bool SCR_TaskListEntryDescriptionUIComponent::OnMouseEnter ( Widget w,
int x,
int y )
inlineprotected

Definition at line 135 of file SCR_TaskListEntryDescriptionUIComponent.c.

◆ OnMouseLeave()

override bool SCR_TaskListEntryDescriptionUIComponent::OnMouseLeave ( Widget w,
Widget enterW,
int x,
int y )
inlineprotected

Definition at line 155 of file SCR_TaskListEntryDescriptionUIComponent.c.

◆ OnTaskEntrySelected()

void SCR_TaskListEntryDescriptionUIComponent::OnTaskEntrySelected ( SCR_Task task)
inlineprotected

Invoked whenever task entry on list is selected. Triggers selection in manager.

Parameters
[in]taskSelected task.

Definition at line 526 of file SCR_TaskListEntryDescriptionUIComponent.c.

◆ OnTaskHUDVisible()

void SCR_TaskListEntryDescriptionUIComponent::OnTaskHUDVisible ( bool visible)
inlineprotected

Definition at line 605 of file SCR_TaskListEntryDescriptionUIComponent.c.

◆ OnTaskOwnershipChanged()

void SCR_TaskListEntryDescriptionUIComponent::OnTaskOwnershipChanged ( SCR_Task task,
SCR_ETaskOwnership ownership )
inlineprotected

Invoked when task ownership is changed.

Definition at line 563 of file SCR_TaskListEntryDescriptionUIComponent.c.

◆ OnTaskUIVisibilityChanged()

void SCR_TaskListEntryDescriptionUIComponent::OnTaskUIVisibilityChanged ( SCR_Task task,
SCR_ETaskUIVisibility visible )
inlineprotected

Invoked when task visual data is changed.

Definition at line 541 of file SCR_TaskListEntryDescriptionUIComponent.c.

◆ OnTaskVisibilityChanged()

void SCR_TaskListEntryDescriptionUIComponent::OnTaskVisibilityChanged ( SCR_Task task,
SCR_ETaskVisibility visible )
inlineprotected

Invoked when task visibility is changed.

Definition at line 553 of file SCR_TaskListEntryDescriptionUIComponent.c.

◆ OnTaskVisualChanged()

void SCR_TaskListEntryDescriptionUIComponent::OnTaskVisualChanged ( SCR_Task task)
inlineprotected

Triggered task SCR_UIInfo is changed. Reinitializes task description with new data.

Parameters
[in]taskChanged task.

Definition at line 534 of file SCR_TaskListEntryDescriptionUIComponent.c.

◆ SetChildTaskText()

void SCR_TaskListEntryDescriptionUIComponent::SetChildTaskText ( string text)
inlineprotected

Definition at line 825 of file SCR_TaskListEntryDescriptionUIComponent.c.

◆ SetFactionColors()

void SCR_TaskListEntryDescriptionUIComponent::SetFactionColors ( )
inlineprotected

Updates task visuals to color of players faction.

Definition at line 684 of file SCR_TaskListEntryDescriptionUIComponent.c.

◆ SetTaskBackground()

void SCR_TaskListEntryDescriptionUIComponent::SetTaskBackground ( ResourceName imageset,
string name )
inlineprotected

Sets new background of task.

Parameters
[in]imagesetwith the background.
[in]namein imageset.

Definition at line 746 of file SCR_TaskListEntryDescriptionUIComponent.c.

◆ SetTaskIconColors()

void SCR_TaskListEntryDescriptionUIComponent::SetTaskIconColors ( Color backgroundColor = null,
Color iconColor = null,
Color outlineColor = null )
inlineprotected

Sets task icon colors

Parameters
[in]Colorof background
[in]Colorof icon
[in]Colorof outline

Definition at line 730 of file SCR_TaskListEntryDescriptionUIComponent.c.

◆ SetVisibility()

void SCR_TaskListEntryDescriptionUIComponent::SetVisibility ( bool show)
inlineprotected

Sets visibility of entry

Parameters
[in]showNew visibility

Definition at line 836 of file SCR_TaskListEntryDescriptionUIComponent.c.

◆ UpdateAssignees()

void SCR_TaskListEntryDescriptionUIComponent::UpdateAssignees ( notnull SCR_Task task,
SCR_TaskExecutor newAssignee = null,
int requesterID = 0 )
inlineprotected

Updates entities assigned to task. If player is assigned, changes task background color.

Parameters
[in]task
[in]newAssignee
[in]requesterID

Definition at line 192 of file SCR_TaskListEntryDescriptionUIComponent.c.

◆ UpdateTask()

void SCR_TaskListEntryDescriptionUIComponent::UpdateTask ( )
inlineprotected

Set task icon and title to the ones set in tasks' SCR_TaskUIInfo.

Definition at line 624 of file SCR_TaskListEntryDescriptionUIComponent.c.

◆ UpdateTaskIconColors()

void SCR_TaskListEntryDescriptionUIComponent::UpdateTaskIconColors ( Color backgroundColor,
Color iconColor,
Color outlineColor )
inlineprotected

Sets task icon colors

Parameters
[in]Colorof background
[in]Colorof icon
[in]Colorof outline

Definition at line 709 of file SCR_TaskListEntryDescriptionUIComponent.c.

Member Data Documentation

◆ m_BackgroundColor

ref Color SCR_TaskListEntryDescriptionUIComponent::m_BackgroundColor
protected

Definition at line 41 of file SCR_TaskListEntryDescriptionUIComponent.c.

◆ m_bIsOverflowing

bool SCR_TaskListEntryDescriptionUIComponent::m_bIsOverflowing
protected

Definition at line 34 of file SCR_TaskListEntryDescriptionUIComponent.c.

◆ m_IconColor

ref Color SCR_TaskListEntryDescriptionUIComponent::m_IconColor
protected

Definition at line 39 of file SCR_TaskListEntryDescriptionUIComponent.c.

◆ m_iOffsetY

int SCR_TaskListEntryDescriptionUIComponent::m_iOffsetY = 4
protected

Definition at line 33 of file SCR_TaskListEntryDescriptionUIComponent.c.

◆ m_MapCursorModule

SCR_MapCursorModule SCR_TaskListEntryDescriptionUIComponent::m_MapCursorModule
protected

Definition at line 49 of file SCR_TaskListEntryDescriptionUIComponent.c.

◆ m_MapEntity

SCR_MapEntity SCR_TaskListEntryDescriptionUIComponent::m_MapEntity
protected

Definition at line 48 of file SCR_TaskListEntryDescriptionUIComponent.c.

◆ m_OnButtonShowOnMap

ref ScriptInvokerVoid SCR_TaskListEntryDescriptionUIComponent::m_OnButtonShowOnMap
protected

Definition at line 37 of file SCR_TaskListEntryDescriptionUIComponent.c.

◆ m_OnButtonTaskAssign

ref ScriptInvokerVoid SCR_TaskListEntryDescriptionUIComponent::m_OnButtonTaskAssign
protected

Definition at line 36 of file SCR_TaskListEntryDescriptionUIComponent.c.

◆ m_OutlineColor

ref Color SCR_TaskListEntryDescriptionUIComponent::m_OutlineColor
protected

Definition at line 40 of file SCR_TaskListEntryDescriptionUIComponent.c.

◆ m_sAssignedGroupEntry

ResourceName SCR_TaskListEntryDescriptionUIComponent::m_sAssignedGroupEntry
protected

Definition at line 10 of file SCR_TaskListEntryDescriptionUIComponent.c.

◆ m_sAssignedPlayerEntry

ResourceName SCR_TaskListEntryDescriptionUIComponent::m_sAssignedPlayerEntry
protected

Definition at line 7 of file SCR_TaskListEntryDescriptionUIComponent.c.

◆ m_sAssignTaskText

string SCR_TaskListEntryDescriptionUIComponent::m_sAssignTaskText
protected

Definition at line 16 of file SCR_TaskListEntryDescriptionUIComponent.c.

◆ m_sTaskCancelled

string SCR_TaskListEntryDescriptionUIComponent::m_sTaskCancelled
protected

Definition at line 19 of file SCR_TaskListEntryDescriptionUIComponent.c.

◆ m_sTaskCompleted

string SCR_TaskListEntryDescriptionUIComponent::m_sTaskCompleted
protected

Definition at line 25 of file SCR_TaskListEntryDescriptionUIComponent.c.

◆ m_sTaskFailed

string SCR_TaskListEntryDescriptionUIComponent::m_sTaskFailed
protected

Definition at line 22 of file SCR_TaskListEntryDescriptionUIComponent.c.

◆ m_sTaskListEntry

ResourceName SCR_TaskListEntryDescriptionUIComponent::m_sTaskListEntry
protected

Definition at line 4 of file SCR_TaskListEntryDescriptionUIComponent.c.

◆ m_sUnassignTaskText

string SCR_TaskListEntryDescriptionUIComponent::m_sUnassignTaskText
protected

Definition at line 13 of file SCR_TaskListEntryDescriptionUIComponent.c.

◆ m_Task

SCR_Task SCR_TaskListEntryDescriptionUIComponent::m_Task
protected

Definition at line 46 of file SCR_TaskListEntryDescriptionUIComponent.c.

◆ m_TaskComponent

SCR_TaskListEntryUIComponent SCR_TaskListEntryDescriptionUIComponent::m_TaskComponent
protected

Definition at line 43 of file SCR_TaskListEntryDescriptionUIComponent.c.

◆ m_TaskManager

SCR_TaskManagerUIComponent SCR_TaskListEntryDescriptionUIComponent::m_TaskManager
protected

Definition at line 44 of file SCR_TaskListEntryDescriptionUIComponent.c.

◆ m_TaskStateNegative

ref Color SCR_TaskListEntryDescriptionUIComponent::m_TaskStateNegative
protected

Definition at line 28 of file SCR_TaskListEntryDescriptionUIComponent.c.

◆ m_TaskStatePositive

ref Color SCR_TaskListEntryDescriptionUIComponent::m_TaskStatePositive
protected

Definition at line 31 of file SCR_TaskListEntryDescriptionUIComponent.c.

◆ m_TaskSystem

SCR_TaskSystem SCR_TaskListEntryDescriptionUIComponent::m_TaskSystem
protected

Definition at line 45 of file SCR_TaskListEntryDescriptionUIComponent.c.

◆ m_Widgets

ref SCR_TaskListEntryDescriptionWidgets SCR_TaskListEntryDescriptionUIComponent::m_Widgets = new SCR_TaskListEntryDescriptionWidgets()
protected

Definition at line 50 of file SCR_TaskListEntryDescriptionUIComponent.c.


The documentation for this class was generated from the following file: