Show / Hide Table of Contents

Class MimicItem

Item which plays the MimicScream clip if the placement did not use a mimic container.

Inheritance
object
TaggableObject
AbstractItem
MimicItem
Inherited Members
AbstractItem.name
AbstractItem.UIDef
AbstractItem.OnLoad()
AbstractItem.Load()
AbstractItem.OnUnload()
AbstractItem.Unload()
AbstractItem.Redundant()
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 MimicItem : AbstractItem

Constructors

View Source

MimicItem()

Declaration
public MimicItem()

Fields

View Source

hp

Specifies the hp of a mimic container associated with the item.

Declaration
public int? hp
Field Value
Type Description
int?

Methods

View Source

GetPreferredContainer()

Used by some placements to decide what container to use for the item. A value of "Unknown" is ignored, and usually leads to a shiny item by default.

Declaration
public override string GetPreferredContainer()
Returns
Type Description
string
Overrides
AbstractItem.GetPreferredContainer()
View Source

GiveEarly(string)

Indicates that the item can be given early in a special way from the given container.
For example, SpawnGeoItem can be given early from Container.Chest by flinging geo directly from the chest.

Declaration
public override bool GiveEarly(string containerType)
Parameters
Type Name Description
string containerType
Returns
Type Description
bool
Overrides
AbstractItem.GiveEarly(string)
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)

Extension Methods

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