Show / Hide Table of Contents

Class EggShopPlacement

Placement which implements a shop at Jiji.
Talking to Jiji gives the option to pay costs, and choosing to do so leads to Jiji spawning the corresponding items wrapped in individual containers.

Inheritance
object
TaggableObject
AbstractPlacement
EggShopPlacement
Implements
IMultiCostPlacement
IPrimaryLocationPlacement
Inherited Members
AbstractPlacement.GiveAll(GiveInfo, Action)
AbstractPlacement.OnObtainedItem(AbstractItem)
AbstractPlacement.OnPreview(string)
AbstractPlacement.GetUIName()
AbstractPlacement.GetUIName(int)
AbstractPlacement.AllObtained()
AbstractPlacement.AddVisitFlag(VisitState)
AbstractPlacement.CheckVisitedAny(VisitState)
AbstractPlacement.CheckVisitedAll(VisitState)
AbstractPlacement.Load()
AbstractPlacement.Unload()
AbstractPlacement.Add(AbstractItem)
AbstractPlacement.Add(IEnumerable<AbstractItem>)
AbstractPlacement.Add(params AbstractItem[])
AbstractPlacement.Name
AbstractPlacement.Items
AbstractPlacement.Visited
AbstractPlacement.MainContainerType
AbstractPlacement.OnVisitStateChangedGlobal
AbstractPlacement.OnVisitStateChanged
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.Placements
Assembly: ItemChanger.dll
Syntax
public class EggShopPlacement : AbstractPlacement, IMultiCostPlacement, IPrimaryLocationPlacement

Constructors

View Source

EggShopPlacement(string)

Declaration
public EggShopPlacement(string Name)
Parameters
Type Name Description
string Name

Fields

View Source

Location

Declaration
public PlaceableLocation Location
Field Value
Type Description
PlaceableLocation
View Source

containers

Declaration
public Dictionary<int, string> containers
Field Value
Type Description
Dictionary<int, string>

Properties

View Source

PurchasedAll

Declaration
public bool PurchasedAll { get; }
Property Value
Type Description
bool

Methods

View Source

CanPurchaseAny()

Declaration
public bool CanPurchaseAny()
Returns
Type Description
bool
View Source

GetPlacementAndLocationTags()

Declaration
public override IEnumerable<Tag> GetPlacementAndLocationTags()
Returns
Type Description
IEnumerable<Tag>
Overrides
AbstractPlacement.GetPlacementAndLocationTags()
View Source

OnLoad()

Called by Load(). Dispose hooks in OnUnload.

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

OnUnload()

Called by Unload().

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

PurchaseAndSpawnNewItems()

Declaration
public void PurchaseAndSpawnNewItems()
View Source

SpawnItem(int)

Declaration
public void SpawnItem(int i)
Parameters
Type Name Description
int i

Implements

IMultiCostPlacement
IPrimaryLocationPlacement

Extension Methods

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