Click or drag to resize

HPluginConfiguration Class

Contains configuration data for an HPlugin, such as user preferences.
Inheritance Hierarchy
SystemObject
  com.tiberiumfusion.ttplugins.HarmonyPluginsHPluginConfiguration

Namespace:  com.tiberiumfusion.ttplugins.HarmonyPlugins
Assembly:  TTPlugins (in TTPlugins.dll) Version: 1.2.0.1 (1.2.0.1)
Syntax
public class HPluginConfiguration
Request Example View Source

The HPluginConfiguration type exposes the following members.

Constructors
  NameDescription
Public methodHPluginConfiguration
Creates a new HPluginConfiguration with a blank savedata element
Public methodHPluginConfiguration(XElement)
Creates a new HPluginConfiguration with the provided savedata element
Top
Properties
  NameDescription
Public propertySavedata
An XML element which may contain user preferences or other persistent plugin savedata. This object will automatically be saved to disk when Terraria closes. Make changes to this object to update your plugin's savedata. This will be an empty element with blank defaults if your plugin claims it does not need persistent savedata (HPlugin.HasPersistentData = false).
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also