Namespace Jotunn.Utils
Classes
Util functions related to loading assets at runtime.
Original code from https://github.com/GoldenJude.
Event args class for configuration synchronization event
A util class for computing various hashes
Implementation of the mod compatibility features.
Utility class to query metadata about loaded mods and their added content
Model class holding metadata of Jötunn mods.
Mod compatibility attribute
PLEASE READ
Example usage:
If your mod adds its own RPCs, EnforceModOnClients is likely a must (otherwise clients would just discard the messages from the server), same version you do have to determine, if your sent data changed
If your mod adds items, you always should enforce mods on client and same version (there could be nasty side effects with different versions of an item)
If your mod is just GUI changes (for example bigger inventory, additional equip slots) there is no need to set this attribute
Priority attribute for PatchInitalizer.
Various Path constants used in Jötunn
Various utility methods aiding Reflection tasks.
Cache for Reflection tasks.
Various static utility methods for working with Shaders
Like a list but stores elements in the order specified by the weight.
Enums
Determines the level of compatibility of a mod which is enforced by Jötunn.
Servers disconnect clients with mods which enforce their compatibility when
the version does not match as defined by the VersionStrictness attribute.
Enum used for telling whether or not the same mod version should be used by both the server and the clients.
This enum is only useful with certain CompatibilityLevel values.