22 void SetTaskID(
int taskID)
28 override bool OnMouseEnter(Widget w,
int x,
int y)
36 override bool OnClick(Widget w,
int x,
int y,
int button)
41 PlayerController playerController =
GetGame().GetPlayerController();
42 if (!playerController)
47 if (!taskNetworkComponent)
53 taskNetworkComponent.RequestAssignment(m_iTaskID);
57 taskNetworkComponent.AbandonTask(m_iTaskID);
61 taskNetworkComponent.CancelTask(m_iTaskID);