GTAdhocAPI
Gran Turismo (6) Adhoc API Documentation
Loading...
Searching...
No Matches
gtengine::MGameParameter Class Reference

Represents a set of events/races. More...

Inheritance diagram for gtengine::MGameParameter:
System::Object

Public Member Functions

 MGameParameter ()
 constructor taking no param More...
 
void deepCopy (MGameParameter gp_src)
 
void incEventIndex ()
 
Bool isLastEvent ()
 
ByteData pack ()
 
Bool unpack (ByteData data)
 
ByteData packAsRoomConfig ()
 
Bool unpackAsRoomConfig (ByteData data)
 
ByteData packAsLoungeConfig ()
 
Bool unpackAsLoungeConfig (ByteData data)
 
void setupTrackDayWeather (int unk=-1, Int unk=nil)
 
void reduceMemoryForRace ()
 
void removeEntriesByEntryGenerate ()
 
- 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 Bool CanRaceInTrackDayType (TrackDayType type)
 
static Bool CanFreeRunInTrackDayType (TrackDayType type)
 
static Int GetOwnGameRegionCode ()
 

Public Attributes

ULong game_id
 
ULong folder_id
 
std::vector< Eventevents
 Getter-only. More...
 
UInt event_index
 
Event current_event
 Getter-only. More...
 
OnlineRoom online_room
 Getter-only. More...
 
Reward series_reward
 Getter-only. More...
 
Information information
 Getter-only. More...
 
EditorInfo editor_info
 Getter-only. More...
 
Bool championship
 
Bool arcade
 
Bool keep_sequence
 
LaunchContext launch_context
 
const int VERSION = 101
 
const int INVALID_VALUE_INT = -1
 
- 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...
 

Detailed Description

Represents a set of events/races.

Definition at line 8 of file MGameParameter.cpp.

Constructor & Destructor Documentation

◆ MGameParameter()

gtengine::MGameParameter::MGameParameter ( )
inline

constructor taking no param

Definition at line 12 of file MGameParameter.cpp.

Member Function Documentation

◆ CanFreeRunInTrackDayType()

static Bool gtengine::MGameParameter::CanFreeRunInTrackDayType ( TrackDayType  type)
static

◆ CanRaceInTrackDayType()

static Bool gtengine::MGameParameter::CanRaceInTrackDayType ( TrackDayType  type)
static

◆ deepCopy()

void gtengine::MGameParameter::deepCopy ( MGameParameter  gp_src)

◆ GetOwnGameRegionCode()

static Int gtengine::MGameParameter::GetOwnGameRegionCode ( )
static

◆ incEventIndex()

void gtengine::MGameParameter::incEventIndex ( )

◆ isLastEvent()

Bool gtengine::MGameParameter::isLastEvent ( )

◆ pack()

ByteData gtengine::MGameParameter::pack ( )

◆ packAsLoungeConfig()

ByteData gtengine::MGameParameter::packAsLoungeConfig ( )

◆ packAsRoomConfig()

ByteData gtengine::MGameParameter::packAsRoomConfig ( )

◆ reduceMemoryForRace()

void gtengine::MGameParameter::reduceMemoryForRace ( )

◆ removeEntriesByEntryGenerate()

void gtengine::MGameParameter::removeEntriesByEntryGenerate ( )

◆ setupTrackDayWeather()

void gtengine::MGameParameter::setupTrackDayWeather ( int  unk = -1,
Int  unk = nil 
)

◆ unpack()

Bool gtengine::MGameParameter::unpack ( ByteData  data)

◆ unpackAsLoungeConfig()

Bool gtengine::MGameParameter::unpackAsLoungeConfig ( ByteData  data)

◆ unpackAsRoomConfig()

Bool gtengine::MGameParameter::unpackAsRoomConfig ( ByteData  data)

Member Data Documentation

◆ arcade

Bool gtengine::MGameParameter::arcade

Definition at line 38 of file MGameParameter.cpp.

◆ championship

Bool gtengine::MGameParameter::championship

Definition at line 37 of file MGameParameter.cpp.

◆ current_event

Event gtengine::MGameParameter::current_event

Getter-only.

Definition at line 23 of file MGameParameter.cpp.

◆ editor_info

EditorInfo gtengine::MGameParameter::editor_info

Getter-only.

Definition at line 35 of file MGameParameter.cpp.

◆ event_index

UInt gtengine::MGameParameter::event_index

Definition at line 20 of file MGameParameter.cpp.

◆ events

std::vector<Event> gtengine::MGameParameter::events

Getter-only.

Definition at line 18 of file MGameParameter.cpp.

◆ folder_id

ULong gtengine::MGameParameter::folder_id

Definition at line 15 of file MGameParameter.cpp.

◆ game_id

ULong gtengine::MGameParameter::game_id

Definition at line 14 of file MGameParameter.cpp.

◆ information

Information gtengine::MGameParameter::information

Getter-only.

Definition at line 32 of file MGameParameter.cpp.

◆ INVALID_VALUE_INT

const int gtengine::MGameParameter::INVALID_VALUE_INT = -1

Definition at line 56 of file MGameParameter.cpp.

◆ keep_sequence

Bool gtengine::MGameParameter::keep_sequence

Definition at line 39 of file MGameParameter.cpp.

◆ launch_context

LaunchContext gtengine::MGameParameter::launch_context

Definition at line 40 of file MGameParameter.cpp.

◆ online_room

OnlineRoom gtengine::MGameParameter::online_room

Getter-only.

Definition at line 26 of file MGameParameter.cpp.

◆ series_reward

Reward gtengine::MGameParameter::series_reward

Getter-only.

Definition at line 29 of file MGameParameter.cpp.

◆ VERSION

const int gtengine::MGameParameter::VERSION = 101

Definition at line 55 of file MGameParameter.cpp.


The documentation for this class was generated from the following file: