-
-
Notifications
You must be signed in to change notification settings - Fork 5
Utils (PDI Standard)
Nenkai edited this page Jul 14, 2024
·
2 revisions
var player_name = pdistd::getPlayerName();
var args = pdistd::GetArgs();
var flags = pdistd::GetGameBootAttribute();
if (flags & pdistd::GameBootAttribute::...)
{
// ...
}
var version = pdistd::GetFileSystemVersion(); // Always returns 0 for fsroot
pdistd::DelayThread(ms);
pdistd::Crash(message);
pdistd::Exit(exit_code);
var encoded = pdistd::EncodeBase64(data);
var decoded = pdistd::DecodeBase64(encoded);