public static void QueryProperties( NetState state, PacketReader pvSrc )
{
if ( !ObjectPropertyList.Enabled )
return;
Mobile from = state.Mobile;
Serial s = pvSrc.ReadInt32();
if ( s.IsMobile )
{
Mobile m = World.FindMobile( s );
if ( m != null && from.CanSee( m ) && Utility.InUpdateRange( from, m ) )
m.SendPropertiesTo( from );
}
else if ( s.IsItem )
{
Item item = World.FindItem( s );
if ( item != null && !item.Deleted && from.CanSee( item ) && Utility.InUpdateRange( from.Location, item.GetWorldLocation() ) )
item.SendPropertiesTo( from );
}
}