mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
36 lines
1.1 KiB
C#
36 lines
1.1 KiB
C#
using OWML.Common;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.Events;
|
|
|
|
namespace NewHorizons
|
|
{
|
|
public interface INewHorizons
|
|
{
|
|
[Obsolete("Create(Dictionary<string, object> config) is deprecated, please use LoadConfigs(IModBehaviour mod) instead")]
|
|
void Create(Dictionary<string, object> config);
|
|
|
|
[Obsolete("Create(Dictionary<string, object> config) is deprecated, please use LoadConfigs(IModBehaviour mod) instead")]
|
|
void Create(Dictionary<string, object> config, IModBehaviour mod);
|
|
|
|
void LoadConfigs(IModBehaviour mod);
|
|
|
|
GameObject GetPlanet(string name);
|
|
|
|
string GetCurrentStarSystem();
|
|
|
|
UnityEvent<string> GetChangeStarSystemEvent();
|
|
|
|
UnityEvent<string> 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);
|
|
}
|
|
}
|