-
Notifications
You must be signed in to change notification settings - Fork 13
Legacy: IsGameYYC routine
Archie_UwU edited this page Nov 19, 2023
·
1 revision
You are reading the documentation of YYToolkit Legacy (v2.x.x) - for documentation on current-gen YYTK, see the Homepage.
Checks if the game was made with YoYo Compiler.
bool IsGameYYC();
This function has no parameters.
The function returns true
if the game was compiled in YoYoCompiler (YYC).
Otherwise, the function returns false
.
This function returns false
either when the game is compiled in VM bytecode or on error.
There is no way to know which happened, so it's recommended you change behavior only if the function returns true, and have VM-handling code otherwise.
This function can also be called with it's deprecated name, IsYYC()
, although that functionality may be altered without prior notice anytime.
It is thus recommended to use IsGameYYC()
instead of IsYYC()
.