1d677cd4-187d-4b47-a24b-6757b9d1f7bc.js 1.9 KB
"use strict";
cc._RF.push(module, '1d677zUGH1LR6JLZ1e50fe8', 'ActionModel');
// script/avg/model/ActionModel.ts

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.OperandType = exports.VariableOperator = exports.TriggerType = exports.ActionType = void 0;
var ActionType;
(function (ActionType) {
    // TransitionIn = -2,
    // TransitionOut = -1,
    // TweenAnimation = 0,
    // EffectAnimation = 1,
    ActionType[ActionType["ModifyVariable"] = 2] = "ModifyVariable";
    ActionType[ActionType["PlayAudio"] = 3] = "PlayAudio";
    ActionType[ActionType["EmitEvent"] = 4] = "EmitEvent";
    // TextAnimation = 5,
    ActionType[ActionType["Custom"] = 10] = "Custom";
})(ActionType = exports.ActionType || (exports.ActionType = {}));
var TriggerType;
(function (TriggerType) {
    TriggerType[TriggerType["PreviousStart"] = 0] = "PreviousStart";
    TriggerType[TriggerType["PreviousEnd"] = 1] = "PreviousEnd";
    TriggerType[TriggerType["Click"] = 2] = "Click";
    TriggerType[TriggerType["Event"] = 3] = "Event";
})(TriggerType = exports.TriggerType || (exports.TriggerType = {}));
var VariableOperator;
(function (VariableOperator) {
    VariableOperator[VariableOperator["Assign"] = 1] = "Assign";
    VariableOperator[VariableOperator["Plus"] = 2] = "Plus";
    VariableOperator[VariableOperator["Minus"] = 3] = "Minus";
    VariableOperator[VariableOperator["Multiply"] = 4] = "Multiply";
    VariableOperator[VariableOperator["Divide"] = 5] = "Divide";
    VariableOperator[VariableOperator["Modulo"] = 6] = "Modulo";
})(VariableOperator = exports.VariableOperator || (exports.VariableOperator = {}));
var OperandType;
(function (OperandType) {
    OperandType[OperandType["Variable"] = 1] = "Variable";
    OperandType[OperandType["Const"] = 2] = "Const";
    OperandType[OperandType["Random"] = 3] = "Random";
})(OperandType = exports.OperandType || (exports.OperandType = {}));

cc._RF.pop();