Class SetPDBoolOnGiveTag
Tag which adds setting a PlayerData bool as a side effect to an item.
Be warned that this effect is tied to the tag's parent, regardless of how it is modified during Give.
Inheritance
SetPDBoolOnGiveTag
Assembly: ItemChanger.dll
[Obsolete("Use SetIBoolOnGiveTag instead.")]
public class SetPDBoolOnGiveTag : Tag
Constructors
View Source
Declaration
public SetPDBoolOnGiveTag()
Fields
View Source
Declaration
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
Declaration
public void OnGive(ReadOnlyGiveEventArgs args)
Parameters
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