Class MimicContainer
Container for creating and modifying mimics.
Inherited Members
Namespace: ItemChanger.Containers
Assembly: ItemChanger.dll
Syntax
public class MimicContainer : Container
Constructors
View SourceMimicContainer()
Declaration
public MimicContainer()
Properties
View SourceName
The unique name of the container.
Declaration
public override string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
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
Methods
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. |