Show / Hide Table of Contents

Class MimicContainer

Container for creating and modifying mimics.

Inheritance
object
Container
MimicContainer
Inherited Members
Container.Unknown
Container.Shiny
Container.GrubJar
Container.GeoRock
Container.Chest
Container.Tablet
Container.Shop
Container.Enemy
Container.Mimic
Container.Totem
Container.Bluggsac
Container.GetContainer(string)
Container.DefineContainer(Container)
Container.DefineContainer<T>()
Container.SupportsAll(string, bool, bool, bool)
Container.ApplyTargetContext(GameObject, GameObject, float)
Container.ApplyTargetContext(GameObject, float, float, float)
Container.OnEnable(PlayMakerFSM)
Container.AddChangeSceneToFsm(PlayMakerFSM, ChangeSceneInfo)
Container.AddCostToFsm(PlayMakerFSM, CostInfo)
Container.SupportsCost
Container.SupportsSceneChange
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: ItemChanger.Containers
Assembly: ItemChanger.dll
Syntax
public class MimicContainer : Container

Constructors

View Source

MimicContainer()

Declaration
public MimicContainer()

Properties

View Source

Name

The unique name of the container.

Declaration
public override string Name { get; }
Property Value
Type Description
string
Overrides
Container.Name
View Source

SupportsDrop

Returns true if the container has a natural way to be dropped from midair.

Declaration
public override bool SupportsDrop { get; }
Property Value
Type Description
bool
Overrides
Container.SupportsDrop
View Source

SupportsInstantiate

Returns true if the container can be instantiated. For some containers, this value is variable in which objects were preloaded.

Declaration
public override bool SupportsInstantiate { get; }
Property Value
Type Description
bool
Overrides
Container.SupportsInstantiate

Methods

View Source

AddGiveEffectToFsm(PlayMakerFSM, ContainerGiveInfo)

Called during the container fsm hook to set up the container to give items.

Declaration
public override void AddGiveEffectToFsm(PlayMakerFSM fsm, ContainerGiveInfo info)
Parameters
Type Name Description
PlayMakerFSM fsm
ContainerGiveInfo info
Overrides
Container.AddGiveEffectToFsm(PlayMakerFSM, ContainerGiveInfo)
View Source

GetNewContainer(ContainerInfo)

Produces a new object of this container type.

Declaration
public override GameObject GetNewContainer(ContainerInfo info)
Parameters
Type Name Description
ContainerInfo info
Returns
Type Description
GameObject
Overrides
Container.GetNewContainer(ContainerInfo)
Exceptions
Type Condition
NotImplementedException

The container does not support instantiation.

Extension Methods

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