using System.Threading;

namespace Cute;

public class Toolbox
{
	private enum SYSTEM_INIT
	{
		SYSTEM_NOT_READY,
		SYSTEM_READY
	}

	public static bool isLoadFromLocal;

	public static bool isLoadLocalSound;

	public static BootSystem BootSystem;

	public static BootNetwork BootNetwork;

	public static SceneManager SceneManager;

	public static NetworkManager NetworkManager;

	public static AssetManager AssetManager;

	public static SavedataManager SavedataManager;

	public static DeviceManager DeviceManager;

	public static QualityManager QualityManager;

	public static ResourcesManager ResourcesManager;

	public static AudioManager AudioManager;

	public static MovieManager MovieManager;

	public static DebugManager DebugManager;

	public static Mutex mute;

	public static void Clear()
	{
		BootSystem = null;
		BootNetwork = null;
		SceneManager = null;
		NetworkManager = null;
		AssetManager = null;
		SavedataManager = null;
		DeviceManager = null;
		QualityManager = null;
		ResourcesManager = null;
		AudioManager = null;
	}

	public static bool isFrameWorkLoaded()
	{
		if (BootSystem != null && BootNetwork != null && SceneManager != null && NetworkManager != null && AssetManager != null && SavedataManager != null && DeviceManager != null && QualityManager != null && ResourcesManager != null && AudioManager != null)
		{
			return true;
		}
		return false;
	}
}
