public static bool StaticInit(uint16_t inPort, byte worldCount, float ConnectionTimeout)
        {
            NetworkManagerServer.sInstance = new NetworkManagerServer();

            sInstance.Init(inPort, worldCount, ConnectionTimeout);

            return(true);
        }
Exemplo n.º 2
0
 bool InitNetworkManager(uint16_t port)
 {
     return(NetworkManagerServer.StaticInit(port));
 }
Exemplo n.º 3
0
 bool InitNetworkManager(uint16_t port, byte worldCount)
 {
     return(NetworkManagerServer.StaticInit(port, worldCount, ServerConfiguration.Instance.ConnectionTimeout));
 }
Exemplo n.º 4
0
 public static bool StaticInit(uint16_t inPort)
 {
     sInstance = new NetworkManagerServer();
     return(sInstance.Init(inPort));
 }