Difference between revisions of "GetPlatform"
From Dragon Age Toolset Wiki
(Generated by Sunjammer's Dragon Age Script Paser) |
m (Updating link) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | |||
{{dafunction | {{dafunction | ||
|name=GetPlatform | |name=GetPlatform | ||
|brief=Returns the platform that the game is running under. | |brief=Returns the platform that the game is running under. | ||
|returntype=int | |returntype=int | ||
− | |returndesc= | + | |returndesc=[[PLATFORM_*]] constant |
|sourcefile=script.ldf | |sourcefile=script.ldf | ||
|sourcemodule= | |sourcemodule= | ||
Line 12: | Line 11: | ||
<!-- This section contains the full description from the functions comments. Do not change unless you are confident these are incomplete or incorrect. --> | <!-- This section contains the full description from the functions comments. Do not change unless you are confident these are incomplete or incorrect. --> | ||
Return the ID of the platform that the game is running under. | Return the ID of the platform that the game is running under. | ||
+ | |||
+ | User-generated content is only usable with the PC version of the game, so this function is unlikely to be of much use to end users. | ||
<!-- == Remarks == --> | <!-- == Remarks == --> |
Latest revision as of 19:23, 3 August 2011
Returns the platform that the game is running under.
int GetPlatform(
);
);
- Parameters:
- None
- Returns:
- PLATFORM_* constant
- Source:
- script.ldf
Description
Return the ID of the platform that the game is running under.
User-generated content is only usable with the PC version of the game, so this function is unlikely to be of much use to end users.