Show / Hide Table of Contents

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
object
Tag
SetPDBoolOnGiveTag
Inherited Members
Tag.Clone()
Tag.LoadOnce(TaggableObject)
Tag.UnloadOnce(TaggableObject)
Tag.Loaded
Tag.TagHandlingProperties
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: ItemChanger.Tags
Assembly: ItemChanger.dll
Syntax
[Obsolete("Use SetIBoolOnGiveTag instead.")]
public class SetPDBoolOnGiveTag : Tag

Constructors

View Source

SetPDBoolOnGiveTag()

Declaration
public SetPDBoolOnGiveTag()

Fields

View Source

fieldName

Declaration
public string fieldName
Field Value
Type Description
string
View Source

setValue

Declaration
public bool setValue
Field Value
Type Description
bool

Methods

View Source

Load(object)

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
Tag.Load(object)
Exceptions
Type Condition
InvalidOperationException

The tag is already loaded.

View Source

OnGive(ReadOnlyGiveEventArgs)

Declaration
public void OnGive(ReadOnlyGiveEventArgs args)
Parameters
Type Name Description
ReadOnlyGiveEventArgs args
View Source

Unload(object)

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
Tag.Unload(object)
Exceptions
Type Condition
InvalidOperationException

The tag is not loaded.

Extension Methods

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