mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
21 lines
386 B
C#
21 lines
386 B
C#
namespace EggLink.DanhengServer.Util;
|
|
|
|
public static class PluginEventCommon
|
|
{
|
|
#region Common
|
|
|
|
public delegate void OnConsoleLogHandler(string message);
|
|
|
|
#endregion
|
|
|
|
#region Event
|
|
|
|
public static event OnConsoleLogHandler? OnConsoleLog;
|
|
|
|
#endregion
|
|
|
|
public static void InvokeOnConsoleLog(string message)
|
|
{
|
|
OnConsoleLog?.Invoke(message);
|
|
}
|
|
} |