public int this[DecorationId id] { get { return(inventory[id.ToString()]); } set { inventory[id.ToString()] = value; } }
public APICall <PurchaseDecorationOperation> PurchaseDecoration(DecorationId decorationId, int?count) { if (!count.HasValue) { count = 1; } PurchaseDecorationOperation operation = new PurchaseDecorationOperation(decorationId.ToString(), count.Value); return(new APICall <PurchaseDecorationOperation>(clubPenguinClient, operation)); }
public APICall <DeleteDecorationOperation> DeleteDecoration(DecorationId decorationId) { DeleteDecorationOperation operation = new DeleteDecorationOperation(decorationId.ToString()); return(new APICall <DeleteDecorationOperation>(clubPenguinClient, operation)); }
public bool ContainsKey(DecorationId key) { return(inventory.ContainsKey(key.ToString())); }