Skip to content

Commit 556e86d

Browse files
committed
made shouldload abstract (closes #6)
1 parent c8cf986 commit 556e86d

3 files changed

Lines changed: 9 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
## 0.6.0
22
**:hammer: Refactors**
33
- Cleanup pass ([#1](https://git.omni.ms/vintage-story-mods/common-mod/issues/1))
4+
- Made `System.ShouldLoad` abstract ([#6](https://git.omni.ms/vintage-story-mods/common-mod/issues/6))
45

56
**:books: Documentation**
67
- Created skeleton documentation
@@ -9,6 +10,11 @@
910
**:bulb: Source Code Documentation**
1011
- Added `schemas/config.schema.json` ([#13](https://git.omni.ms/vintage-story-mods/common-mod/issues/13))
1112

13+
**:rotating_light: Tests**
14+
- Added `ConsoleLoggerSinkTests`
15+
- Added `FileSystemTests`
16+
- Added `LoggerTests`
17+
1218
**:green_heart: CI/CD**
1319
- Added `pull: true` to all steps
1420

Common.Mod.Cake/Common.Mod.Cake.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
<None Include="../build.sh"/>
2525
<None Include="../buildConfig.json"/>
2626
<None Include="../CHANGELOG.md"/>
27+
<None Include="../GITMOJI.md"/>
2728
<None Include="../README.md"/>
2829
</ItemGroup>
2930

Common.Mod/System.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ protected System()
3939
public abstract string ModVersion();
4040
public abstract string ModName();
4141

42+
public abstract override bool ShouldLoad(EnumAppSide forSide);
43+
4244
protected abstract void RegisterConfigs(IConfigSystem configSystem);
4345

4446
public override void StartPre(ICoreAPI api)

0 commit comments

Comments
 (0)