Show / Hide Table of Contents

Class CustomShopLocation

A location which implements a custom shop on a given NPC.

Inheritance
object
TaggableObject
AbstractLocation
ShopLocation
CustomShopLocation
Inherited Members
ShopLocation.objectName
ShopLocation.fsmName
ShopLocation.defaultShopItems
ShopLocation.costDisplayerSelectionStrategy
ShopLocation.requiredPlayerDataBool
ShopLocation.dungDiscount
ShopLocation.EditShopControl(PlayMakerFSM)
ShopLocation.EditItemListControl(PlayMakerFSM)
ShopLocation.EditConfirmControl(PlayMakerFSM)
ShopLocation.HastenItemListControl(PlayMakerFSM)
ShopLocation.HastenConfirmControl(PlayMakerFSM)
ShopLocation.HastenUIList(PlayMakerFSM)
ShopLocation.HastenUIListGetInput(PlayMakerFSM)
ShopLocation.HastenUIListButtonListen(PlayMakerFSM)
ShopLocation.Wrap()
AbstractLocation.name
AbstractLocation.sceneName
AbstractLocation.flingType
AbstractLocation.Load()
AbstractLocation.Unload()
AbstractLocation.Clone()
AbstractLocation.UnsafeSceneName
AbstractLocation.Placement
TaggableObject.tags
TaggableObject.LoadTags()
TaggableObject.UnloadTags()
TaggableObject.AddTag<T>()
TaggableObject.AddTag(Tag)
TaggableObject.AddTags(IEnumerable<Tag>)
TaggableObject.GetTag<T>()
TaggableObject.GetTag<T>(out T)
TaggableObject.GetTags<T>()
TaggableObject.GetOrAddTag<T>()
TaggableObject.HasTag<T>()
TaggableObject.RemoveTags<T>()
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: ItemChanger.Locations
Assembly: ItemChanger.dll
Syntax
public class CustomShopLocation : ShopLocation
Remarks

Note that while defaultShopItems can be set, it will not have any effect on custom shops because they start empty by default.

Constructors

View Source

CustomShopLocation()

Declaration
public CustomShopLocation()

Fields

View Source

facingDirection

The direction for the shopkeeper to face. Defaults to Auto.

Declaration
public FacingDirection facingDirection
Field Value
Type Description
FacingDirection
View Source

figureheadSprite

The optional sprite to use as the figurehead at the top of the shop

Declaration
public ISprite? figureheadSprite
Field Value
Type Description
ISprite
View Source

outOfStockConvo

The optional conversation to have when the shop is out of stock

Declaration
public IString? outOfStockConvo
Field Value
Type Description
IString

Methods

View Source

OnLoad()

Called during Load(). Allows the location to initialize and set up any hooks.

Declaration
protected override void OnLoad()
Overrides
ShopLocation.OnLoad()
View Source

OnUnload()

Called during Unload(). Allows the location to dispose any hooks.

Declaration
protected override void OnUnload()
Overrides
ShopLocation.OnUnload()

Extension Methods

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