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.
41 lines
940 B
41 lines
940 B
1 month ago
|
/*
|
||
|
Sog 游戏基础库
|
||
|
2016 by zouwei
|
||
|
*/
|
||
|
|
||
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.Linq;
|
||
|
using System.Threading.Tasks;
|
||
|
|
||
|
using Sog;
|
||
|
|
||
|
namespace Game
|
||
|
{
|
||
|
public class PlayerTable : IServerDataObj
|
||
|
{
|
||
|
public Dictionary<long, PlayerSession> m_sessionsTable;
|
||
|
|
||
|
//uid,player
|
||
|
public Dictionary<long, PlayerOnGame> m_uidTable;
|
||
|
|
||
|
public List<long> m_uidListForSave;
|
||
|
public int m_indexForSave;
|
||
|
|
||
|
//每日日志上报缓存
|
||
|
public List<long> m_dailyLogReportPlayers;
|
||
|
public PlayerTable()
|
||
|
{
|
||
|
m_sessionsTable = new Dictionary<long, PlayerSession>();
|
||
|
m_uidTable = new Dictionary<long, PlayerOnGame>();
|
||
|
m_uidListForSave = new List<long>();
|
||
|
m_dailyLogReportPlayers = new List<long>();
|
||
|
}
|
||
|
|
||
|
public override int GetDataType()
|
||
|
{
|
||
|
return GameDataObjType.PlayerTable;
|
||
|
}
|
||
|
}
|
||
|
}
|