mirror of
https://github.com/sinai-dev/UnityExplorer.git
synced 2025-06-17 06:28:42 +08:00

- Use explicit type of var - Use 'new()' - Remove unnecessary usings - Sort usings - Apply formatting
20 lines
507 B
C#
20 lines
507 B
C#
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() { }
|
|
}
|
|
}
|