UNPKG

civ7-modding-tools

Version:
23 lines (19 loc) 568 B
import { BaseNode } from "./BaseNode"; export type TUnlockRewardNode = Pick<UnlockRewardNode, "unlockType" | "name" | "description" | "icon" | "civUnlock" >; export class UnlockRewardNode extends BaseNode<TUnlockRewardNode> { unlockType: string | null = 'UNLOCK_'; name: string | null = null; description: string | null = null; icon: string | null = null; civUnlock: boolean | null = null; constructor(payload: Partial<TUnlockRewardNode> = {}) { super(); this.fill(payload); } }