C# Класс FOnline.ItemManager

Наследование: IItemManager
Показать файл Открыть проект

Открытые методы

Метод Описание
DeleteItem ( Item item ) : void
DeleteItems ( ItemArray items ) : void
FromNative ( IntPtr ptr ) : Item
GetAllItems ( ushort pid, ItemArray items ) : uint
GetItem ( uint item_id ) : Item
GetProtoItem ( ushort pid ) : ProtoItem
MoveItem ( Item item, uint count, Critter to_cr ) : void
MoveItem ( Item item, uint count, Item to_cont, uint stack_id ) : void
MoveItem ( Item item, uint count, Map to_map, ushort to_hx, ushort to_hy ) : void
MoveItems ( ItemArray items, Critter to_cr ) : void
MoveItems ( ItemArray items, Item to_cont, uint stack_id ) : void
MoveItems ( ItemArray items, Map to_map, ushort to_hx, ushort to_hy ) : void
WorldItemCount ( ushort pid ) : ulong

Приватные методы

Метод Описание
Global_DeleteItem ( IntPtr item ) : void
Global_DeleteItems ( IntPtr items ) : void
Global_GetAllItems ( ushort pid, IntPtr array ) : uint
Global_GetItem ( uint item_id ) : IntPtr
Global_GetProtoItem ( ushort pid ) : IntPtr
Global_MoveItemCont ( IntPtr item, uint count, IntPtr to_cont, uint stack_id ) : void
Global_MoveItemCr ( IntPtr item, uint count, IntPtr to_cr ) : void
Global_MoveItemMap ( IntPtr item, uint count, IntPtr to_map, ushort to_hx, ushort to_hy ) : void
Global_MoveItemsCont ( IntPtr items, IntPtr to_cont, uint stack_id ) : void
Global_MoveItemsCr ( IntPtr items, IntPtr to_cr ) : void
Global_MoveItemsMap ( IntPtr items, IntPtr to_map, ushort to_hx, ushort to_hy ) : void
Global_WorldItemCount ( ushort pid ) : ulong
Item_FromNative ( IntPtr ptr ) : Item

Описание методов

DeleteItem() публичный Метод

public DeleteItem ( Item item ) : void
item Item
Результат void

DeleteItems() публичный Метод

public DeleteItems ( ItemArray items ) : void
items ItemArray
Результат void

FromNative() публичный Метод

public FromNative ( IntPtr ptr ) : Item
ptr System.IntPtr
Результат Item

GetAllItems() публичный Метод

public GetAllItems ( ushort pid, ItemArray items ) : uint
pid ushort
items ItemArray
Результат uint

GetItem() публичный Метод

public GetItem ( uint item_id ) : Item
item_id uint
Результат Item

GetProtoItem() публичный Метод

public GetProtoItem ( ushort pid ) : ProtoItem
pid ushort
Результат ProtoItem

MoveItem() публичный Метод

public MoveItem ( Item item, uint count, Critter to_cr ) : void
item Item
count uint
to_cr Critter
Результат void

MoveItem() публичный Метод

public MoveItem ( Item item, uint count, Item to_cont, uint stack_id ) : void
item Item
count uint
to_cont Item
stack_id uint
Результат void

MoveItem() публичный Метод

public MoveItem ( Item item, uint count, Map to_map, ushort to_hx, ushort to_hy ) : void
item Item
count uint
to_map Map
to_hx ushort
to_hy ushort
Результат void

MoveItems() публичный Метод

public MoveItems ( ItemArray items, Critter to_cr ) : void
items ItemArray
to_cr Critter
Результат void

MoveItems() публичный Метод

public MoveItems ( ItemArray items, Item to_cont, uint stack_id ) : void
items ItemArray
to_cont Item
stack_id uint
Результат void

MoveItems() публичный Метод

public MoveItems ( ItemArray items, Map to_map, ushort to_hx, ushort to_hy ) : void
items ItemArray
to_map Map
to_hx ushort
to_hy ushort
Результат void

WorldItemCount() публичный Метод

public WorldItemCount ( ushort pid ) : ulong
pid ushort
Результат ulong