C# Class FOnline.ItemManager

Inheritance: IItemManager
Afficher le fichier Open project: wladimiiir/vault112

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
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

Method Details

DeleteItem() public méthode

public DeleteItem ( Item item ) : void
item Item
Résultat void

DeleteItems() public méthode

public DeleteItems ( ItemArray items ) : void
items ItemArray
Résultat void

FromNative() public méthode

public FromNative ( IntPtr ptr ) : Item
ptr System.IntPtr
Résultat Item

GetAllItems() public méthode

public GetAllItems ( ushort pid, ItemArray items ) : uint
pid ushort
items ItemArray
Résultat uint

GetItem() public méthode

public GetItem ( uint item_id ) : Item
item_id uint
Résultat Item

GetProtoItem() public méthode

public GetProtoItem ( ushort pid ) : ProtoItem
pid ushort
Résultat ProtoItem

MoveItem() public méthode

public MoveItem ( Item item, uint count, Critter to_cr ) : void
item Item
count uint
to_cr Critter
Résultat void

MoveItem() public méthode

public MoveItem ( Item item, uint count, Item to_cont, uint stack_id ) : void
item Item
count uint
to_cont Item
stack_id uint
Résultat void

MoveItem() public méthode

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
Résultat void

MoveItems() public méthode

public MoveItems ( ItemArray items, Critter to_cr ) : void
items ItemArray
to_cr Critter
Résultat void

MoveItems() public méthode

public MoveItems ( ItemArray items, Item to_cont, uint stack_id ) : void
items ItemArray
to_cont Item
stack_id uint
Résultat void

MoveItems() public méthode

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
Résultat void

WorldItemCount() public méthode

public WorldItemCount ( ushort pid ) : ulong
pid ushort
Résultat ulong