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