Skip to content

Class LemonUI::Menus::BadgeSet

ClassList > LemonUI > Menus > BadgeSet

Represents a badge that can be applied to a NativeItem .

Public Properties

Type Name
property string?? HoveredDictionary
The texture dictionary where the normal texture is located.
property string?? HoveredTexture
The texture to use when the item is hovered.
property string?? NormalDictionary
The texture dictionary where the normal texture is located.
property string?? NormalTexture
The texture to use when the item is not hovered.

Public Functions

Type Name
BadgeSet ()
Creates a new empty BadgeSet .
BadgeSet (string dict, string normal, string hovered)
Creates a new BadgeSet where both textures are in the same dictionary.
BadgeSet (string normalDict, string normalTexture, string hoveredDict, string hoveredTexture)
Creates a new BadgeSet where both textures are in different dictionaries.

Public Properties Documentation

property HoveredDictionary

string?? LemonUI.Menus.BadgeSet.HoveredDictionary;

property HoveredTexture

string?? LemonUI.Menus.BadgeSet.HoveredTexture;

property NormalDictionary

string?? LemonUI.Menus.BadgeSet.NormalDictionary;

property NormalTexture

string?? LemonUI.Menus.BadgeSet.NormalTexture;

Public Functions Documentation

function BadgeSet [1/3]

inline LemonUI::Menus::BadgeSet::BadgeSet () 

function BadgeSet [2/3]

Creates a new BadgeSet where both textures are in the same dictionary.

inline LemonUI::Menus::BadgeSet::BadgeSet (
    string dict,
    string normal,
    string hovered
) 

Parameters:

  • dict The dictionary where the textures are located.
  • normal The normal texture name.
  • hovered The hovered texture name.

function BadgeSet [3/3]

Creates a new BadgeSet where both textures are in different dictionaries.

inline LemonUI::Menus::BadgeSet::BadgeSet (
    string normalDict,
    string normalTexture,
    string hoveredDict,
    string hoveredTexture
) 

Parameters:

  • normalDict The dictionary where the normal texture is located.
  • normalTexture The normal texture name.
  • hoveredDict The dictionary where the hovered texture is located.
  • hoveredTexture The hovered texture name.

The documentation for this class was generated from the following file repos/LemonUI/LemonUI/Menus/BadgeSet.cs