Difference between revisions of "GetPlatform"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) (fix missing parameter, note that this function is unlikely to be useful) |
m (Updating link) |
||
Line 3: | Line 3: | ||
|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= |
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.