/* Sog 游戏基础库 2016 by zouwei */ using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Sog; using ProtoCSStruct; namespace HttpProxyWorld { public class HttpProxyWorldServerData : IServerDataObj { public ServerApp m_app; public StructPacketSender m_packetSender; public HttpProxyWorldServerData(ServerApp app) { m_app = app; m_packetSender = new StructPacketSender(); //需要线程安全 m_packetSender.Init(app.ServerID, app.GetCluster()); } public override int GetDataType() { return HttpProxyWorldDataObjType.HttpProxyWorldServerData; } } }