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