You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 5, 2025. It is now read-only.
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.
Returns the global GML namespace as a CInstance pointer.
Syntax
boolGetGlobalInstance(
CInstance*& outInstance
);
Parameters
outInstance
A reference to a CInstance pointer, to which the pointer to the global namespace will be written.
Return Value
The function returns true if the function succeeds and outInstance is populated.
Otherwise, the function returns false and outInstance's contents are unchanged.
Remarks
Due to how lookups of the global instance work in recent YYToolkit versions, the function will fail if the runner doesn't have the @@GlobalScope@@ function. This shouldn't be the case in anything newer than GMS version 1.4.9999.