Пример #1
0
        /**
         *  XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
         *  XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
         *  XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
         */
        public override void OnUserPart(string user, string room)
        {
            // -------------------------------------------------------------
            // Hate                                                       {}
            // -------------------------------------------------------------

            Hate.OnUserPart(user, room);
        }
Пример #2
0
        /**
         *  This method is called when the application starts up and is used
         *  to load in any specific settings that needs to be applied before
         *  any configurations is read, and before any connections happen in
         *  the networking class. It is guarantee to always run as the first
         *  thing in the program and to only ever get called ones throughout
         */
        public override void OnApplicationStart()
        {
            // -------------------------------------------------------------
            // Permission                                    {blacklist.txt}
            // -------------------------------------------------------------

            Permission.OnApplicationStart();

            // -------------------------------------------------------------
            // Genre                                  {genre.txt, theme.txt}
            // -------------------------------------------------------------

            Genre.OnApplicationStart();

            // -------------------------------------------------------------
            // Joke                                               {joke.txt}
            // -------------------------------------------------------------

            Joke.OnApplicationStart();

            // -------------------------------------------------------------
            // Wisdom                                           {wisdom.txt}
            // -------------------------------------------------------------

            Wisdom.OnApplicationStart();

            // -------------------------------------------------------------
            // Title                                             {title.txt}
            // -------------------------------------------------------------

            Title.OnApplicationStart();

            // -------------------------------------------------------------
            // Hate                                           {offenses.txt}
            // -------------------------------------------------------------

            Hate.OnApplicationStart();

            // -------------------------------------------------------------
            // Question                                       {question.txt}
            // -------------------------------------------------------------

            Question.OnApplicationStart();

            // -------------------------------------------------------------
            // Remind                                         {messages.txt}
            // -------------------------------------------------------------

            Remind.OnApplicationStart();
        }