Example #1
0
 protected override void PutExtraBytes(BitBuffer bitBuffer)
 {
     bitBuffer.PutByte((byte)_id);
     bitBuffer.PutByte((byte)_type);
     if (_type == AbilityType.AUTOATTACK)
     {
         _startPosition.PutBytes(bitBuffer);
     }
     _targetPosition.PutBytes(bitBuffer);
 }
Example #2
0
 protected override void PutExtraBytes(BitBuffer bitBuffer)
 {
     _positionInfo.PutBytes(bitBuffer);
 }
Example #3
0
 protected override void PutExtraBytes(BitBuffer bitBuffer)
 {
     bitBuffer.PutByte((byte)_type);
     _target.PutBytes(bitBuffer);
 }
Example #4
0
 public void PutBytes(BitBuffer bitBuffer)
 {
     bitBuffer.PutByte((byte)_id);
     bitBuffer.PutByte((byte)_health);
     _positionInfo.PutBytes(bitBuffer);
 }