This repository was archived by the owner on Oct 25, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
TF2 Items
Nicklas Marc Pedersen edited this page Aug 4, 2018
·
9 revisions
Use this to check weather or not the module has been successfully initialized. true if it is, otherwise false.
An instance of Schema, only available after a successful initialization.
- options - Optional. All options can be set manually after initializing.
Constructs a new instance of tf2-items.
- callback - Optional. Only needed if checking for errors when calling this.
- err - If an error occurred, this is an
Errorobject, otherwisenull. Will return an error if it did not finish successfully.
- err - If an error occurred, this is an
Required to call this (and finish successfully) in order to be able to use the other methods.
- steamid64 - SteamID64 of the user you want to get the inventory of.
- callback
- err - If an error occurred, this is an
Errorobject, otherwisenull.
- err - If an error occurred, this is an
Returns an instance of Inventory.
Emitted after calling init and not getting any errors. Once this is emitted, you are ready to use the module.
Emitted when the schema has been updated, the callback function contains the schema.