import { JSONSchema, ValidateFunction } from '../../validation'; import { BaseEvent, Events } from './base'; export type UserJoinedRoomEvent = BaseEvent & { type: Events.Type.COMMS; subType: Events.SubType.Comms.USER_JOINED_ROOM; metadata: { parcel: string; sceneId: string; userAddress: string; realmName: string; islandName?: string; communityId?: string; voiceChatId?: string; isWorld: boolean; roomType: RoomType; }; }; export declare enum RoomType { PRIVATE_MESSAGE = "private-message", VOICE_CHAT = "voice-chat", COMMUNITY_VOICE_CHAT = "community-voice-chat", ISLAND = "island", SCENE = "scene", WORLD = "world", UNKNOWN = "unknown" } export declare namespace UserJoinedRoomEvent { const schema: JSONSchema; const validate: ValidateFunction; } export type UserLeftRoomEvent = BaseEvent & { type: Events.Type.COMMS; subType: Events.SubType.Comms.USER_LEFT_ROOM; metadata: { sceneId?: string; isWorld: boolean; userAddress: string; realmName: string; roomType: RoomType; islandName?: string; communityId?: string; voiceChatId?: string; }; }; export declare namespace UserLeftRoomEvent { const schema: JSONSchema; const validate: ValidateFunction; } export type UserBannedFromSceneEvent = BaseEvent & { type: Events.Type.COMMS; subType: Events.SubType.Comms.USER_BANNED_FROM_SCENE; metadata: { placeTitle: string; userAddress: string; }; }; export declare namespace UserBannedFromSceneEvent { const schema: JSONSchema; const validate: ValidateFunction; } export type UserUnbannedFromSceneEvent = BaseEvent & { type: Events.Type.COMMS; subType: Events.SubType.Comms.USER_UNBANNED_FROM_SCENE; metadata: { placeTitle: string; userAddress: string; }; }; export declare namespace UserUnbannedFromSceneEvent { const schema: JSONSchema; const validate: ValidateFunction; } //# sourceMappingURL=comms.d.ts.map