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
|
|
|
|
2022-10-22 21:34:35 +04:00
|
|
|
public IApplicationHandler CreateAuthorizationProvider(Configuration configuration)
|
2022-05-14 10:35:17 +04:00
|
|
|
{
|
2022-10-22 21:34:35 +04:00
|
|
|
return new ApplicationHandlerByKey(configuration);
|
2022-05-14 10:35:17 +04:00
|
|
|
}
|
2022-04-30 08:20:17 +04:00
|
|
|
}
|
|
|
|
|
}
|