feat(sdk): migrate to EventBus 2.0
Replace the legacy EventBase runtime with generated multi-bus bindings and explicit scheduling. Migrate app, data, network, demo, and mod consumers; add generated network-event registration and owner-scoped mod content overrides.
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
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)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user