예제 #1
0
        private void AddKeybinding(BoolFilterParameterModel model, string value, ModificationType modType, Key key)
        {
            var val     = GetBoolValue(value);
            var binding = new BoolFilterParameterModel.BoolParameterAction(val, modType);

            model.Keybindings[key] = binding;
        }
예제 #2
0
        private void AddParameterAction(BoolFilterParameterModel model, string value, ModificationType modType, ActionType actionType)
        {
            var val    = GetBoolValue(value);
            var action = new BoolFilterParameterModel.BoolParameterAction(val, modType);

            model.Actions[actionType] = action;
        }