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();
        }
Exemple #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();
        }
Exemple #3
0
 public void Init(ServerNetwork serverNetwork, ConnectUserManager userManager, LobbyManager lobbyManager)
 {
     ServerNetworkRef = serverNetwork;
     UserManagerRef = userManager;
     LobbyManagerRef = lobbyManager;
 }
Exemple #4
0
 public void Init(ServerNetwork serverNetwork, ConnectUserManager userManager, LobbyManager lobbyManager)
 {
     ServerNetworkRef = serverNetwork;
     UserManagerRef   = userManager;
     LobbyManagerRef  = lobbyManager;
 }