discord-mcbe
    Preparing search index...

    Variable DisconnectPacketConst

    DisconnectPacket: {
        req: StrictObjectSchema<
            {
                data: StrictObjectSchema<
                    {
                        reason: PicklistSchema<
                            [Disconnect, OutdatedServer, OutdatedClient, ConnectionLost],
                            undefined,
                        >;
                    },
                    undefined,
                >;
                requestId: StringSchema<undefined>;
                type: LiteralSchema<Disconnect, undefined>;
            },
            undefined,
        >;
        res: NullSchema<undefined>;
        type: Disconnect;
    } = ...

    Type Declaration

    • Readonlyreq: StrictObjectSchema<
          {
              data: StrictObjectSchema<
                  {
                      reason: PicklistSchema<
                          [Disconnect, OutdatedServer, OutdatedClient, ConnectionLost],
                          undefined,
                      >;
                  },
                  undefined,
              >;
              requestId: StringSchema<undefined>;
              type: LiteralSchema<Disconnect, undefined>;
          },
          undefined,
      >
    • res: NullSchema<undefined>
    • type: Disconnect