DayZ 1.24
|
Additional Inherited Members | |
Static Private Attributes inherited from ScriptedWidgetEventHandler | |
static bool | m_IgnoredBool |
static ref ContextMenu | m_ContextMenuInstance |
static const float | SLIDER_STEP = 0.025 |
Definition at line 53 of file ActionTargetsCursor.c.
|
inlineprotected |
Definition at line 93 of file ActionTargetsCursor.c.
References GetGame(), GetHud(), GetUApi(), m_AM, m_CachedObject, m_Continuous, m_ContinuousInteract, m_DisplayInteractTarget, m_HealthEnabled, m_Hidden, m_Hud, m_Interact, m_QuantityEnabled, m_Single, m_UseActionWrapper, OnInputDeviceChanged(), and OnInputPresetChanged().
|
inlineprotected |
Definition at line 116 of file ActionTargetsCursor.c.
|
inlineprotected |
Definition at line 1179 of file ActionTargetsCursor.c.
|
inlineprotected |
Definition at line 226 of file ActionTargetsCursor.c.
References GetScreenSize(), m_Root, PrepareCursorContent(), x, and y.
Referenced by Update().
Get OnScreenPos when forced or targeted component differs
in case of cached item, all above is reused except the position
Definition at line 238 of file ActionTargetsCursor.c.
References Math::Ceil(), GetOnScreenPosition(), m_CachedObject, m_Root, m_Target, PrepareCursorContent(), and TransformToScreenPos().
Referenced by Update().
Definition at line 1171 of file ActionTargetsCursor.c.
References Class::CastTo(), m_Player, and m_Root.
|
inlineprotected |
Definition at line 718 of file ActionTargetsCursor.c.
Referenced by PrepareCursorContent().
|
inlineprotected |
|
inlineprotected |
get actions from Action Manager
Definition at line 667 of file ActionTargetsCursor.c.
Referenced by Update().
|
inlineprotected |
Definition at line 1199 of file ActionTargetsCursor.c.
References GetGame(), Mission::GetHud(), and mission.
Referenced by ActionTargetsCursor().
returns number of items in cargo for targeted entity
default cargo count
Definition at line 879 of file ActionTargetsCursor.c.
Referenced by PrepareCursorContent().
|
inlineprotected |
Definition at line 728 of file ActionTargetsCursor.c.
References m_DisplayInteractTarget, m_Target, LOD::NAME_FIRE, and LOD::NAME_VIEW.
Referenced by PrepareCursorContent().
|
inlineprotected |
Definition at line 791 of file ActionTargetsCursor.c.
References m_DisplayInteractTarget, m_Interact, m_Target, LOD::NAME_FIRE, and LOD::NAME_VIEW.
Referenced by PrepareCursorContent().
|
inlineprotected |
Definition at line 859 of file ActionTargetsCursor.c.
References Class::CastTo(), QuantityConversions::GetItemQuantity(), QuantityConversions::HasItemQuantity(), m_DisplayInteractTarget, m_Interact, and m_Target.
Referenced by PrepareCursorContent().
kept for backward compatibility
Get memory LOD from p3d
save selection from memory lod
cache current object and the widget world pos
doors/handles
single vertex in selection
multiple vertices in selection
cache current object and the widget world pos
do not store component index for doors/handles
ladders handling
cache current object and the widget world pos
do not store component index for ladders
Definition at line 465 of file ActionTargetsCursor.c.
References Math::AbsFloat(), vector::DistanceSq(), GetName(), GetType(), HasFixedActionTargetCursorPosition(), IsComponentInSelection(), m_CachedObject, m_FixedOnPosition, m_Player, m_Target, LOD::NAME_MEMORY, TransformToScreenPos(), x, y, and vector::Zero.
Referenced by BuildFloatingCursor().
|
inlineprotected |
Definition at line 653 of file ActionTargetsCursor.c.
References Class::CastTo(), GetGame(), GetPlayer(), and m_Player.
Referenced by GetPlayer(), and Update().
|
inlineprotected |
Definition at line 701 of file ActionTargetsCursor.c.
References ActionManagerClient::FindActionTarget(), m_AM, m_Hidden, m_Player, and m_Target.
Referenced by Update().
|
inlineprotected |
Definition at line 290 of file ActionTargetsCursor.c.
References m_CachedObject, and m_Root.
Referenced by Update().
|
inlineprotected |
|
inlineprotected |
Definition at line 166 of file ActionTargetsCursor.c.
References UpdatePCIconsVisibility().
Referenced by ActionTargetsCursor().
|
inlineprotected |
Definition at line 159 of file ActionTargetsCursor.c.
References UpdateControllerInputIcons().
Referenced by ActionTargetsCursor().
Definition at line 279 of file ActionTargetsCursor.c.
UA -> widget icon
Definition at line 143 of file ActionTargetsCursor.c.
References m_Container, m_ItemLeft, m_Root, UpdateControllerInputIcons(), and UpdatePCIconsVisibility().
|
inlineprotected |
item health
quantity
cargo in item
fill the widget with data
Definition at line 194 of file ActionTargetsCursor.c.
References GetActionDesc(), GetItemCargoCount(), GetItemDesc(), GetItemHealth(), GetItemQuantity(), m_Continuous, m_ContinuousInteract, m_HealthEnabled, m_Interact, m_QuantityEnabled, m_Single, SetActionWidget(), SetInteractActionIcon(), SetItemDesc(), SetItemHealth(), SetItemQuantity(), SetMultipleContinuousInteractAction(), SetMultipleContinuousItemAction(), SetMultipleInteractAction(), and SetMultipleItemAction().
Referenced by BuildFixedCursor(), and BuildFloatingCursor().
|
inlineprotected |
Definition at line 1010 of file ActionTargetsCursor.c.
References Class::CastTo(), m_AM, m_MaxWidthChild, m_Root, x, and y.
Referenced by PrepareCursorContent().
|
protected |
|
protected |
|
inlineprotected |
Definition at line 137 of file ActionTargetsCursor.c.
References InputUtils::GetRichtextButtonIconFromInputAction(), and m_Root.
Referenced by UpdateControllerInputIcons().
Definition at line 119 of file ActionTargetsCursor.c.
References m_HealthEnabled.
|
inlineprotected |
Definition at line 1153 of file ActionTargetsCursor.c.
References Class::CastTo(), InputUtils::GetButtonNameFromInput(), GetDayZGame(), UAIDWrapper::InputP(), m_Root, and m_UseActionWrapper.
Referenced by PrepareCursorContent().
DEPRECATED.
|
inlineprotected |
Last message from finished User Action on target (Thermometer, Blood Test Kit, etc.)
when cargo in container
Definition at line 903 of file ActionTargetsCursor.c.
References Class::CastTo(), m_Root, and m_Target.
Referenced by PrepareCursorContent().
|
inlineprotected |
Definition at line 933 of file ActionTargetsCursor.c.
References Class::CastTo(), ItemManager::GetItemHealthColor(), and m_Root.
Referenced by PrepareCursorContent().
|
inlineprotected |
Definition at line 958 of file ActionTargetsCursor.c.
References Class::CastTo(), m_Root, QUANTITY_COUNT, QUANTITY_HIDDEN, QUANTITY_PROGRESS, and Math::Round().
Referenced by PrepareCursorContent().
|
inlineprotected |
Definition at line 1071 of file ActionTargetsCursor.c.
References m_ContinuousInteractActionsNum, m_Root, and m_SelectedActionCategory.
Referenced by PrepareCursorContent().
|
inlineprotected |
Definition at line 1126 of file ActionTargetsCursor.c.
References m_ContinuousItemActionsNum, m_Root, and m_SelectedActionCategory.
Referenced by PrepareCursorContent().
|
inlineprotected |
shows arrows near the interact action if there are more than one available
Definition at line 1044 of file ActionTargetsCursor.c.
Referenced by PrepareCursorContent().
|
inlineprotected |
Definition at line 1099 of file ActionTargetsCursor.c.
References m_ItemActionsNum, m_Root, and m_SelectedActionCategory.
Referenced by PrepareCursorContent().
Definition at line 124 of file ActionTargetsCursor.c.
References m_QuantityEnabled.
|
protected |
|
inlineprotected |
Definition at line 440 of file ActionTargetsCursor.c.
References m_Root.
Referenced by UpdatePCIconsVisibility().
transform world pos to screen pos (related to parent widget size)
get relative pos for screen from world pos vector
get size of parent widget
calculate corrent position from relative pos and parent widget size
Definition at line 448 of file ActionTargetsCursor.c.
Referenced by BuildFloatingCursor(), and GetOnScreenPosition().
|
inlineprotected |
don't show floating widget if it's disabled in profile or the player is unconscious
check if action has target, otherwise don't show the widget
cursor with fixed position (environment interaction mainly)
build cursor for new target
use cached version for known target - recalculate onscreen pos only
Definition at line 299 of file ActionTargetsCursor.c.
References BuildFixedCursor(), BuildFloatingCursor(), ScriptedWidgetEventHandler::CheckRefresherFlagVisibility(), g_Game, GetActionManager(), GetActions(), GetDayZGame(), GetGame(), GetPlayer(), PPEManagerStatic::GetPPEManager(), GetTarget(), HideWidget(), m_AM, m_CachedObject, m_Continuous, m_ContinuousInteract, m_FixedOnPosition, m_Hidden, m_Hud, m_Interact, m_MaxWidthChild, m_Player, m_Root, m_Single, m_Target, and VISION_OBSTRUCTION_PPEFFECTS_TYPES.
Referenced by OnUpdate(), and Hud::Update().
|
inlineprivate |
Loads icons from the latest keybinds.
Definition at line 172 of file ActionTargetsCursor.c.
References SetControllerIcon().
Referenced by OnInputPresetChanged(), and OnWidgetScriptInit().
|
inlineprivate |
Contains logic for icon set switching (Gamepad/M&K)
Definition at line 181 of file ActionTargetsCursor.c.
References GetGame(), and ShowXboxHidePCIcons().
Referenced by OnInputDeviceChanged(), and OnWidgetScriptInit().
|
protected |
Definition at line 69 of file ActionTargetsCursor.c.
Referenced by ActionTargetsCursor(), GetActionManager(), GetTarget(), SetActionWidget(), and Update().
|
protected |
Definition at line 62 of file ActionTargetsCursor.c.
Referenced by ActionTargetsCursor(), BuildFloatingCursor(), GetOnScreenPosition(), HideWidget(), and Update().
|
protected |
Definition at line 85 of file ActionTargetsCursor.c.
Referenced by OnWidgetScriptInit().
|
protected |
Definition at line 68 of file ActionTargetsCursor.c.
Referenced by ActionTargetsCursor(), PrepareCursorContent(), and Update().
|
protected |
Definition at line 66 of file ActionTargetsCursor.c.
Referenced by ActionTargetsCursor(), PrepareCursorContent(), and Update().
|
protected |
Definition at line 75 of file ActionTargetsCursor.c.
Referenced by SetMultipleContinuousInteractAction().
|
protected |
Definition at line 77 of file ActionTargetsCursor.c.
Referenced by SetMultipleContinuousItemAction().
|
protected |
Definition at line 63 of file ActionTargetsCursor.c.
Referenced by ActionTargetsCursor(), GetItemDesc(), GetItemHealth(), and GetItemQuantity().
|
protected |
Definition at line 81 of file ActionTargetsCursor.c.
Referenced by GetOnScreenPosition(), and Update().
|
protected |
Definition at line 79 of file ActionTargetsCursor.c.
Referenced by ActionTargetsCursor(), PrepareCursorContent(), and SetHealthVisibility().
|
protected |
Definition at line 82 of file ActionTargetsCursor.c.
Referenced by ActionTargetsCursor(), GetTarget(), and Update().
|
protected |
Definition at line 70 of file ActionTargetsCursor.c.
Referenced by ActionTargetsCursor(), and Update().
|
protected |
Definition at line 65 of file ActionTargetsCursor.c.
Referenced by ActionTargetsCursor(), GetItemHealth(), GetItemQuantity(), PrepareCursorContent(), and Update().
|
protected |
Definition at line 74 of file ActionTargetsCursor.c.
|
protected |
Definition at line 76 of file ActionTargetsCursor.c.
Referenced by SetMultipleItemAction().
|
protected |
Definition at line 86 of file ActionTargetsCursor.c.
Referenced by OnWidgetScriptInit().
|
protected |
widget width
Definition at line 89 of file ActionTargetsCursor.c.
Referenced by SetActionWidget(), and Update().
|
protected |
Definition at line 60 of file ActionTargetsCursor.c.
Referenced by CheckRefresherFlagVisibility(), GetActionManager(), GetOnScreenPosition(), GetPlayer(), GetTarget(), and Update().
|
protected |
Definition at line 80 of file ActionTargetsCursor.c.
Referenced by ActionTargetsCursor(), PrepareCursorContent(), and SetQuantityVisibility().
|
protected |
Definition at line 84 of file ActionTargetsCursor.c.
Referenced by BuildFixedCursor(), BuildFloatingCursor(), CheckRefresherFlagVisibility(), HideWidget(), OnUpdate(), OnWidgetScriptInit(), SetActionWidget(), SetControllerIcon(), SetInteractActionIcon(), SetItemDesc(), SetItemHealth(), SetItemQuantity(), SetMultipleContinuousInteractAction(), SetMultipleContinuousItemAction(), SetMultipleItemAction(), ShowXboxHidePCIcons(), and Update().
|
protected |
Definition at line 91 of file ActionTargetsCursor.c.
|
protected |
Definition at line 90 of file ActionTargetsCursor.c.
|
protected |
Definition at line 78 of file ActionTargetsCursor.c.
Referenced by SetMultipleContinuousInteractAction(), SetMultipleContinuousItemAction(), and SetMultipleItemAction().
|
protected |
Definition at line 67 of file ActionTargetsCursor.c.
Referenced by ActionTargetsCursor(), PrepareCursorContent(), and Update().
|
protected |
Definition at line 61 of file ActionTargetsCursor.c.
Referenced by BuildFloatingCursor(), GetItemDesc(), GetItemHealth(), GetItemQuantity(), GetOnScreenPosition(), GetTarget(), SetItemDesc(), and Update().
|
protected |
Definition at line 72 of file ActionTargetsCursor.c.
Referenced by ActionTargetsCursor(), and SetInteractActionIcon().
Definition at line 55 of file ActionTargetsCursor.c.
Referenced by Update().