public static bool Send(Objects.Client client, Objects.Location fromPosition, ushort spriteId, byte fromStack, byte index) { ItemUsePacket p = new ItemUsePacket(client); p.FromLocation = fromPosition; p.SpriteId = spriteId; p.FromStackPosition = fromStack; p.Index = index; return p.Send(); }
public static bool Send(Objects.Client client, Objects.Location fromPosition, ushort spriteId, byte fromStack, byte index) { ItemUsePacket p = new ItemUsePacket(client); p.FromLocation = fromPosition; p.SpriteId = spriteId; p.FromStackPosition = fromStack; p.Index = index; return(p.Send()); }