GTAdhocAPI
Gran Turismo (6) Adhoc API Documentation
|
Base representation of an update context. More...
Public Member Functions | |
Int | getPadButtonState (Int port_no) |
Gets the press/hold status of a button. More... | |
Int | getLastPadButtonState (Int port_no) |
Gets the last press/hold status of a button. More... | |
Float | getPadAnalogChannel (Int port_no, Int channel) |
Returns analog channel value for the provided port and channel. More... | |
Float | getLastPadAnalogChannel (Int port_no, Int channel) |
Returns the last analog channel value for the provided port and channel. More... | |
String | getPadDeviceName (Int port_no) |
Returns the name of a port/controller. i.e "SIXAXIS". More... | |
String | getPadDeviceType (Int port_no) |
Returns the name of a port/controller. i.e "pad". More... | |
void | createRenderContext () |
Stubbed. More... | |
Int | getRenderContextCount () |
Gets the count of created render contexts. More... | |
MRenderContext | getRenderContext (Int window_num) |
MBlob | loadFile (String path) |
Loads any file from the current directory (basically "/") More... | |
MBlob | loadHostFile (String path) |
Stubbed. More... | |
Int | saveHostFile (String path, MBlob data) |
Stubbed. More... | |
void | loadGpb (String base_dir, String gpb_name, Bool region=false) |
Loads a GPB file globally. More... | |
void | loadGpbFromMC (String path) |
Stubbed. More... | |
Int | existGpbBinary (String name) |
Returns whether a specified GPB binary exists (does not check if file exists!) More... | |
MBlob | getGpbBinary (String name) |
Gets a gpb file within the registered ones. More... | |
void | unloadGpb (String gpb_dir, String gpb_name=nil) |
Unloads a specified GPB. More... | |
String | translate (String category, String pair) |
String | translate (MNode node_name, String sub_category, String pair) |
void | getPortBlockWindowEvent () |
Stubbed. More... | |
void | setPortBlockWindowEvent () |
Stubbed. More... | |
void | vibratePad (Int port_no, Float time_sec=1.0, Float small_motor_intensity=1.0, Float large_motor_intensity=1.0) |
Vibrates the pad/controller. More... | |
void | addRenderTask (Object unk, Object unk2, Object unk3,...) |
void | executeRenderTask () |
void | createCaptureBuffer () |
void | releaseCaptureBuffer () |
void | createWorkBuffer () |
Same as createCaptureBuffer() More... | |
void | releaseWorkBuffer () |
Same as releaseCaptureBuffer() More... | |
Public Member Functions inherited from System::Object | |
Object () | |
constructor taking no param More... | |
Bool | isInstanceOf (Class classType) |
Returns whether an object is of a specific class/type. More... | |
Object | getDeepCopy () |
Gets a deep copy of this object. More... | |
void | setDeepCopy (Object obj) |
Unk. More... | |
String | dump () |
Dumps all info about an object. More... | |
Object | getObjectAttribute (string path) |
void | setObjectAttribute (string path, Object value) |
Bool | hasPrimitiveInterface () |
Returns whether this object has a primitive interface. More... | |
Bool | toBool () |
Casts this object to Bool. More... | |
Byte | toByte () |
Casts this object to Byte. More... | |
Short | toShort () |
Casts this object to Short. More... | |
Int | toInt () |
Casts this object to Int. More... | |
Long | toLong () |
Casts this object to Long. More... | |
UByte | toUByte () |
Casts this object to UByte. More... | |
UShort | toUShort () |
Casts this object to UShort. More... | |
UInt | toUInt () |
Casts this object to UInt. More... | |
ULong | toULong () |
Casts this object to ULong. More... | |
Float | toFloat () |
Casts this object to Float. More... | |
Double | toDouble () |
Casts this object to Double. More... | |
String | toString () |
Casts this object to String. More... | |
Symbol | toSymbol () |
Casts this object to Symbol. More... | |
Bool | hasArrayInterface () |
Returns whether this object has an Array interface. More... | |
Int | getArrayCount () |
Gets the Array item count for this object. More... | |
void | setArrayCount () |
Sets the Array item count for this object. More... | |
Object | getArrayElement (Object arg0) |
Gets an Array item for this object. More... | |
void | setArrayElement (Object arg0, Object arg1) |
Sets the Array item for this object. More... | |
Bool | hasMapInterface () |
Returns whether this object has a Map interface. More... | |
int | getMapCount () |
Returns the count of items in the map. More... | |
void | setMapElement (Object arg0, Object arg1) |
Returns whether the Map has a specific object key. Bool hasMapElement(Object arg0);. More... | |
Object | getMapElement (Object arg0) |
Gets a Map element by key. More... | |
void | hasGeneratorInterface () |
Returns whether this object has a generator interface. More... | |
Iterator | generator () |
Returns generator (?) More... | |
void | hasIteratorInterface () |
Returns whether this object has an iterator. More... | |
Iterator | iterator () |
Gets the iterator for this object. More... | |
void | hasVariableInterface () |
Returns whether this object is a variable. More... | |
void | hasFunctionInterface () |
Returns whether this object has a function interface. More... | |
Object | call () |
Calls this object as a function. More... | |
Bool | hasByteDataInterface () |
Returns whether this object has a byte data interface. More... | |
Int | getByteDataCount () |
Returns the ByteData size for this object. More... | |
void | setByteDataCount (Int count) |
Sets the ByteData size for this object. More... | |
Int | getByteDataCapacity () |
Returns the ByteData capacity for this object. More... | |
void | setByteDataCapacity (Int capacity) |
Sets the ByteData capacity for this object. More... | |
ByteData | getByteData () |
Gets the underlaying ByteData. More... | |
void | setByteData (ByteData bytedata) |
Sets the underlaying ByteData. More... | |
void | hasObjectSelectorInterface () |
Returns whether this object has an object selector interface. More... | |
void | self () |
Gets the get for this object if it has a get interface. More... | |
void | getArchiveTree () |
void | setArchiveTree () |
ByteData | serialize () |
Serializes this object. More... | |
void | deserialize (ByteData serializedData) |
Deserializes this object. More... | |
void | defined (Object obj) |
Returns whether a certain object is defined within this object. More... | |
Array | find_all (FunctionObject func) |
Finds all the elements in this object that matches the predicates. More... | |
void | each_all (FunctionObject func) |
Applies callback to all elements in this object. More... | |
Array | map_all (FunctionObject< Object > func) |
Maps all the elements in this object. More... | |
Bool | operator!= () |
Returns whether this object is not equal to another. More... | |
Bool | operator== () |
Returns whether this object is equal to another. More... | |
Static Public Member Functions | |
static void | Sync (Float time=1.0) |
Public Attributes | |
Object | device |
Getter-only. More... | |
Bool | zoom_for_SD |
Bool | is_SD |
Bool | is_4x3 |
Int | display_width |
Int | display_height |
Float | display_margin |
Float | cursor_speed_ratio |
Partially stubbed. Always returns 1.0, setter also returns 1.0. More... | |
Object | repeat_start |
Stubbed. More... | |
Object | repeat_speed |
Stubbed. More... | |
Public Attributes inherited from System::Object | |
Int | rc_size |
Getter-only. Reference counter size of this object. More... | |
Object | rc_class |
Getter-only. Type name of the object. More... | |
Int | rc_count |
Getter-only. Reference count of this object. More... | |
Int | weak_count |
Getter-only. Weak reference count of this object. More... | |
Class | class_id |
Class (type) object for this object. More... | |
Base representation of an update context.
Definition at line 8 of file MUpdateContext.cpp.
void menu::MUpdateContext::createCaptureBuffer | ( | ) |
void menu::MUpdateContext::createRenderContext | ( | ) |
Stubbed.
void menu::MUpdateContext::createWorkBuffer | ( | ) |
Same as createCaptureBuffer()
void menu::MUpdateContext::executeRenderTask | ( | ) |
Returns whether a specified GPB binary exists (does not check if file exists!)
Returns the last analog channel value for the provided port and channel.
This does not actually return the last channel value if no channel are currently in use.
port_no | Port number. 0 would be the first controller/port. |
channel | Channel.
|
Gets the last press/hold status of a button.
port_no | Port number. 0 would be the first controller/port. |
This does not actually return the last button that was pressed if no keys are currently being pressed.
Returns analog channel value for the provided port and channel.
port_no | Port number. 0 would be the first controller/port. |
channel | Channel.
|
Gets the press/hold status of a button.
port_no | Port number. 0 would be the first controller/port. |
Returns the name of a port/controller. i.e "SIXAXIS".
port_no | Port number. 0 would be the first controller/port. |
Standard:
Special:
Returns the name of a port/controller. i.e "pad".
port_no | Port number. 0 would be the first controller/port. |
void menu::MUpdateContext::getPortBlockWindowEvent | ( | ) |
Stubbed.
MRenderContext menu::MUpdateContext::getRenderContext | ( | Int | window_num | ) |
Int menu::MUpdateContext::getRenderContextCount | ( | ) |
Gets the count of created render contexts.
Loads any file from the current directory (basically "/")
Loads a GPB file globally.
base_dir | Base dir for the GPB. /gpb/ or /<region id> will be appended depending on the region parameter. |
gpb_name | Gpb name, without the extension. |
region | Whether to use region "/<region>/" instead of the "/gpb/" subdir. |
void menu::MUpdateContext::loadGpbFromMC | ( | String | path | ) |
Stubbed.
void menu::MUpdateContext::releaseCaptureBuffer | ( | ) |
void menu::MUpdateContext::releaseWorkBuffer | ( | ) |
Same as releaseCaptureBuffer()
void menu::MUpdateContext::setPortBlockWindowEvent | ( | ) |
Stubbed.
|
static |
Unloads a specified GPB.
gpb_dir | Directory |
gpb_name | Gpb name without extension, if not provided, uses "" |
s/gpb/s.gpb
void menu::MUpdateContext::vibratePad | ( | Int | port_no, |
Float | time_sec = 1.0 , |
||
Float | small_motor_intensity = 1.0 , |
||
Float | large_motor_intensity = 1.0 |
||
) |
Vibrates the pad/controller.
Float menu::MUpdateContext::cursor_speed_ratio |
Partially stubbed. Always returns 1.0, setter also returns 1.0.
Definition at line 193 of file MUpdateContext.cpp.
Object menu::MUpdateContext::device |
Getter-only.
Definition at line 13 of file MUpdateContext.cpp.
Int menu::MUpdateContext::display_height |
Definition at line 177 of file MUpdateContext.cpp.
Float menu::MUpdateContext::display_margin |
Definition at line 178 of file MUpdateContext.cpp.
Int menu::MUpdateContext::display_width |
Definition at line 176 of file MUpdateContext.cpp.
Bool menu::MUpdateContext::is_4x3 |
Definition at line 175 of file MUpdateContext.cpp.
Bool menu::MUpdateContext::is_SD |
Definition at line 174 of file MUpdateContext.cpp.
Object menu::MUpdateContext::repeat_speed |
Stubbed.
Definition at line 199 of file MUpdateContext.cpp.
Object menu::MUpdateContext::repeat_start |
Stubbed.
Definition at line 196 of file MUpdateContext.cpp.
Bool menu::MUpdateContext::zoom_for_SD |
Definition at line 173 of file MUpdateContext.cpp.