diff options
| author | Weicao-CatilGrass <1992414357@qq.com> | 2026-06-04 14:58:21 +0800 |
|---|---|---|
| committer | Weicao-CatilGrass <1992414357@qq.com> | 2026-06-04 14:58:21 +0800 |
| commit | 64c645a2537e35708743042d94a3e6708fa4ceea (patch) | |
| tree | 2245b40fc96012b192c70e0da12330f431aad4dc /README.md | |
| parent | 8bd537d17d30005f6f6f29d773db05bb2b4329e3 (diff) | |
Add README with HermesOnDisk usage documentation
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..262fa1b --- /dev/null +++ b/README.md @@ -0,0 +1,23 @@ +# HermesOnDisk + +It's a dump, stupid game archive system, but FAST. + +## HOW TO USE + +```csharp +HermesOnDisk.Root = new DirectoryInfo(Application.persistentDataPath); + +// Read +bool doorOpen = HermesOnDisk.Boolean[2]; +float hp = HermesOnDisk.Float[0]; +string name = HermesOnDisk.String[0]; + +// Write +HermesOnDisk.Boolean[0] = true; +HermesOnDisk.Float[0] = 100f; +HermesOnDisk.String[0] = "Peter"; + +// Store & Cleanup +HermesOnDisk.Store(); +HermesOnDisk.GC(); +``` |
