Namespace PolyMod.Managers
Classes
- Audio
The manager for custom audio. It replaces game music, nature sounds, and sound effects with the registered audio clips of mods. At this time, BuildAudioClip(byte[], string) is a stub, so the registered clips have no audio data.
- Loc
The manager for localization. It adds mod terms and mod languages to the localization of the game.
- Main
The main manager of PolyMod. It registers and loads the mods, and it patches game logic.
- Prefabs
The manager that makes custom unit, improvement, and resource prefabs from mod data. It also replaces the unit prefab lookup of PrefabManager.
- TribePreviews
The manager for the world previews that the tribe selection screen shows. It changes the preview maps of tribes with the preview tiles from mods.
- TribePreviews.PreviewInfo
The data that PolyMod uses to make the preview of one tribe.
- TribePreviews.PreviewTile
The changes to one tile of a tribe preview map. A mod gives these changes in the
previewfield of a tribe.
- Visual
The manager for sprites, textures, terrain graphics, and popups. It also contains the Harmony patches that change how the game shows these items.
- Visual.PopupWidth
The custom width settings of one popup.
- Visual.SkinInfo
The data about a custom skin that a mod adds.
- Visual.SpriteInfo
The settings that PolyMod uses to make a sprite, such as the pivot and the pixels per unit. A mod gives these settings in a
sprites.jsonfile.
- Visual.SpriteOrigin
The source of the image for a sprite that a Visual.SpriteInfo describes.
Enums
- Visual.OriginType
The types of source for the image of a sprite.