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

Extended APIs. More...

Classes

class  __module__
 Functions for this module. More...
 
class  MBufferDecryptManager
 Represents a decrypt manager for the file devices. More...
 
class  MEngineSound
 Engine Sound Interface for playing engines & mufflers. More...
 
class  MGameContentUtilStorage
 
class  MGameDataUtil
 
class  MGameObjectManager
 
class  MGrim2
 Gran Turismo Server Interface. More...
 
class  MHttpRequest
 Represents an http request. More...
 
class  MPhotoSysUtil
 
class  MSaveDataUtil
 
class  MSoundContext
 
class  MSoundEffect
 Handler for SFX/Menu sounds - Must be stored into its own static for the sounds to persist! More...
 
class  MStorageDataUtil
 
class  MStreamPlayer
 
class  MSystemCondition
 Start/Exit Game handler. More...
 
class  MSystemConfiguration
 Console Info (Display, Audio, etc) More...
 
class  MUsbPspComm
 
class  MVoucher
 Handler for voucher/dlcs. More...
 

Enumerations

enum class  GameContentUtilStorageError : int {
  USBSTORAGE_OK = 0 , USBSTORAGE_CANCEL = 1 , USBSTORAGE_USBERROR = 2 , USBSTORAGE_NOTSUPPORT = 3 ,
  USBSTORAGE_NOMEMORY = 4 , USBSTORAGE_NODEVICE = 5 , USBSTORAGE_IO = 6 , USBSTORAGE_DEVICEFULL = 7 ,
  USBSTORAGE_READONLY = 8 , USBSTORAGE_NOTPERMITTED = 9 , USBSTORAGE_NOTFOUND = 10 , USBSTORAGE_ILLEGAL = 11 ,
  USBSTORAGE_EXISTS = 12 , USBSTORAGE_NOTDIRECTORY = 13 , USBSTORAGE_ISDIRECTORY = 14 , USBSTORAGE_NOTEMPTY = 15 ,
  USBSTORAGE_SEEK = 16 , USBSTORAGE_EXCEPTION = 17 , USBSTORAGE_UNKNOWN = 18
}
 
enum class  GrimError : int {
  GRIM_ERROR_OK = 0 , GRIM_ERROR_INIT = 1 , GRIM_ERROR_MAINTENANCE = 2 , GRIM_ERROR_FAILED_RESULT = 3 ,
  GRIM_ERROR_XML = 4 , GRIM_ERROR_FILE = 5 , GRIM_ERROR_GRIM_HTTP = 6 , GRIM_ERROR_CATEGORY_ROOT = 7 ,
  GRIM_ERROR_CATEGORY_NOT_FOUND = 8 , GRIM_ERROR_NO_FINISH = 9 , GRIM_ERROR_DENY = 10 , GRIM_ERROR_UNKNOWN = 99 ,
  GRIM_ERROR_RUNNING = -1
}
 
enum class  OUTPUTMONAURALMODE : int { MONAURAL_NORMAL = 0 }
 
enum class  OUTPUTSTEREOMODE : int { STEREO_NORMAL = 0 , STEREO_DOLBY_PL2 = 1 }
 
enum class  OUTPUTSURROUNDMODE : int {
  SURROUND_NORMAL = 0 , SURROUND_MONO = 1 , SURROUND_STEREO = 2 , SURROUND_DOLBY_PL2 = 3 ,
  SURROUND_ITU_R = 4 , SURROUND_DTS_ES = 5 , SURROUND_DOLBY_DIGITAL_EX = 5 , SURROUND_DOLBY_PL2X = 6 ,
  SURROUND_ITU_R_NC = 7 , SURROUND_CIRCULAR_5CH = 8 , SURROUND_CIRCULAR_7CH = 9
}
 
enum class  SaveDataUtilError : uint {
  SAVEDATAUTIL_BUSY = 1 , SAVEDATAUTIL_SUCCESS = 2 , SAVEDATAUTIL_FAILED_MALLOC = -1 , SAVEDATAUTIL_NOMORE_SPACE = -2 ,
  SAVEDATAUTIL_NO_DIRNAME = -3 , SAVEDATAUTIL_NO_FILENAME = -4 , SAVEDATAUTIL_CORRUPT_DATA = -5 , SAVEDATAUTIL_CANCEL_BY_USER = -6 ,
  SAVEDATAUTIL_FATAL_ERROR = -7 , SAVEDATAUTIL_NO_ENOUGH_BUFFER_TO_LOAD = -8 , SAVEDATAUTIL_BIND_ERROR = -9 , SAVEDATAUTIL_BIND_NEED_RECREATE = -10 ,
  SAVEDATAUTIL_NEED_RETRY_LOAD = -11
}
 
