import { TObjectValues } from "../types"; import { KIND } from "../constants"; import { BaseNode } from "./BaseNode"; export type TProgressionTreeNodeUnlockNode = Pick; export class ProgressionTreeNodeUnlockNode extends BaseNode { progressionTreeNodeType: `NODE_${string}` | null = 'NODE_' targetKind: TObjectValues = KIND.MODIFIER; targetType: string | null = 'MOD_' unlockDepth: number | null = 1; hidden: boolean | null = null; aIIgnoreUnlockValue: boolean | null = null; constructor(payload: Partial = {}) { super(); this.fill(payload); } }