| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
-
- namespace ET
- {
- [ObjectSystem]
- public class NetOuterComponentAwakeSystem : AwakeSystem<NetOuterComponent>
- {
- public override void Awake(NetOuterComponent self)
- {
- self.Awake(self.Protocol);
- self.MessagePacker = new ProtobufPacker();
- self.MessageDispatcher = new OuterMessageDispatcher();
- }
- }
- [ObjectSystem]
- public class NetOuterComponentAwake1System : AwakeSystem<NetOuterComponent, string>
- {
- public override void Awake(NetOuterComponent self, string address)
- {
- self.Awake(self.Protocol, address);
- self.MessagePacker = new ProtobufPacker();
- self.MessageDispatcher = new OuterMessageDispatcher();
- }
- }
-
- [ObjectSystem]
- public class NetOuterComponentLoadSystem : LoadSystem<NetOuterComponent>
- {
- public override void Load(NetOuterComponent self)
- {
- self.MessagePacker = new ProtobufPacker();
- self.MessageDispatcher = new OuterMessageDispatcher();
- }
- }
-
- [ObjectSystem]
- public class NetOuterComponentUpdateSystem : UpdateSystem<NetOuterComponent>
- {
- public override void Update(NetOuterComponent self)
- {
- self.Update();
- }
- }
- }
|