You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

49 lines
1.1 KiB

using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Sog;
namespace World
{
public class PlayerTable : IServerDataObj
{
// uid
public Dictionary<long, PlayerInfoWorld> m_playerTable;
public List<PlayerInfoWorld> m_playerListForUpdate;
//辅助计算玩家真实人数
public List<long> m_playerUidList;
public PlayerTable()
{
m_playerTable = new Dictionary<long, PlayerInfoWorld>();
m_playerListForUpdate = new List<PlayerInfoWorld>();
m_playerUidList = new List<long>();
}
public override int GetDataType()
{
return WorldDataObjType.PlayerTable;
}
}
public class WaitInLinePlayerTableData : IServerDataObj
{
public LinkedList<WaitInLlineLoginPlayer> m_waitInLinePlayer;
public WaitInLinePlayerTableData()
{
m_waitInLinePlayer = new LinkedList<WaitInLlineLoginPlayer>();
}
public override int GetDataType()
{
return WorldDataObjType.WaitInLinePlayerTableData;
}
}
}