Properties
Static
ArchiveKeyCountMax
ArchiveKeyCountMax: number = 150
Static
baseArchiveKeyPrefix
baseArchiveKeyPrefix: string = "Solar_Base_Archive_"
Static
encrypt
encrypt: boolean = true
Static
playerDatas
playerDatas: { [playerIndex: string]: { [key: string]: any } } = {}
Type declaration
-
[playerIndex: string]: { [key: string]: any }
Static
salt
salt: string = "s_z_b_s_q_j"
Static
verifyPlayerName
verifyPlayerName: boolean = !isDebug
将存档key 与存档值 作为Json字符串 统一存储到平台服务器上 因此请尽量减少key的长度 以多存内容
修改玩家名之后将导致存档失效
已被占用的key: _SL _SH _SI//用作存储存档玩家的地图等级 玩家名字哈希 和玩家账号id 防止盒子佬一键复制别人的存档