public static byte[] SendSelectedSkill(SelectSkillInfo i) { Packet p = new Packet(20); p.WriteHexString("00"); p.WriteByte(i.Row); p.WriteInt(i.SkillID); p.WriteByte(i.Slot); return p.GetWrittenBuffer(PacketIds.SendSelectedSkill); }
public ClientSelectSkillEventArgs(SelectSkillInfo i) { info = i; }
public static SelectSkillInfo RecvSelectSkill(Packet p) { p.Skip(2); byte row = p.ReadByte(); int skillid = p.ReadInt(); byte slot = p.ReadByte(); SelectSkillInfo i = new SelectSkillInfo { Row = row, SkillID = skillid, Slot = slot }; return i; }