new-query
new-query Draft
Use from the game
Query results are shared between callers for 60 seconds. A forced fresh run needs a secret key. This draft is not saved yet: save first, then this guide names your id.
This project has no enabled public key. Create one under API keys: game code needs it.
var result = await NetworkStorage.RunQuery( "new-query" );
if ( !result.HasValue )
{
return;
}My sbox-ns project ID is proj_a75070d69b083f0f16f827f1. I am working on the query "new-query". Read its definition with definition_get (sources, config, cache), check logs_requests for failures, then show me the C# that runs it with NetworkStorage.RunQuery and how the shared cached result behaves. Do not save anything without my confirm string.