C# Class ItemShort, RPGQuest

Show file Open project: hughrogers/RPGQuest Class Usage Examples

Public Properties

Property Type Description
id int
isMoney bool
quantity int
type ItemDropType

Public Methods

Method Description
AddToInventory ( ) : void
Equals ( ItemShort, item ) : bool
GetData ( Hashtable ht ) : Hashtable
InInventory ( ) : bool
ItemShort ( ) : System.Collections
ItemShort ( Hashtable ht ) : System.Collections
RemoveFromInventory ( ) : void
SetData ( Hashtable ht ) : void

Method Details

AddToInventory() public method

public AddToInventory ( ) : void
return void

Equals() public method

public Equals ( ItemShort, item ) : bool
item ItemShort,
return bool

GetData() public method

public GetData ( Hashtable ht ) : Hashtable
ht Hashtable
return Hashtable

InInventory() public method

public InInventory ( ) : bool
return bool

ItemShort() public method

public ItemShort ( ) : System.Collections
return System.Collections

ItemShort() public method

public ItemShort ( Hashtable ht ) : System.Collections
ht Hashtable
return System.Collections

RemoveFromInventory() public method

public RemoveFromInventory ( ) : void
return void

SetData() public method

public SetData ( Hashtable ht ) : void
ht Hashtable
return void

Property Details

id public property

public int id
return int

isMoney public property

public bool isMoney
return bool

quantity public property

public int quantity
return int

type public property

public ItemDropType type
return ItemDropType