Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
SCR_CampaignBuildingSupplyEditorUIComponent Interface Reference
Inheritance diagram for SCR_CampaignBuildingSupplyEditorUIComponent:
[legend]

Public Member Functions

override void HandlerAttached (Widget w)
 
override void HandlerDeattached (Widget w)
 
- Public Member Functions inherited from MenuRootSubComponent
Widget GetWidget ()
 Get widget to which the component belongs to.
 
MenuRootBase GetMenu ()
 Get menu of which the widget is part of.
 
MenuRootComponent GetRootComponent ()
 Get root component of this subcomponent,.
 
void HandlerAttachedScripted (Widget w)
 Event called when subcomponent is initialized.
 
override void HandlerAttached (Widget w)
 
override void HandlerDeattached (Widget w)
 

Protected Member Functions

void SetSourceIcon (IEntity targetEntity)
 
Color GetColorForFaction (string factionKey)
 
void UpdateResources ()
 
void UpdateSupply ()
 
void SetProviderName (IEntity targetEntity)
 
- Protected Member Functions inherited from SCR_BaseEditorUIComponent
vector OnCancelDown ()
 
bool OnCancelUp ()
 
void OnCancelExpired ()
 
- Protected Member Functions inherited from MenuRootSubComponent
bool IsUnique ()
 Is the component to exist only in one instance? If so, it will be registered in the list of components and can be searched for.
 

Protected Attributes

SCR_FactionAffiliationComponent m_FactionComponent
 
TextWidget m_ProviderName
 
TextWidget m_ProviderCallsign
 
Widget m_wInGameSupply
 
TextWidget m_ProviderSupplyCurrent
 
TextWidget m_ProviderSupplyMax
 
OverlayWidget m_ProviderIcon
 
SCR_ResourceComponent m_ResourceComponent
 
SCR_ResourceConsumer m_ResourceConsumer
 
ref SCR_ResourceSystemSubscriptionHandleBase m_ResourceSubscriptionHandleConsumer
 
RplId m_ResourceInventoryPlayerComponentRplId
 
- Protected Attributes inherited from SCR_BaseEditorUIComponent
vector m_vClickPosCancel
 

Additional Inherited Members

- Static Public Attributes inherited from SCR_BaseEditorUIComponent
const int CANCEL_CLICK_MAX_DIS = 5
 
const int CANCEL_CLICK_MAX_TIME = 500
 

Member Function Documentation

◆ GetColorForFaction()

Color SCR_CampaignBuildingSupplyEditorUIComponent.GetColorForFaction ( string  factionKey)
protected

◆ HandlerAttached()

override void SCR_CampaignBuildingSupplyEditorUIComponent.HandlerAttached ( Widget  w)

Implements MenuRootSubComponent.

◆ HandlerDeattached()

override void SCR_CampaignBuildingSupplyEditorUIComponent.HandlerDeattached ( Widget  w)

Implements MenuRootSubComponent.

◆ SetProviderName()

void SCR_CampaignBuildingSupplyEditorUIComponent.SetProviderName ( IEntity  targetEntity)
protected

◆ SetSourceIcon()

void SCR_CampaignBuildingSupplyEditorUIComponent.SetSourceIcon ( IEntity  targetEntity)
protected

◆ UpdateResources()

void SCR_CampaignBuildingSupplyEditorUIComponent.UpdateResources ( )
protected

◆ UpdateSupply()

void SCR_CampaignBuildingSupplyEditorUIComponent.UpdateSupply ( )
protected

Member Data Documentation

◆ m_FactionComponent

SCR_FactionAffiliationComponent SCR_CampaignBuildingSupplyEditorUIComponent.m_FactionComponent
protected

◆ m_ProviderCallsign

TextWidget SCR_CampaignBuildingSupplyEditorUIComponent.m_ProviderCallsign
protected

◆ m_ProviderIcon

OverlayWidget SCR_CampaignBuildingSupplyEditorUIComponent.m_ProviderIcon
protected

◆ m_ProviderName

TextWidget SCR_CampaignBuildingSupplyEditorUIComponent.m_ProviderName
protected

◆ m_ProviderSupplyCurrent

TextWidget SCR_CampaignBuildingSupplyEditorUIComponent.m_ProviderSupplyCurrent
protected

◆ m_ProviderSupplyMax

TextWidget SCR_CampaignBuildingSupplyEditorUIComponent.m_ProviderSupplyMax
protected

◆ m_ResourceComponent

SCR_ResourceComponent SCR_CampaignBuildingSupplyEditorUIComponent.m_ResourceComponent
protected

◆ m_ResourceConsumer

SCR_ResourceConsumer SCR_CampaignBuildingSupplyEditorUIComponent.m_ResourceConsumer
protected

◆ m_ResourceInventoryPlayerComponentRplId

RplId SCR_CampaignBuildingSupplyEditorUIComponent.m_ResourceInventoryPlayerComponentRplId
protected

◆ m_ResourceSubscriptionHandleConsumer

ref SCR_ResourceSystemSubscriptionHandleBase SCR_CampaignBuildingSupplyEditorUIComponent.m_ResourceSubscriptionHandleConsumer
protected

◆ m_wInGameSupply

Widget SCR_CampaignBuildingSupplyEditorUIComponent.m_wInGameSupply
protected

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