DiffidentDeckard_SotMBaseMod 1.1.0

.NET Framework 3.5
The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package DiffidentDeckard_SotMBaseMod --version 1.1.0
NuGet\Install-Package DiffidentDeckard_SotMBaseMod -Version 1.1.0
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="DiffidentDeckard_SotMBaseMod" Version="1.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DiffidentDeckard_SotMBaseMod --version 1.1.0
#r "nuget: DiffidentDeckard_SotMBaseMod, 1.1.0"
#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 DiffidentDeckard_SotMBaseMod as a Cake Addin
#addin nuget:?package=DiffidentDeckard_SotMBaseMod&version=1.1.0

// Install DiffidentDeckard_SotMBaseMod as a Cake Tool
#tool nuget:?package=DiffidentDeckard_SotMBaseMod&version=1.1.0

DiffidentDeckard_SotMBaseMod

This serves as a base mod for Sentinels of the Multiverse Digital Version. These libraries are meant to be either referenced by another SotM mod, or just downloaded and modified into it's own mod.

It builds off of the BaseTest dll that Handelabra provides in their Workshop Sample: https://github.com/Handelabra/WorkshopSample

You want both your main mod dll and your unit testing dll to reference this NuGet package. It includes some string constants and extension methods useful while developing a mod. It also contains Test Heroes, Villain, and Environment that all do nothing, for the purposes of testing. These TestTurnTakers won't appear in your mod when you finalize and export it, unless you actually add their decklists and files to your mod. It adds setup methods that will automatically use the TestTurnTakers, making writing Unit Tests easy and more consistent.

In order to correctly use my TestTurnTakers, you will need to add the DeckardBaseMod assembly in your unit test's Setup.cs file, like below:

// Add the DeckardBaseMod assembly to your unit test's Setup.cs var dbmAssembly = Assembly.GetAssembly(typeof(TestHero1CharacterCardController)); ModHelper.AddAssembly(nameof(DeckardBaseMod), dbmAssembly);

// Add your mod's assembly as well var yourModAssembly = Assembly.GetAssembly(typeof(SomeNameSpaceInmYourModGoeshere)); // replace with your own type ModHelper.AddAssembly(nameof(yourMod), yourModAssembly); // replace with your own namespace

None of this is intended to be a sample to show you how to write a mod, it just makes things simpler and quicker, especially writing unit tests.

Product Versions
.NET Framework net35 net40 net403 net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

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

Initial Release