AlbLib.SaveGame.ItemStack.ToString C# (CSharp) Method

ToString() public method

Converts item stack to string.
public ToString ( ) : string
return string
        public override string ToString()
        {
            if(Count == 0 || Type == 0)
            {
                return "[ItemStack None]";
            }else{
                return string.Format("[ItemStack Count={0}, Type={1}, Flags={2}]", Count, TypeName+" ("+Type+")", Flags);
            }
        }