private static void AllNames() { bool textFlags = Config.GetBool("LastTargTextFlags"); foreach (Mobile m in World.MobilesInRange()) { if (m != World.Player) { Client.Instance.SendToServer(new SingleClick(m)); } if (textFlags) { Targeting.CheckTextFlags(m); } if (Config.GetBool("ShowFriendOverhead") && FriendsManager.IsFriend(m.Serial)) { m.OverheadMessage(Config.GetInt("FriendOverheadFormatHue"), $"{Config.GetString("FriendOverheadFormat")}"); } } foreach (Item i in World.Items.Values) { if (i.IsCorpse) { Client.Instance.SendToServer(new SingleClick(i)); } } }
private static void AllNames() { bool textFlags = Config.GetBool("LastTargTextFlags"); foreach (Mobile m in World.MobilesInRange()) { if (m != World.Player) { ClientCommunication.SendToServer(new SingleClick(m)); } if (textFlags) { Targeting.CheckTextFlags(m); } } foreach (Item i in World.Items.Values) { if (i.IsCorpse) { ClientCommunication.SendToServer(new SingleClick(i)); } } }
private static void AllMobiles() { bool textFlags = Config.GetBool("LastTargTextFlags"); foreach (Mobile m in World.MobilesInRange()) { if (m != World.Player) { Client.Instance.SendToServer(new SingleClick(m)); } if (textFlags) { Targeting.CheckTextFlags(m); } } }