This commit is contained in:
aozhiwei 2024-10-12 14:00:31 +08:00
parent 4577aab939
commit 17c04e0697

View File

@ -44,6 +44,9 @@ type player struct {
team common.Team
battling bool
sortIdx int32
vipLv int32
vipExp int64
hasVipLucky int32
}
func (this *player) SendMsg(rspMsg proto.Message) {
@ -59,6 +62,9 @@ func (this *player) parseUserInfo(userInfo *common.UserInfo){
q5.DuckToSimple(userInfo.TotalLucky, &this.totalLucky)
q5.DuckToSimple(userInfo.AdmissionItemNum, &this.admissionItemNum)
q5.DuckToSimple(userInfo.CircuitScore, &this.circuitScore)
q5.DuckToSimple(userInfo.VipLv, &this.vipLv)
q5.DuckToSimple(userInfo.VipExp, &this.vipExp)
q5.DuckToSimple(userInfo.HasVipLucky, &this.hasVipLucky)
}
func (this *player) parseHeroInfo(heroInfo *common.HeroInfo){