public override void __evt_JOIN(NetworkChannelEventArgs args) { if (args.ChannelName == Configuration.System.DebugChan && this.instance != Instance.PrimaryInstance) return; Channel channel = Core.GetChannel(args.ChannelName); if (channel != null) { lock (ExtensionHandler.Extensions) { foreach (Module module in ExtensionHandler.Extensions) { try { if (module.IsWorking) { module.Hook_Join(channel, args.SourceInfo); } } catch (Exception fail) { Syslog.Log("MODULE: exception at Hook_Join in " + module.Name, true); Core.HandleException(fail); } } } } }
protected override void __evt_JOIN(NetworkChannelEventArgs args) { if (args.ChannelName == Configuration.System.DebugChan && this.instance != Instance.PrimaryInstance) { return; } Channel channel = Core.GetChannel(args.ChannelName); if (channel != null) { foreach (Module module in ExtensionHandler.ExtensionList) { try { if (module.IsWorking) { module.Hook_Join(channel, args.SourceInfo); } } catch (Exception fail) { Syslog.Log("MODULE: exception at Hook_Join in " + module.Name, true); Core.HandleException(fail); } } } }
protected internal virtual void __evt_JOIN(NetworkChannelEventArgs args) { if (this.On_JOIN != null) this.On_JOIN(this, args); }
protected internal virtual void __evt_ChannelFinishBan(NetworkChannelEventArgs args) { if (this.On_ChannelFinishBan != null) this.On_ChannelFinishBan(this, args); }