Class ShinyContainer
Container for creating and modifying shiny items.
Inherited Members
Namespace: ItemChanger.Containers
Assembly: ItemChanger.dll
Syntax
public class ShinyContainer : Container
Constructors
View SourceShinyContainer()
Declaration
public ShinyContainer()
Properties
View SourceName
The unique name of the container.
Declaration
public override string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
View SourceSupportsCost
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
View SourceSupportsDrop
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
View SourceSupportsInstantiate
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
View SourceSupportsSceneChange
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
Methods
View SourceAddChangeSceneToFsm(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
View SourceAddCostToFsm(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
View SourceAddGiveEffectToFsm(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
View SourceGetNewContainer(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
Exceptions
| Type | Condition |
|---|---|
| NotImplementedException | The container does not support instantiation. |