This commit is contained in:
aozhiwei 2024-10-15 19:05:17 +08:00
parent ea36a05b14
commit ac48074909

View File

@ -47,6 +47,7 @@ type player struct {
vipLv int32 vipLv int32
vipExp int64 vipExp int64
hasVipLucky int32 hasVipLucky int32
hasLuckySymbol int32
battleItems []*common.BattleItem battleItems []*common.BattleItem
} }
@ -66,6 +67,7 @@ func (this *player) parseUserInfo(userInfo *common.UserInfo){
q5.DuckToSimple(userInfo.VipLv, &this.vipLv) q5.DuckToSimple(userInfo.VipLv, &this.vipLv)
q5.DuckToSimple(userInfo.VipExp, &this.vipExp) q5.DuckToSimple(userInfo.VipExp, &this.vipExp)
q5.DuckToSimple(userInfo.HasVipLucky, &this.hasVipLucky) q5.DuckToSimple(userInfo.HasVipLucky, &this.hasVipLucky)
q5.DuckToSimple(userInfo.HasLuckySymbol, &this.hasLuckySymbol)
} }
func (this *player) parseHeroInfo(heroInfo *common.HeroInfo){ func (this *player) parseHeroInfo(heroInfo *common.HeroInfo){