GameItemObject.cs
v4.0
// Owner will be the owner of the GameItemObjectList this is in. If it is not in a
// List, then it will be the value of _owner. The Owner is the IHaveStats objects
// which is affected by the stat effects on these objects.
public IHaveStats Owner => ParentList == null ? _owner : ParentList.Owner;
public ItemObject Parent() // Get the ItemObject scriptable objcet
public string Uid() // Uid of the parent
public virtual string GameId(bool forceNew = false) // In game unique ID of this GameItemObject
public bool QuestItem // Returns true if the ItemObject this is based on is marked quest item.
public Dictionaries dictionaries // The dictionaries for this GameItemObject
public List<GameItemAttribute> Attributes // The GameItemAttributes attached to this.
public string FullName(bool recompute = false) // The full name of this, including all attributes
public string ObjectName() // The name of this
public string ObjectType() // The type this is
public GameItemAttributeList attributes // All the attributes on this GameItemObject
public ModificationLevel ModificationLevel // Returns the modification level for the object
public List<ModificationLevel> ModificationLevels // Modificaiton levels for this + all attributesConstructor
Methods
Is and Is Not
Has
Manage Attributes
Add Attribute
Remove Attribute
Remove Attribute And Requirements
Remove Attribute If Not Required
Check if an Attribute can be used
Get Effect On IHaveStats Target
IHaveStats TargetAdditional Methods
Last updated