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

28 lines
585 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
{
2022-07-02 11:02:09 +04:00
2022-05-14 10:35:17 +04:00
public override void OnStart()
{
2022-06-25 11:08:50 +04:00
// _logger.Info("Plugin started");
2022-05-14 10:35:17 +04:00
}
public override void OnStop()
{
2022-06-25 11:08:50 +04:00
// _logger.Info("Plugin stopped");
2022-05-14 10:35:17 +04:00
}
public override void OnPlayerJoined(Player player)
{
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
}
}
}