RefreshDecay() public method

public RefreshDecay ( ) : bool
return bool
コード例 #1
0
        public void ShowSign(Mobile m)
        {
            if (m_Owner != null)
            {
                if (m_Owner.IsFriend(m) && m.AccessLevel < AccessLevel.GameMaster)
                {
                    #region Mondain's Legacy
                    if ((Core.ML && m_Owner.IsOwner(m)) || !Core.ML)
                    {
                        m_Owner.RefreshDecay();
                    }
                    #endregion
                    if (!Core.AOS)
                    {
                        m.SendLocalizedMessage(501293);                           // Welcome back to the house, friend!
                    }
                }

                if (m_Owner.IsAosRules)
                {
                    m.SendGump(new HouseGumpAOS(HouseGumpPageAOS.Information, m, m_Owner));
                }
                else
                {
                    m.SendGump(new HouseGump(m, m_Owner));
                }
            }
        }
コード例 #2
0
        public void ShowSign(Mobile m)
        {
            if (m_Owner != null && m.AccessLevel == AccessLevel.Player)
            {
                if ((m_Owner.IsFriend(m)))
                {
                    m_Owner.RefreshDecay();
                }
            }

            m.SendGump(new HouseGump(HouseGumpPage.Information, m, m_Owner));
        }
コード例 #3
0
        public void ShowSign(Mobile m)
        {
            if (m_Owner != null)
            {
                if (m_Owner.IsFriend(m) && m.AccessLevel < AccessLevel.GameMaster)
                {
                    m_Owner.RefreshDecay();
                    m.SendLocalizedMessage(501293);   // Welcome back to the house, friend!
                }

                m.SendGump(new HouseGump(m, m_Owner));
            }
        }
コード例 #4
0
        public void ShowSign(Mobile m)
        {
            if (m_Owner != null)
            {
                if (m_Owner.IsFriend(m) && m.AccessLevel < AccessLevel.GameMaster)
                {
                    m_Owner.RefreshDecay();
                    m.SendLocalizedMessage(501293);                       // Welcome back to the house, friend!
                }

                //if ( m_Owner.IsAosRules || m_Owner is HouseFoundation )
                m.SendGump(new HouseGumpAOS(HouseGumpPageAOS.Information, m, m_Owner));
                //else
                //	m.SendGump( new HouseGump( m, m_Owner ) );
            }
        }
コード例 #5
0
        public void ShowSign(Mobile m)
        {
            if (m_Owner != null && m.AccessLevel == AccessLevel.Player)
            {
                if ((Core.ML && m_Owner.IsFriend(m)) || !Core.ML)
                {
                    m_Owner.RefreshDecay();
                }

                if (!Core.AOS && m_Owner.IsFriend(m))
                {
                    m.SendLocalizedMessage(501293); // Welcome back to the house, friend!
                }
            }

            if (m_Owner.IsAosRules)
            {
                m.SendGump(new HouseGumpAOS(HouseGumpPageAOS.Information, m, m_Owner));
            }
            else
            {
                m.SendGump(new HouseGump(m, m_Owner));
            }
        }