SetCookiePrefabMenu

Last Updated2016-05-20
Created At2008-05-12

Add a new prefab item to the client cookie settings menu. Note: This handles everything automatically and does not require a callback

native void SetCookiePrefabMenu(Handle cookie, CookieMenu type, const char[] display, CookieMenuHandler handler = INVALID_FUNCTION, any info = 0)

Parameters

Handle cookie
Client preference cookie handle.
A CookieMenu prefab menu type.
const char[] display
Text to show on the menu.
Optional handler callback for translations and output on selection
any info
Info data to pass to the callback.

Return Value

void

Error

Invalid cookie handle.