Examples

Example sources you can copy into a project.

These are reference code snippets — they are not compiled as part of the library.

Copy what you need into your game project's Code/ directory and adapt to your game.

| File | What it shows | |———|———————| | BasicSetup.cs | Configure the library and call your first endpoint | | GameValuesExample.cs | Fetch and parse game config (constants + tables) | | PlayerDataExample.cs | Load player data, mine ore, sell ore pattern | | SaveStateTrackerExample.cs | Optimistic updates with automatic state tracking |

Generated from sbox-cool/sbox-network-storage/Examples/README.md at d369d1b0a43e30016fa919f260c696dc6aa255a6 (d369d1b).

Publication and source

GitHub source; s&box publication unverified. No confirmed package revision. All versions

Server: 0.5.3 (0.5.3), GitHub source sbox-cool/sbox-network-storage-server at v0.5.3 (6bf5b2a). Library: Legacy source (d369d1b) (source-d369d1b), GitHub source sbox-cool/sbox-network-storage at d369d1b0a43e30016fa919f260c696dc6aa255a6 (d369d1b).