Browse Source

启动联网

zansimple 8 months ago
parent
commit
8a2270bfb6
1 changed files with 3 additions and 3 deletions
  1. 3 3
      SimulationServer/Init.cs

+ 3 - 3
SimulationServer/Init.cs

@@ -28,9 +28,9 @@ public static class Init
             //Game.Scene.AddComponent<MessageDispatcherComponent>();
             
             //TCP
-            // Game.Scene.AddComponent<OpcodeTypeComponent>();
-            // Game.Scene.AddComponent<MessageDispatcherComponent>();
-            // Game.Scene.AddComponent<ServerComponent, string>(File.ReadAllText("Config/ipconfig.txt"));
+             Game.Scene.AddComponent<OpcodeTypeComponent>();
+             Game.Scene.AddComponent<MessageDispatcherComponent>();
+             Game.Scene.AddComponent<ServerComponent, string>(File.ReadAllText("Config/ipconfig.txt"));
             
             Game.Scene.AddComponent<SessionComponent>();