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

    Type Alias ParamsMap<Params>

    ParamsMap: IsEqual<Params, undefined> extends true
        ? undefined
        : PartialWithUndefined<
            {
                hitbox: Partial<
                    {
                        [Key in WritableKeysOf<Hitbox> as IsNever<
                            MatchingKeys<Key, Params, Hitbox>,
                        > extends true
                            ? never
                            : Key]:
                            | (
                                Key extends keyof Params
                                    ? Params[Key] extends Extract<(...), (...)>[Key] ? true : never
                                    : never
                            )
                            | MatchingKeys<Key, Params, Hitbox>
                    },
                >;
                view: Partial<
                    {
                        [Key in WritableKeysOf<ViewContainer> as IsNever<
                            MatchingKeys<Key, Params, ViewContainer>,
                        > extends true
                            ? never
                            : Key]:
                            | (
                                Key extends keyof Params
                                    ? Params[Key] extends ViewContainer[Key] ? true : never
                                    : never
                            )
                            | MatchingKeys<Key, Params, ViewContainer>
                    },
                >;
            },
        >

    An object that controls which entity parameter projects get mapped to view and hitbox properties. Values can be:

    • true: indicates that the property is mapped directly from params to that view or hitbox object
    • Omitted: the property is not mapped at all
    • A string: specifies the params key that this view or hitbox property is mapped to

    Type Parameters

    • Params extends Record<string, any> | undefined = AnyObject