public void readCommand(byte[] bytes) { var param1 = new ByteParser(bytes); param1.readShort(); rocketType = new AmmunitionTypeModule(param1.readShort()); }
public void readCommand(IByteBuffer bytes) { var p = new ByteParser(bytes); p.readShort(); rocketType = new AmmunitionTypeModule(p.readShort()); }
public void readCommand(IByteBuffer bytes) { var parser = new ByteParser(bytes); parser.readShort(); batteryType = new AmmunitionTypeModule(parser.readShort()); }