18 lines
401 B
C#
18 lines
401 B
C#
using System.Runtime.InteropServices;
|
|
using Ragon.Core;
|
|
|
|
namespace Game.Source
|
|
{
|
|
public class SimplePluginFactory : PluginFactory
|
|
{
|
|
public PluginBase CreatePlugin(string map)
|
|
{
|
|
return new SimplePlugin();
|
|
}
|
|
|
|
public IAuthorizationProvider CreateAuthorizationProvider(Configuration configuration)
|
|
{
|
|
return new AuthorizationProviderByKey(configuration);
|
|
}
|
|
}
|
|
} |