private void method_13(GClass269 gclass269_0) { string[] array; if (GClass90.smethod_1(gclass269_0.string_0, out array, new string[] { "n", "INV" })) { int num = int.Parse(array[0]); Ship ship = this.Game.Map.method_4(num); if (array[1] == "1" && ship != null && num != this.Game.Hero.Id) { this.bool_1 = false; this.method_0().method_9(GClass90.smethod_2(num, false)); this.method_0().method_9(GClass90.Log("Unmasked: " + ship.Name)); return; } } else if (GClass90.smethod_1(gclass269_0.string_0, out array, new string[] { "i" })) { this.bool_1 = false; } }
private void method_3(GameManager gameManager_0, GClass269 gclass269_0) { string[] source; if (GClass90.smethod_1(gclass269_0.string_0, out source, new string[] { "n", "MSG", "1", "0", "msg_galaxy_gate_cooldown_active" }) && source.FirstOrDefault <string>() != null) { Dictionary <string, string> dictionary = GClass90.smethod_0(source.FirstOrDefault <string>()); string s; string s2; int num; int num2; if (dictionary.TryGetValue("%HOURS%", out s) && dictionary.TryGetValue("%MINUTES%", out s2) && int.TryParse(s, out num) && int.TryParse(s2, out num2)) { base.Log.Info <int, int>("GG cooldown: {hours}h {minutes}m", num, num2); this.dateTimeOffset_2 = DateTimeOffset.Now.AddHours((double)num).AddMinutes((double)num2); } } }