1
This commit is contained in:
parent
4e2973a6c6
commit
4577aab939
@ -462,25 +462,9 @@ func (this *player) updateChoose(skillId int32, heroUniId string,
|
||||
return
|
||||
}
|
||||
{
|
||||
this.name = rspObj.Info.UserInfo.Name
|
||||
this.avatarUrl = rspObj.Info.UserInfo.HeadId
|
||||
this.headFrame = rspObj.Info.UserInfo.HeadFrame
|
||||
q5.DuckToSimple(rspObj.Info.UserInfo.AdmissionItemNum, &this.admissionItemNum)
|
||||
q5.DuckToSimple(rspObj.Info.UserInfo.CircuitScore, &this.circuitScore)
|
||||
q5.DuckToSimple(rspObj.Info.UserInfo.TotalLucky, &this.totalLucky)
|
||||
{
|
||||
this.hero.heroUniId = rspObj.Info.HeroInfo.HeroUniId
|
||||
this.hero.heroId = q5.ToInt32(rspObj.Info.HeroInfo.HeroId)
|
||||
this.hero.quality = q5.ToInt32(rspObj.Info.HeroInfo.Quality)
|
||||
this.hero.specSkill = q5.ToInt32(rspObj.Info.HeroInfo.SpecSkill)
|
||||
q5.DuckToSimple(rspObj.Info.HeroInfo.Wealth, &this.hero.wealth)
|
||||
q5.DuckToSimple(rspObj.Info.HeroInfo.ValidLefttime, &this.hero.validLeftTime)
|
||||
q5.DuckToSimple(rspObj.Info.HeroInfo.CurrentTimes, &this.hero.currentTimes)
|
||||
q5.DuckToSimple(rspObj.Info.HeroInfo.TotalTimes, &this.hero.totalTimes)
|
||||
q5.DuckToSimple(rspObj.Info.HeroInfo.SkinId, &this.hero.skinId)
|
||||
}
|
||||
this.parseUserInfo(&rspObj.Info.UserInfo)
|
||||
this.parseHeroInfo(&rspObj.Info.HeroInfo)
|
||||
cb(0, "")
|
||||
|
||||
}
|
||||
}
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user