enum class  SaveDataUtilMode : uint {
  SAVEDATAUTIL_AUTO = 0 , SAVEDATAUTIL_LIST = 1 , SAVEDATAUTIL_FIXED = 2 , SAVEDATAUTIL_BG = 3 ,
  SAVEDATAUTIL_BACKUP = 4 , SAVEDATAUTIL_OVERWRITE = 5 , SAVEDATAUTIL_AUTO_CREATE = 6 , SAVEDATAUTIL_MIGRATION = 7 ,
  SAVEDATAUTIL_RECREATE = 8
}
 
enum class  VoucherResultCode : int {
  ResultCodeOK = 0 , ResultCodeInvalidArgument = 0x80001000 , ResultCodeNoMemory = 0x80001001 , ResultCodeNoIndex = 0x80001002 ,
  ResultCodeBufferNoSpace = 0x80001003 , ResultCodeInvalidKeyLicensee = 0x80001004 , ResultCodeInvalidIndex = 0x80001005 , ResultCodeNoEntry = 0x80001014 ,
  ResultCodeIllegal = 0x80001015 , ResultCodeNoDevice = 0x80001016 , ResultCodeNoSupport = 0x80001017 , ResultCodeDRMGeneric = 0x80001028 ,
  ResultCodeDRMBadRights = 0x80001029 , ResultCodeDRMNoEntitlement = 0x8000102a , ResultCodeDRMBadDeviceAuth = 0x8000102b , ResultCodeDRMIllegalFile = 0x8000102c ,
  ResultCodeDRMTimeLimit = 0x8000102d , ResultCodeDRMServiceNotStarted = 0x8000102e , ResultCodeDRMClockNotInitialized = 0x8000102f , ResultCodeUnknown = 0x80001063
}
 

Detailed Description

Extended APIs.

Enumeration Type Documentation

◆ GameContentUtilStorageError

enum class pdiext::GameContentUtilStorageError : int
strong
Enumerator
USBSTORAGE_OK 

0

USBSTORAGE_CANCEL 

1

USBSTORAGE_USBERROR 

2

USBSTORAGE_NOTSUPPORT 

3

USBSTORAGE_NOMEMORY 

4 ENOMEM

USBSTORAGE_NODEVICE 

5 ENOTDIR

USBSTORAGE_IO 

6 EBUSY

USBSTORAGE_DEVICEFULL 

7

USBSTORAGE_READONLY 

8

USBSTORAGE_NOTPERMITTED 

9

USBSTORAGE_NOTFOUND 

10 - EFAULT / EPERM / EFSSPECIFIC

USBSTORAGE_ILLEGAL 

11

USBSTORAGE_EXISTS 

12 EEXIST

USBSTORAGE_NOTDIRECTORY 

13

USBSTORAGE_ISDIRECTORY 

14 EISDIR

USBSTORAGE_NOTEMPTY 

15

USBSTORAGE_SEEK 

16

USBSTORAGE_EXCEPTION 

17

USBSTORAGE_UNKNOWN 

18

Definition at line 3 of file GameContentUtilStorageError.cpp.

◆ GrimError

enum class pdiext::GrimError : int
strong
Enumerator
GRIM_ERROR_OK 

0

GRIM_ERROR_INIT 

1

GRIM_ERROR_MAINTENANCE 

2

GRIM_ERROR_FAILED_RESULT 

3

GRIM_ERROR_XML 

4

GRIM_ERROR_FILE 

5

GRIM_ERROR_GRIM_HTTP 

6

GRIM_ERROR_CATEGORY_ROOT 

7

GRIM_ERROR_CATEGORY_NOT_FOUND 

8

GRIM_ERROR_NO_FINISH 

9

GRIM_ERROR_DENY 

10

