1
This commit is contained in:
parent
6736982cc2
commit
839ecb8bd9
@ -31,6 +31,7 @@ type UserInfo struct {
|
||||
VipLv interface{} `json:"vip_lv"`
|
||||
VipExp interface{} `json:"vip_exp"`
|
||||
HasVipLucky interface{} `json:"has_vip_lucky"`
|
||||
HasLuckySymbol interface{} `json:"has_lucky_symbol"`
|
||||
}
|
||||
|
||||
type HeroInfo struct {
|
||||
|
@ -47,6 +47,7 @@ type player struct {
|
||||
vipLv int32
|
||||
vipExp int64
|
||||
hasVipLucky int32
|
||||
hasLuckySymbol int32
|
||||
battleItems []*common.BattleItem
|
||||
}
|
||||
|
||||
@ -66,6 +67,7 @@ func (this *player) parseUserInfo(userInfo *common.UserInfo){
|
||||
q5.DuckToSimple(userInfo.VipLv, &this.vipLv)
|
||||
q5.DuckToSimple(userInfo.VipExp, &this.vipExp)
|
||||
q5.DuckToSimple(userInfo.HasVipLucky, &this.hasVipLucky)
|
||||
q5.DuckToSimple(userInfo.HasLuckySymbol, &this.hasLuckySymbol)
|
||||
}
|
||||
|
||||
func (this *player) parseHeroInfo(heroInfo *common.HeroInfo){
|
||||
|
Loading…
x
Reference in New Issue
Block a user