GROD 1.1.0
See the version list below for details.
dotnet add package GROD --version 1.1.0
NuGet\Install-Package GROD -Version 1.1.0
<PackageReference Include="GROD" Version="1.1.0" />
paket add GROD --version 1.1.0
#r "nuget: GROD, 1.1.0"
// Install GROD as a Cake Addin #addin nuget:?package=GROD&version=1.1.0 // Install GROD as a Cake Tool #tool nuget:?package=GROD&version=1.1.0
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 | Versions 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. |
-
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.