Show / Hide Table of Contents

Class TabletContainer

Container for creating and modifying lore tablets.

Inheritance
object
Container
TabletContainer
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.OnEnable(PlayMakerFSM)
Container.AddChangeSceneToFsm(PlayMakerFSM, ChangeSceneInfo)
Container.AddCostToFsm(PlayMakerFSM, CostInfo)
Container.SupportsCost
Container.SupportsSceneChange
Container.SupportsDrop
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 TabletContainer : Container

Constructors

View Source

TabletContainer()

Declaration
public TabletContainer()

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

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

ApplyTargetContext(GameObject, float, float, float)

Puts the container in the specified position, up to the elevation correction in y.

Declaration
public override void ApplyTargetContext(GameObject obj, float x, float y, float elevation)
Parameters
Type Name Description
GameObject obj
float x
float y
float elevation
Overrides
Container.ApplyTargetContext(GameObject, float, float, float)
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