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

Console Info (Display, Audio, etc) More...

Inheritance diagram for pdiext::MSystemConfiguration:
System::Object

Static Public Member Functions

static Array GetDisplayResolution ()
 Gets the renderer's current resolution & more. More...
 
static Bool isSDTV ()
 
static Bool is4x3 ()
 
static Int is3DTVAvailable ()
 
static Int isSimulViewAvailable ()
 
static Bool bootFromDisc ()
 Whether the game was booted from disc. More...
 
static Bool bootByDebugger ()
 Whether the game was booted from debugger. More...
 
static void SetVideoOutGamma (Float gamma)
 Stubbed. More...
 
static void SetMasterRenderExposure (Float exposure)
 
static void SetScreenSharpness (Int sharpness)
 
static void SetDisplayMargin (Float margin)
 
static void SetFlipTiming (Float timing)
 Stubbed. More...
 
static Array GetSystemAudioOutputState ()
 
static void SetTemporalAntialias (Int val)
 
static String GetEnterButtonAssign ()
 
static String TimeToString (Int as_diff_time, Int ms)
 Converts provided milliseconds into a string i.e "0'01.000" or "+0'01.000". More...
 
static String GetOSDUserName ()
 Gets the current console's username. More...
 
static String GetOSDUserName (UInt user_id)
 Gets the current console's username by ID. More...
 
static UInt GetOSDUserId ()
 
static Int GetSystemAudioAvailableOutputChannels ()
 
static void SetSystemAudioOutputFormat (Int format)
 
static void SetSystemAudioOutputMode (Int format, Int mode)
 
static Array GetSystemAudioOutputMode ()
 

Additional Inherited Members

- 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 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

Console Info (Display, Audio, etc)

Definition at line 6 of file MSystemConfiguration.cpp.

Member Function Documentation

◆ bootByDebugger()

static Bool pdiext::MSystemConfiguration::bootByDebugger ( )
static

Whether the game was booted from debugger.

Depends on cellGameBootCheck done at boot

◆ bootFromDisc()

static Bool pdiext::MSystemConfiguration::bootFromDisc ( )
static

Whether the game was booted from disc.

Depends on cellGameBootCheck done at boot

◆ GetDisplayResolution()

static Array pdiext::MSystemConfiguration::GetDisplayResolution ( )
inlinestatic

Gets the renderer's current resolution & more.

Returns
Array with result
  • [0] = Width (Int)
  • [1] = Height (Int)
  • [2] = Type (String)
  • [3] = Refresh Rate (Float)

Definition at line 16 of file MSystemConfiguration.cpp.

◆ GetEnterButtonAssign()

static String pdiext::MSystemConfiguration::GetEnterButtonAssign ( )
static

◆ GetOSDUserId()

static UInt pdiext::MSystemConfiguration::GetOSDUserId ( )
static

Gets the console user id of the current user

cellUserInfoGetList() with first id

◆ GetOSDUserName() [1/2]

static String pdiext::MSystemConfiguration::GetOSDUserName ( )
static

Gets the current console's username.

◆ GetOSDUserName() [2/2]

static String pdiext::MSystemConfiguration::GetOSDUserName ( UInt  user_id)
static

Gets the current console's username by ID.

◆ GetSystemAudioAvailableOutputChannels()

static Int pdiext::MSystemConfiguration::GetSystemAudioAvailableOutputChannels ( )
static

◆ GetSystemAudioOutputMode()

static Array pdiext::MSystemConfiguration::GetSystemAudioOutputMode ( )
static
Returns
Array with results
  • [0] = Format (Int)
  • [1] = Mode (Int aka OUTPUTMONAURALMODE or OUTPUTSTEREOMODE or OUTPUTSURROUNDMODE)

◆ GetSystemAudioOutputState()

static Array pdiext::MSystemConfiguration::GetSystemAudioOutputState ( )
static

Get audio output devices information

cellAudioOutGetDeviceInfo() & cellAudioOutGetState();

Returns
Array of maps for each device
  • "audioout" - (Int)
  • "channel" - (Int)
  • "encoder" - (String)
  • "fs" - (String)
  • "layout" - (Int)
  • "latency" - (Int)
  • "port" - (String)

◆ is3DTVAvailable()

static Int pdiext::MSystemConfiguration::is3DTVAvailable ( )
static

◆ is4x3()

static Bool pdiext::MSystemConfiguration::is4x3 ( )
static

◆ isSDTV()

static Bool pdiext::MSystemConfiguration::isSDTV ( )
static

◆ isSimulViewAvailable()

static Int pdiext::MSystemConfiguration::isSimulViewAvailable ( )
static

◆ SetDisplayMargin()

static void pdiext::MSystemConfiguration::SetDisplayMargin ( Float  margin)
static

◆ SetFlipTiming()

static void pdiext::MSystemConfiguration::SetFlipTiming ( Float  timing)
static

Stubbed.

◆ SetMasterRenderExposure()

static void pdiext::MSystemConfiguration::SetMasterRenderExposure ( Float  exposure)
static

◆ SetScreenSharpness()

static void pdiext::MSystemConfiguration::SetScreenSharpness ( Int  sharpness)
static

◆ SetSystemAudioOutputFormat()

static void pdiext::MSystemConfiguration::SetSystemAudioOutputFormat ( Int  format)
static

◆ SetSystemAudioOutputMode()

static void pdiext::MSystemConfiguration::SetSystemAudioOutputMode ( Int  format,
Int  mode 
)
static
Parameters
formatNumber of channels?
modeUse OUTPUTMONAURALMODE, OUTPUTSTEREOMODE, OUTPUTSURROUNDMODE

◆ SetTemporalAntialias()

static void pdiext::MSystemConfiguration::SetTemporalAntialias ( Int  val)
static

◆ SetVideoOutGamma()

static void pdiext::MSystemConfiguration::SetVideoOutGamma ( Float  gamma)
static

Stubbed.

◆ TimeToString()

static String pdiext::MSystemConfiguration::TimeToString ( Int  as_diff_time,
Int  ms 
)
static

Converts provided milliseconds into a string i.e "0'01.000" or "+0'01.000".


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