Show / Hide Table of Contents

Class ShinyContainer

Container for creating and modifying shiny items.

Inheritance
object
Container
ShinyContainer
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)
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 ShinyContainer : Container

Constructors

View Source

ShinyContainer()

Declaration
public ShinyContainer()

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

SupportsCost

Returns true if the container has a natural way to present a cost. For example, Container.Shiny supports cost through the YN dialogue box.

Declaration
public override bool SupportsCost { get; }
Property Value
Type Description
bool
Overrides
Container.SupportsCost
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
View Source

SupportsSceneChange

Returns true if the container has a natural way to start a scene transition after giving items.

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

Methods

View Source

AddChangeSceneToFsm(PlayMakerFSM, ChangeSceneInfo)

Called during the container fsm hook to set up the container to change scene.

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

AddCostToFsm(PlayMakerFSM, CostInfo)

Called during the container fsm hook to set up the container to have a cost.

Declaration
public override void AddCostToFsm(PlayMakerFSM fsm, CostInfo info)
Parameters
Type Name Description
PlayMakerFSM fsm
CostInfo info
Overrides
Container.AddCostToFsm(PlayMakerFSM, CostInfo)
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