new-collection
new-collection Draft Per player Endpoints only
Use from the game
Game clients cannot read or write this collection directly (accessMode is not public). Call an endpoint that reads or writes it; direct calls answer 403 ENDPOINT_ONLY. No game-callable endpoint references this collection yet. This draft is not saved yet: save first, then this guide names your id. Collection access
This project has no enabled public key. Create one under API keys: game code needs it.
// Collection "new-collection" is endpoint-only: direct reads and writes answer 403 ENDPOINT_ONLY.
// Save an endpoint that reads or writes it, then call that endpoint:
var result = await NetworkStorage.CallEndpoint( "my-endpoint", new { } );
if ( !result.HasValue )
{
return;
}My sbox-ns project ID is proj_a75070d69b083f0f16f827f1. I am working on the collection "new-collection" (endpoint-only: game clients get 403 ENDPOINT_ONLY on direct calls). No game-callable endpoint references it yet. Draft the endpoint YAML that should read or write it, validate with definition_check, and show me the C# that would call it with NetworkStorage.CallEndpoint once saved. Do not save anything without my confirm string.