Returns a deep copy of this instance.
StaticdecodeStaticencodeStaticfromTODO
Optionalpos: numberOptionallevel: numberTODO
Returns the document-store representation of this object.
Unlike toJSON(), the resulting document-store representation may be in a significantly different
shape to that of its implementing class, and it cannot be passed back into the constructor to
reconstruct an equivalent instance.
Use fromDB() instead, which reconstructs the instance and rehydrates any fields truncated by the conversion.
Returns the JSON-serializable representation of this object.
The result can be passed back into the constructor to reconstruct an equivalent instance.
ProtectedtoSerializes the properties of this base class to an object.
Concrete subclasses should spread the result into their own toDB() implementations.
ProtectedtoSerializes the properties of this base class to an object.
Concrete subclasses should spread the result into their own toJSON() implementations.
The unique reference to this object in persistent storage.
TODO
The URL to the main visual asset (image) of the skill card.
The category of the skill card (i.e. Active, Mental, Trouble).
The time the object was created, as an ISO 8601 (RFC 3339) timestamp.
The current set of customization options applied to this Skill instance.
The customize limit of this Skill instance (including any level upgrades / customizations).
The effects of this Skill instance (including any level upgrades / customizations).
The boolean flags of this Skill instance (including any level upgrades / customizations).
The stamina cost of this Skill instance (including any level upgrades / customizations).
The current upgrade level of this Skill instance.
A list of customization options for the skill card.
An ID associated with the object.
Protected StaticindexAn auto-incremented index to keep object IDs unique during runtime.
The customize limit of the skill card, at upgrade level 0 (unupgraded) without customizations. Use Skill.currentCustomizeLimit for the customize limit including any level upgrades / customizations.
The effects of the skill card, at upgrade level 0 (unupgraded) without customizations. Use Skill.currentEffect for the effects including any level upgrades / customizations.
The boolean flags of the skill card, at upgrade level 0 (unupgraded) without customizations. Use Skill.currentFlags for the boolean flags including any level upgrades / customizations.
The stamina cost of the skill card, at upgrade level 0 (unupgraded) without customizations. Use Skill.currentStaminaCost for the stamina cost including any level upgrades / customizations.
The name of the skill card.
The produce plan(s) the skill card can be used on.
The rarity of the skill card.
Static ReadonlysortableThe source of the skill card.
The produce level at which the skill card is unlocked at.
The time the object was last updated, as an ISO 8601 (RFC 3339) timestamp.
A list of upgrade level effects for the skill card. Use upgradeLevels.length for its maximum upgrade level.
TODO
Optionalobj: Partial<ISkill>OptionalupgradeState: Partial<SkillUpgradeState>
A skill card (スキルカード).
These are cards that can be played during a lesson/audition gameplay segment for various effects (e.g. "ファンサ" / "Fansa", "シュプレヒコール" / "Sprechchor", "星屑センセーション" / "Stardust Sensation", etc.).
See SkillFilter for the list of filtering options.
See ISkill for the list of fields that can be used for sorting.