private void P7_Tick(object sender, EventArgs e) { byte[] buffer311; WriteText("^1-- ^5N^7o ^5H^7ost ^5M^7od ^5M^7enu ^5B^7y ^5M^7rNiato ^1--\n\n^5Prestige 5\nPrestige 10\nPrestige 15\nPrestige 20\nPrestige 25\nPrestige 30\n^2-->^5Prestige 31"); if (Key_IsDown.DetectKey(Key_IsDown.Key.Cross)) { numericUpDown1.Value = 31; buffer311 = BitConverter.GetBytes(Convert.ToInt32(numericUpDown1.Value)); PS3.SetMemory(Stats_Entry + 0x0D, buffer311); } if (Key_IsDown.DetectKey(Key_IsDown.Key.DPAD_DOWN)) { P7.Stop(); P1.Start(); } if (Key_IsDown.DetectKey(Key_IsDown.Key.DPAD_UP)) { P7.Stop(); P6.Start(); } if (Key_IsDown.DetectKey(Key_IsDown.Key.R3)) { P7.Stop(); HostMainMenu.Start(); } }
private void btnHome_Click(object sender, EventArgs e) { P1.Hide(); P2.Hide(); P3.Hide(); P4.Hide(); P7.Hide(); P5.Show(); P5.BringToFront(); lbltab.Text = "Home Page"; btnConnecting.BackColor = Color.FromArgb(41, 39, 40); btnConnecting.ForeColor = Color.DimGray; btnSetting.BackColor = Color.FromArgb(41, 39, 40); btnSetting.ForeColor = Color.DimGray; btnController.BackColor = Color.FromArgb(41, 39, 40); btnController.ForeColor = Color.DimGray; btnStatus.BackColor = Color.FromArgb(41, 39, 40); btnStatus.ForeColor = Color.DimGray; btnHome.BackColor = Color.FromArgb(41, 39, 70); btnHome.ForeColor = Color.Aquamarine; btnHistory.BackColor = Color.FromArgb(41, 39, 40); btnHistory.ForeColor = Color.DimGray; }
private void btnreport_Click(object sender, EventArgs e) { P1.Hide(); P2.Hide(); P3.Hide(); P4.Hide(); P5.Hide(); P7.Show(); P7.BringToFront(); lbltab.Text = "Report Page"; btnConnecting.BackColor = Color.FromArgb(41, 39, 40); btnConnecting.ForeColor = Color.DimGray; btnsetting.BackColor = Color.FromArgb(41, 39, 40); btnsetting.ForeColor = Color.DimGray; btncontroller.BackColor = Color.FromArgb(41, 39, 40); btncontroller.ForeColor = Color.DimGray; btnstatus.BackColor = Color.FromArgb(41, 39, 40); btnstatus.ForeColor = Color.DimGray; btnhome.BackColor = Color.FromArgb(41, 39, 40); btnhome.ForeColor = Color.DimGray; btnreport.BackColor = Color.FromArgb(41, 39, 70); btnreport.ForeColor = Color.Aquamarine; }
void OnCollisionStay(Collision collisionInfo) { if (collisionInfo.gameObject.tag == "Player") { //turns on correct path. didn't know a better way to go about this P1.SetActive(true); P2.SetActive(true); P3.SetActive(true); P4.SetActive(true); P5.SetActive(true); P6.SetActive(true); P7.SetActive(true); } }
public override string ToString() { if (P4 != null) { foreach (var item in P4) { Console.WriteLine($"{item.Key},{item.Value}"); } } if (P5 != null) { Console.WriteLine(string.Join("|", P5)); } if (P8 != null) { Console.WriteLine(P8.TableName); } return($"{P1},{P2},{string.Join(",", P3[1])},{P6.ToString()},{P7.ToString()}"); }
protected override void Check() { _x = 2; base.P1.ShouldBe(4); base.P3.ShouldBe(1); _x = 10; base.P1.ShouldBe(20); base.P3.ShouldBe(5); base.P2.ShouldBe(77); base.P4 = 9; base.P4.ShouldBe(9); base.P4 = 11; base.P4.ShouldBe(11); base.P5 = 13; _x.ShouldBe(13); base.P5 = 131; _x.ShouldBe(131); base.P6 = 16; base.P6.ShouldBe(16); base.P6 = 8; base.P6.ShouldBe(8); _x = 4; P1.ShouldBe(16); P3.ShouldBe(1); _x = 16; P1.ShouldBe(64); P3.ShouldBe(4); P2.ShouldBe(771); P4 = 19; P4.ShouldBe(19); base.P4.ShouldBe(11); P4 = 111; P4.ShouldBe(111); base.P4.ShouldBe(11); P5 = 13; _x.ShouldBe(14); P5 = 131; _x.ShouldBe(132); P6 = 16; _x.ShouldBe(4); P6.ShouldBe(16); P6 = 8; _x.ShouldBe(2); P6.ShouldBe(8); P7 = -1; P7.ShouldBe(-1); }
public bool Equals(ValidationReferenceTypeModel?other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (P1 == other.P1 && P2 == other.P2 && P3 == other.P3 && MathF.Abs(P4 - other.P4) < 0.001f && Math.Abs(P5 - other.P5) < 0.001 && P6.Equals(other.P6) && P7.Equals(other.P7) && PN1_0 == other.PN1_0 && PN1_1 == other.PN1_1 && PN2 == other.PN2 && PN3_0 == other.PN3_0 && PN3_1 == other.PN3_1 && (PN4.HasValue && other.PN4.HasValue && MathF.Abs(PN4.Value - other.PN4.Value) < 0.001f || PN4 == null && other.PN4 == null) && (PN5.HasValue && other.PN5.HasValue && Math.Abs(PN5.Value - other.PN5.Value) < 0.001 || PN5 == null && other.PN5 == null) && (PN6.HasValue && other.PN6.HasValue && PN6.Value.Equals(other.PN6.Value) || PN6 == null && other.PN6 == null) && (PN7_0.HasValue && other.PN7_0.HasValue && PN7_0.Value.Equals(other.PN7_0.Value) || PN7_0 == null && other.PN7_0 == null) && (PN7_1.HasValue && other.PN7_1.HasValue && PN7_1.Value.Equals(other.PN7_1.Value) || PN7_1 == null && other.PN7_1 == null) && (P8_0 != null && other.P8_0 != null && P8_0.Equals(other.P8_0) || P8_0 == null && other.P8_0 == null) && (P8_1 != null && other.P8_1 != null && P8_1.Equals(other.P8_1) || P8_1 == null && other.P8_1 == null) && (P8_2 != null && other.P8_2 != null && P8_2.Equals(other.P8_2) || P8_2 == null && other.P8_2 == null) && (P9_0 != null && other.P9_0 != null && P9_0.Length == other.P9_0.Length && P9_0.Zip(other.P9_0).All(t => t.First == t.Second) || P9_0 == null && other.P9_0 == null) && (P9_1 != null && other.P9_1 != null && P9_1.Length == other.P9_1.Length && P9_1.Zip(other.P9_1).All(t => t.First == t.Second) || P9_1 == null && other.P9_1 == null) && (P10 != null && other.P10 != null && P10.Length == other.P10.Length && P10.Zip(other.P10).All(t => t.First == t.Second) || P10 == null && other.P10 == null) && (P11_0 != null && other.P11_0 != null && P11_0.Length == other.P11_0.Length && P11_0.Zip(other.P11_0).All(t => t.First == t.Second) || P11_0 == null && other.P11_0 == null) && (P11_1 != null && other.P11_1 != null && P11_1.Length == other.P11_1.Length && P11_1.Zip(other.P11_1).All(t => t.First == t.Second) || P11_1 == null && other.P11_1 == null) && (P12_0 != null && other.P12_0 != null && P12_0.Count == other.P12_0.Count && P12_0.Zip(other.P12_0).All(t => t.First == t.Second) || P12_0 == null && other.P12_0 == null) && (P12_1 != null && other.P12_1 != null && P12_1.Count == other.P12_1.Count && P12_1.Zip(other.P12_1).All(t => t.First == t.Second) || P12_1 == null && other.P12_1 == null) && (PN12 != null && other.PN12 != null && PN12.Count == other.PN12.Count && PN12.Zip(other.PN12).All(t => t.First == t.Second) || PN12 == null && other.PN12 == null) && (P13 != null && other.P13 != null && P13.Count == other.P13.Count && P13.Zip(other.P13).All(t => t.First == t.Second) || P13 == null && other.P13 == null) && StructuralComparer.IsMatch(P14, other.P14) && StructuralComparer.IsMatch(P15, other.P15) && StructuralComparer.IsMatch(P16, other.P16) && StructuralComparer.IsMatch(P17, other.P17) && StructuralComparer.IsMatch(P18, other.P18) && StructuralComparer.IsMatch(P19, other.P19) && StructuralComparer.IsMatch(P20, other.P20) && StructuralComparer.IsMatch(P21 as Dictionary <string, int?>, other.P21 as Dictionary <string, int?>) && StructuralComparer.IsMatch(P22 as Dictionary <string, JsonResponseModel?>, other.P22 as Dictionary <string, JsonResponseModel?>)); }