28 lines
676 B
C#
28 lines
676 B
C#
using System;
|
|
using ShrinkModFramework;
|
|
|
|
namespace ExternalFixture
|
|
{
|
|
[ShrinkMod("external.fixture", "External Fixture", "2.0.0")]
|
|
public sealed class ExternalFixtureMod : IShrinkMod
|
|
{
|
|
public void OnConstruct(ShrinkModContext context)
|
|
{
|
|
}
|
|
|
|
public void OnRegisterContent(ShrinkModContext context)
|
|
{
|
|
context.RegisterContent("external.fixture", "version", "v2");
|
|
}
|
|
|
|
public void OnInitialize(ShrinkModContext context)
|
|
{
|
|
throw new InvalidOperationException("fixture replacement failure");
|
|
}
|
|
|
|
public void OnReady(ShrinkModContext context)
|
|
{
|
|
}
|
|
}
|
|
}
|