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>
10 lines
253 B
C#
10 lines
253 B
C#
// src/AcDream.Plugin.Abstractions/WorldEntitySnapshot.cs
|
|
using System.Numerics;
|
|
|
|
namespace AcDream.Plugin.Abstractions;
|
|
|
|
public readonly record struct WorldEntitySnapshot(
|
|
uint Id,
|
|
uint SourceId,
|
|
Vector3 Position,
|
|
Quaternion Rotation);
|