C# Class InvBaseItem, Pharos

Show file Open project: rstaewen/Pharos Class Usage Examples

Public Properties

Property Type Description
attachment GameObject
color Color
combinableNetwork List
description string
finalItem int
iconAtlas UIAtlas,
iconName string
id16 int
maxItemLevel int
minItemLevel int
name string
slot Slot,
stats List

Protected Properties

Property Type Description
_combos GameObject
networkScript CombineNetwork,

Property Details

_combos protected property

protected GameObject _combos
return GameObject

attachment public property

Game Object that will be created and attached to the specified slot on the body. This should typically be a prefab with a renderer component, such as a sword, a bracer, shield, etc.
public GameObject attachment
return GameObject

color public property

Object's main material color.
public Color color
return Color

combinableNetwork public property

public List combinableNetwork
return List

description public property

This item's custom description.
public string description
return string

finalItem public property

public int finalItem
return int

iconAtlas public property

Atlas used for the item's icon.
public UIAtlas, iconAtlas
return UIAtlas,

iconName public property

Name of the icon's sprite within the atlas.
public string iconName
return string

id16 public property

16-bit item ID, generated by the system. Not to be confused with a 32-bit item ID, which actually contains the ID of the database as its prefix.
public int id16
return int

maxItemLevel public property

public int maxItemLevel
return int

minItemLevel public property

Minimum and maximum allowed level for this item. When random loot gets generated, only items within appropriate level should be considered.
public int minItemLevel
return int

name public property

Name of this item.
public string name
return string

networkScript protected property

protected CombineNetwork, networkScript
return CombineNetwork,

slot public property

Slot that this item belongs to.
public Slot, slot
return Slot,

stats public property

And and all base stats this item may have at a maximum level (50). Actual object's stats are calculated based on item's level and quality.
public List stats
return List