Difference between revisions of "GetPlatform"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) m (1 revision: Importing auto-generated function articles) |
BryanDerksen (Talk | contribs) (fix missing parameter, note that this function is unlikely to be useful) |
||
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 == --> |
Revision as of 23:18, 26 February 2010
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.