|
@@ -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>();
|
|
|
|