MosswartMassacre/MosswartMassacre/IPluginLogger.cs
erik 366cca8cb6 Phase 2: Extract IPluginLogger and KillTracker
- Create IPluginLogger interface, PluginCore implements it
- CharacterStats.cs and WebSocket.cs now use IPluginLogger instead of PluginCore.WriteToChat
- Extract KillTracker.cs: owns kill detection (all 36 regex patterns), death tracking,
  rate calculation, and the 1-sec stats update timer
- Bridge properties on PluginCore maintain backward compat for WebSocket telemetry

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-27 07:29:49 +00:00

11 lines
299 B
C#

namespace MosswartMassacre
{
/// <summary>
/// Interface for writing messages to the game chat window.
/// Eliminates direct PluginCore.WriteToChat() dependencies from manager classes.
/// </summary>
public interface IPluginLogger
{
void Log(string message);
}
}