Skip to content

Commit 11a7714

Browse files
authored
Create ISaveLoadService.cs
1 parent ffa163d commit 11a7714

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

ISaveLoadService.cs

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
// **************************************************************** //
2+
//
3+
// Copyright (c) RimuruDev. All rights reserved.
4+
// Contact me:
5+
// - Gmail: rimuru.dev@gmail.com
6+
// - GitHub: https://github.com/RimuruDev
7+
// - LinkedIn: https://www.linkedin.com/in/rimuru/
8+
// - GitHub Organizations: https://github.com/Rimuru-Dev
9+
//
10+
// **************************************************************** //
11+
12+
namespace AbyssMoth.Internal.Codebase.Infrastructure.StorageService
13+
{
14+
public interface ISaveLoadService
15+
{
16+
public void Save<TData>(TData data, string key);
17+
public TData Load<TData>(string key, TData defaultValue = default);
18+
#if UNITY_EDITOR
19+
public void SetCustomPathInEditor(string customPath);
20+
#endif
21+
}
22+
}

0 commit comments

Comments
 (0)