2021-04-27 11:59:22 +02:00
|
|
|
import * as tg from "generic-type-guard";
|
|
|
|
|
|
|
|
export const isMenuItemRegisterEvent =
|
|
|
|
new tg.IsInterface().withProperties({
|
|
|
|
menutItem: tg.isString
|
|
|
|
}).get();
|
|
|
|
/**
|
2021-05-18 09:53:54 +02:00
|
|
|
* A message sent from the iFrame to the game to add a new menu item.
|
2021-04-27 11:59:22 +02:00
|
|
|
*/
|
|
|
|
export type MenuItemRegisterEvent = tg.GuardedType<typeof isMenuItemRegisterEvent>;
|