GROD 1.1.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package GROD --version 1.1.1                
NuGet\Install-Package GROD -Version 1.1.1                
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="GROD" Version="1.1.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add GROD --version 1.1.1                
#r "nuget: GROD, 1.1.1"                
#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.
// Install GROD as a Cake Addin
#addin nuget:?package=GROD&version=1.1.1

// Install GROD as a Cake Tool
#tool nuget:?package=GROD&version=1.1.1                

GROD - Game Resource Overlay Dictionary

This is a special pair of dictionaries, a base and an overlay, for holding key/value pairs which can be modified from the base value. It is designed for games where progress from the beginning can be saved and restored.

The base dictionary is filled with the starting values at the beginning of a game, and the overlay holds all the changes as the game is played.

Getting a value during the game will return the overlay value if found, or else the base value if found, or "". Setting a value during the game always writes to the overlay. No errors are thrown if the key doesn't exist yet or if it is added multiple times.

When saving the game progress, only the overlay values need to be stored into a save file. When restoring a save file, the overlay would be cleared and loaded with the saved values, returning to the game state at the time of the save.

Set UseOverlay = false to load the base values, and then set UseOverlay = true to play the game.

Keys are strings and cannot be null, "", or only whitespace, but all others are valid. Keys are case-sensitive. Use the Keys routine to get a list of all keys or KeysOverlay for overlay keys only, such as when saving.

Values are strings. If value is null it is changed to "", but no other modifications are performed. Other data types can be converted to and from string values by the calling program.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on GROD:

Package Downloads
grifdata

GRIFData - Loading and saving GRIF game data files

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.1.2 191 4/6/2024
1.1.1 157 3/10/2024
1.1.0 162 3/5/2024

1.1.1 - Added Added ReadMe(), License(), and VersionHistory() for retriving that information.