示例#1
0
        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));
                }
            }
        }
示例#2
0
        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));
                }
            }
        }
示例#3
0
文件: Misc.cs 项目: sumpurns/Razor
        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);
                }
            }
        }