public void InitialStartup(ref int progress) { World.DimensionAdded += this.World_DimensionGenerated; progress++; ServerProcessor.Initialize(); progress++; }
public void InitialStartup(ref int progress) { World.WorldGenerated += this.MainWorld_WorldGenerated; progress++; ServerProcessor.Initialize(); progress++; }
static void Main(string[] args) { bool staticIP = false; while (true) { Console.WriteLine(version); Console.Write("Enter Server IP: "); string ip = "98.246.224.38"; if (!staticIP) { string temp = Console.ReadLine(); IPAddress tempAddr = null; if (IPAddress.TryParse(temp, out tempAddr)) { ip = temp; } } else { Console.ReadLine(); } Server server; serverManager.get(ip, out server); ServerProcessor processor = new ServerProcessor(server); processor.run(); processor.disconnect(); } }
private void ConnectionRecieved(IEnumerable <AsyncSocketClient> asyncSocketClient) { AsyncSocketClient client = asyncSocketClient.FirstOrDefault(); if (client != null) { ServerProcessor processor = new ServerProcessor(client, new DataBaseStorageProvider(), new DataBaseBillingProvider()); } }
public BaseSessionManager(string sessionId, SimplTypesScope translationScope, Scope<object> applicationObjectScope, ServerProcessor frontend) { FrontEnd = frontend; SessionId = sessionId; TranslationScope = translationScope; LocalScope = GenerateContextScope(applicationObjectScope); LocalScope.Add(SessionObjects.SessionId, sessionId); LocalScope.Add(SessionObjects.ClientManager, this); }
public BaseSessionManager(string sessionId, SimplTypesScope translationScope, Scope <object> applicationObjectScope, ServerProcessor frontend) { FrontEnd = frontend; SessionId = sessionId; TranslationScope = translationScope; LocalScope = GenerateContextScope(applicationObjectScope); LocalScope.Add(SessionObjects.SessionId, sessionId); LocalScope.Add(SessionObjects.ClientManager, this); }
public WebSocketClientSessionManager(string sessionId, SimplTypesScope translationScope, Scope <object> applicationObjectScope, ServerProcessor frontend) : base(sessionId, translationScope, applicationObjectScope, frontend) { }
public void InitialStartup() { World.DimensionAdded += this.World_DimensionGenerated; JobSystem.JobSystemManager.Manager = new JobSystem.JobSystemManager(true); ServerProcessor.Initialize(); }
public void InitialStartup() { World.DimensionAdded += this.World_DimensionGenerated; ServerProcessor.Initialize(); }
public WebSocketClientSessionManager(string sessionId, SimplTypesScope translationScope, Scope<object> applicationObjectScope, ServerProcessor frontend) : base(sessionId, translationScope , applicationObjectScope, frontend) { }