36 lines
1020 B
Go
36 lines
1020 B
Go
package models
|
|
|
|
import (
|
|
"encoding/json"
|
|
"sync"
|
|
)
|
|
|
|
var _ = json.RawMessage{}
|
|
var _ = sync.Mutex{}
|
|
|
|
//
|
|
// Compatibility facade used by the build-4229938 codecs.
|
|
// Editable values come from config/private-server.json; do not add new gameplay settings here.
|
|
//
|
|
type Profile struct {
|
|
Config any `json:"config"`
|
|
ClientVersion int32 `json:"clientVersion"`
|
|
Aid int32 `json:"aid"`
|
|
PlayerPid uint64 `json:"playerPid"`
|
|
InitialUnitId uint64 `json:"initialUnitId"`
|
|
InitialSpiritTemplateId uint32 `json:"initialSpiritTemplateId"`
|
|
RaidId uint32 `json:"raidId"`
|
|
SceneInstanceId uint64 `json:"sceneInstanceId"`
|
|
UniverseId uint32 `json:"universeId"`
|
|
ServerId int32 `json:"serverId"`
|
|
AccountId string `json:"accountId"`
|
|
UserName string `json:"userName"`
|
|
DisplayName string `json:"displayName"`
|
|
LoginToken string `json:"loginToken"`
|
|
GameToken string `json:"gameToken"`
|
|
WorldEntryOpeningEnabled bool `json:"worldEntryOpeningEnabled"`
|
|
WorldSpawn Vec3 `json:"worldSpawn"`
|
|
WorldFacing float32 `json:"worldFacing"`
|
|
}
|
|
|