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.
36 lines
748 B
36 lines
748 B
/*
|
|
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;
|
|
}
|
|
}
|
|
}
|
|
|