forked from sin365/AxibugEmuOnline
Server合并画面同步到RoomMgr
This commit is contained in:
parent
caaac4a202
commit
299d825f4a
@ -14,7 +14,6 @@ namespace AxibugEmuOnline.Server
|
|||||||
public static ChatManager g_Chat;
|
public static ChatManager g_Chat;
|
||||||
public static IOCPNetWork g_SocketMgr;
|
public static IOCPNetWork g_SocketMgr;
|
||||||
public static RoomManager g_Room;
|
public static RoomManager g_Room;
|
||||||
public static GameManager g_Game;
|
|
||||||
|
|
||||||
public static void InitServer(int port)
|
public static void InitServer(int port)
|
||||||
{
|
{
|
||||||
@ -27,7 +26,6 @@ namespace AxibugEmuOnline.Server
|
|||||||
//g_SocketMgr = new IOCPNetWork(1024, 1024);
|
//g_SocketMgr = new IOCPNetWork(1024, 1024);
|
||||||
g_SocketMgr = new IOCPNetWork(1024, 4096);
|
g_SocketMgr = new IOCPNetWork(1024, 4096);
|
||||||
g_Room = new RoomManager();
|
g_Room = new RoomManager();
|
||||||
g_Game = new GameManager();
|
|
||||||
|
|
||||||
g_SocketMgr.Init();
|
g_SocketMgr.Init();
|
||||||
g_SocketMgr.Start(new IPEndPoint(IPAddress.Any.Address, port));
|
g_SocketMgr.Start(new IPEndPoint(IPAddress.Any.Address, port));
|
||||||
|
@ -1,18 +0,0 @@
|
|||||||
using AxibugEmuOnline.Server.Common;
|
|
||||||
using AxibugEmuOnline.Server.Manager;
|
|
||||||
using AxibugEmuOnline.Server.NetWork;
|
|
||||||
using AxibugProtobuf;
|
|
||||||
using System.Net.Sockets;
|
|
||||||
|
|
||||||
namespace AxibugEmuOnline.Server
|
|
||||||
{
|
|
||||||
|
|
||||||
public class GameManager
|
|
||||||
{
|
|
||||||
public GameManager()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user