Class SetIBoolOnGiveTag
Tag which sets an IWriteableBool when its parent item is given.
If attached to a location or placement, sets the bool when VisitState.ObtainedAnyItem is first set on the placement.
Inheritance
SetIBoolOnGiveTag
Assembly: ItemChanger.dll
public class SetIBoolOnGiveTag : Tag
Constructors
View Source
Declaration
public SetIBoolOnGiveTag()
Fields
View Source
Declaration
public IWritableBool Bool
Field Value
View Source
Declaration
Field Value
Methods
View Source
Virtual method called on tags when their parent loads. The base method checks and throws an exception if the tag is already loaded.
This should not be called directly. Instead, use "LoadOnce" to load and set the Loaded property.
Declaration
public override void Load(object parent)
Parameters
| Type |
Name |
Description |
| object |
parent |
|
Overrides
Exceptions
View Source
Virtual method called on tags when their parent unloads. The base method checks and throws an exception if the tag is not loaded.
This should not be called directly. Instead, use "UnloadOnce" to unload and set the Loaded property.
Declaration
public override void Unload(object parent)
Parameters
| Type |
Name |
Description |
| object |
parent |
|
Overrides
Exceptions
Extension Methods