Files
Ragon/Ragon.SimpleServer/Source/Plugins/SimplePlugin.cs
T

28 lines
581 B
C#
Raw Normal View History

2022-06-23 20:45:41 +04:00
using Ragon.Core;
2022-05-14 10:35:17 +04:00
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)
{
2022-06-23 20:45:41 +04:00
2022-06-23 20:45:57 +04:00
// _logger.Info($"Player({player.PlayerName}) joined to Room({GameRoom.Id})");
2022-05-14 10:35:17 +04:00
}
public override void OnPlayerLeaved(Player player)
{
2022-06-23 20:45:57 +04:00
// _logger.Info($"Player({player.PlayerName}) left from Room({GameRoom.Id})");
2022-05-14 10:35:17 +04:00
}
}
}