2021-12-08 13:18:06 +01:00
|
|
|
import * as tg from "generic-type-guard";
|
|
|
|
|
|
|
|
export const isChangeZoneEvent = new tg.IsInterface()
|
|
|
|
.withProperties({
|
|
|
|
name: tg.isString,
|
|
|
|
})
|
|
|
|
.get();
|
|
|
|
/**
|
2021-12-08 13:25:54 +01:00
|
|
|
* A message sent from the game to the iFrame when a user enters or leaves a zone.
|
2021-12-08 13:18:06 +01:00
|
|
|
*/
|
|
|
|
export type ChangeZoneEvent = tg.GuardedType<typeof isChangeZoneEvent>;
|