GTAdhocAPI
Gran Turismo (6) Adhoc API Documentation
Loading...
Searching...
No Matches
__module__.cpp
Go to the documentation of this file.
1using namespace Adhoc;
2using namespace System;
3
5namespace pdiext
6{
8 public class __module__ : public Module
9 {
10 public:
13
19
23
27
29
31
34 void ProcessUpdateIteration(ULong microseconds = 1000);
35
39
43
46
49
52
56 String GetNumberString(Long number, Bool as_decimal = false);
57
61 String GetSizeString(Long size, Int scale = 10);
62
64 const Int MAX_LAPTIME1000 = 1209599999;
65
69 void UseLogoFont(String path = nil);
70
74
77
82
85
89 };
90};
Built-in boolean object which represents true or false.
Definition: Bool.cpp:5
Built-in type that represents a signed 32-bit number.
Definition: Int.cpp:5
Built-in type that represents a signed 64-bit number.
Definition: Long.cpp:5
Built-in type that represents a module (or namespace in C++).
Definition: Module.cpp:5
Built-in type that string - an array of characters - text.
Definition: String.cpp:5
Built-in type that represents an unsigned 64-bit number.
Definition: ULong.cpp:5
Functions for this module.
Definition: __module__.cpp:9
const Int MAX_LAPTIME1000
Constant.
Definition: __module__.cpp:64
String GetDateTimeString(MTime time)
Gets date time string for race context i.e '29/12/2022 03:28'44'.
String GetDateTimeStringShort(MTime time)
Gets date time string short for race context i.e '29/12/2022 03:29'.
Bool isQABuild()
Returns whether the game's build is intended for QA.
String GetSizeString(Long size, Int scale=10)
Gets size string for number, KB up to GB.
void UseLogoFont(String path=nil)
Loads logo font file.
String GetDiffTimeString(Long ms)
Gets diff time string i.e '+00.200, +00.000, -00.200,'.
String GetNumberString(Long number, Bool as_decimal=false)
Gets region/locale number string i.e "200" for 200, "20,000" for 20000.
void SetFrameModeLetterBox(Int set)
void ClearFontCache()
Clears the font manager singleton's cache.
void SetStaticLanguage()
Sets the game's language from the system's language.
void SetDrawPerfMeter(Int set)
MTime getBetterTime()
Gets "better" time.
Int GetDipSwitch()
Unknown. Compile-time value in engine.
MTime getBetterTimeLocal()
Gets "better" time (local version).
String GetMoneyString(Long money)
Gets region/locale aware money string i.e "200" for 200, "--"" for <= 0, "20,000" for 20000.
String GetRaceTimeString(Long ms)
Gets race time string i.e '0:00.001'.
void ProcessUpdateIteration(ULong microseconds=1000)
Waits for specified time on the render loop level.
Built-in adhoc system classes and functions.
Definition: __module__.cpp:6
Extended APIs.
Definition: __module__.cpp:6