This commit is contained in:
2022-04-24 09:05:15 +04:00
commit b26e7c1402
60 changed files with 3887 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
using Game.Source.Events;
using NLog;
using Ragon.Core;
namespace Game.Source
{
public class SpawnPlugin: PluginBase
{
private ILogger _logger = LogManager.GetCurrentClassLogger();
public void SpawnEvent(SpawnEvent evnt)
{
}
public override void OnStart()
{
Subscribe<SpawnEvent>(SpawnEvent);
_logger.Info("Plugin started");
}
public override void OnStop()
{
_logger.Info("Plugin stopped");
}
}
}