internal Class81 method_6() { Class81 class81 = new Class81(); List <ushort> ushortList = new List <ushort>((IEnumerable <ushort>) this.idictionary_0.Keys); ushortList.Sort(); ushort startIndex1 = ushortList[0]; ushort unicodeValue1 = this.idictionary_0[startIndex1]; Class43 entry = new Class43(startIndex1, unicodeValue1); class81.Add(entry); for (int index = 1; index < this.idictionary_0.Count; ++index) { ushort startIndex2 = ushortList[index]; ushort unicodeValue2 = this.idictionary_0[startIndex2]; if ((int)unicodeValue2 == (int)unicodeValue1 + 1 && (int)startIndex2 == (int)startIndex1 + 1) { entry.method_0(); } else { entry = new Class43(startIndex2, unicodeValue2); class81.Add(entry); } startIndex1 = startIndex2; unicodeValue1 = unicodeValue2; } return(class81); }
// Token: 0x06000011 RID: 17 RVA: 0x00002C0E File Offset: 0x00000E0E public override Class80 vmethod_4() { Class81 @class = new Class81(); @class.method_3(this.char_0); @class.method_1(base.method_0()); return(@class); }
private void method_3(Class81 entries) { Class43 entry1 = entries[0]; Class43 entry2 = entries[entries.Count - 1]; this.XOut.WriteLine("1 begincodespacerange"); this.XOut.WriteLine(string.Format("<{0:X4}> <{1:X4}>", (object)entry1.StartGlyphIndex, (object)entry2.EndGlyphIndex)); this.XOut.WriteLine("endcodespacerange"); }
private void method_4(Class81 entries) { Class43[] chars = entries.Chars; int num1 = chars.Length / 100 + (chars.Length % 100 > 0 ? 1 : 0); for (int index1 = 0; index1 < num1; ++index1) { int num2 = index1 + 1 == num1 ? chars.Length - index1 * 100 : 100; this.XOut.WriteLine(string.Format("{0} beginbfchar", (object)num2)); for (int index2 = 0; index2 < num2; ++index2) { Class43 class43 = chars[index1 * 100 + index2]; this.XOut.WriteLine(string.Format("<{0:X4}> <{1:X4}>", (object)class43.StartGlyphIndex, (object)class43.UnicodeValue)); } this.XOut.WriteLine("endbfchar"); } }
internal void method_2() { this.XOut.WriteLine("/CIDInit /ProcSet findresource begin"); this.XOut.WriteLine("12 dict begin"); this.XOut.WriteLine("begincmap"); this.XOut.WriteLine("/CIDSystemInfo"); this.XOut.WriteLine((IPdfObject)this.class39_0); this.XOut.WriteLine("def"); this.XOut.WriteLine(string.Format("/CMapName /{0} def", (object)"Adobe-Identity-UCS")); this.XOut.WriteLine("/CMapType 2 def"); if (this.idictionary_0.Count > 0) { Class81 entries = this.method_6(); this.method_3(entries); this.method_4(entries); this.method_5(entries); } this.XOut.WriteLine("endcmap"); this.XOut.WriteLine("CMapName currentdict /CMap defineresource pop"); this.XOut.WriteLine("end"); this.XOut.Write("end"); }
protected override void PrepareRomIfNecessary(bool directDownload) { Class67.smethod_10(); if (this.Boolean_2) { return; } switch (this.gclass30_0.System) { case GEnum3.const_1: this.gclass30_0.method_16(this.CurrentGamePath, false, false, (IEnumerable <GClass12>)null, false); Class81.smethod_2(Path.Combine(this.CurrentGamePath, "content")); this.method_12(true); break; case GEnum3.const_3: this.gclass30_0.method_10(this.CurrentGamePath, "game.wad"); break; default: throw new ArgumentException("This game cannot be used with Dolphin!"); } }
internal void method_27() { int num = 10; base.Interface50.imethod_0().bool_6 = false; base.method_23(this.class394_0.method_12(BookmarkStart.b("䌯䈱唳唵崷", 10), "") == BookmarkStart.b("䀯䀱儳䔵崷䠹䨻嬽", 10)); while (this.class394_0.method_9(BookmarkStart.b("䜯崱䘳刵簷唹弻䬽ⴿ❁⩃㉅", num))) { string key = this.class394_0.method_1(); if (key != null) { int num2; if (Class1160.dictionary_201 == null) { Dictionary <string, int> dictionary1 = new Dictionary <string, int>(13); dictionary1.Add(BookmarkStart.b("振弱唳䐵䰷渹崻夽ᐿ㭁㑃⍅", num), 0); dictionary1.Add(BookmarkStart.b("琯崱圳䌵唷弹刻䨽ဿぁ⭃㙅ⵇ㡉㡋❍㕏⅑", num), 1); dictionary1.Add(BookmarkStart.b("猯䜱䜳䈵圷圹砻儽⌿㝁⥃⍅♇㹉㱍㽏≑ㅓⱗ㍙㥛ⵝ", num), 2); dictionary1.Add(BookmarkStart.b("嘯崱娳䈵䬷", num), 3); dictionary1.Add(BookmarkStart.b("嘯䀱唳嬵崷䤹夻䨽", num), 4); dictionary1.Add(BookmarkStart.b("尯嬱䜳䈵䬷", num), 5); dictionary1.Add(BookmarkStart.b("䌯䘱䴳娵崷䤹", num), 6); dictionary1.Add(BookmarkStart.b("启崱圳礵吷弹砻弽㐿⍁", num), 7); dictionary1.Add(BookmarkStart.b("启崱圳攵䴷䨹䰻稽ℿ㙁╃", num), 8); dictionary1.Add(BookmarkStart.b("䌯娱唳䘵崷縹夻堽ℿ㝁⡃㉅㭇", num), 9); dictionary1.Add(BookmarkStart.b("刯唱搳張嬷丹", num), 10); dictionary1.Add(BookmarkStart.b("启崱圳昵䨷", num), 11); dictionary1.Add(BookmarkStart.b("刯崱倳伵", num), 12); Class1160.dictionary_201 = dictionary1; } if (Class1160.dictionary_201.TryGetValue(key, out num2)) { switch (num2) { case 0: { this.method_28(); continue; } case 1: { Class81.smethod_0(this); continue; } case 2: { Class81.smethod_1(this); continue; } case 3: { Class961.smethod_0(this); continue; } case 4: { continue; } case 5: { Class684.smethod_0(this); continue; } case 6: { Class1081.smethod_0(this); Class684.smethod_11(this); continue; } case 7: { this.method_29(); continue; } case 8: { this.method_30(); continue; } case 9: { this.class394_0.vmethod_1(); continue; } case 10: { Class964.smethod_1(this); continue; } case 11: { Class913.smethod_0(this); continue; } case 12: { Class1038.smethod_0(this); continue; } } } } this.class394_0.vmethod_1(); } base.Interface50.imethod_0().bool_6 = true; base.method_0(); base.method_1(); }
// Token: 0x06000148 RID: 328 RVA: 0x0000F174 File Offset: 0x0000D374 public static Class80 smethod_1(object object_0, Type type_0) { Class80 @class = object_0 as Class80; if (@class != null) { return(@class); } if (type_0 == null) { if (object_0 == null) { return(new Class90()); } type_0 = object_0.GetType(); } type_0 = Class37.smethod_1(type_0); if (type_0 == Class175.type_0) { @class = new Class90(); if (object_0 != null && object_0.GetType() != Class175.type_0) { @class.method_1(object_0.GetType()); } } else if (Class29.smethod_0 <Array>(type_0)) { @class = new Class93(); } else if (Class29.smethod_0 <string>(type_0)) { @class = new Class96(); } else if (Class29.smethod_0 <IntPtr>(type_0)) { @class = new Class99(); } else if (Class29.smethod_0 <UIntPtr>(type_0)) { @class = new Class83(); } else if (Class29.smethod_0 <ulong>(type_0)) { @class = new Class89(); } else if (Class29.smethod_0 <uint>(type_0)) { @class = new Class92(); } else if (Class29.smethod_0 <ushort>(type_0)) { @class = new Class87(); } else if (Class29.smethod_0 <long>(type_0)) { @class = new Class82(); } else if (Class29.smethod_0 <int>(type_0)) { @class = new Class98(); } else if (Class29.smethod_0 <short>(type_0)) { @class = new Class94(); } else if (Class29.smethod_0 <byte>(type_0)) { @class = new Class88(); } else if (Class29.smethod_0 <sbyte>(type_0)) { @class = new Class85(); } else if (Class29.smethod_0 <double>(type_0)) { @class = new Class86(); } else if (Class29.smethod_0 <float>(type_0)) { @class = new Class91(); } else if (Class29.smethod_0 <bool>(type_0)) { @class = new Class97(); } else if (Class29.smethod_0 <char>(type_0)) { @class = new Class81(); } else if (Class175.smethod_0(type_0)) { Class90 class2 = new Class90(); class2.method_1(type_0); @class = class2; } else { if (Class29.smethod_0 <Enum>(type_0)) { Enum enum_; if (object_0 == null) { if (type_0 == Class175.type_2) { enum_ = null; } else { enum_ = (Enum)Activator.CreateInstance(type_0); } } else if (type_0 == Class175.type_2 && object_0 is Enum) { enum_ = (Enum)object_0; } else { enum_ = (Enum)Enum.ToObject(type_0, object_0); } return(new Class84(enum_)); } if (Class29.smethod_0 <ValueType>(type_0)) { if (object_0 == null) { object object_; if (type_0 == Class175.type_3) { object_ = null; } else { object_ = Activator.CreateInstance(type_0); } @class = new Class107(object_); } else { if (object_0.GetType() != type_0) { try { object_0 = Convert.ChangeType(object_0, type_0); } catch { } } @class = new Class107(object_0); } return(@class); } @class = new Class90(); } if (object_0 != null) { @class.vmethod_1(object_0); } return(@class); }