Exemplo n.º 1
0
 public static void Register(Player.OnPlayerAuth method, Priority priority, Plugin plugin)
 {
     if (Find(plugin) != null)
     {
         throw new Exception("The user tried to register 2 of the same event!");
     }
     events.Add(new OnPlayerAuthEvent(method, priority, plugin));
     Organize();
 }
Exemplo n.º 2
0
 internal OnPlayerAuthEvent(Player.OnPlayerAuth method, Priority priority, Plugin plugin)
 {
     this.plugin = plugin; this.priority = priority; this.method = method;
 }
Exemplo n.º 3
0
 internal OnPlayerAuthEvent(Player.OnPlayerAuth method, Priority priority, Plugin plugin)
 {
     this.plugin = plugin; this.priority = priority; this.method = method;
 }