C# Class ArkaliaCore.Game.Game.Items.ItemStack

Datei anzeigen Open project: Emudofus/ArkaliaCore Class Usage Examples

Public Methods

Method Description
Delete ( int quantity ) : bool

Delete a specified quantity from the stack

Extract ( int quantity ) : ItemStack
Get ( int quantity ) : ItemStack
GetStackPods ( ) : int
IsSame ( int templateID, string effects ) : bool
ItemStack ( Database witem ) : System
Save ( ) : void
ToString ( ) : string

Method Details

Delete() public method

Delete a specified quantity from the stack
public Delete ( int quantity ) : bool
quantity int Quantity to delete
return bool

Extract() public method

public Extract ( int quantity ) : ItemStack
quantity int
return ItemStack

Get() public method

public Get ( int quantity ) : ItemStack
quantity int
return ItemStack

GetStackPods() public method

public GetStackPods ( ) : int
return int

IsSame() public method

public IsSame ( int templateID, string effects ) : bool
templateID int
effects string
return bool

ItemStack() public method

public ItemStack ( Database witem ) : System
witem Database
return System

Save() public method

public Save ( ) : void
return void

ToString() public method

public ToString ( ) : string
return string