public NetworkPacketController(IoC ioc, INetworkPacketTypeRegistry packetRegistry, INetworkPacketSerializer packetSerializer)
 {
     this.ioc              = ioc;
     this.packetRegistry   = packetRegistry;
     this.packetSerializer = packetSerializer;
 }
示例#2
0
 public NetworkPacketSerializer(INetworkPacketTypeRegistry packetLookup, IBinarySerializer binarySerializer)
 {
     this.packetLookup     = packetLookup;
     this.binarySerializer = binarySerializer;
 }