protected override void PutExtraBytes(BitBuffer bitBuffer) { bitBuffer.PutByte((byte)_id); bitBuffer.PutByte((byte)_type); if (_type == AbilityType.AUTOATTACK) { _startPosition.PutBytes(bitBuffer); } _targetPosition.PutBytes(bitBuffer); }
protected override void PutExtraBytes(BitBuffer bitBuffer) { _positionInfo.PutBytes(bitBuffer); }
protected override void PutExtraBytes(BitBuffer bitBuffer) { bitBuffer.PutByte((byte)_type); _target.PutBytes(bitBuffer); }
public void PutBytes(BitBuffer bitBuffer) { bitBuffer.PutByte((byte)_id); bitBuffer.PutByte((byte)_health); _positionInfo.PutBytes(bitBuffer); }