mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 15:20:48 -05:00
Reverted some of plugin method signatures as I realized it didn't really make sense.
This commit is contained in:
@ -22,10 +22,11 @@ namespace SharedLibrary.Helpers
|
||||
ConfigurationSet.Add(S.ToString(), Config);
|
||||
}
|
||||
|
||||
catch(Exceptions.SerializeException)
|
||||
catch (Exceptions.SerializeException)
|
||||
{
|
||||
ConfigurationSet.Add(S.ToString(), new Dictionary<string, object>());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public void AddProperty(Server S, KeyValuePair<string, object> Property)
|
||||
|
@ -5,8 +5,8 @@ namespace SharedLibrary.Interfaces
|
||||
{
|
||||
public interface IPlugin
|
||||
{
|
||||
Task OnLoadAsync(Server S);
|
||||
Task OnUnloadAsync(Server S);
|
||||
Task OnLoadAsync();
|
||||
Task OnUnloadAsync();
|
||||
Task OnEventAsync(Event E, Server S);
|
||||
Task OnTickAsync(Server S);
|
||||
|
||||
|
Reference in New Issue
Block a user