TorqueScript Reference
Functions

Functions

String getBuildString ()
 
String getCompileTimeString ()
 
String getEngineVersion ()
 
String getiPhoneToolsVersion ()
 
Integer getVersionNumber ()
 
String getVersionString ()
 
Boolean isDebugBuild ()
 
void setCompanyAndProduct (company, product)
 

Detailed Description

Function Documentation

◆ getBuildString()

String getBuildString ( )

Use the getBuildString function to determine if this build is a \Debug\ release, or a \Release\ build.

Returns
Returns a string, either \Debug\ for a debug build, or \Release\ for a release build.
See also
getCompileTimeString, getVersionNumber, getVersionString, isDebugBuild

◆ getCompileTimeString()

String getCompileTimeString ( )

Use the getCompileTimeString function to determine when the currently running engine was built.

Returns
Returns a string containing \Month Day Year at Hour:Minute:Second\ showing when this executable was built.
See also
getBuildString, getVersionNumber, getVersionString, isDebugBuild

◆ getEngineVersion()

String getEngineVersion ( )

Gets the engine version.

◆ getiPhoneToolsVersion()

String getiPhoneToolsVersion ( )

Returns iPhone Tools Version

◆ getVersionNumber()

Integer getVersionNumber ( )

Use the getVersionNumber function to get the version number of the currently executing engine.

Returns
Returns an integer representing the engine's version number.
See also
getBuildString, getCompileTimeString, getVersionString, isDebugBuild

◆ getVersionString()

String getVersionString ( )

Use the getVersionString function to get the version name and number for the currently executing engine.

Returns
Returns a string containing a name and an integer representing the engine's version type and version number.
See also
getBuildString, getCompileTimeString, getVersionNumber, isDebugBuild

◆ isDebugBuild()

Boolean isDebugBuild ( )

Use the isDebugBuild function to determine if this is a debug build.

Returns
Returns true if this is a debug build, otherwise false.
See also
getBuildString, getCompileTimeString, getVersionNumber, getVersionString

◆ setCompanyAndProduct()

void setCompanyAndProduct ( company  ,
product   
)

Sets the company and product information.