Ejemplo n.º 1
0
 public ChatManager()
 {
     _emotions = new ChatEmotionsManager();
     _logs     = new ChatlogManager();
     _filter   = new WordFilterManager();
     _filter.Init();
     _commands    = new CommandManager(":");
     _petCommands = new PetCommandManager();
     _petLocale   = new PetLocale();
     _chatStyles  = new ChatStyleManager();
     _chatStyles.Init();
     log.Info("Chat Manager -> LOADED");
 }
Ejemplo n.º 2
0
        /// <summary>
        /// Initializes a new instance of the ChatManager class.
        /// </summary>
        public ChatManager()
        {
            _emotions = new ChatEmotionsManager();
            _logs     = new ChatlogManager();

            _filter = new WordFilterManager();
            _filter.InitWords();
            _filter.InitCharacters();

            _commands    = new CommandManager(":");
            _petCommands = new PetCommandManager();
            _petLocale   = new PetLocale();

            _chatStyles = new ChatStyleManager();
            _chatStyles.Init();

            log.Info(">> Chat Manager -> READY!");
        }