civ7-modding-tools
Version:
Mod generation tool for Civilization 7.
21 lines (17 loc) • 565 B
text/typescript
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);
}
}