好友信息增加猫咪生理值
This commit is contained in:
parent
9839a1ee11
commit
2922a9a149
@ -497,19 +497,20 @@ func (ad *GameLogic) GetResFriendPlayerByUid(Id int) *msg.ResFriendPlayerSimple
|
||||
}
|
||||
}
|
||||
return &msg.ResFriendPlayerSimple{
|
||||
Uid: int64(player.Uid),
|
||||
Name: player.Name,
|
||||
Level: int32(player.Level),
|
||||
Avatar: int32(player.Avatar),
|
||||
Face: int32(player.Face),
|
||||
Decorate: int32(player.Decorate),
|
||||
Login: int32(player.Login),
|
||||
Loginout: int32(player.Loginout),
|
||||
Emoji: GoUtil.MapIntToInt32(player.Emoji),
|
||||
Facebook: player.FaceBook,
|
||||
Playroom: GoUtil.MapIntToInt32(player.Playroom),
|
||||
DressSet: GoUtil.MapIntToInt32(player.DressSet),
|
||||
Friend: GoUtil.IntToInt32(player.Friend),
|
||||
Uid: int64(player.Uid),
|
||||
Name: player.Name,
|
||||
Level: int32(player.Level),
|
||||
Avatar: int32(player.Avatar),
|
||||
Face: int32(player.Face),
|
||||
Decorate: int32(player.Decorate),
|
||||
Login: int32(player.Login),
|
||||
Loginout: int32(player.Loginout),
|
||||
Emoji: GoUtil.MapIntToInt32(player.Emoji),
|
||||
Facebook: player.FaceBook,
|
||||
Playroom: GoUtil.MapIntToInt32(player.Playroom),
|
||||
DressSet: GoUtil.MapIntToInt32(player.DressSet),
|
||||
Friend: GoUtil.IntToInt32(player.Friend),
|
||||
Physiology: GoUtil.MapIntToInt32(player.Physiology),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -969,6 +969,7 @@ func (p *Player) UpdateUserInfo() {
|
||||
simple.DressSet = p.PlayMod.getPlayroomMod().DressSet
|
||||
simple.CardInfo = CardMod.GetCardList()
|
||||
simple.ActLog = p.PlayMod.getFriendMod().GetActLogLast()
|
||||
simple.Physiology = p.PlayMod.getPlayroomMod().GetPhysiologyList()
|
||||
value, _ := json.Marshal(simple)
|
||||
IdStr := strconv.Itoa(int(p.M_DwUin))
|
||||
db.RedisSetKey(IdStr, string(value), 0)
|
||||
|
||||
@ -30,6 +30,7 @@ type PlayerSimpleData struct {
|
||||
DressSet map[int]int
|
||||
CardInfo []int
|
||||
ActLog *friend.ActLogInfo
|
||||
Physiology map[int]int
|
||||
}
|
||||
|
||||
type VarGoldCard struct {
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user