Click or drag to resize

HFrameworkPatches Class

Holder of various Harmony patches which provide some framework for HPlugins.
Inheritance Hierarchy
SystemObject
  com.tiberiumfusion.ttplugins.HarmonyPluginsHFrameworkPatches

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

The HFrameworkPatches type exposes the following members.

Methods
  NameDescription
Public methodStatic memberFW_InterceptTimeLoggerDrawException
Prefixed onto Terraria.TimeLogger.DrawException(). Writes the intercepted exception to Debug.
Public methodStatic memberFW_RemoveRuntimeExtractDirOnQuite
Prefixed onto Terraria.Main.QuitGame(). Sets up hidden cmd task to kill the runtime extract folder after a short delay (after which Terraria should be closed and the files no longer locked).
Public methodStatic memberFW_SaveAllPluginConfigs
Prefixed onto Terraria.Main.SaveSettings(). Writes all persistent plugin savedata back to disk.
Public methodStatic memberFW_ShowPluginReport
Postfixed onto Terraria.Chat.ChatCommandProcessor.CreateOutgoingMessage(). Shows the plugin report if the player types /ttplugins in chat.
Top
See Also