rendered paste bodyusing System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DASniffer.GameServer
{
class OtherPlayerLifeManaChange : BasePacket
{
public OtherPlayerLifeManaChange(byte[] RawData)
: base(RawData)
{
base.ReadByte();
this.uid = SwitchEndian(base.ReadUInt16());
base.ReadByte();
this.lifepercent = SwitchEndian(base.ReadUInt16());
}
//fields
ushort uid;
ushort lifepercent;
//properties
public int UID
{
get
{
return (int)uid;
}
}
public int LifePercent
{
get
{
return (int)lifepercent;
}
}
//methods
public override string ToString()
{
return "Other Player Life Change: UID=" + uid + " PERCENT=" + lifepercent;
}
}
}