Show / Hide Table of Contents

Class ShopLocation

Location for modifying any of the vanilla shops.

Inheritance
object
TaggableObject
AbstractLocation
ShopLocation
CustomShopLocation
Inherited Members
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 ShopLocation : AbstractLocation

Constructors

View Source

ShopLocation()

Declaration
public ShopLocation()

Fields

View Source

costDisplayerSelectionStrategy

The strategy used to determine how costs in this shop should be displayed. By default, all geo costs are summed and all additional costs are displayed in grey text (as charm requirements in vanilla Salubra are displayed). This strategy is applied uniformly to all items.

Declaration
public ICostDisplayerSelectionStrategy costDisplayerSelectionStrategy
Field Value
Type Description
ICostDisplayerSelectionStrategy
View Source

defaultShopItems

If more than one placement modifies the same shop, the intersection of all default shop items are kept.

Declaration
public DefaultShopItems defaultShopItems
Field Value
Type Description
DefaultShopItems
View Source

dungDiscount

Declaration
public bool dungDiscount
Field Value
Type Description
bool
View Source

fsmName

Declaration
public string fsmName
Field Value
Type Description
string
View Source

objectName

The npc's objectName, for spawning items.

Declaration
public string? objectName
Field Value
Type Description
string
View Source

requiredPlayerDataBool

If this field is set, the PlayerData requirement to appear in stock is applied to all items at this location in addition to any item-specific requirements.

Declaration
public string requiredPlayerDataBool
Field Value
Type Description
string

Methods

View Source

EditConfirmControl(PlayMakerFSM)

Change the effects of purchasing a shop item.

Declaration
protected void EditConfirmControl(PlayMakerFSM fsm)
Parameters
Type Name Description
PlayMakerFSM fsm
View Source

EditItemListControl(PlayMakerFSM)

Change how the shop stock is presented.

Declaration
protected void EditItemListControl(PlayMakerFSM fsm)
Parameters
Type Name Description
PlayMakerFSM fsm
View Source

EditShopControl(PlayMakerFSM)

Change how the shop stock is constructed.

Declaration
protected void EditShopControl(PlayMakerFSM fsm)
Parameters
Type Name Description
PlayMakerFSM fsm
View Source

HastenConfirmControl(PlayMakerFSM)

Declaration
protected void HastenConfirmControl(PlayMakerFSM fsm)
Parameters
Type Name Description
PlayMakerFSM fsm
View Source

HastenItemListControl(PlayMakerFSM)

Declaration
protected void HastenItemListControl(PlayMakerFSM fsm)
Parameters
Type Name Description
PlayMakerFSM fsm
View Source

HastenUIList(PlayMakerFSM)

Declaration
protected void HastenUIList(PlayMakerFSM fsm)
Parameters
Type Name Description
PlayMakerFSM fsm
View Source

HastenUIListButtonListen(PlayMakerFSM)

Declaration
protected void HastenUIListButtonListen(PlayMakerFSM fsm)
Parameters
Type Name Description
PlayMakerFSM fsm
View Source

HastenUIListGetInput(PlayMakerFSM)

Declaration
protected void HastenUIListGetInput(PlayMakerFSM fsm)
Parameters
Type Name Description
PlayMakerFSM fsm
View Source

OnLoad()

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

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

OnUnload()

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

Declaration
protected override void OnUnload()
Overrides
AbstractLocation.OnUnload()
View Source

Wrap()

Creates a default placement for this location.

Declaration
public override AbstractPlacement Wrap()
Returns
Type Description
AbstractPlacement
Overrides
AbstractLocation.Wrap()

Extension Methods

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