C# Class InvBaseItem, Pharos

Exibir arquivo 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_oe property

protected GameObject _combos
return GameObject

attachment public_oe 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_oe property

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

combinableNetwork public_oe property

public List combinableNetwork
return List

description public_oe property

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

finalItem public_oe property

public int finalItem
return int

iconAtlas public_oe property

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

iconName public_oe property

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

id16 public_oe 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_oe property

public int maxItemLevel
return int

minItemLevel public_oe 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_oe property

Name of this item.
public string name
return string

networkScript protected_oe property

protected CombineNetwork, networkScript
return CombineNetwork,

slot public_oe property

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

stats public_oe 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