using UnityEngine;

namespace EventsAppQuest.Core
{
    /// <summary>
    /// Configuracao global da aplicacao (ambiente, flags, URLs base para futuras APIs).
    /// </summary>
    [CreateAssetMenu(fileName = "AppConfig", menuName = "EventsAppQuest/App Config", order = 0)]
    public class AppConfig : ScriptableObject
    {
        [Header("Environment")]
        [SerializeField] private bool _useMockServices = true;

        [Header("Scenes")]
        [SerializeField] private string _mainSceneName = "Main";
        [SerializeField] private bool _openQuestPresentationOnStartup = false;

        /// <summary>Usar servicos mock em vez de APIs reais.</summary>
        public bool UseMockServices => _useMockServices;

        /// <summary>Nome da cena principal apos bootstrap.</summary>
        public string MainSceneName => _mainSceneName;

        /// <summary>Se true, apos bootstrap carrega direto a cena QuestPresentation (modo teste).</summary>
        public bool OpenQuestPresentationOnStartup => _openQuestPresentationOnStartup;
    }
}
