Skip to content

Exposed APIs

Manifold Paradox edited this page Sep 17, 2024 · 1 revision

SK.Utils

/// <summary>
/// Used by HotSwap. <see cref="https://github.com/Zetrith/HotSwap"/> 
/// </summary>
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct)]
public class HotSwappableAttribute : Attribute
{
}

/// <summary>
/// Original author: @bananasss00<br/>
/// Target methods get called when loading/starting a new game by a postfix of Verse.Profile.MemoryUtility.ClearAllMapsAndWorld. Useful to clean up some data that you don't want to persist between game sessions.<br/>
/// </summary>
[AttributeUsage(AttributeTargets.Method)]
public class ClearDataOnNewGameAttribute : Attribute
{
}
Clone this wiki locally