예제 #1
0
        public void Create(ServerNetwork serverNetwork, int maxLobbyCount, int maxLobbyUserCount)
        {
            ServerNetworkRef = serverNetwork;

            var totalUserCount = maxLobbyCount * maxLobbyUserCount;

            UserManager = new ConnectUserManager();
            UserManager.Init(totalUserCount);

            LobbyMgr = new LobbyManager();
            LobbyMgr.CreateLobby(ServerNetworkRef, maxLobbyCount, maxLobbyUserCount);

            RegistPacketHandler();
        }
예제 #2
0
        public void Create(ServerNetwork serverNetwork, int maxLobbyCount, int maxLobbyUserCount)
        {
            ServerNetworkRef = serverNetwork;

            var totalUserCount = maxLobbyCount * maxLobbyUserCount;

            UserManager = new ConnectUserManager();
            UserManager.Init(totalUserCount);

            LobbyMgr = new LobbyManager();
            LobbyMgr.CreateLobby(ServerNetworkRef, maxLobbyCount, maxLobbyUserCount);


            RegistPacketHandler();
        }
예제 #3
0
 public void Init(ServerNetwork serverNetwork, ConnectUserManager userManager, LobbyManager lobbyManager)
 {
     ServerNetworkRef = serverNetwork;
     UserManagerRef = userManager;
     LobbyManagerRef = lobbyManager;
 }
예제 #4
0
 public void Init(ServerNetwork serverNetwork, ConnectUserManager userManager, LobbyManager lobbyManager)
 {
     ServerNetworkRef = serverNetwork;
     UserManagerRef   = userManager;
     LobbyManagerRef  = lobbyManager;
 }