- import BasicTreePreconditionNode from "../../Engine/Basic/BasicTreePreconditionNode";
- import { _ECommonState } from "../../Engine/Data/CommonDataType";
- /**
- * 大厅行为前提节点 - 逻辑层
- */
- export class Game_Hall_Precondition extends BasicTreePreconditionNode {
- protected _enter (...args: any): _ECommonState {
- if (this.customData.initLoad == true) {
- return _ECommonState.Success;
- }
- return _ECommonState.Fail;
- }
- }
|