优化离线时间
This commit is contained in:
parent
c04d31d778
commit
8d6834ac1f
@ -726,6 +726,7 @@ func (p *Player) GetSimpleData(Uid int, simple *PlayerSimpleData) error {
|
||||
func (p *Player) UpdateUserInfo() {
|
||||
simple := &PlayerSimpleData{}
|
||||
Base := p.GetPlayerBaseMod()
|
||||
BaseMod := p.PlayMod.getBaseMod()
|
||||
simple.Name = p.PlayMod.getBaseMod().NickName
|
||||
simple.Avatar = p.PlayMod.getAvatarMod().SetId
|
||||
simple.Uid = int(p.M_DwUin)
|
||||
@ -733,8 +734,8 @@ func (p *Player) UpdateUserInfo() {
|
||||
simple.Face = p.PlayMod.getFaceMod().SetId
|
||||
simple.Level = p.GetPlayerBaseMod().GetLevel()
|
||||
simple.Decorate = p.PlayMod.getDecorateMod().DecorateNum
|
||||
simple.Login = int64(Base.Data.LoginTime)
|
||||
simple.Loginout = int64(Base.Data.LogoutTime)
|
||||
simple.Login = int64(BaseMod.LoginTime)
|
||||
simple.Loginout = int64(BaseMod.LogoutTime)
|
||||
simple.FaceBook = Base.Data.FaceBookId
|
||||
simple.FaceBookPic = p.PlayMod.getBaseMod().FacebookUrl
|
||||
simple.Playroom = p.PlayMod.getPlayroomMod().Room
|
||||
|
||||
Loading…
Reference in New Issue
Block a user