@hanabi-live/game
    Preparing search index...

    Variable hypotheticalEventSchemaConst

    hypotheticalEventSchema: ZodDiscriminatedUnion<
        [
            ZodReadonly<
                ZodObject<
                    {
                        identity: ZodOptional<
                            ZodReadonly<
                                ZodObject<
                                    {
                                        rank: ZodLiteral<(...) | (...) | (...) | (...) | (...) | (...)>;
                                        suitIndex: ZodLiteral<
                                            (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...),
                                        >;
                                    },
                                    $strict,
                                >,
                            >,
                        >;
                        order: $ZodBranded<ZodNumber, "CardOrder", "out">;
                        playerIndex: ZodLiteral<0 | 1 | 2 | 3 | 4>;
                        type: ZodLiteral<"draw">;
                    },
                    $strict,
                >,
            >,
            ZodReadonly<
                ZodObject<
                    {
                        identity: ZodOptional<
                            ZodReadonly<
                                ZodObject<
                                    {
                                        rank: ZodLiteral<(...) | (...) | (...) | (...) | (...) | (...)>;
                                        suitIndex: ZodLiteral<
                                            (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...),
                                        >;
                                    },
                                    $strict,
                                >,
                            >,
                        >;
                        order: $ZodBranded<ZodNumber, "CardOrder", "out">;
                        playerIndex: ZodLiteral<0 | 1 | 2 | 3 | 4>;
                        type: ZodLiteral<"play">;
                    },
                    $strict,
                >,
            >,
            ZodReadonly<
                ZodObject<
                    {
                        identity: ZodOptional<
                            ZodReadonly<
                                ZodObject<
                                    {
                                        rank: ZodLiteral<(...) | (...) | (...) | (...) | (...) | (...)>;
                                        suitIndex: ZodLiteral<
                                            (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...),
                                        >;
                                    },
                                    $strict,
                                >,
                            >,
                        >;
                        order: $ZodBranded<ZodNumber, "CardOrder", "out">;
                        playerIndex: ZodLiteral<0 | 1 | 2 | 3 | 4>;
                        type: ZodLiteral<"discard">;
                    },
                    $strict,
                >,
            >,
        ],
        "type",
    > = ...

    One event in a hypothetical. The server relays these; each client applies them to its own copy of the game.