public ItemsBarterEventArgs(ItemArray sale_items, UIntArray sale_items_count, ItemArray buy_items, UIntArray buy_items_count, Critter player, Critter npc) { this.SaleItems = sale_items; this.SaleItemsCount = sale_items_count; this.BuyItems = buy_items; this.BuyItemsCount = buy_items_count; this.Player = player; this.Npc = Npc; }
public void MoveItems(ItemArray items, Item to_cont, uint stack_id) { Global_MoveItemsCont(items.ThisPtr, to_cont.ThisPtr, stack_id); }
public void MoveItems(ItemArray items, Map to_map, ushort to_hx, ushort to_hy) { Global_MoveItemsMap(items.ThisPtr, to_map.ThisPtr, to_hx, to_hy); }
public uint GetAllItems(ushort pid, ItemArray items) { return(Global_GetAllItems(pid, (IntPtr)items)); }
public void MoveItems(ItemArray items, Critter to_cr) { Global_MoveItemsCr(items.ThisPtr, to_cr.ThisPtr); }
public void DeleteItems(ItemArray items) { Global_DeleteItems(items.ThisPtr); }
public virtual uint GetItems(uint special_id, ItemArray items) { return(Container_GetItems(thisptr, special_id, (IntPtr)items)); }
public virtual uint GetItemsByType(int type, ItemArray items) { return(Map_GetItemsByType(thisptr, type, items != null ? items.ThisPtr : IntPtr.Zero)); }
public virtual uint GetItems(ushort pid, ItemArray items) { return(Map_GetItemsByPid(thisptr, pid, items != null ? items.ThisPtr : IntPtr.Zero)); }
public virtual uint GetItems(ushort hx, ushort hy, uint radius, ushort pid, ItemArray items) { return(Map_GetItemsHexEx(thisptr, hx, hy, radius, pid, items != null ? items.ThisPtr : IntPtr.Zero)); }