Server.Items.HouseRaffleStone.GetProperties C# (CSharp) Method

GetProperties() public method

public GetProperties ( ObjectPropertyList list ) : void
list Server.ObjectPropertyList
return void
        public override void GetProperties( ObjectPropertyList list )
        {
            base.GetProperties( list );

            if ( ValidLocation() )
                list.Add( FormatLocation() );

            if ( m_Active )
            {
                list.Add( 1060658, "ticket price\t{0}", FormatPrice() ); // ~1_val~: ~2_val~
                list.Add( 1060659, "ends\t{0}", m_Started + m_Duration ); // ~1_val~: ~2_val~
            }
            else if ( m_Winner != null )
            {
                list.Add( 1060658, "winner\t{0}", m_Winner.Name ); // ~1_val~: ~2_val~
            }
        }