示例#1
0
 // -------------------------------------------------------------------------------
 // BuildCache
 // -------------------------------------------------------------------------------
 public static void BuildCache(bool forced = false)
 {
     if (_data == null || forced)
     {
         _data = new ServerInfoTemplateDictionary(ServerInfoTemplate._folderName);
     }
 }
示例#2
0
        // -------------------------------------------------------------------------------
        // OnEnable
        // -------------------------------------------------------------------------------
        public void OnEnable()
        {
            if (_folderName != folderName)
            {
                _folderName = folderName;
            }

            _data = null;
        }