![]() If null, no data will be automatically stored.ĭefaults to a platform-specific user data directory. ![]() They are: dataDirectoryĬontrols where the Steam server list and sentry files are written. There are a number of options which can control the behavior of the SteamUser object. currency - The currency code value in the ECurrenc圜ode enumįormats a currency value and returns a string.Static methods, or functions attached directly to SteamUser, are called on the root module and not on instantiated handler instances. For example, given an EResult of 88 you can translate it using SteamUser.EResult which gives you For example, access EResultĪdditionally, for convenience, the name of an enum value is available from any enum at the key identified by the enum ![]() They're all available directly from SteamUser. ![]() Promise rejection will raise a warning, and eventually a crash in a future Node.js release. If a callback is listed as required and you neither supply a callback nor handle the promise rejection, then a Promises, but if a callback is listed as optional then an unhandled promise rejection will not raise a warning/error. You are never required to use callbacks over Some methods indicate that their callback is required or optional. Is identical to the promise output for that method. Newer callbacks return a single object response argument, which Names of the callback arguments listed in this readme. The names of these properties for legacy callbacks are the Return a single object containing one or more properties. All promises (which return any data at all) Legacy callbacks return their data spanning across multiple arguments. Callbacks and PromisesĪll methods listed in this document that accept a callback also return a Promise. Please read this section in itsĮntirety before starting work with SteamUser. There are a number of coding patterns that are repeated throughout SteamUser. Some of the documentation for SteamUser, especially documentation for experimental features (but not exclusively),
0 Comments
Leave a Reply. |