锦标赛返回逻辑优化
This commit is contained in:
parent
aa337c2e63
commit
3a82f1cda8
@ -283,6 +283,7 @@ func (c *ChampshipMgr) GetPreRankMsg(Uid int) *proto.ResChampshipPreRank {
|
|||||||
Avatar: int32(Robot.Avatar),
|
Avatar: int32(Robot.Avatar),
|
||||||
Face: int32(Robot.Face),
|
Face: int32(Robot.Face),
|
||||||
Level: int32(Robot.Level),
|
Level: int32(Robot.Level),
|
||||||
|
Type: int32(v.Type),
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
SimplePlayer := G_GameLogicPtr.GetResSimplePlayerByUid(v.Uid)
|
SimplePlayer := G_GameLogicPtr.GetResSimplePlayerByUid(v.Uid)
|
||||||
@ -341,6 +342,7 @@ func (c *ChampshipMgr) GetRankMsg(Uid int) *proto.ResChampshipRank {
|
|||||||
Avatar: int32(Robot.Avatar),
|
Avatar: int32(Robot.Avatar),
|
||||||
Face: int32(Robot.Face),
|
Face: int32(Robot.Face),
|
||||||
Level: int32(Robot.Level),
|
Level: int32(Robot.Level),
|
||||||
|
Type: int32(v.Type),
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
SimplePlayer := G_GameLogicPtr.GetResSimplePlayerByUid(v.Uid)
|
SimplePlayer := G_GameLogicPtr.GetResSimplePlayerByUid(v.Uid)
|
||||||
@ -354,6 +356,7 @@ func (c *ChampshipMgr) GetRankMsg(Uid int) *proto.ResChampshipRank {
|
|||||||
Avatar: int32(SimplePlayer.Avatar),
|
Avatar: int32(SimplePlayer.Avatar),
|
||||||
Face: int32(SimplePlayer.Face),
|
Face: int32(SimplePlayer.Face),
|
||||||
Level: int32(SimplePlayer.Level),
|
Level: int32(SimplePlayer.Level),
|
||||||
|
Type: int32(v.Type),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user