Class: TF2BetaInventory
- Inherits:
-
GameInventory
- Object
- GameInventory
- TF2BetaInventory
- Defined in:
- lib/steam/community/tf2/tf2_beta_inventory.rb
Overview
Represents the inventory (aka. Backpack) of a player of the public Team Fortress 2 beta
Constant Summary collapse
- APP_ID =
The Steam application ID of the Team Fortress 2 beta
520
Instance Attribute Summary
Attributes inherited from GameInventory
#app_id, #items, #preliminary_items, #user
Attributes included from Cacheable
Instance Method Summary collapse
-
#initialize(steam_id64, fetch = true, bypass_cache = false) ⇒ TF2BetaInventory
constructor
Creates a new inventory object for the given SteamID64 in the Team Fortress 2 beta (App ID 520).
Methods inherited from GameInventory
#[], #fetch, #inspect, #item_schema, new, schema_language=, #size
Methods included from Cacheable
#cache, #fetch, #fetched?, included
Constructor Details
#initialize(steam_id64, fetch = true, bypass_cache = false) ⇒ TF2BetaInventory
Creates a new inventory object for the given SteamID64 in the Team Fortress 2 beta (App ID 520)
22 23 24 |
# File 'lib/steam/community/tf2/tf2_beta_inventory.rb', line 22 def initialize(steam_id64) super APP_ID, steam_id64 end |