using OWML.Common; using System; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; namespace NewHorizons { public interface INewHorizons { [Obsolete("Create(Dictionary config) is deprecated, please use LoadConfigs(IModBehaviour mod) instead")] void Create(Dictionary config); [Obsolete("Create(Dictionary config) is deprecated, please use LoadConfigs(IModBehaviour mod) instead")] void Create(Dictionary config, IModBehaviour mod); void LoadConfigs(IModBehaviour mod); GameObject GetPlanet(string name); string GetCurrentStarSystem(); UnityEvent GetChangeStarSystemEvent(); UnityEvent GetStarSystemLoadedEvent(); bool SetDefaultSystem(string name); bool ChangeCurrentStarSystem(string name); string[] GetInstalledAddons(); GameObject SpawnObject(GameObject planet, Sector sector, string propToCopyPath, Vector3 position, Vector3 eulerAngles, float scale, bool alignWithNormal); } }