DiceRoller 3.0.0
See the version list below for details.
dotnet add package DiceRoller --version 3.0.0
NuGet\Install-Package DiceRoller -Version 3.0.0
<PackageReference Include="DiceRoller" Version="3.0.0" />
paket add DiceRoller --version 3.0.0
#r "nuget: DiceRoller, 3.0.0"
// Install DiceRoller as a Cake Addin #addin nuget:?package=DiceRoller&version=3.0.0 // Install DiceRoller as a Cake Tool #tool nuget:?package=DiceRoller&version=3.0.0
Extensible and well-documented dice roller with a robust set of features. Excellent for play-by-post forums, virtual tabletops, or for integrating into character sheets or encounter managers.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net452 is compatible. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
- Antlr4.Runtime.Standard (>= 4.7.0)
- System.ValueTuple (>= 4.3.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Breaking changes:
- DiceAST subclasses have their RollerConfig parameters swapped with RollData. This change is only breaking if you have implemented custom AST nodes.
If you have not implemented custom AST nodes, no code changes need to be made to your project.
New features:
- RollerConfig.MacroRegistry can be used to associate macro callbacks to specific names instead of registering a global handler.
- A new [DiceMacro] attribute is added to be used in conjunction with MacroRegistry.RegisterType.
- Roller.Roll can now take an optional RollData object as a 3rd parameter. This can be used to add in custom functions or macros
only valid for that roll (as opposed to global across multiple rolls as is the case for RollerConfig). Functions or macros
defined here with the same name as global ones override the global ones.
Deprecated:
- RollerConfig.ExecuteMacro is deprecated and will be removed in a future version. Use RollerConfig.MacroRegistry instead.
See https://skizzerz.net/DiceRoller/Changelog for more changes.