Files
Ragon/Ragon.SimpleServer/Source/SimplePluginFactory.cs
T

18 lines
401 B
C#
Raw Normal View History

2022-05-08 00:40:11 +04:00
using System.Runtime.InteropServices;
2022-04-30 08:20:17 +04:00
using Ragon.Core;
namespace Game.Source
{
2022-05-14 10:35:17 +04:00
public class SimplePluginFactory : PluginFactory
2022-04-30 08:20:17 +04:00
{
2022-05-01 15:48:53 +04:00
public PluginBase CreatePlugin(string map)
{
2022-05-14 10:35:17 +04:00
return new SimplePlugin();
2022-05-01 15:48:53 +04:00
}
2022-06-23 20:45:41 +04:00
public IAuthorizationProvider CreateAuthorizationProvider(Configuration configuration)
2022-05-14 10:35:17 +04:00
{
2022-06-23 20:45:41 +04:00
return new AuthorizationProviderByKey(configuration);
2022-05-14 10:35:17 +04:00
}
2022-04-30 08:20:17 +04:00
}
}