Table of Contents

Namespace PolyMod

Classes

BasePrefabInfo

The base description of a prefab that PolyMod makes from mod JSON.

ImprovementPrefabInfo

The description of a custom improvement prefab. It comes from the improvements list of a prefabs file or from an improvementPrefab file. PolyMod also makes a default description for each GLD improvement that has the prefab value set to true.

Loader

The methods that register mods, sort them, load their files and apply their GLD data.

Mod

A mod that PolyMod found in the mods directory, or the base game entry with the id polytopia.

Mod.Dependency

A dependency of a mod on a different mod, as the manifest gives it.

Mod.File

A file in a mod, other than manifest.json.

Mod.Manifest

The data from the manifest.json file of a mod.

Plugin

The BepInEx plugin of PolyMod. BepInEx loads this plugin and calls Load().

PrefabsInfo

The content of a prefabs file of a mod. The dumper also writes the prefabs of the game in this format.

Registry

The central store of the mods and the mod content that PolyMod loads.

ResourcePrefabInfo

The description of a custom resource prefab. It comes from the resources list of a prefabs file or from a resourcePrefab file. PolyMod also makes a default description for each GLD resource that has the prefab value set to true.

UnitPrefabInfo

The description of a custom unit prefab. It comes from the units list of a prefabs file or from a unitPrefab file.

VisualPartInfo

The description of one visual part of a prefab, as mod JSON gives it.

Structs

SkinnedKey

The key of a unit prefab: a unit type, a tribe, and a skin.

Enums

Mod.Status

The load status of a mod.