@game-vir/multiplayer - v15.1.1
    Preparing search index...

    Type Alias ShouldAllowConnectionCheck<Controller>

    ShouldAllowConnectionCheck: (
        data: { connectingClientId: Uuid; controller: Controller },
    ) => MaybePromise<boolean>

    This is used to check if a new WebRTC connection should be allowed. This will only be triggered on a room host client. Return true

    Type Parameters

    • Controller

    Type declaration

      • (
            data: { connectingClientId: Uuid; controller: Controller },
        ): MaybePromise<boolean>
      • Parameters

        • data: { connectingClientId: Uuid; controller: Controller }

        Returns MaybePromise<boolean>