Constructor
Variables
optionalcharSelect:Null<PlayerCharSelectData> = null
Data for displaying this character in the Character Select menu. If null, exclude from Character Select.
optionalfreeplayDJ:Null<PlayerFreeplayDJData> = null
Data for displaying this character in the Freeplay menu. If null, display no DJ.
optionalfreeplayStyle:String = Constants.DEFAULT_FREEPLAY_STYLE
Which freeplay style to use for this character.
ownedChars:Array<String> = []
The character IDs this character is associated with. Only songs that use these characters will show up in Freeplay.
optionalresults:Null<PlayerResultsData> = null
Data for displaying this character in the results screen.
optionalshowUnownedChars:Bool = false
Whether to show songs with character IDs that aren't associated with any specific character.
optionalstickerPack:String = Constants.DEFAULT_STICKER_PACK
The default sticker pack to use for songs featuring this playable character. Can be overridden by specific songs.
optionalunlocked:Bool = true
Whether this character is unlocked by default. Use a ScriptedPlayableCharacter to add custom logic.
version:String
The sematic version number of the player data JSON format. Supports fancy comparisons like NPM does it's neat.