GRIM_ERROR_UNKNOWN 

99

GRIM_ERROR_RUNNING 

-1

Definition at line 3 of file GrimError.cpp.

◆ OUTPUTMONAURALMODE

enum class pdiext::OUTPUTMONAURALMODE : int
strong
Enumerator
MONAURAL_NORMAL 

0

Definition at line 3 of file OUTPUTMONAURALMODE.cpp.

◆ OUTPUTSTEREOMODE

enum class pdiext::OUTPUTSTEREOMODE : int
strong
Enumerator
STEREO_NORMAL 

0

STEREO_DOLBY_PL2 

1

Definition at line 3 of file OUTPUTSTEREOMODE.cpp.

◆ OUTPUTSURROUNDMODE

enum class pdiext::OUTPUTSURROUNDMODE : int
strong
Enumerator
SURROUND_NORMAL 

0

SURROUND_MONO 

1

SURROUND_STEREO 

2

SURROUND_DOLBY_PL2 

3

SURROUND_ITU_R 

4

SURROUND_DTS_ES 

5

SURROUND_DOLBY_DIGITAL_EX 

5

SURROUND_DOLBY_PL2X 

6

SURROUND_ITU_R_NC 

7

SURROUND_CIRCULAR_5CH 

8

SURROUND_CIRCULAR_7CH 

9

Definition at line 3 of file OUTPUTSURROUNDMODE.cpp.

◆ SaveDataUtilError

enum class pdiext::SaveDataUtilError : uint
strong
Enumerator
SAVEDATAUTIL_BUSY 

1

SAVEDATAUTIL_SUCCESS 

2

SAVEDATAUTIL_FAILED_MALLOC 

-1

SAVEDATAUTIL_NOMORE_SPACE 

-2

SAVEDATAUTIL_NO_DIRNAME 

-3

SAVEDATAUTIL_NO_FILENAME 

-4

SAVEDATAUTIL_CORRUPT_DATA 

-5

SAVEDATAUTIL_CANCEL_BY_USER 

-6

SAVEDATAUTIL_FATAL_ERROR 

-7

SAVEDATAUTIL_NO_ENOUGH_BUFFER_TO_LOAD 

-8

SAVEDATAUTIL_BIND_ERROR 

-9

SAVEDATAUTIL_BIND_NEED_RECREATE 

-10

SAVEDATAUTIL_NEED_RETRY_LOAD 

-11

Definition at line 3 of file SaveDataUtilError.cpp.

◆ SaveDataUtilMode

enum class pdiext::SaveDataUtilMode : uint
strong
Enumerator
SAVEDATAUTIL_AUTO 

0

SAVEDATAUTIL_LIST 

1

SAVEDATAUTIL_FIXED 

2

SAVEDATAUTIL_BG 

3

SAVEDATAUTIL_BACKUP 

4

SAVEDATAUTIL_OVERWRITE 

5

SAVEDATAUTIL_AUTO_CREATE 

6

SAVEDATAUTIL_MIGRATION 

7

SAVEDATAUTIL_RECREATE 

8

Definition at line 3 of file SaveDataUtilMode.cpp.

◆ VoucherResultCode

enum class pdiext::VoucherResultCode : int
strong
Enumerator
ResultCodeOK 

0

ResultCodeInvalidArgument 

80001000

ResultCodeNoMemory 

80001001

ResultCodeNoIndex 

80001002

ResultCodeBufferNoSpace 

80001003

ResultCodeInvalidKeyLicensee 

80001004

ResultCodeInvalidIndex 

80001005

ResultCodeNoEntry 

80001014

ResultCodeIllegal 

80001015

ResultCodeNoDevice 

80001016

ResultCodeNoSupport 

80001017

ResultCodeDRMGeneric 

80001028

ResultCodeDRMBadRights 

80001029

ResultCodeDRMNoEntitlement 

8000102a

ResultCodeDRMBadDeviceAuth 

8000102b

ResultCodeDRMIllegalFile 

8000102c

ResultCodeDRMTimeLimit 

8000102d

ResultCodeDRMServiceNotStarted 

8000102e

ResultCodeDRMClockNotInitialized 

8000102f

ResultCodeUnknown 

80001063

Definition at line 3 of file VoucherResultCode.cpp.