Arma Reforger Script API
|
Public Member Functions | |
override bool | CanBeShown (InventoryItemComponent item, SCR_InventorySlotUI focusedSlot) |
void | SetRequiredRank (SCR_ECharacterRank rank) |
override string | GetItemHintName (InventoryItemComponent item) |
Function to override to get custom/dynamic item hint name. | |
override bool | SetIconTo (ImageWidget imageWidget) |
Set icon to given image widget. | |
![]() | |
bool | SetItemHintNameTo (InventoryItemComponent item, TextWidget textWidget) |
![]() | |
Color | GetColor () |
Get Color. | |
![]() | |
ResourceName | GetIconPath () |
Get icon. | |
ResourceName | GetImageSetPath () |
Get Image Set. | |
string | GetIconSetName () |
Returns Icon Set name if imageset. | |
bool | HasIcon () |
Check if the info has an icon defined. | |
override void | Log (string prefix=string.Empty, LogLevel logLevel=LogLevel.VERBOSE) |
![]() | |
LocalizedString | GetUnformattedDescription () |
Get the unformatted description from SCR_HintUIInfo instance. | |
void | SetDescription (LocalizedString description) |
Change the description from SCR_HintUIInfo instance. | |
LocalizedString | GetDescription () |
Get description. | |
bool | HasDescription () |
Check if the info has a description defined. | |
bool | SetDescriptionTo (TextWidget textWidget) |
Set description to given text widget. | |
![]() | |
LocalizedString | GetUnformattedName () |
Get The unformatted Name from SCR_HintUIInfo instance. | |
void | SetName (LocalizedString name) |
Change the Name from SCR_HintUIInfo instance. | |
LocalizedString | GetName () |
Get name. | |
bool | HasName () |
Check if the info has a name defined. | |
bool | SetNameTo (TextWidget textWidget) |
Set name to given text widget. | |
Protected Attributes | |
LocalizedString | m_sRankLessFactionFallback |
ResourceName | m_sRankLessFactionIconFallback |
SCR_ECharacterRank | m_eRequiredRank |
![]() | |
SCR_EInventoryHintInputDevice | m_eShowWithInputDevice |
bool | m_bHideInArsenal |
SCR_InventorySlotUI | m_LastFocusedSlot |
![]() | |
ref Color | m_cColor |
![]() | |
ResourceName | Icon |
string | IconSetName |
![]() | |
LocalizedString | Description |
![]() | |
LocalizedString | Name |
Additional Inherited Members | |
![]() | |
static SCR_UIInfo | GetInfo (BaseContainer source, string varName) |
Get UIInfo from a source object. | |
static SCR_UIInfo | CreateInfo (UIInfo source) |
Create SCR_UIInfo from engine UIInfo. | |
static SCR_UIInfo | CreateInfo (LocalizedString name, LocalizedString description=LocalizedString.Empty, ResourceName icon=ResourceName.Empty, string iconSetName=string.Empty) |
Create SCR_UIInfo from basic params. | |
static SCR_UIInfo | CreatePlaceholderInfo (TypeName type) |
Get placeholder info. | |
![]() | |
override void | CopyFrom (SCR_UIName source) |
override bool SCR_ArsenalItemRankHintUIInfo.CanBeShown | ( | InventoryItemComponent | item, |
SCR_InventorySlotUI | focusedSlot ) |
override string SCR_ArsenalItemRankHintUIInfo.GetItemHintName | ( | InventoryItemComponent | item | ) |
Function to override to get custom/dynamic item hint name.
Implements SCR_InventoryItemHintUIInfo.
override bool SCR_ArsenalItemRankHintUIInfo.SetIconTo | ( | ImageWidget | imageWidget | ) |
Set icon to given image widget.
Use this function instead of retrieving the texture using GetIconPath() and setting it manually! When the texture is an image set, manual setting would not work.
imageWidget | Target image widget |
Implements SCR_InventoryItemHintUIInfo.
void SCR_ArsenalItemRankHintUIInfo.SetRequiredRank | ( | SCR_ECharacterRank | rank | ) |
|
protected |
|
protected |
|
protected |