private Bitmap method_3(Enum12 enum12_0, int int_1) { Bitmap bitmap; Rectangle rectangle; switch (enum12_0) { case ((Enum12)0): bitmap = Class131.smethod_35(); rectangle = new Rectangle((int_1 * 0x15) + int_1, 0, 0x15, 0x52); break; case ((Enum12)1): bitmap = Class131.smethod_36(); rectangle = new Rectangle((int_1 * 0x15) + int_1, 0, 0x15, 0x52); break; case ((Enum12)3): bitmap = Class131.smethod_37(); rectangle = new Rectangle(0, (int_1 * 7) + int_1, 120, 7); break; case ((Enum12)4): bitmap = Class131.smethod_34(); rectangle = new Rectangle(0, (int_1 * 7) + int_1, 120, 7); break; default: bitmap = Class131.smethod_0(); rectangle = new Rectangle(0, 0, 5, 5); break; } return(bitmap.Clone(rectangle, PixelFormat.Format64bppPArgb)); }
public Struct25(Enum12 type) { this.enum12_0 = type; this.bool_0 = smethod_0(type); this.int_0 = -1; this.string_0 = null; }
internal static bool smethod_0(Enum12 enum12_1) { if (enum12_1 != Enum12.Array) { return(enum12_1 == Enum12.Constructor); } return(true); }
private void method_1(Enum12 enum12_0) { if (this.struct25_0.enum12_0 != Enum12.None) { this.list_0.Add(this.struct25_0); } this.struct25_0 = new Struct25(enum12_0); }
private void method_12(JsonToken jsonToken_1) { Enum12 enum2 = this.method_2(); if (this.method_13(jsonToken_1) != enum2) { throw JsonReaderException.smethod_1(this, "JsonToken {0} is not valid for closing JsonType {1}.".smethod_1(CultureInfo.InvariantCulture, jsonToken_1, enum2)); } this.state_0 = (this.method_3() != Enum12.None) ? State.PostValue : State.Finished; }
public Class117(GenericAudioStream stream11) { _stream10 = stream11; _class1200 = (Class120.smethod_2() ?? new Class120()); _enum120 = Class119.smethod_10(stream11.vmethod_0()); _int0 = stream11.vmethod_0().int_0; _double0 = stream11.vmethod_0().int_0 *(double)stream11.vmethod_0().short_1 / 1000.0; _int1 = stream11.vmethod_0().method_0(80); _int2 = 5; _intptr0 = Marshal.AllocHGlobal(_int1); _intptr1 = Class119.smethod_2(); _intptr2 = Class119.smethod_8(_int2); _enum10 = AudioStatus.ShouldStopAudio; }
public Class117(GenericAudioStream stream1_1) { this.stream1_0 = stream1_1; this.class120_0 = (Class120.smethod_2() ?? new Class120()); this.enum12_0 = Class119.smethod_10(stream1_1.vmethod_0()); this.int_0 = stream1_1.vmethod_0().int_0; this.double_0 = (double)stream1_1.vmethod_0().int_0 * (double)stream1_1.vmethod_0().short_1 / 1000.0; this.int_1 = stream1_1.vmethod_0().method_0(80); this.int_2 = 5; this.intptr_0 = Marshal.AllocHGlobal(this.int_1); this.intptr_1 = Class119.smethod_2(); this.intptr_2 = Class119.smethod_8(this.int_2); this.enum1_0 = Enum1.const_0; }
public Class117(GenericAudioStream stream1_1) { this.stream1_0 = stream1_1; this.class120_0 = (Class120.smethod_2() ?? new Class120()); this.enum12_0 = Class119.smethod_10(stream1_1.vmethod_0()); this.int_0 = stream1_1.vmethod_0().int_0; this.double_0 = (double)stream1_1.vmethod_0().int_0 *(double)stream1_1.vmethod_0().short_1 / 1000.0; this.int_1 = stream1_1.vmethod_0().method_0(80); this.int_2 = 5; this.intptr_0 = Marshal.AllocHGlobal(this.int_1); this.intptr_1 = Class119.smethod_2(); this.intptr_2 = Class119.smethod_8(this.int_2); this.enum1_0 = AudioStatus.ShouldStopAudio; }
private JsonToken method_9(Enum12 enum12_0) { switch (enum12_0) { case Enum12.Object: return(JsonToken.EndObject); case Enum12.Array: return(JsonToken.EndArray); case Enum12.Constructor: return(JsonToken.EndConstructor); } throw JsonWriterException.smethod_1(this, "No close token for type: " + enum12_0, null); }
private void method_7(Enum12 enum12_0) { switch (enum12_0) { case Enum12.Object: this.WriteEndObject(); return; case Enum12.Array: this.WriteEndArray(); return; case Enum12.Constructor: this.WriteEndConstructor(); return; } throw JsonWriterException.smethod_1(this, "Unexpected type when writing end: " + enum12_0, null); }
private void method_1(Enum12 enum12_0) { this.method_11(); if (this.struct25_0.enum12_0 == Enum12.None) { this.struct25_0 = new Struct25(enum12_0); } else { this.list_0.Add(this.struct25_0); this.struct25_0 = new Struct25(enum12_0); if (this.nullable_0.HasValue) { int num = this.Int32_0 + 1; if ((num > this.nullable_0) && !this.bool_0) { this.bool_0 = true; throw JsonReaderException.smethod_1(this, "The reader's MaxDepth of {0} has been exceeded.".smethod_0(CultureInfo.InvariantCulture, this.nullable_0)); } } } }
// Token: 0x06001127 RID: 4391 // RVA: 0x00010709 File Offset: 0x0000E909 public Stream4(Stream stream_0, Enum12 enum12_0, Enum11 enum11_0, bool bool_2) { this.stream5_0 = new Stream5(stream_0, enum12_0, enum11_0, Enum17.const_1, bool_2); }
internal void method_16(JsonToken jsonToken_0, Enum12 enum12_0) { this.method_0(); this.method_11(jsonToken_0); this.method_1(enum12_0); }
internal void method_13(Enum12 enum12_0) { this.method_10(enum12_0); }
private void method_10(Enum12 enum12_0) { int num = 0; if (this.struct25_0.enum12_0 == enum12_0) { num = 1; } else { int num2 = this.Top - 2; for (int j = num2; j >= 0; j--) { int num4 = num2 - j; if (this.list_0[num4].enum12_0 == enum12_0) { num = j + 2; break; } } } if (num == 0) { throw JsonWriterException.smethod_1(this, "No token to close.", null); } for (int i = 0; i < num; i++) { JsonToken token = this.method_9(this.method_2()); if (this.state_2 == State.Property) { this.WriteNull(); } if (((this.formatting_0 == Newtonsoft.Json.Formatting.Indented) && (this.state_2 != State.ObjectStart)) && (this.state_2 != State.ArrayStart)) { this.WriteIndent(); } this.WriteEnd(token); Enum12 enum2 = this.method_3(); switch (enum2) { case Enum12.None: this.state_2 = State.Start; break; case Enum12.Object: this.state_2 = State.Object; break; case Enum12.Array: this.state_2 = State.Array; break; case Enum12.Constructor: this.state_2 = State.Array; break; default: throw JsonWriterException.smethod_1(this, "Unknown JsonType: " + enum2, null); } } }
// Token: 0x06001126 RID: 4390 // RVA: 0x000106FD File Offset: 0x0000E8FD public Stream4(Stream stream_0, Enum12 enum12_0, Enum11 enum11_0) : this(stream_0, enum12_0, enum11_0, false) { }
public static extern void alBufferData(IntPtr intptr0, Enum12 enum120, IntPtr intptr1, int int0, int int1);
public static extern void alBufferData(IntPtr intptr_0, Enum12 enum12_0, IntPtr intptr_1, int int_0, int int_1);