forked from powerfun/udpservice
将虚拟人物ID变为负数,解决ID冲突问题
This commit is contained in:
parent
927e3f7a88
commit
98781ecd58
@ -13,7 +13,6 @@ namespace OnlineUserPool.Hander
|
||||
public class MapRecordRankingHander
|
||||
{
|
||||
private static List<MapRecordRanking> mapRecordRankings;
|
||||
private static VirtualUserList virtualUserList;
|
||||
private static bool loading = false;//防止服务端响应慢,多次加载
|
||||
private int top = int.Parse(ConfigHelp.Top);
|
||||
|
||||
@ -48,7 +47,7 @@ namespace OnlineUserPool.Hander
|
||||
{
|
||||
exit = item.End,
|
||||
IsCompleted = item.End,
|
||||
MemberId = item.UserId,
|
||||
MemberId = -item.UserId,//虚拟的人Id变为负数
|
||||
Point = new double[] { targetData._Lat, targetData._Lon },
|
||||
Prop = string.Join(',', prop),
|
||||
RouteId = item.RouteId,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user