|
|
(13 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
− | <div class="toccolours mw-collapsible mw-collapsed" style="background: #f0f0f0; border: 1px dashed darkgrey" width="100%">
| + | #REDIRECT [[Global Command: getProperty]] |
− | <b>Command History</b>
| |
− | <div class="mw-collapsible-content">
| |
− | <div style="background:#ebebeb" width="100%">Available since <span style="color:orange">v3.7</span></div>
| |
− | </div></div>
| |
− | | |
− | | |
− | Return the requested property.
| |
− | | |
− | | |
− | Syntax:
| |
− | <syntaxhighlight>
| |
− | getProperty(property) | |
− | </syntaxhighlight>
| |
− | | |
− | | |
− | Example:
| |
− | <syntaxhighlight>
| |
− | n/a
| |
− | </syntaxhighlight>
| |
− | | |
− | | |
− | | |
− | <b><u>Arguments</u></b>
| |
− | | |
− | property: <br/>
| |
− | "string" - The requested property to retrieve. Currently supported properties: "platform" ("win"/"mac") <br/>
| |
− | "steam_initialized" (true/false depending if the steam_api was loaded and client is connected, false if the operation failed)
| |
− | | |
− | Flags: none
| |
− | | |
− | Return: property <br/>
| |
− | requested property value
| |
− | {{i18n|GetProperty}}
| |