This commit is contained in:
aozhiwei 2024-10-12 13:33:31 +08:00
parent 84188ac723
commit 7c3e85aa59
2 changed files with 16 additions and 2 deletions

View File

@ -10,6 +10,11 @@ import (
proto "github.com/golang/protobuf/proto"
)
type BattleItem struct {
ItemId int32 `json:"item_id"`
ItemNum int32 `json:"item_num"`
}
type LoginRsp struct {
Errcode int `json:"errcode"`
Errmsg string `json:"errmsg"`
@ -25,6 +30,9 @@ type LoginRsp struct {
TotalLucky interface{} `json:"total_lucky"`
AdmissionItemNum interface{} `json:"admission_item_num"`
CircuitScore interface{} `json:"circuit_score"`
VipLv interface{} `json:"vip_lv"`
VipExp interface{} `json:"vip_exp"`
HasVipLucky interface{} `json:"has_vip_lucky"`
} `json:"user_info"`
HeroInfo struct {
HeroUniId string `json:"hero_uniid"`
@ -56,6 +64,9 @@ type UserRsp struct {
TotalLucky interface{} `json:"total_lucky"`
AdmissionItemNum interface{} `json:"admission_item_num"`
CircuitScore interface{} `json:"circuit_score"`
VipLv interface{} `json:"vip_lv"`
VipExp interface{} `json:"vip_exp"`
HasVipLucky interface{} `json:"has_vip_lucky"`
} `json:"user_info"`
HeroInfo struct {
HeroUniId string `json:"hero_uniid"`
@ -105,6 +116,9 @@ type UpdateBattleInfoRsp struct {
TotalLucky interface{} `json:"total_lucky"`
AdmissionItemNum interface{} `json:"admission_item_num"`
CircuitScore interface{} `json:"circuit_score"`
VipLv interface{} `json:"vip_lv"`
VipExp interface{} `json:"vip_exp"`
HasVipLucky interface{} `json:"has_vip_lucky"`
} `json:"user_info"`
HeroInfo struct {
HeroUniId string `json:"hero_uniid"`

View File

@ -149,8 +149,8 @@ message MFTeamMember
optional int32 battling = 15; //
optional int32 circuit_score = 16; //
optional int32 vip_lv = 17; //vip等级
optional int32 vip_exp = 18; //vip经验
optional int64 has_vip_lucky = 19; //vip幸运值加成
optional int64 vip_exp = 18; //vip经验
optional int32 has_vip_lucky = 19; //vip幸运值加成
repeated MFBattleItem battle_items = 20; //
}