/*
 * Copyright (c) 2023 chocopoi
 * 
 * This file is part of DressingTools.
 * 
 * DressingTools is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
 * 
 * DressingTools is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License along with DressingFramework. If not, see <https://www.gnu.org/licenses/>.
 */

using Chocopoi.DressingTools.OneConf.Cabinet;
using Chocopoi.DressingTools.OneConf.Wearable;
using UnityEngine;

namespace Chocopoi.DressingTools.Event
{
    /// <summary>
    /// Framework event handler
    /// </summary>
    internal interface IToolEventHandler
    {
        /// <summary>
        /// Invoked when a wearable is being added to a cabinet
        /// </summary>
        /// <param name="cabinetConfig">Cabinet config</param>
        /// <param name="avatarGameObject">Avatar GameObject</param>
        /// <param name="wearableConfig">Wearable config</param>
        /// <param name="wearableGameObject">Wearable GameObject</param>
        void OnAddWearableToCabinet(CabinetConfig cabinetConfig, GameObject avatarGameObject, WearableConfig wearableConfig, GameObject wearableGameObject);
    }
}
