ItemShort.GetData C# (CSharp) Method

GetData() public method

public GetData ( Hashtable ht ) : Hashtable
ht Hashtable
return Hashtable
    public Hashtable GetData(Hashtable ht)
    {
        if(this.isMoney) ht.Add("ismoney", "true");
        else
        {
            ht.Add("type", this.type.ToString());
            ht.Add("itemid", this.id.ToString());
        }
        ht.Add("quantity", this.quantity.ToString());
        return ht;
    }