public void StartServer() { if (isServer) { return; } isServer = true; serverObject.Start(serverPort, maxServerConnections, sessionName, connectionTimeout); networkOwnerId = ServerOwnerID; SpawnSceneObjects(); OnStartServer(); }
public void StartLoginServer() { server.Start(LoginServerPort, maxClients, LoginSession, 5000); isRunning = true; OnLoginServerStarted(); }