Show / Hide Table of Contents

Class SpellItem

Item which increments a spell level and sets the hasSpell bool.

Inheritance
object
TaggableObject
AbstractItem
SpellItem
Inherited Members
AbstractItem.name
AbstractItem.UIDef
AbstractItem.OnLoad()
AbstractItem.Load()
AbstractItem.OnUnload()
AbstractItem.Unload()
AbstractItem.GetPreferredContainer()
AbstractItem.GiveEarly(string)
AbstractItem.Give(AbstractPlacement, GiveInfo)
AbstractItem.GetPreviewName(AbstractPlacement)
AbstractItem.GetPreviewSprite(AbstractPlacement)
AbstractItem.GetResolvedUIDef(AbstractPlacement)
AbstractItem.ResolveItem(GiveEventArgs)
AbstractItem.RefreshObtained()
AbstractItem.SetObtained()
AbstractItem.IsObtained()
AbstractItem.WasEverObtained()
AbstractItem.Clone()
AbstractItem.BeforeGive
AbstractItem.BeforeGiveGlobal
AbstractItem.ModifyItem
AbstractItem.ModifyItemGlobal
AbstractItem.ModifyRedundantItem
AbstractItem.ModifyRedundantItemGlobal
AbstractItem.OnGive
AbstractItem.OnGiveGlobal
AbstractItem.AfterGive
AbstractItem.AfterGiveGlobal
TaggableObject.tags
TaggableObject.LoadTags()
TaggableObject.UnloadTags()
TaggableObject.AddTag<T>()
TaggableObject.AddTag(Tag)
TaggableObject.AddTags(IEnumerable<Tag>)
TaggableObject.GetTag<T>()
TaggableObject.GetTag<T>(out T)
TaggableObject.GetTags<T>()
TaggableObject.GetOrAddTag<T>()
TaggableObject.HasTag<T>()
TaggableObject.RemoveTags<T>()
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: ItemChanger.Items
Assembly: ItemChanger.dll
Syntax
public class SpellItem : AbstractItem

Constructors

View Source

SpellItem()

Declaration
public SpellItem()

Fields

View Source

fieldName

Declaration
public string fieldName
Field Value
Type Description
string
View Source

spellLevel

Declaration
public int spellLevel
Field Value
Type Description
int

Methods

View Source

GiveImmediate(GiveInfo)

Specifies the effect of giving a particular item.

Declaration
public override void GiveImmediate(GiveInfo info)
Parameters
Type Name Description
GiveInfo info
Overrides
AbstractItem.GiveImmediate(GiveInfo)
View Source

Redundant()

Method used to determine if a unique item should be replaced (i.e. duplicates, etc). No relation to ObtainState.

Declaration
public override bool Redundant()
Returns
Type Description
bool
Overrides
AbstractItem.Redundant()

Extension Methods

Extensions.Yield<T>(T)
  • View Source
In this article
Back to top Generated by DocFX