Skip to content

Dynamic Resource API

Nenkai edited this page Jul 14, 2024 · 3 revisions

Sets/Gets engine dynamic resources.

Valid Values (GT6):

  • BgmLibraryFile (String)
  • fsroot (BD)
  • AvailableLanguagesSCEJ (String)
  • AvailableLanguagesSCEE (String)
  • AvailableLanguagesSCEA (String)
  • AvailableLanguagesSCEH (String)
  • AvailableLanguagesSCEL (String)
  • AvailableLanguagesSCEB (String)
  • AvailableLanguagesSCEA_PDI (String)
  • AvailableLanguagesQA (String)
  • GT6_FINGERPRINT (Blob)
  • GT6_FINGERPRINT_SIZE (Int)
  • GT6_CLIENT_CERTIFICATE (String)
  • GT6_CLIENT_PRIVATEKEY (String)
  • GT5P_TVBASEKEY (String)
  • SgxInstrumentDirectory (String)
  • SgxInstrumentFiles (String)

Set Value

pdistd::MDynRes::setInt32(name, value);
pdistd::MDynRes::setFloat(name, value);
pdistd::MDynRes::setBool(name, value);

Get Value

var blob = pdistd::MDynRes::importBlob(res_name, res_size_name);
var value = pdistd::MDynRes::importInt32(res_name);
var value = pdistd::MDynRes::importFloat(res_name);
var value = pdistd::MDynRes::importString(res_name);
var value = pdistd::MDynRes::importBool(res_name);
Clone this wiki locally