public static void Setup()
 {
     if (SimulateNetworking)
     {
         ServerSimulator.Setup();
     }
     LSServer.Setup();
 }
Esempio n. 2
0
        public static void Setup(NetworkHelper networkHelper)
        {
            NetworkHelper = networkHelper;
            if (SimulateNetworking)
            {
                ServerSimulator.Setup();
            }

            NetworkHelper.OnFrameData += HandleFrameData;
            NetworkHelper.OnInitData  += HandleInitData;
            LSServer.Setup();
        }