Server.Items.Corpse.InstancedItemInfo.IsOwner C# (CSharp) Méthode

IsOwner() public méthode

public IsOwner ( Mobile m ) : bool
m Mobile
Résultat bool
			public bool IsOwner( Mobile m )
			{
				if ( m_Item.LootType == LootType.Cursed )   //Cursed Items are part of everyone's instanced corpse... (?)
					return true;

				if ( m == null )
					return false;   //sanity

				if ( m_Mobile == m )
					return true;

				Party myParty = Party.Get( m_Mobile );

				return (myParty != null && myParty == Party.Get( m ));
			}
		}
Corpse.InstancedItemInfo