Adds WorldEntitySnapshot, IGameState, IEvents abstractions; WorldEvents implements replay-on-subscribe with per-handler exception swallowing; WorldGameState tracks entities; AppPluginHost exposes all three; stubs wired in Program.cs to keep build green ahead of Task 9 live wiring. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
7 lines
168 B
C#
7 lines
168 B
C#
// src/AcDream.Plugin.Abstractions/IEvents.cs
|
|
namespace AcDream.Plugin.Abstractions;
|
|
|
|
public interface IEvents
|
|
{
|
|
event Action<WorldEntitySnapshot> EntitySpawned;
|
|
}
|