AlbLib.SaveGame.ItemStack.Equals C# (CSharp) Méthode

Equals() public méthode

Compares two item stacks.
public Equals ( ItemStack stack ) : bool
stack ItemStack
Résultat bool
        public bool Equals(ItemStack stack)
        {
            return this.Count == stack.Count &&
                   this.Charges == stack.Charges &&
                   this.NumRecharged == stack.NumRecharged &&
                   this.Flags == stack.Flags &&
                   this.Type == stack.Type;
        }

Same methods

ItemStack::Equals ( object obj ) : bool