Namespace Jotunn.Utils
Classes
Util functions related to loading assets at runtime.
Helper methods to access BepInEx plugin information
Original code from https://github.com/GoldenJude.
Utility class for the BepInEx ConfigurationManager plugin, without requiring a hard dependency
Event args class for configuration synchronization event
Helper class for identifying the theme of custom rooms.
Constants of hardcoded strings used in-game
Utility class for getting game versions
A util class for computing various hashes
Implementation of the mod compatibility features.
Utility class to query metadata about added content of any loaded mod, including non-Jötunn ones.
It is disabled by default, as it unnecessary increases the loading time when not used.
Enable() has to be called anytime before FejdStartup.Awake, meaning in your plugin's Awake or Start.
Utility class to query metadata about loaded Jötunn 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
Event args class for syncing configuration event
Heightmap and Paint data collection
"Create" action for the UndoManager. Can undo and redo ZDO creation.
"Remove" action for the UndoManager. Can undo and redo ZDO removal.
"Terrain" action for the UndoManager. Can undo and redo terrain modifications.
Like a list but stores elements in the order specified by the weight.
Interfaces
Interface to match a prefab to the mod that has created it.
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.