namespace KYFramework.Network { [ObjectSystem] public class ClientComponentAwakeSystem : AwakeSystem { public override void Awake(ClientComponent self) { self.Awake(self.Protocol); self.MessagePacker = new ProtobufPacker(); self.MessageDispatcher = new OuterMessageDispatcher(); } } [ObjectSystem] public class ClientComponentAwake1System : AwakeSystem { public override void Awake(ClientComponent self, string address) { self.Awake(self.Protocol, address); self.MessagePacker = new ProtobufPacker(); self.MessageDispatcher = new OuterMessageDispatcher(); } } [ObjectSystem] public class lientComponentLoadSystem : LoadSystem { public override void Load(ClientComponent self) { self.MessagePacker = new ProtobufPacker(); self.MessageDispatcher = new OuterMessageDispatcher(); } } [ObjectSystem] public class ClientrComponentUpdateSystem : UpdateSystem { public override void Update(ClientComponent self) { self.Update(); } } }