chore: update naming game -> simple server

This commit is contained in:
2022-05-14 10:35:17 +04:00
parent 185b5b7ca1
commit 053d5c9383
11 changed files with 121 additions and 27 deletions
+31
View File
@@ -0,0 +1,31 @@
using System.Runtime.InteropServices;
using Game.Source.Events;
using NLog;
using Ragon.Common;
using Ragon.Core;
namespace Game.Source
{
public class SimplePlugin: PluginBase
{
public override void OnStart()
{
_logger.Info("Plugin started");
}
public override void OnStop()
{
_logger.Info("Plugin stopped");
}
public override void OnPlayerJoined(Player player)
{
_logger.Info("Player joined " + player.PlayerName);
}
public override void OnPlayerLeaved(Player player)
{
_logger.Info("Player leaved " + player.PlayerName);
}
}
}