import { AuthChain } from '../../misc/auth-chain'; import { JSONSchema, ValidateFunction } from '../../validation'; import { BaseEvent, Events } from './base'; export type WorldsPermissionGrantedEvent = BaseEvent & { type: Events.Type.WORLD; subType: Events.SubType.Worlds.WORLDS_PERMISSION_GRANTED; metadata: { title: string; description: string; world: string; permissions: string[]; url: string; address: string; }; }; export type WorldsPermissionRevokedEvent = BaseEvent & { type: Events.Type.WORLD; subType: Events.SubType.Worlds.WORLDS_PERMISSION_REVOKED; metadata: { title: string; description: string; world: string; permissions: string[]; url: string; address: string; }; }; export type WorldsAccessRestrictedEvent = BaseEvent & { type: Events.Type.WORLD; subType: Events.SubType.Worlds.WORLDS_ACCESS_RESTRICTED; metadata: { title: string; description: string; when: number; address: string; }; }; export type WorldsAccessRestoredEvent = BaseEvent & { type: Events.Type.WORLD; subType: Events.SubType.Worlds.WORLDS_ACCESS_RESTORED; metadata: { title: string; description: string; url: string; attendee: string; }; }; export type WorldsMissingResourcesEvent = BaseEvent & { type: Events.Type.WORLD; subType: Events.SubType.Worlds.WORLDS_MISSING_RESOURCES; metadata: { title: string; description: string; url: string; when: number; address: string; }; }; export type WorldDeploymentEvent = BaseEvent & { type: Events.Type.WORLD; subType: Events.SubType.Worlds.DEPLOYMENT; entity: { entityId: string; authChain: AuthChain; }; contentServerUrls?: string[]; force?: boolean; animation?: string; lods?: string[]; }; export type WorldScenesUndeploymentEvent = BaseEvent & { type: Events.Type.WORLD; subType: Events.SubType.Worlds.WORLD_SCENES_UNDEPLOYMENT; metadata: { worldName: string; scenes: Array<{ entityId: string; baseParcel: string; }>; }; }; export type WorldUndeploymentEvent = BaseEvent & { type: Events.Type.WORLD; subType: Events.SubType.Worlds.WORLD_UNDEPLOYMENT; metadata: { worldName: string; }; }; export type WorldSpawnCoordinateSetEvent = BaseEvent & { type: Events.Type.WORLD; subType: Events.SubType.Worlds.WORLD_SPAWN_COORDINATE_SET; metadata: { name: string; oldCoordinate: { x: number; y: number; } | null; newCoordinate: { x: number; y: number; }; }; }; export type WorldSettingsChangedEvent = BaseEvent & { type: Events.Type.WORLD; subType: Events.SubType.Worlds.WORLD_SETTINGS_CHANGED; metadata: { worldName: string; title?: string; description?: string; contentRating?: string; skyboxTime?: number | null; categories?: string[]; singlePlayer?: boolean; showInPlaces?: boolean; thumbnailUrl?: string; accessType?: string; }; }; export declare namespace WorldSettingsChangedEvent { const schema: JSONSchema; } export declare namespace WorldSpawnCoordinateSetEvent { const schema: JSONSchema; const validate: ValidateFunction; } export declare namespace WorldScenesUndeploymentEvent { const schema: JSONSchema; const validate: ValidateFunction; } export declare namespace WorldUndeploymentEvent { const schema: JSONSchema; const validate: ValidateFunction; } export declare namespace WorldDeploymentEvent { const schema: JSONSchema; const validate: ValidateFunction; } export declare namespace WorldsAccessRestoredEvent { const schema: JSONSchema; const validate: ValidateFunction; } export declare namespace WorldsPermissionRevokedEvent { const schema: JSONSchema; const validate: ValidateFunction; } export declare namespace WorldsPermissionGrantedEvent { const schema: JSONSchema; const validate: ValidateFunction; } export declare namespace WorldsAccessRestrictedEvent { const schema: JSONSchema; const validate: ValidateFunction; } export declare namespace WorldsMissingResourcesEvent { const schema: JSONSchema; const validate: ValidateFunction; } //# sourceMappingURL=world.d.ts.map