static void Main() { Core = new Core(); Core.ScanPlugins(); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new Main()); }
public void Initialize(Core Host) { Bot = Host; Bot.onChannelMessage += new Core.ChannelMessageEventHandler(Bot_onChannelMessage); Bot.onCommand += new Core.CommandEventHandler(Bot_onCommand); tmrPause.Elapsed += new ElapsedEventHandler(tmrPause_Elapsed); tmrHint.Elapsed += new ElapsedEventHandler(tmrHint_Elapsed); SelfDir = AppDomain.CurrentDomain.BaseDirectory + "Plugins\\Trivia"; }
public WhoisCompleteEventArgs(Core.WhoisType Type, HoNUserInfoInGameArgs InGameArgs, HoNUserInfoNoExistArgs NoExistArgs, HoNUserInfoOfflineArgs OfflineArgs, HoNUserInfoOnlineArgs OnlineArgs) { this._type = Type; this._ingameargs = InGameArgs; this._noexistargs = NoExistArgs; this._offlineargs = OfflineArgs; this._onlineargs = OnlineArgs; }