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

GetProperties() public method

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

			StringBuilder props = new StringBuilder();

			if (GetFlag(ConditionFlag.DenyMounted))
				props.Append("<BR>Deny Mounted");

			if (GetFlag(ConditionFlag.DenyFollowers))
				props.Append("<BR>Deny Followers");

			if (GetFlag(ConditionFlag.DenyPackContents))
				props.Append("<BR>Deny Pack Contents");

			if (GetFlag(ConditionFlag.DenyPackEthereals))
				props.Append("<BR>Deny Pack Ethereals");

			if (GetFlag(ConditionFlag.DenyHolding))
				props.Append("<BR>Deny Holding");

			if (GetFlag(ConditionFlag.DenyEquipment))
				props.Append("<BR>Deny Equipment");

			if (GetFlag(ConditionFlag.DenyTransformed))
				props.Append("<BR>Deny Transformed");

			if (GetFlag(ConditionFlag.StaffOnly))
				props.Append("<BR>Staff Only");

			if (GetFlag(ConditionFlag.DeadOnly))
				props.Append("<BR>Dead Only");

			if (props.Length != 0)
			{
				props.Remove(0, 4);
				list.Add(props.ToString());
			}
		}