internal Class229 method_9() { Class229 class2 = new Class229(this.stream_0); class2.method_8(this.string_0); return(class2); }
private string method_50(Class1128 A_0, Class1128 A_1, string A_2) { string key = A_2; if (A_1.method_0().ContainsKey(A_2)) { string extension = Path.GetExtension(A_2); string str3 = A_2.Replace(extension, ""); string oldValue = str3.TrimEnd(new char[] { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9' }); int result = 0; int.TryParse(str3.Replace(oldValue, ""), out result); key = oldValue + result.ToString() + extension; while (A_1.method_0().ContainsKey(key)) { result++; key = oldValue + result.ToString() + extension; } Class229 class2 = A_0.method_0()[A_2].method_9(); class2.method_8(key); A_1.method_0().Add(key, class2); return(key); } A_1.method_0().Add(A_2, A_0.method_0()[A_2].method_9()); return(key); }
DocOleObject Interface50.imethod_2(string A_0, DocOleObject A_1) { Class229 class2 = this.method_0().method_183(A_0); if (class2 == null) { return(null); } byte[] buffer = null; class2.method_4().Position = 0L; A_1.stream_1 = class2.method_4(); if (this.method_0().method_185(A_1.OleObjectType)) { buffer = new byte[class2.method_4().Length]; class2.method_4().Read(buffer, 0, buffer.Length); } else { Class1004 class3 = null; class3 = new Class1004(class2.method_4()); Class1116 class4 = new Class1116(); class4.method_4(class3.Interface51.imethod_0()); buffer = class4.method_0(); if (A_1.OleObjectType == OleObjectType.Package) { A_1.method_105(class4.method_2(), class4.method_3()); } } class2.method_4().Position = 0L; A_1.SetNativeData(buffer); A_1.method_102(buffer, string.Empty); return(A_1); }
internal void method_6(Class229 A_0) { string[] strArray = A_0.method_7().Split(new char[] { '/' }); string key = strArray[strArray.Length - 1]; this.method_0().Add(key, A_0); }
internal void method_5(Class814 A_0) { Class229 class2 = new Class229(A_0.method_7()); class2.method_8(this.method_11(A_0.method_0())); this.method_6(class2); }
private static void smethod_4() { Class229 class2 = new Class229(); while (PeekMessage(out class2.msg_0, IntPtr.Zero, 0x312, 0x312, 1)) { Hotkey hotkey = RegisteredHotkeys.FirstOrDefault <Hotkey>(class2.func_0 ?? (class2.func_0 = new Func <Hotkey, bool>(class2.method_0))); if (hotkey != null) { ilog_0.DebugFormat(hotkey.Name + " pressed.", Array.Empty <object>()); hotkey.Callback(hotkey); } } }
internal void method_21(List <Class229> A_0) { int num = 14; int num2 = 0; int count = A_0.Count; while (num2 < count) { Class229 class2 = A_0[num2]; if (!class2.method_7().EndsWith(BookmarkStart.b("ᬳ", num))) { this.method_22(class2); } num2++; } }
private void method_22(Class229 A_0) { int num = 12; if (A_0.method_7().StartsWith(BookmarkStart.b("ᴱ", 12))) { A_0.method_8(A_0.method_7().Remove(0, 1)); } string[] strArray = A_0.method_7().Split(new char[] { '/' }); Class1128 class2 = base.method_8(strArray, 0); if ((strArray.Length > 1) && strArray[strArray.Length - 2].EndsWith(BookmarkStart.b("洱䘳匵吷䤹", num))) { class2.method_10(A_0); } else { class2.method_6(A_0); } }
public void Reload(string reason) { this.ilog_0.Debug($"Reloading AssemblyLoader<{typeof(T)}> - {reason}"); this.Instances = new List <T>(); if (!Directory.Exists(this.string_0)) { this.ilog_0.Error(string.Format("Could not Reload assemblies because the path \"{0}\" does not exist.", this.string_0)); } else { string[] directories = Directory.GetDirectories(this.string_0); int index = 0; while (true) { while (true) { if (index >= directories.Length) { using (List <T> .Enumerator enumerator2 = new TypeLoader <T>(null, null).GetEnumerator()) { while (enumerator2.MoveNext()) { Class229 class2 = new Class229 { gparam_0 = enumerator2.Current }; if (!this.Instances.Any <T>(new Func <T, bool>(class2.Compare_Name))) { this.Instances.Add(class2.gparam_0); } } } this.eventHandler_0?.Invoke(this, null); return; } string path = directories[index]; try { Triton.Common.Codecompiler.CodeCompiler compiler = new Triton.Common.Codecompiler.CodeCompiler(path); CompilerResults results = compiler.Compile(); if (results != null) { if (!results.Errors.HasErrors) { this.Instances.AddRange(new TypeLoader <T>(compiler.CompiledAssembly, null)); } else { foreach (object obj2 in results.Errors) { this.ilog_0.Error("Compiler Error: " + obj2.ToString()); } } } } catch (Exception exception) { if (!(exception is ReflectionTypeLoadException)) { this.ilog_0.Error("[Reload] An exception occurred.", exception); } else { foreach (Exception exception2 in (exception as ReflectionTypeLoadException).LoaderExceptions) { this.ilog_0.Error("[Reload] An exception occurred.", exception2); } } } break; } index++; } } }
public void Reload(string reason) { //this.ilog_0.Debug(string.Format("Reloading AssemblyLoader<{0}> - {1}", typeof(T), reason)); Instances = new List <T>(); if (!Directory.Exists(string_0)) { //this.ilog_0.Error(string.Format("Could not Reload assemblies because the path \"{0}\" does not exist.", this.string_0)); return; } //this.ilog_0.Info("Reload cs files from " + this.string_0); foreach (string path in Directory.GetDirectories(string_0)) { try { CodeCompiler codeCompiler = new CodeCompiler(path); CompilerResults compilerResults = codeCompiler.Compile(); if (compilerResults != null) { if (compilerResults.Errors.HasErrors) { foreach (object arg in compilerResults.Errors) { //this.ilog_0.Error(string.Format("Compiler Error: {0}", arg)); Console.WriteLine($"Compiler Error: {arg}"); } } Instances.AddRange(new TypeLoader <T>(codeCompiler.CompiledAssembly)); } } catch (Exception ex) { if (ex is ReflectionTypeLoadException) { foreach (Exception exception in (ex as ReflectionTypeLoadException).LoaderExceptions) { //this.ilog_0.Error("[Reload] An exception occurred.", exception); Console.WriteLine($"Compiler Error: {exception}"); } } else { //this.ilog_0.Error("[Reload] An exception occurred.", ex); Console.WriteLine($"Compiler Error: {ex}"); } } } using (List <T> .Enumerator enumerator2 = new TypeLoader <T>().GetEnumerator()) { while (enumerator2.MoveNext()) { Class229 @class = new Class229(); @class.gparam_0 = enumerator2.Current; if (!Instances.Any(@class.method_0)) { Instances.Add(@class.gparam_0); } } } if (eventHandler_0 != null) { eventHandler_0(this, null); } }
internal Class230(Class229 A_0) : base(A_0.method_4()) { base.string_0 = A_0.method_7(); }
public abstract void Visit(Class229 c);
public override void Visit(Class229 c) { }
internal void method_10(Class229 A_0) { Class230 class2 = new Class230(A_0); this.method_2().Add(A_0.method_7(), class2); }
internal virtual List <Class229> vmethod_0(string A_0) { int num = 15; List <Class229> list = new List <Class229>(); if ((this.dictionary_2 != null) && (this.dictionary_2.Count > 0)) { foreach (KeyValuePair <string, Class230> pair2 in this.dictionary_2) { pair2.Value.method_8(BookmarkStart.b("ᨴ", num) + pair2.Value.method_7()); pair2.Value.method_1(BookmarkStart.b("吴䜶䤸场吼尾⁀㝂ⱄ⡆❈摊㭌ⅎ㕐絒㩔❖㱘㕚╜㉞ൠբᕦѨ੪ᥬᱮ屰Ͳᑴᑶቸ᩺᩼꾀ハミﶔﺖ뚜철쾢", num)); list.Add(pair2.Value); } } if ((!string.IsNullOrEmpty(this.string_0) && (this.dictionary_0 != null)) && (this.dictionary_0.Count > 0)) { string str2 = A_0 + this.string_0; foreach (KeyValuePair <string, Class229> pair in this.dictionary_0) { string str = pair.Key.ToLower(); Class229 item = pair.Value; item.method_8(str2 + str); if (str.StartsWith(BookmarkStart.b("儴堶娸为值娾⽀㝂", num))) { item.method_1(BookmarkStart.b("吴䜶䤸场吼尾⁀㝂ⱄ⡆❈摊㭌ⅎ㕐絒㩔❖㱘㕚╜㉞ൠբᕦѨ੪ᥬᱮ屰ᱲ፴ᅶၸ᭾歷ꆎﲒﲞ쒠킢횤캦잨첪사쎮龰ힲ\udab4\ud4b6첸횺\ud8bc\ud1be뗀꣄ꛆꃈꗊ럎볐뿒", num)); } else if (str.StartsWith(BookmarkStart.b("䘴䌶䀸场堼䰾", num))) { item.method_1(BookmarkStart.b("吴䜶䤸场吼尾⁀㝂ⱄ⡆❈摊㭌ⅎ㕐絒㩔❖㱘㕚╜㉞ൠբᕦѨ੪ᥬᱮ屰ᱲ፴ᅶၸ᭾歷ꆎﲒﲞ쒠킢횤캦잨첪사쎮龰삲솴캶햸\udeba\ucebc钾맀껂꧄", num)); } else if (str.StartsWith(BookmarkStart.b("嬴䈶吸夺堼䴾⡀ⵂ≄", num))) { item.method_1(BookmarkStart.b("吴䜶䤸场吼尾⁀㝂ⱄ⡆❈摊㭌ⅎ㕐絒㩔❖㱘㕚╜㉞ൠբᕦѨ੪ᥬᱮ屰ᱲ፴ᅶၸ᭾歷ꆎﲒﲞ쒠킢횤캦잨첪사쎮龰\uddb2\uc0b4\udab6\udbb8\udeba\ucfbc횾꿀꓂뿆ꟊ", num)); } else if (str.StartsWith(BookmarkStart.b("䘴制䴸伺吼儾♀あ", num))) { item.method_1(BookmarkStart.b("吴䜶䤸场吼尾⁀㝂ⱄ⡆❈摊㭌ⅎ㕐絒㩔❖㱘㕚╜㉞ൠբᕦѨ੪ᥬᱮ屰ᱲ፴ᅶၸ᭾歷ꆎﲒﲞ쒠킢횤캦잨첪사쎮龰삲킴쎶춸튺펼\ud8be\ub2c0뷄ꗈ", num)); } else if (str.StartsWith(BookmarkStart.b("䈴制嬸䠺堼䬾㕀⩂⭄⁆㩈", num))) { item.method_1(BookmarkStart.b("吴䜶䤸场吼尾⁀㝂ⱄ⡆❈摊㭌ⅎ㕐絒㩔❖㱘㕚╜㉞ൠբᕦѨ੪ᥬᱮ屰ᱲ፴ᅶၸ᭾歷ꆎﲒﲞ쒠킢횤캦잨첪사쎮龰쒲킴햶\udeba\uc9bc쮾ꣀ귂ꋄ듆돊ꃌꏎ", num)); } else if (str.StartsWith(BookmarkStart.b("嘴堶吸嘺堼儾㕀", num))) { item.method_1(BookmarkStart.b("吴䜶䤸场吼尾⁀㝂ⱄ⡆❈摊㭌ⅎ㕐絒㩔❖㱘㕚╜㉞ൠբᕦѨ੪ᥬᱮ屰ᱲ፴ᅶၸ᭾歷ꆎﲒﲞ쒠킢횤캦잨첪사쎮龰킲\udab4\udab6풸\udeba\ud3bc쮾닀뷄ꗈ", num)); } else if (str.StartsWith(BookmarkStart.b("崴制堸强堼䴾", num))) { item.method_1(BookmarkStart.b("吴䜶䤸场吼尾⁀㝂ⱄ⡆❈摊㭌ⅎ㕐絒㩔❖㱘㕚╜㉞ൠբᕦѨ੪ᥬᱮ屰ᱲ፴ᅶၸ᭾歷ꆎﲒﲞ쒠킢횤캦잨첪사쎮龰\udbb2\ud0b4횶\uddb8\udeba쾼钾맀껂꧄", num)); } else if (str.StartsWith(BookmarkStart.b("匴堶嘸伺堼䴾", num))) { item.method_1(BookmarkStart.b("吴䜶䤸场吼尾⁀㝂ⱄ⡆❈摊㭌ⅎ㕐絒㩔❖㱘㕚╜㉞ൠբᕦѨ੪ᥬᱮ屰ᱲ፴ᅶၸ᭾歷ꆎﲒﲞ쒠킢횤캦잨첪사쎮龰햲\udab4\ud8b6춸\udeba\ucfbc钾맀껂꧄", num)); } else if (str.StartsWith(BookmarkStart.b("倴夶崸唺刼䬾⑀", num))) { item.method_1(BookmarkStart.b("吴䜶䤸场吼尾⁀㝂ⱄ⡆❈摊㭌ⅎ㕐絒㩔❖㱘㕚╜㉞ൠբᕦѨ੪ᥬᱮ屰ᱲ፴ᅶၸ᭾歷ꆎﲒﲞ쒠킢횤캦잨첪사쎮龰횲\udbb4\ud3b6ힸ풺즼\udabe\ub2c0뷄ꗈ", num)); } else if (str.StartsWith(BookmarkStart.b("匴堶嘸伺匼倾㕀♂", num))) { item.method_1(BookmarkStart.b("吴䜶䤸场吼尾⁀㝂ⱄ⡆❈摊㭌ⅎ㕐絒㩔❖㱘㕚╜㉞ൠբᕦѨ੪ᥬᱮ屰ᱲ፴ᅶၸ᭾歷ꆎﲒﲞ쒠킢횤캦잨첪사쎮龰햲\udab4\ud8b6춸햺튼쮾꓀냂뿆ꟊ", num)); } else if (str.StartsWith(BookmarkStart.b("匴堶圸伺䤼帾⍀⽂⁄", num))) { item.method_1(BookmarkStart.b("吴䜶䤸场吼尾⁀㝂ⱄ⡆❈摊㭌ⅎ㕐絒㩔❖㱘㕚╜㉞ൠբᕦѨ੪ᥬᱮ屰ᱲ፴ᅶၸ᭾歷ꆎﲒﲞ쒠킢횤캦잨첪사쎮龰햲\udab4\ud9b6춸\udcbc\uddbe귀ꛂ뿆ꟊ", num)); } else if (str.StartsWith(BookmarkStart.b("匴堶圸伺", num))) { item.method_1(BookmarkStart.b("吴䜶䤸场吼尾⁀㝂ⱄ⡆❈摊㭌ⅎ㕐絒㩔❖㱘㕚╜㉞ൠբᕦѨ੪ᥬᱮ屰ᱲ፴ᅶၸ᭾歷ꆎﺐﲜ쒠잢좦잨\udfaa", num)); } else if (str.StartsWith(BookmarkStart.b("䄴弶尸嘺堼", num))) { item.method_1(BookmarkStart.b("吴䜶䤸场吼尾⁀㝂ⱄ⡆❈摊㭌ⅎ㕐絒㩔❖㱘㕚╜㉞ൠբᕦѨ੪ᥬᱮ屰ᱲ፴ᅶၸ᭾歷ꆎﮒ殺ﲘ낚춠", num)); } else if (str.StartsWith(BookmarkStart.b("匴堶圸伺䤼帾⍀⽂⁄", num))) { item.method_1(BookmarkStart.b("吴䜶䤸场吼尾⁀㝂ⱄ⡆❈摊㭌ⅎ㕐絒㩔❖㱘㕚╜㉞ൠբᕦѨ੪ᥬᱮ屰ᱲ፴ᅶၸ᭾歷ꆎﲒﲞ쒠킢횤캦잨첪사쎮龰햲\udab4\ud9b6춸\udcbc\uddbe귀ꛂ뿆ꟊ", num)); } else if (str.StartsWith(BookmarkStart.b("嘴䈶䨸伺刼刾", num))) { item.method_1(BookmarkStart.b("吴䜶䤸场吼尾⁀㝂ⱄ⡆❈摊㭌ⅎ㕐絒㩔❖㱘㕚╜㉞ൠբᕦѨ੪ᥬᱮ屰ᱲ፴ᅶၸ᭾歷ꆎ난펠첢햤슦\udba8\udfaa쒬쪮슰颲춴\udab6\ud5b8", num)); } else if (str.StartsWith(BookmarkStart.b("嘴堶䬸帺", num))) { item.method_1(BookmarkStart.b("吴䜶䤸场吼尾⁀㝂ⱄ⡆❈摊㭌ⅎ㕐絒㩔❖㱘㕚╜㉞ൠբᕦѨ੪ᥬᱮ屰Ͳᑴᑶቸ᩺᩼꾀Ꚋﶌﶎﺐ誠\udba2\uc8a4쮦", num)); } else if (str.StartsWith(BookmarkStart.b("吴䜶䤸", num))) { item.method_1(BookmarkStart.b("吴䜶䤸场吼尾⁀㝂ⱄ⡆❈摊㭌ⅎ㕐絒㩔❖㱘㕚╜㉞ൠբᕦѨ੪ᥬᱮ屰ᱲ፴ᅶၸ᭾歷ꆎレﮞ負펢좦\ud9a8\uceaa\udfac\udbae\ud8b0\ud6b2운鲶솸횺톼", num)); } else if (str.StartsWith(BookmarkStart.b("尴䌶尸嘺", num))) { item.method_1(BookmarkStart.b("吴䜶䤸场吼尾⁀㝂ⱄ⡆❈摊㕌≎㵐", num)); } else if (str.StartsWith(BookmarkStart.b("尴䌶尸嘺䴼䴾⹀㍂㙄", num))) { item.method_1(BookmarkStart.b("吴䜶䤸场吼尾⁀㝂ⱄ⡆❈摊㭌ⅎ㕐絒㩔❖㱘㕚╜㉞ൠբᕦѨ੪ᥬᱮ屰ᱲ፴ᅶၸ᭾歷ꆎ얜춠좦\ud9a8\uceaa\udfac\udbae\ud8b0\ud6b2운鲶솸횺톼", num)); } else if (str.StartsWith(BookmarkStart.b("嘴弶堸䤺䤼", num))) { item.method_1(BookmarkStart.b("吴䜶䤸场吼尾⁀㝂ⱄ⡆❈摊㭌ⅎ㕐絒㩔❖㱘㕚╜㉞ൠբᕦѨ੪ᥬᱮ屰ᱲ፴ᅶၸ᭾歷ꆎ煮춠趢욤쾦좨\ud9aa\ud9ac蒮즰\udeb2\ud9b4", num)); } else if (str.StartsWith(BookmarkStart.b("儴嘶䴸娺", num))) { item.method_1(BookmarkStart.b("吴䜶䤸场吼尾⁀㝂ⱄ⡆❈摊㭌ⅎ㕐絒㩔❖㱘㕚╜㉞ൠբᕦѨ੪ᥬᱮ屰ᱲ፴ᅶၸ᭾歷ꆎ煮춠趢솤캦좨첪\udfac\uceae\udcb0\uf7b2풴쎶\ud8b8\u90ba얼튾귀", num)); } else if (str.StartsWith(BookmarkStart.b("嘴堶唸吺似", num))) { item.method_1(BookmarkStart.b("吴䜶䤸场吼尾⁀㝂ⱄ⡆❈摊㭌ⅎ㕐絒㩔❖㱘㕚╜㉞ൠբᕦѨ੪ᥬᱮ屰ᱲ፴ᅶၸ᭾歷ꆎ煮춠趢솤캦좨첪\udfac\uceae\udcb0\uf0b2\udab4\udbb6횸즺캼钾맀껂꧄", num)); } else if (str.StartsWith(BookmarkStart.b("䐴䈶倸堺嘼䰾㕀㩂⥄≆", num))) { item.method_1(BookmarkStart.b("吴䜶䤸场吼尾⁀㝂ⱄ⡆❈摊㭌ⅎ㕐絒㩔❖㱘㕚╜㉞ൠբᕦѨ੪ᥬᱮ屰ᱲ፴ᅶၸ᭾歷ꆎ煮춠趢솤캦좨첪\udfac\uceae\udcb0\ue0b2솴캶햸\udeba\u96bc잾곀꿂", num)); } else if (str.StartsWith(BookmarkStart.b("头嘶䀸吺䠼䬾", num))) { item.method_1(BookmarkStart.b("吴䜶䤸场吼尾⁀㝂ⱄ⡆❈摊㭌ⅎ㕐絒㩔❖㱘㕚╜㉞ൠբᕦѨ੪ᥬᱮ屰ᱲ፴ᅶၸ᭾歷ꆎ煮춠趢솤캦좨첪\udfac\uceae\udcb0\uffb2풴캶횸캺즼钾맀껂꧄", num)); } else if (!str.EndsWith(BookmarkStart.b("᬴崶䤸帺娼", num)) && !str.EndsWith(BookmarkStart.b("᬴崶䤸尺", num))) { if (!str.EndsWith(BookmarkStart.b("᬴制吸崺", num)) && !str.EndsWith(BookmarkStart.b("᬴䀶吸崺", num))) { if (str.EndsWith(BookmarkStart.b("᬴倶倸崺", num))) { item.method_1(BookmarkStart.b("尴娶堸尺堼ှ♀⩂⍄", num)); } else if (str.EndsWith(BookmarkStart.b("᬴䜶圸尺", num))) { item.method_1(BookmarkStart.b("尴娶堸尺堼ှ潀㍂⭄⁆", num)); } else { item.method_1(BookmarkStart.b("吴䜶䤸场吼尾⁀㝂ⱄ⡆❈摊㕌≎㵐", num)); } } else { item.method_1(BookmarkStart.b("尴娶堸尺堼ှ㥀湂㉄⩆⽈", num)); } } else { item.method_1(BookmarkStart.b("尴娶堸尺堼ှ⭀㍂⁄⁆", num)); } list.Add(item); } } if ((this.dictionary_1 != null) && (this.dictionary_1.Count > 0)) { foreach (KeyValuePair <string, Class1128> pair3 in this.dictionary_1) { Class1128 class3 = pair3.Value; string str3 = !string.IsNullOrEmpty(this.string_0) ? (A_0 + this.string_0) : A_0; list.AddRange(class3.vmethod_0(str3)); } } return(list); }