mirror of
https://github.com/sinai-dev/UnityExplorer.git
synced 2025-06-17 06:28:42 +08:00
25 lines
594 B
C#
25 lines
594 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace UnityExplorer.Config
|
|
{
|
|
public abstract class ConfigHandler
|
|
{
|
|
public abstract void RegisterConfigElement<T>(ConfigElement<T> element);
|
|
|
|
public abstract void SetConfigValue<T>(ConfigElement<T> element, T value);
|
|
|
|
public abstract T GetConfigValue<T>(ConfigElement<T> element);
|
|
|
|
public abstract void Init();
|
|
|
|
public abstract void LoadConfig();
|
|
|
|
public abstract void SaveConfig();
|
|
|
|
public virtual void OnAnyConfigChanged() { }
|
|
}
|
|
}
|