Table of Contents

Class GlobalModsManifestModel

Namespace
LlamaLogic.Packages.Models.GlobalManifest
Assembly
LlamaLogic.Packages.dll

Represents the global mods manifest SnippetTuning resource (🔓)

public sealed class GlobalModsManifestModel : Model, IModel<GlobalModsManifestModel>, IModel, IXmlSerializable
Inheritance
GlobalModsManifestModel
Implements
Inherited Members

Remarks

This model allows agents to easily create, read, and update the global mods manifest, which itself is an index of the player's installed packs and manifested mod files easily acessible to script mods.

Properties

InstalledPacks

Gets the collection of pack codes for this game installation's installed packs

public Collection<string> InstalledPacks { get; }

Property Value

Collection<string>

ManifestedModFiles

Gets the collection of manifested mod files in the player's Mods folder

public Collection<GlobalModsManifestModelManifestedModFile> ManifestedModFiles { get; }

Property Value

Collection<GlobalModsManifestModelManifestedModFile>

ResourceKey

Gets the ResourceKey always used by the global mods manifest

public static ResourceKey ResourceKey { get; }

Property Value

ResourceKey

ResourceName

Gets the name of this resource if it has one

public override string? ResourceName { get; }

Property Value

string

SupportedTypes

Gets a list of resource types that this model supports

public static ISet<ResourceType> SupportedTypes { get; }

Property Value

ISet<ResourceType>

Methods

Decode(ReadOnlyMemory<byte>)

Decodes the resource in raw format to produce an operable model (🔄️🏃)

public static GlobalModsManifestModel Decode(ReadOnlyMemory<byte> data)

Parameters

data ReadOnlyMemory<byte>

Returns

GlobalModsManifestModel

Encode()

Encodes the resource model into raw format (🔄️🏃)

public override ReadOnlyMemory<byte> Encode()

Returns

ReadOnlyMemory<byte>