private static Color smethod_2(Class678 A_0) { TextureStyle style = A_0.method_13(); switch (style) { case TextureStyle.TextureNone: case TextureStyle.TextureNil: if (!A_0.method_7().IsEmpty&& (smethod_4(A_0.method_7()) <= 0.238f)) { return(Color.White); } return(Color.Black); } if (!Class955.smethod_13(style)) { float num = (float)Class955.smethod_11(style); float num2 = smethod_4(smethod_1(A_0.method_11())) * num; float num3 = 1f - num; float num4 = smethod_4(smethod_0(A_0.method_7())) * num3; float num5 = num2 + num4; if (num5 <= 0.238f) { return(Color.White); } } return(Color.Black); }
internal bool method_1(Class678 A_0) { if (object.ReferenceEquals(null, A_0)) { return(false); } return(object.ReferenceEquals(this, A_0) || (((((this.method_13() == A_0.method_13()) && (this.method_11() == A_0.method_11())) && ((this.method_7() == A_0.method_7()) && (this.method_15() == A_0.method_15()))) && (((this.method_17() == A_0.method_17()) && (this.method_19() == A_0.method_19())) && ((this.method_21() == A_0.method_21()) && (this.method_23() == A_0.method_23())))) && (this.method_25() == A_0.method_25()))); }
private void method_3(Class678 A_0) { int num = 0; if (A_0 == null) { throw new ArgumentNullException(BookmarkStart.b("唥娧䤩", num)); } this.interface69_0 = A_0.interface69_0; smethod_0(new object[] { this.int_0 != A_0.int_0, PrId.Key, this.int_0 }); this.int_0 = A_0.int_0; smethod_0(new object[] { this.textureStyle_0 != A_0.method_13(), PrId.Texture, this.textureStyle_0 }); this.textureStyle_0 = A_0.method_13(); smethod_0(new object[] { this.color_0 != A_0.method_11(), PrId.ForegroundPatternColor, this.color_0 }); this.color_0 = A_0.method_11(); smethod_0(new object[] { this.color_1 != A_0.method_7(), PrId.BackgroundPatternColor, this.color_1 }); this.color_1 = A_0.method_7(); this.string_0 = A_0.method_15(); this.string_1 = A_0.method_17(); this.string_2 = A_0.method_19(); this.string_3 = A_0.method_21(); this.string_4 = A_0.method_23(); this.string_5 = A_0.method_25(); }