C# Class InvGameItem, Pharos

Show file Open project: rstaewen/Pharos Class Usage Examples

Public Properties

Property Type Description
combineSuccessful bool
itemLevel int
partsNeeded int
quality Quality,

Public Methods

Method Description
CalculateStats ( ) : List

Calculate and return the list of effective stats based on item level and quality.

InvGameItem ( int id ) : System.Collections.Generic

Create a game item with the specified ID.

InvGameItem ( int id, InvBaseItem, bi ) : System.Collections.Generic

Create a game item with the specified ID and base item.

Method Details

CalculateStats() public method

Calculate and return the list of effective stats based on item level and quality.
public CalculateStats ( ) : List
return List

InvGameItem() public method

Create a game item with the specified ID.
public InvGameItem ( int id ) : System.Collections.Generic
id int
return System.Collections.Generic

InvGameItem() public method

Create a game item with the specified ID and base item.
public InvGameItem ( int id, InvBaseItem, bi ) : System.Collections.Generic
id int
bi InvBaseItem,
return System.Collections.Generic

Property Details

combineSuccessful public property

public bool combineSuccessful
return bool

itemLevel public property

Item's effective level.
public int itemLevel
return int

partsNeeded public property

public int partsNeeded
return int

quality public property

Item quality -- applies a penalty or bonus to all base stats.
public Quality, quality
return Quality,