-
-
Notifications
You must be signed in to change notification settings - Fork 414
Exposed APIs
Manifold Paradox edited this page Sep 17, 2024
·
1 revision
/// <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
{
}