GTAdhocAPI
Gran Turismo (6) Adhoc API Documentation
|
Represents a car driver/driver entity. More...
Public Member Functions | |
MCarDriverParameter () | |
Constructs a new driver parameter with DriverType::NONE. More... | |
MCarDriverParameter (DriverType driver_type) | |
Constructs a new driver parameter from the provided driver type. More... | |
Bool | isVacant () |
Returns whether the driver parameter is vacant, no user assigned to it. More... | |
void | clear () |
Clears all data associated to this driver parameter. More... | |
void | reconstruct () |
Unknown. May assign everything back to default? More... | |
MCarDriverParameter | deepCopy () |
Creates a deep copy of this driver parameter. More... | |
MCarDriverParameter | deepCopy (MCarDriverParameter parameter) |
Creates a deep copy from the specified driver parameter. More... | |
void | setDefault () |
Sets all defaults. More... | |
void | setPlayer (Int port) |
Sets the player port attached to this driver parameter. More... | |
Int | getControllerPort () |
Gets the port of this driver parameter. More... | |
RTAType | getRTAUnadjustable () |
Gets RTA flags. More... | |
void | setRTAUnadjustable (RTAType type) |
Sets raw RTA value. More... | |
void | addRTAUnadjustable (RTAType type) |
Adds RTA flag. More... | |
void | clearRTAUnadjustable () |
Clears all RTA flags (sets to 0) More... | |
void | setGroveAIParameter (String unused, Int ai_level) |
Unknown. More... | |
void | isHuman () |
Returns true if this driver is a human. More... | |
void | isGhost () |
void | setAILevel (Int level) |
Sets the AI level. More... | |
void | setAISkill (Int braking_skill, Int cornering_skill, Int accelerating_skill=100, Int starting_skill=100) |
Sets the AI skills. 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... | |
Public Attributes | |
Int | port |
Gets or sets the port. More... | |
DriverType | type |
Gets or sets the type of driver parameter. More... | |
Int | residence_id |
Unknown. More... | |
String | display_name |
Gets or sets the display name of this driver parameter. More... | |
String | online_id |
Gets or sets the online id (PSN Name) of this driver parameter. More... | |
String | region |
Gets or sets the region (i.e "US") of this driver parameter. More... | |
Int | manual |
Gets or sets whether manual transmission is enabled. More... | |
Int | assist_asm |
Gets or sets whether ASM is enabled. More... | |
Int | assist_tcs |
Gets or sets TCS (Traction control) level. More... | |
Int | assist_4was |
Gets or sets 4WAS level. More... | |
Int | active_brake_level |
Gets or sets Active Brake Level. More... | |
Int | physics_pro |
Whether skid recovery is disabled. More... | |
Int | steering_assist_type |
Int | active_steering |
Int | competition_flags |
Int | pad_yaw_gain |
Int | head_code |
Gets or sets the helmet DB code. More... | |
Int | body_code |
Gets or sets the body DB code. More... | |
Int | head_color_code |
Sets the helmet color index. More... | |
Int | body_color_code |
Sets the body color index. More... | |
Int | braking_skill |
Sets or gets the braking skill. More... | |
Int | cornering_skill |
Sets or gets the cornering skill. More... | |
Int | accelerating_skill |
Sets or gets the accelerating/corner out skill. More... | |
Int | starting_skill |
Sets or gets the starting skill. More... | |
SpecialAIType | special_ai_type |
Bool | driving_display_line |
Whether displaying the driving line is enabled. More... | |
GrowthParameter | growth_parameter |
Int | disable_bspec_skill |
Int | ai_pit_decision_10_vitality_before_race |
Int | ai_pit_decision_10_tire_before_race |
Int | ai_roughness |
Int | ai_reaction_level |
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 car driver/driver entity.
Definition at line 6 of file MCarDriverParameter.cpp.
|
inline |
Constructs a new driver parameter with DriverType::NONE.
Definition at line 10 of file MCarDriverParameter.cpp.
|
inline |
Constructs a new driver parameter from the provided driver type.
Definition at line 13 of file MCarDriverParameter.cpp.
void gtengine::MCarDriverParameter::addRTAUnadjustable | ( | RTAType | type | ) |
Adds RTA flag.
void gtengine::MCarDriverParameter::clear | ( | ) |
Clears all data associated to this driver parameter.
void gtengine::MCarDriverParameter::clearRTAUnadjustable | ( | ) |
Clears all RTA flags (sets to 0)
MCarDriverParameter gtengine::MCarDriverParameter::deepCopy | ( | ) |
Creates a deep copy of this driver parameter.
MCarDriverParameter gtengine::MCarDriverParameter::deepCopy | ( | MCarDriverParameter | parameter | ) |
Creates a deep copy from the specified driver parameter.
Int gtengine::MCarDriverParameter::getControllerPort | ( | ) |
Gets the port of this driver parameter.
RTAType gtengine::MCarDriverParameter::getRTAUnadjustable | ( | ) |
Gets RTA flags.
void gtengine::MCarDriverParameter::isGhost | ( | ) |
void gtengine::MCarDriverParameter::isHuman | ( | ) |
Returns true if this driver is a human.
Depends on DriverType::PLAYER
Bool gtengine::MCarDriverParameter::isVacant | ( | ) |
Returns whether the driver parameter is vacant, no user assigned to it.
void gtengine::MCarDriverParameter::reconstruct | ( | ) |
Unknown. May assign everything back to default?
void gtengine::MCarDriverParameter::setAILevel | ( | Int | level | ) |
Sets the AI level.
level | Max 100. |
void gtengine::MCarDriverParameter::setAISkill | ( | Int | braking_skill, |
Int | cornering_skill, | ||
Int | accelerating_skill = 100 , |
||
Int | starting_skill = 100 |
||
) |
Sets the AI skills.
void gtengine::MCarDriverParameter::setDefault | ( | ) |
Sets all defaults.
Unknown.
unused | Not used. |
ai_level | Max 100. |
void gtengine::MCarDriverParameter::setPlayer | ( | Int | port | ) |
Sets the player port attached to this driver parameter.
Sets a 4 bit field, so 0 to 15.
slot_id | 0 to 15 |
void gtengine::MCarDriverParameter::setRTAUnadjustable | ( | RTAType | type | ) |
Sets raw RTA value.
Int gtengine::MCarDriverParameter::accelerating_skill |
Sets or gets the accelerating/corner out skill.
For AIs. Defaults to 100
Definition at line 141 of file MCarDriverParameter.cpp.
Int gtengine::MCarDriverParameter::active_brake_level |
Gets or sets Active Brake Level.
Default is 0
Definition at line 77 of file MCarDriverParameter.cpp.
Int gtengine::MCarDriverParameter::active_steering |
Definition at line 95 of file MCarDriverParameter.cpp.
Int gtengine::MCarDriverParameter::ai_pit_decision_10_tire_before_race |
Definition at line 156 of file MCarDriverParameter.cpp.
Int gtengine::MCarDriverParameter::ai_pit_decision_10_vitality_before_race |
Definition at line 155 of file MCarDriverParameter.cpp.
Int gtengine::MCarDriverParameter::ai_reaction_level |
Definition at line 158 of file MCarDriverParameter.cpp.
Int gtengine::MCarDriverParameter::ai_roughness |
Definition at line 157 of file MCarDriverParameter.cpp.
Int gtengine::MCarDriverParameter::assist_4was |
Int gtengine::MCarDriverParameter::assist_asm |
Gets or sets whether ASM is enabled.
Default is 0 (false)
Definition at line 65 of file MCarDriverParameter.cpp.
Int gtengine::MCarDriverParameter::assist_tcs |
Gets or sets TCS (Traction control) level.
Default is 1
Definition at line 69 of file MCarDriverParameter.cpp.
Int gtengine::MCarDriverParameter::body_code |
Gets or sets the body DB code.
Definition at line 103 of file MCarDriverParameter.cpp.
Int gtengine::MCarDriverParameter::body_color_code |
Int gtengine::MCarDriverParameter::braking_skill |
Sets or gets the braking skill.
For AIs. Defaults to 100
Definition at line 133 of file MCarDriverParameter.cpp.
Int gtengine::MCarDriverParameter::competition_flags |
Definition at line 96 of file MCarDriverParameter.cpp.
Int gtengine::MCarDriverParameter::cornering_skill |
Sets or gets the cornering skill.
For AIs. Defaults to 100
Definition at line 137 of file MCarDriverParameter.cpp.
Int gtengine::MCarDriverParameter::disable_bspec_skill |
Definition at line 154 of file MCarDriverParameter.cpp.
String gtengine::MCarDriverParameter::display_name |
Gets or sets the display name of this driver parameter.
Definition at line 51 of file MCarDriverParameter.cpp.
Bool gtengine::MCarDriverParameter::driving_display_line |
Whether displaying the driving line is enabled.
Definition at line 150 of file MCarDriverParameter.cpp.
GrowthParameter gtengine::MCarDriverParameter::growth_parameter |
Definition at line 152 of file MCarDriverParameter.cpp.
Int gtengine::MCarDriverParameter::head_code |
Gets or sets the helmet DB code.
Definition at line 100 of file MCarDriverParameter.cpp.
Int gtengine::MCarDriverParameter::head_color_code |
Int gtengine::MCarDriverParameter::manual |
Gets or sets whether manual transmission is enabled.
Default is 0 (false)
Definition at line 61 of file MCarDriverParameter.cpp.
String gtengine::MCarDriverParameter::online_id |
Gets or sets the online id (PSN Name) of this driver parameter.
Definition at line 54 of file MCarDriverParameter.cpp.
Int gtengine::MCarDriverParameter::pad_yaw_gain |
Definition at line 97 of file MCarDriverParameter.cpp.
Int gtengine::MCarDriverParameter::physics_pro |
Whether skid recovery is disabled.
Definition at line 92 of file MCarDriverParameter.cpp.
Int gtengine::MCarDriverParameter::port |
Gets or sets the port.
Definition at line 42 of file MCarDriverParameter.cpp.
String gtengine::MCarDriverParameter::region |
Gets or sets the region (i.e "US") of this driver parameter.
Definition at line 57 of file MCarDriverParameter.cpp.
Int gtengine::MCarDriverParameter::residence_id |
Unknown.
Definition at line 48 of file MCarDriverParameter.cpp.
SpecialAIType gtengine::MCarDriverParameter::special_ai_type |
Definition at line 147 of file MCarDriverParameter.cpp.
Int gtengine::MCarDriverParameter::starting_skill |
Sets or gets the starting skill.
For AIs. Defaults to 100
Definition at line 145 of file MCarDriverParameter.cpp.
Int gtengine::MCarDriverParameter::steering_assist_type |
Definition at line 94 of file MCarDriverParameter.cpp.
DriverType gtengine::MCarDriverParameter::type |
Gets or sets the type of driver parameter.
Definition at line 45 of file MCarDriverParameter.cpp.