UNPKG

civ7-modding-tools

Version:
21 lines (17 loc) 565 B
import { BaseNode } from "./BaseNode"; export type TUnlockRequirementNode = Pick<UnlockRequirementNode, "unlockType" | "requirementSetId" | "description" | "tooltip" >; export class UnlockRequirementNode extends BaseNode<TUnlockRequirementNode> { unlockType: string | null = 'UNLOCK_'; requirementSetId: string | null = null; description: string | null = null; tooltip: string | null = null; constructor(payload: Partial<TUnlockRequirementNode> = {}) { super(); this.fill(payload); } }