少年修仙传客户端代码仓库
client_Wu Xijin
2019-04-13 f94112a6427fa69d3e244e49eb677ec7fb94e0d6
Core/GameEngine/Model/TelPartialConfig/DirtyWordConfig.cs
@@ -1,29 +1,17 @@
// ------------------------------------------------------------------------------
//  <autogenerated>
//      This code was generated by a tool.
//      Mono Runtime Version: 2.0.50727.1433
//
//      Changes to this file may cause incorrect behavior and will be lost if
//      the code is regenerated.
//  </autogenerated>
// ------------------------------------------------------------------------------
namespace TableConfig
{
    using System;
    using System.Collections.Generic;
    using System.Text.RegularExpressions;
    using UnityEngine;
    using System.Threading;
    public partial class DirtyWordConfig : ConfigBase, IConfigPostProcess
    public partial class DirtyWordConfig :  IConfigPostProcess
    {
        private static WordGroup[] DIRTYWORLD = new WordGroup[(int)char.MaxValue];
        private static List<string> memoryList = new List<string>();
        private static bool inited = false;
        private static bool dirtyWordInited = false;
        static int cursor = 0;
@@ -55,7 +43,7 @@
        public static string IsDirtWord(string source, char filter)
        {
            if (!inited)
            if (!dirtyWordInited)
            {
                Init();
            }
@@ -104,7 +92,7 @@
        public static bool IsDirtWord(string source)
        {
            if (!inited)
            if (!dirtyWordInited)
            {
                Init();
            }
@@ -196,14 +184,14 @@
            return false;
        }
        static public void Init()
        static public void DirtyWordInit()
        {
            if (inited)
            if (dirtyWordInited)
            {
                return;
            }
            inited = true;
            dirtyWordInited = true;
            ThreadPool.QueueUserWorkItem((object aaa) =>
            {
@@ -282,4 +270,3 @@
            return groupList[index];
        }
    }
}