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