|
| override void | HandlerAttached (Widget w) |
| | Calls superclass method, subscribes to events and sets player current and limit allocation.
|
| |
| override void | HandlerDeattached (Widget w) |
| | Calls superclass method and unsubscribes from events.
|
| |
◆ HandlerAttached()
| override void SCR_PlayerSupplyAllocationUI.HandlerAttached |
( |
Widget | w | ) |
|
Calls superclass method, subscribes to events and sets player current and limit allocation.
- Parameters
-
| [in] | w | Widget attached to the method, representing the root of the layout. |
◆ HandlerDeattached()
| override void SCR_PlayerSupplyAllocationUI.HandlerDeattached |
( |
Widget | w | ) |
|
Calls superclass method and unsubscribes from events.
- Parameters
-
| [in] | w | Widget attached to the method, representing the root of the layout. |
◆ OnAvailableAllocatedSuppliesChanged()
| void SCR_PlayerSupplyAllocationUI.OnAvailableAllocatedSuppliesChanged |
( |
int | amount | ) |
|
|
protected |
Available Allocated Supplies amount changed, set the new value and update Supplies text.
- Parameters
-
◆ OnMilitarySupplyAllocationChanged()
| void SCR_PlayerSupplyAllocationUI.OnMilitarySupplyAllocationChanged |
( |
int | amount | ) |
|
|
protected |
Military Supply Allocation amount changed, set the new value and update Supplies text.
- Parameters
-
◆ SetPlayerCurrentAndLimitAllocation()
| void SCR_PlayerSupplyAllocationUI.SetPlayerCurrentAndLimitAllocation |
( |
Widget | w | ) |
|
|
protected |
◆ UpdateSupplyAmountText()
| void SCR_PlayerSupplyAllocationUI.UpdateSupplyAmountText |
( |
| ) |
|
|
protected |
Sets the Supplies text to current amount of available and allocated supplies.
◆ m_bVisibleTopLimit
| bool SCR_PlayerSupplyAllocationUI.m_bVisibleTopLimit |
|
protected |
◆ m_iAvailableSuppliesAmount
| int SCR_PlayerSupplyAllocationUI.m_iAvailableSuppliesAmount |
|
protected |
◆ m_iMaxAvailableSuppliesAmount
| int SCR_PlayerSupplyAllocationUI.m_iMaxAvailableSuppliesAmount |
|
protected |
◆ m_PlayerController
| PlayerController SCR_PlayerSupplyAllocationUI.m_PlayerController = GetGame().GetPlayerController() |
|
protected |
◆ m_PlayerSupplyAllocationComponent
◆ m_sAvailableText
| string SCR_PlayerSupplyAllocationUI.m_sAvailableText |
|
protected |
◆ m_sAvailableTextLong
| string SCR_PlayerSupplyAllocationUI.m_sAvailableTextLong |
|
protected |
◆ m_sSuppliesAmount
| string SCR_PlayerSupplyAllocationUI.m_sSuppliesAmount |
|
protected |
◆ m_sSuppliesText
| ResourceName SCR_PlayerSupplyAllocationUI.m_sSuppliesText |
|
protected |
◆ m_wSuppliesText
| RichTextWidget SCR_PlayerSupplyAllocationUI.m_wSuppliesText |
|
protected |
The documentation for this interface was generated from the following file:
- Game/UI/Menu/DeployMenu/SCR_PlayerSupplyAllocationUI.c