func (c *Client) GetTheirInventory(other steamid.SteamId, contextId uint64, appId uint32) (*inventory.Inventory, error) { return inventory.GetFullInventory(func() (*inventory.PartialInventory, error) { return c.getPartialTheirInventory(other, contextId, appId, nil) }, func(start uint) (*inventory.PartialInventory, error) { return c.getPartialTheirInventory(other, contextId, appId, &start) }) }
func (t *Trade) GetTheirInventory(contextId uint64, appId uint32) (*inventory.Inventory, error) { return inventory.GetFullInventory(func() (*inventory.PartialInventory, error) { return t.api.GetForeignInventory(contextId, appId, nil) }, func(start uint) (*inventory.PartialInventory, error) { return t.api.GetForeignInventory(contextId, appId, &start) }) }