diff --git a/Solutions/MyPlugin.cs b/Solutions/MyPlugin.cs new file mode 100644 index 0000000..c07b23e --- /dev/null +++ b/Solutions/MyPlugin.cs @@ -0,0 +1,43 @@ +using Milimoe.FunGame.Core.Interface; +using Milimoe.FunGame.Core.Library.Common.Event; +using Milimoe.FunGame.Core.Library.Common.Plugin; +using Milimoe.FunGame.Core.Library.Constant; + +namespace FunGame.Testing.Solutions +{ + internal class MyPlugin : BasePlugin, ILoginEvent + { + public override string Name => "FunGame Testing Plugin"; + + public override string Description => "My First Plugin"; + + public override string Version => "1.0.0"; + + public override string Author => "FunGamer"; + + public MyPlugin() + { + + } + + public EventResult AfterLoginEvent(object sender, LoginEventArgs e) + { + return EventResult.Success; + } + + public EventResult BeforeLoginEvent(object sender, LoginEventArgs e) + { + return EventResult.Success; + } + + public EventResult FailedLoginEvent(object sender, LoginEventArgs e) + { + return EventResult.Success; + } + + public EventResult SucceedLoginEvent(object sender, LoginEventArgs e) + { + return EventResult.Success; + } + } +}