| | |
| | | // ------------------------------------------------------------------------------
|
| | | // <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;
|
| | |
|
| | |
| | |
|
| | | public static string IsDirtWord(string source, char filter)
|
| | | {
|
| | | if (!inited)
|
| | | if (!dirtyWordInited)
|
| | | {
|
| | | Init();
|
| | | }
|
| | |
| | |
|
| | | public static bool IsDirtWord(string source)
|
| | | {
|
| | | if (!inited)
|
| | | if (!dirtyWordInited)
|
| | | {
|
| | | Init();
|
| | | }
|
| | |
| | | return false;
|
| | | }
|
| | |
|
| | | static public void Init()
|
| | | static public void DirtyWordInit()
|
| | | {
|
| | | if (inited)
|
| | | if (dirtyWordInited)
|
| | | {
|
| | | return;
|
| | | }
|
| | |
|
| | | inited = true;
|
| | | dirtyWordInited = true;
|
| | |
|
| | | ThreadPool.QueueUserWorkItem((object aaa) =>
|
| | | {
|
| | |
| | | return groupList[index];
|
| | | }
|
| | | }
|
| | | }
|