public static void Initialize() { LSServer.Initialize(); GameStarted = false; if (SimulateNetworking) { ServerSimulator.Initialize(); } else { } Registered = false; }
public static void Initialize(NetworkHelper networkHelper) { NetworkHelper = networkHelper; NetworkHelper.OnFrameData += HandleFrameData; NetworkHelper.OnInitData += HandleInitData; LSServer.Initialize(); GameStarted = false; if (SimulateNetworking) { ServerSimulator.Initialize(); } else { } Registered = false; }