Mlie_Rimworld_VersionFromManifest 2021.10.17.192921

Install-Package Mlie_Rimworld_VersionFromManifest -Version 2021.10.17.192921
dotnet add package Mlie_Rimworld_VersionFromManifest --version 2021.10.17.192921
<PackageReference Include="Mlie_Rimworld_VersionFromManifest" Version="2021.10.17.192921" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Mlie_Rimworld_VersionFromManifest --version 2021.10.17.192921
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Mlie_Rimworld_VersionFromManifest, 2021.10.17.192921"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Mlie_Rimworld_VersionFromManifest as a Cake Addin
#addin nuget:?package=Mlie_Rimworld_VersionFromManifest&version=2021.10.17.192921

// Install Mlie_Rimworld_VersionFromManifest as a Cake Tool
#tool nuget:?package=Mlie_Rimworld_VersionFromManifest&version=2021.10.17.192921
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Version from manifest

A support-file to fetch the current version in the About/Manifest.xml file and display it in game, usually in the settings-menu. Uses the mod-identifier to look up the correct file

Example.

private static string currentVersion;
currentVersion = VersionFromManifest.GetVersionFromModMetaData(ModLister.GetActiveModWithIdentifier("ModIdentifier"));
if (currentVersion != null)
{
	listing_Standard.Gap();
	GUI.contentColor = Color.gray;
	listing_Standard.Label("CurrentModVersion_Label".Translate(currentVersion));
	listing_Standard.Label($"Installed mod-version: {currentVersion}");
	GUI.contentColor = Color.white;
}

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
2021.10.17.192921 166 10/17/2021
2021.10.17.192502 159 10/17/2021
1.0.0 168 10/17/2021