public override bool AggregateInto(Packet pendingPacket) { ClientModuleSetUseCompressionPacket packet = pendingPacket as ClientModuleSetUseCompressionPacket; if (packet != null) { packet.useCompression = this.useCompression; return(true); } return(false); }
private void SetUseCompression(Client client, Packet _packet) { ClientModuleSetUseCompressionPacket packet = _packet as ClientModuleSetUseCompressionPacket; this.useCompression = packet.useCompression; }