discord-mcbe
    Preparing search index...

    Class SocketSession

    Implements

    Index
    id: string
    world: World
    worldName: string
    • Type Parameters

      • T extends
            | Disconnect
            | Ping
            | SendMessage
            | RunCommand
            | SendScriptEvent
            | GetTPS
            | GetEntityLocation
            | GetEntityDimension
            | GetGameMode
            | SetGameMode
            | SetTitle
            | UpdateSubtitle
            | SetActionBar
            | KickPlayer
            | DiscordChat
            | GetScore
            | UpdateScore
            | GetAllScores
            | RemoveParticipant
            | GetObjective
            | GetAllObjectives
            | UpdateObjective
            | SetObjectiveDisplay

      Parameters

      • type: T
      • data: ClientBoundRequestData<T>
      • timeout: number = 10_000

      Returns Promise<RequestResult<ClientBoundResponseData<T>>>