- 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>
11 lines
299 B
C#
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);
|
|
}
|
|
}
|