YOM Replicator SDK 0.8.0.0
A metaverse SDK created by YOM
Loading...
Searching...
No Matches
UYomButton Class Reference

Detailed Description

A button that can hold an item in it in the players UI, which can be defined in blueprints.

Inheritance diagram for UYomButton:

Public Member Functions

Blueprint Functions
void Init ()
 A blueprint function for initialization of blueprints. More...
 
void OnStartItemLoad (UObject *pItem)
 A blueprint function for starting of item loading. More...
 
void OnFinishItemLoad (UObject *pItem)
 A blueprint function for finishing item loading. More...
 

Public Attributes

Blueprint Members
UPanelWidget * Canvas
 The canvas in which the button is located. More...
 
UButton * Button
 The button widget that has button events. More...
 
UWidget * LoadingWidget
 The loading widget that is displayed when the item is being loaded. More...
 
UWidget * RarityWidget
 The rarity widget to indicate the rarity of the item (currently use own implementation to show rarity) More...
 

Member Function Documentation

◆ Init()

void UYomButton::Init ( )

A blueprint function for initialization of blueprints.

◆ OnFinishItemLoad()

void UYomButton::OnFinishItemLoad ( UObject *  pItem)

A blueprint function for finishing item loading.

Parameters
pItemThe item that was loaded

◆ OnStartItemLoad()

void UYomButton::OnStartItemLoad ( UObject *  pItem)

A blueprint function for starting of item loading.

Parameters
pItemThe item that is loaded

Member Data Documentation

◆ Button

UButton* UYomButton::Button

The button widget that has button events.

◆ Canvas

UPanelWidget* UYomButton::Canvas

The canvas in which the button is located.

◆ LoadingWidget

UWidget* UYomButton::LoadingWidget

The loading widget that is displayed when the item is being loaded.

◆ RarityWidget

UWidget* UYomButton::RarityWidget

The rarity widget to indicate the rarity of the item (currently use own implementation to show rarity)