123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- package msg
- // ArenaUpgradeStar 升星场景
- type ArenaUpgradeStar struct {
- PlayerId int64 `json:"userId"`
- SkinId int64 `json:"skinId"`
- }
- type ResponseArenaUpgradeStar struct {
- ErrCode int `json:"errCode"`
- Msg string `json:"msg,omitempty"`
- Data *ArenaUpgradeStarData `json:"data"`
- }
- type ArenaUpgradeStarData struct {
- SkinId int64 `json:"skinId"`
- Star int64 `json:"star"`
- Cost map[int64]int64 `json:"cost"`
- }
- // ArenaActive
- type ArenaActive struct {
- PlayerId int64 `json:"userId"`
- SkinId int64 `json:"skinId"` //皮肤模型ID
- }
- type ResponseArenaActive struct {
- ErrCode int `json:"errCode"`
- Msg string `json:"msg,omitempty"`
- Data *ArenaActiveData `json:"data"`
- }
- type ArenaActiveData struct {
- SkinId int64 `json:"skinId"` //皮肤ID
- Level int64 `json:"level"`
- Cost map[int64]int64 `json:"cost"`
- }
- // 场景技能选配
- type ArenaSkillSelect struct {
- PlayerId int64 `json:"userId"`
- SkinId int64 `json:"skillId"` //皮肤ID
- Pos int64 `json:"pos"` //技能位置 0,1,2
- }
- type ResponseArenaSkillSelect struct {
- ErrCode int `json:"errCode"`
- Msg string `json:"msg,omitempty"`
- Data [3]int64 `json:"data"`
- }
- // const (
- // WearRune = 1
- // TakeOffRune = 2
- // )
- // ArenaWear 装配、卸载场景
- // 镶嵌 卸下 替换: 1,2
- type ArenaWear struct {
- PlayerId int64 `json:"userId"`
- SkinId int64 `json:"skinId"` //皮肤ID
- Type int64 `json:"type"`
- }
- type ResponseArenaWear struct {
- ErrCode int `json:"errCode"`
- Msg string `json:"msg,omitempty"`
- Data int64 `json:"data"`
- }
|