Table of Contents

Wisp.Rpg.Calendar license-badge net-version-badge

This library parses json documents that define fantasy calendars, and provides easy to use classes, compatible with the MVVM pattern.

Installation

Simply add the provided NuGet Package to your project.

Usage

Creating the calendar object is extremelly easy.

using Wisp.Rpg.Calendar;

IParser parser = new Services.Parser(); //initialize the json parser
ViewModels.Calendar calendar = await parser.ParseAsync(jsonFilePath); //generate the calendar

await calendar.SetActiveYearAsync(1993); //sets the currently active year
calendar.SetActiveMonth(2); //sets the currently active month

Use the relevant Month, Day Viewmodels to access further calendar data.

A complete documentation for this library can be found here.

License

This library is licensed under the GNU General Public License: GPLv3