feat(expansions): Adds expansion.json and loads expansions dynamically (#798)

Moves hardcoded expansion settings to the file Data\expansion.json.
This commit is contained in:
Michael Whelehan 2021-09-24 05:28:43 +02:00 • committed by GitHub
parent a0c3158675
commit 2f5b26ae68
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 1084 additions and 99 deletions

View file

@ -1,4 +1,5 @@
using System;
using System.Reflection;
namespace Server.Tests
{
@ -7,8 +8,8 @@ namespace Server.Tests
// Global setup
static ServerFixture()
{
Core.Assembly = Assembly.GetExecutingAssembly();
Core.LoopContext = new EventLoopContext();
Core.Expansion = Expansion.EJ;
// Load Configurations