Exemplo n.º 1
0
 /**
  * Adds a new item to the client cookie settings menu.
  *
  * Note: This only adds the top level menu item. You need to handle any submenus from the callback.
  *
  * @param handler       A MenuHandler callback function.
  * @param info          Data to pass to the callback.
  * @param display       Text to show on the menu.
  * @error               Invalid cookie handle.
  */
 public static void SetCookieMenuItem(CookieMenuHandler handler, any info, string display)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 2
0
 /**
  * Add a new prefab item to the client cookie settings menu.
  *
  * Note: This handles everything automatically and does not require a callback
  *
  * @param cookie        Client preference cookie handle.
  * @param type          A CookieMenu prefab menu type.
  * @param display       Text to show on the menu.
  * @param handler       Optional handler callback for translations and output on selection
  * @param info          Info data to pass to the callback.
  * @error               Invalid cookie handle.
  */
 public static void SetCookiePrefabMenu(Handle cookie, CookieMenu type, string display, CookieMenuHandler handler = INVALID_FUNCTION, any?info = null)
 {
     throw new NotImplementedException();
 }