GTAdhocAPI
Gran Turismo (6) Adhoc API Documentation
|
Represents a function event. More...
Public Member Functions | |
MManager () | |
constructor taking no param More... | |
MWidget | createWidget (String name) |
void | registerClass (Class class) |
Registers a new class to the manager. More... | |
void | registerClass (Class class, Symbol symbol) |
Registers a new class to the manager with the specified symbol. More... | |
void | registerPrototypes (MComposite composite) |
void | registerPrimitives (MComposite composite) |
void | registerComponents () |
Stubbed. More... | |
MComponent | loadWidget (String widget_file_name) |
Loads a widget file (with or without .mwidget extension) More... | |
MComponent | loadWidget (String dir, String widget_file_name) |
Loads a widget file (with or without .mwidget extension) More... | |
MComponent | loadPrototype (String widget_file_name) |
Identical to loadWidget() More... | |
MComponent | loadPrototype (String dir, String widget_file_name) |
Identical to loadWidget() More... | |
MProject | loadProject (String path, Bool unk=true) |
Loads a project file (with or without .mproject extension) More... | |
void | unloadProject (MProject project, Bool unk=true) |
Unloads a project. More... | |
void | unloadProjectByPath (String path, Bool unk=true) |
Unloads a project by path (with or without .mproject extension) More... | |
void | unloadProjectByName (String project_name, Bool unk=true) |
Unloads a project by name (with or without .mproject extension) More... | |
MProject | loadResidentProject (String path) |
Loads a project that is resident - stays loaded between projects (with or without .mproject extension). More... | |
void | unloadResidentProject (MProject project) |
Unloads a resident project. More... | |
Bool | loadComponentProject () |
Stubbed. More... | |
void | unloadComponentProject () |
MUpdateContext | getUpdateContext () |
void | finishProject () |
Terminates the current project (but may boot back into it). More... | |
MBlob | loadFile (String path) |
Loads any file from the current directory (basically "/") 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... | |
void | setBufferDecryptManager (MBufferDecryptManager manager) |
String | translateAtCursorProject (String category, String pair) |
Translates from a CursorProject subcategory. More... | |
String | translate (String category, String pair) |
String | translate (MNode node_name, String sub_category, String pair) |
String | getHistory (String key) |
void | setHistory (String key, String value) |
String | clearHistory (String key) |
void | loadPackage (String path) |
Loads a package (.mpackage) project. More... | |
void | unloadPackage (String path) |
Unloads a specific package by path. More... | |
void | unloadPackageAll () |
Unloads all the loaded packages. More... | |
void | reloadPackageAll () |
Reloads all loaded packages. More... | |
void | reloadPackages () |
Same as reloadPackageAll() More... | |
Bool | hasPackageEntry (String entry_path) |
Returns whether one of the registered packages has a specific entry. More... | |
void | startProject (String current_project_name, String next_project_name) |
Starts a project. More... | |
Public Member Functions inherited from menu::MEvent | |
Int | dispatchEvent () |
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... | |
Public Attributes | |
Bool | merge_mode |
Bool | link_mode |
Int | save_script |
Int | raw_geometry |
Bool | is_local_target |
String | target_root |
String | target_playform |
Gets or sets the target platform i.e "PS3". More... | |
String | package_work |
String | product_name |
Gets or sets the product name i.e "gt6". More... | |
String | project_root |
Gets or sets the project root i.e "projects/gt6". More... | |
String | project_prefix |
MRTextManager | rtext_manager |
Getter-only. More... | |
Public Attributes inherited from menu::MEvent | |
UInt | serial |
Getter-only. Event ID/Serial, incremented after each event. More... | |
Int | priority |
String | tag |
Bool | clear_event |
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... | |
Represents a function event.
Definition at line 8 of file MManager.cpp.
|
inline |
constructor taking no param
Definition at line 13 of file MManager.cpp.
Returns whether a specified GPB binary exists (does not check if file exists!)
void menu::MManager::finishProject | ( | ) |
Terminates the current project (but may boot back into it).
If race, will boot back into previous project
MUpdateContext menu::MManager::getUpdateContext | ( | ) |
Returns whether one of the registered packages has a specific entry.
"/projects/%P/arcade/ArcadeOptionRoot.adc" would return true if "projects/gt6/arcade/arcade.mpackage" was loaded.
Bool menu::MManager::loadComponentProject | ( | ) |
Stubbed.
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::MManager::loadGpbFromMC | ( | String | path | ) |
Stubbed.
void menu::MManager::loadPackage | ( | String | path | ) |
Loads a package (.mpackage) project.
With or without extension
Loads a project file (with or without .mproject extension)
MComponent menu::MManager::loadPrototype | ( | String | dir, |
String | widget_file_name | ||
) |
Identical to loadWidget()
MComponent menu::MManager::loadPrototype | ( | String | widget_file_name | ) |
Identical to loadWidget()
Loads a project that is resident - stays loaded between projects (with or without .mproject extension).
MComponent menu::MManager::loadWidget | ( | String | dir, |
String | widget_file_name | ||
) |
Loads a widget file (with or without .mwidget extension)
MComponent menu::MManager::loadWidget | ( | String | widget_file_name | ) |
Loads a widget file (with or without .mwidget extension)
void menu::MManager::registerClass | ( | Class | class | ) |
Registers a new class to the manager.
Registers a new class to the manager with the specified symbol.
void menu::MManager::registerComponents | ( | ) |
Stubbed.
void menu::MManager::registerPrimitives | ( | MComposite | composite | ) |
void menu::MManager::registerPrototypes | ( | MComposite | composite | ) |
void menu::MManager::reloadPackageAll | ( | ) |
Reloads all loaded packages.
void menu::MManager::reloadPackages | ( | ) |
Same as reloadPackageAll()
void menu::MManager::setBufferDecryptManager | ( | MBufferDecryptManager | manager | ) |
Starts a project.
Translates from a CursorProject subcategory.
void menu::MManager::unloadComponentProject | ( | ) |
Unloads a specified GPB.
gpb_dir | Directory |
gpb_name | Gpb name without extension, if not provided, uses "" |
s/gpb/s.gpb
void menu::MManager::unloadPackage | ( | String | path | ) |
Unloads a specific package by path.
void menu::MManager::unloadPackageAll | ( | ) |
Unloads all the loaded packages.
Unloads a project by name (with or without .mproject extension)
Unloads a project by path (with or without .mproject extension)
void menu::MManager::unloadResidentProject | ( | MProject | project | ) |
Unloads a resident project.
Bool menu::MManager::is_local_target |
Definition at line 68 of file MManager.cpp.
Bool menu::MManager::link_mode |
Definition at line 65 of file MManager.cpp.
Bool menu::MManager::merge_mode |
Definition at line 64 of file MManager.cpp.
String menu::MManager::package_work |
Definition at line 137 of file MManager.cpp.
String menu::MManager::product_name |
Gets or sets the product name i.e "gt6".
Definition at line 140 of file MManager.cpp.
String menu::MManager::project_prefix |
Definition at line 148 of file MManager.cpp.
String menu::MManager::project_root |
Gets or sets the project root i.e "projects/gt6".
Definition at line 146 of file MManager.cpp.
Int menu::MManager::raw_geometry |
Definition at line 67 of file MManager.cpp.
MRTextManager menu::MManager::rtext_manager |
Getter-only.
Definition at line 151 of file MManager.cpp.
Int menu::MManager::save_script |
Definition at line 66 of file MManager.cpp.
String menu::MManager::target_playform |
Gets or sets the target platform i.e "PS3".
Definition at line 135 of file MManager.cpp.
String menu::MManager::target_root |
Definition at line 132 of file MManager.cpp.