player.go 563 B

12345678910111213141516171819202122
  1. package msg
  2. // type PlayerInfo struct {
  3. // PlayerId int64 `json:"userId"`
  4. // }
  5. // type PlayerInfoData struct {
  6. // UserInfo *model.PlayerProfile `json:"userInfo"`
  7. // Setting *Setting `json:"setting"`
  8. // }
  9. // type ResponsePlayerInfo struct {
  10. // ErrCode int `json:"errCode"`
  11. // Msg string `json:"msg,omitempty"`
  12. // Data *PlayerInfoData `json:"data"`
  13. // }
  14. // type Setting struct {
  15. // Bgm bool `json:"bgm"`
  16. // BgSound bool `json:"bgSound"`
  17. // DamageFloatText bool `json:"damageFloatText"`
  18. // }