public static ReadSpellCastRequest ( Packet packet ) : void | ||
packet | Packet | |
return | void |
public static void HandleUseItem(Packet packet) { packet.ReadByte("PackSlot"); packet.ReadByte("Slot"); packet.ReadPackedGuid128("CastItem"); SpellHandler.ReadSpellCastRequest(packet, "Cast"); }
public static void HandleUseItem(Packet packet) { var useItem = packet.Holder.ClientUseItem = new(); useItem.PackSlot = packet.ReadByte("PackSlot"); useItem.ItemSlot = packet.ReadByte("Slot"); useItem.CastItem = packet.ReadPackedGuid128("CastItem"); useItem.SpellId = SpellHandler.ReadSpellCastRequest(packet, "Cast"); }
public static void HandleUseToy(Packet packet) { packet.ReadInt32 <ItemId>("ItemID"); SpellHandler.ReadSpellCastRequest(packet, "Cast"); }