s&
About
The Project
infoAbout s&box mapRoadmap monitoringMetricsEngine startup and usage numbers
Updates
newspaperLatest News published_with_changesChangesRelease-by-release changelog
Games
Browse Games Discover Games

Gamejams

Date
Theme

Date announced very soon. Theme revealed when the jam starts.

$50,000
prizepool
Workshop
Playable
sports_esportsGamesStandalone games and gamemodes
Assets
landscapeMaps view_in_arModels textureMaterials apparelClothing
appsEverythingEvery asset type in one list
Forum
Learn
Documentation
docsDocumentation apiAPI Reference
Resources
schoolTutorials manage_searchCode Search
inputLog in with Steam chevron_leftChange Language
简体中文EnglishРусскийEspañolPortuguês-BrasilDeutsch日本語FrançaisPolskiTürkçe한국어PirateItalianoไทย繁體中文УкраїнськаČeštinaNederlandsMagyarDanskSuomiSvenskaNorskΕλληνικάRomânăБългарскиTiếng ViệtBahasa IndonesiaEspañol-Latinoaméricaالعربية
Api
Classes
PackageFlair
chevron_left Classes
struct
PackageFlair

Constructors

functionsPackageFlair

Properties

data_objectIcondata_objectKinddata_objectStyledata_objectTooltip

Methods

functionsDeconstruct
PackageFlair
A single badge shown over a package's thumbnail.
struct Sandbox.Package .
sealedSandbox.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.
Facepunch
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter