整理场景协议组

This commit is contained in:
flswld
2023-04-02 19:32:31 +08:00
parent 29737319a3
commit d1e0d7bf5b
18 changed files with 391 additions and 365 deletions

View File

@@ -350,12 +350,8 @@ func (g *Game) AvatarChangeCostumeReq(player *model.Player, payloadMsg pb.Messag
}
func (g *Game) PacketAvatarInfo(avatar *model.Avatar) *proto.AvatarInfo {
isFocus := false
if avatar.AvatarId == 10000005 || avatar.AvatarId == 10000007 {
isFocus = true
}
pbAvatar := &proto.AvatarInfo{
IsFocus: isFocus,
IsFocus: false,
AvatarId: avatar.AvatarId,
Guid: avatar.Guid,
PropMap: map[uint32]*proto.PropValue{