Class DivineLocation
Location which replaces the shinies inside Divine's room. Each of the 3 shinies requires its own location with this implementation.
Inheritance
DivineLocation
Implements
Inherited Members
Namespace: ItemChanger.Locations.SpecialLocations
Assembly: ItemChanger.dll
Syntax
public class DivineLocation : ExistingFsmContainerLocation, ILocalHintLocation
Constructors
View SourceDivineLocation()
Declaration
public DivineLocation()
Fields
View SourcerequiredCharmID
Declaration
public int requiredCharmID
Field Value
| Type | Description |
|---|---|
| int |
shopSlot
Declaration
public DivineLocation.DivineShopSlot shopSlot
Field Value
| Type | Description |
|---|---|
| DivineLocation.DivineShopSlot |
Properties
View SourceHandlesCostBeforeContainer
Returns true if the placement does not need to choose a container that supports costs because the location will manage the cost separately.
Declaration
public override bool HandlesCostBeforeContainer { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Overrides
Methods
View SourceOnLoad()
Called during Load(). Allows the location to initialize and set up any hooks.
Declaration
protected override void OnLoad()
Overrides
View SourceOnReplace(GameObject, Container)
Declaration
protected override void OnReplace(GameObject obj, Container c)
Parameters
| Type | Name | Description |
|---|---|---|
| GameObject | obj | |
| Container | c |
Overrides
View SourceOnUnload()
Called during Unload(). Allows the location to dispose any hooks.
Declaration
protected override void OnUnload()