MMAPI 0.2.0

dotnet add package MMAPI --version 0.2.0
                    
NuGet\Install-Package MMAPI -Version 0.2.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MMAPI" Version="0.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MMAPI" Version="0.2.0" />
                    
Directory.Packages.props
<PackageReference Include="MMAPI" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add MMAPI --version 0.2.0
                    
#r "nuget: MMAPI, 0.2.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package MMAPI@0.2.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=MMAPI&version=0.2.0
                    
Install as a Cake Addin
#tool nuget:?package=MMAPI&version=0.2.0
                    
Install as a Cake Tool

MMAPI

MMAPI is an unofficial, header-only C++ modding API for Fields of Mistria mods built with YYToolkit and Aurie.

It abstracts common Fields of Mistria systems behind typed C++ helpers and hooks, including player state, items, inventory, locations, weather, dungeons, status effects, UI, text, input, and more.

MMAPI is designed to be included directly by each mod at build time. It does not load as its own DLL. At runtime, MMAPI uses the mod's YYTK and Aurie module pointers to call game scripts, install hooks, and expose game behavior through public C++ APIs.

Installation

Install the MMAPI NuGet package in your native C++ mod project.

MMAPI is header-only. After installing the package, include the main header:

#include <MMAPI/MMAPI.hpp>

MMAPI depends on:

  • Aurie
  • YYToolkit
  • nlohmann.json

The NuGet package declares nlohmann.json as a dependency.

Documentation

The MMAPI documentation is available on the GitHub wiki:

MMAPI Wiki

Start there for setup, namespace pages, hook pages, context types, and helper functions.

License

MMAPI is licensed under AGPL-3.0-only. See LICENSE.

Copyright (c) 2026 AnnaNomoly
https://github.com/AnnaNomoly/mistria-modding-api

Product Compatible and additional computed target framework versions.
native native is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.2.0 105 5/19/2026
0.1.0 111 5/18/2026