aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 197253dbe475069a312be0b09344aca956644e84 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# HermesOnDisk

It's a dumb, 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();
```