Show / Hide Table of Contents

Namespace Jotunn.Utils

Classes

AssetUtils

Util functions related to loading assets at runtime.

BoneReorder

Original code from https://github.com/GoldenJude.

ConfigurationSynchronizationEventArgs

Event args class for configuration synchronization event

HashUtils

A util class for computing various hashes

ModCompatibility

Implementation of the mod compatibility features.

ModRegistry

Utility class to query metadata about loaded mods and their added content

ModRegistry.ModInfo

Model class holding metadata of Jötunn mods.

NetworkCompatibilityAttribute

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

PatchInitAttribute

Priority attribute for PatchInitalizer.

Paths

Various Path constants used in Jötunn

ReflectionHelper

Various utility methods aiding Reflection tasks.

ReflectionHelper.Cache

Cache for Reflection tasks.

ShaderHelper

Various static utility methods for working with Shaders

WeightedItem<T>

Weighted item used in WeightedList<T, ItemType>

WeightedList<T, ItemType>

Like a list but stores elements in the order specified by the weight.

Enums

CompatibilityLevel

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.

VersionStrictness

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.
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