Link Search Menu Expand Document

Constructor: starGiftAttributeModel

Back to constructors index

The model of a collectible gift ».

Attributes:

NameTypeRequiredDescription
namestringYesName of the model
documentDocumentOptionalThe sticker representing the upgraded gift
rarity_permilleintYesThe number of upgraded gifts that receive this backdrop for each 1000 gifts upgraded.

Type: StarGiftAttribute

Example:

$starGiftAttributeModel = ['_' => 'starGiftAttributeModel', 'name' => 'string', 'document' => Document, 'rarity_permille' => int];