discord-mcbe
    Preparing search index...

    Variable SetGameModePacketConst

    SetGameModePacket: {
        req: StrictObjectSchema<
            {
                data: StrictObjectSchema<
                    {
                        gameMode: EnumSchema<typeof GameMode, undefined>;
                        playerUniqueId: CustomSchema<UniqueId, undefined>;
                    },
                    undefined,
                >;
                requestId: StringSchema<undefined>;
                type: LiteralSchema<SetGameMode, undefined>;
            },
            undefined,
        >;
        res: NullSchema<undefined>;
        type: SetGameMode;
    } = ...

    Type Declaration

    • Readonlyreq: StrictObjectSchema<
          {
              data: StrictObjectSchema<
                  {
                      gameMode: EnumSchema<typeof GameMode, undefined>;
                      playerUniqueId: CustomSchema<UniqueId, undefined>;
                  },
                  undefined,
              >;
              requestId: StringSchema<undefined>;
              type: LiteralSchema<SetGameMode, undefined>;
          },
          undefined,
      >
    • res: NullSchema<undefined>
    • type: SetGameMode