s&
info
About
info
About s&box
newspaper
Latest News
published_with_changes
Changes
map
Roadmap
monitoring
Metrics
games
Games
sports_esports
Browse Games
explore
Discover Games
category
Workshop
sports_esports
Games
landscape
Maps
view_in_ar
Models
texture
Materials
apparel
Clothing
construction
More..
forum
Forum
menu_book
Learn
docs
Documentation
api
Api Reference
school
Tutorials
manage_search
Code Search
input
Log in with Steam
chevron_left
Change Language
简体中文
English
Русский
Español
Português-Brasil
Deutsch
日本語
Français
Polski
Türkçe
한국어
Pirate
Italiano
ไทย
繁體中文
Українська
Čeština
Nederlands
Magyar
Dansk
Suomi
Svenska
Norsk
Ελληνικά
Română
Български
Tiếng Việt
Bahasa Indonesia
Español-Latinoamérica
العربية
Api
Classes
PackageFlair
chevron_left
Classes
struct
PackageFlair
Constructors
functions
PackageFlair
Properties
data_object
Icon
data_object
Kind
data_object
Style
data_object
Tooltip
Methods
functions
Deconstruct
PackageFlair
A single badge shown over a package's thumbnail.
struct
Sandbox.Package
.
sealed
Sandbox.Engine
build
Constructors
1
PackageFlair
(
Kind
,
Icon
,
Style
,
Tooltip
)
A single badge shown over a package's thumbnail.
data_object
Properties
4
Icon
string
Material Symbols icon name, e.g. "verified".
Kind
string
What this flair is, e.g. "workshop-approved". Drives the icon/tooltip and lets UI style or de-duplicate them.
Style
string
Raw CSS applied inline to the badge, e.g. "background-color: #2d8cf0; color: #fff;".
Tooltip
string
Hover text explaining why the flair is shown.
functions
Methods
1
Deconstruct
(
Kind
,
Icon
,
Style
,
Tooltip
)
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.