[{"data":1,"prerenderedAt":112},["ShallowReactive",2],{"/docs/base/api/callbacks":3,"/docs/base/api/callbacks-surround":99,"/docs/base/api/callbacks-implemented-suggestions":111},{"id":4,"title":5,"body":6,"description":89,"extension":90,"head":91,"implementedSuggestions":91,"meta":92,"navigation":93,"path":94,"schemaOrg":91,"seo":95,"sitemap":96,"stem":97,"__hash__":98},"docs/1.docs/base/5.api/7.callbacks.md","Callbacks",{"type":7,"value":8,"toc":82},"minimark",[9,14,33,53,56,60,71],[10,11,13],"h2",{"id":12},"registerservercallbackname-callback","RegisterServerCallback(name, callback)",[15,16,17,21,22,26,27,32],"p",{},[18,19,20],"strong",{},"Required anticheat setup:"," When Resource Protection is enabled, whitelist all installed Sky resources in the anticheat, including ",[23,24,25],"code",{},"sky_base",". Blocking callback requests or responses prevents operations from completing. See ",[28,29,31],"a",{"href":30},"/docs/guide/anticheat-resource-protection","Anticheat Resource Protection",".",[15,34,35,40,41,44,45,48,49,52],{},[18,36,37,38,32],{},"Server only · ",[23,39,25],{}," Registers a callback through ",[23,42,43],{},"Sky.Cb.Register",". ",[23,46,47],{},"name"," must be a unique string and ",[23,50,51],{},"callback"," must be callable. Registration with an existing name is rejected. The callback remains associated with its invoking resource.",[15,54,55],{},"This registration export has no success-value contract; invalid registration raises an error. Validate the requesting player, permissions and payload inside any callback that exposes protected data or changes server state.",[10,57,59],{"id":58},"hasservercallbackapi","HasServerCallbackApi()",[15,61,62,66,67,70],{},[18,63,37,64,32],{},[23,65,25],{}," Returns ",[23,68,69],{},"true"," when this export is registered. It describes callback-API availability, not job-resource readiness or player permissions.",[15,72,73,74,77,78,32],{},"For a Sky resource, use the imported ",[23,75,76],{},"Sky.Cb"," library and its documented callback contracts. For shared job operations, prefer the existing ",[28,79,81],{"href":80},"/docs/base/jobs-base/server-exports","Jobs Base server APIs",{"title":83,"searchDepth":84,"depth":85,"links":86},"",1,2,[87,88],{"id":12,"depth":85,"text":13},{"id":58,"depth":85,"text":59},"Register server callbacks in the existing Sky callback owner.","md",null,{},true,"/docs/base/api/callbacks",{"title":5,"description":89},{"loc":94},"1.docs/base/5.api/7.callbacks","Hx1eP-VrC0KAvizZ3tAfA11xxZUt9oJ6VDmQtoA38tI",[100,105],{"title":101,"path":102,"stem":103,"description":104,"children":-1},"Internal Banking","/docs/base/api/banking","1.docs/base/5.api/6.banking","Server exports for the internal Sky society banking backend.",{"title":106,"path":107,"stem":108,"description":109,"icon":110,"children":-1},"Customization","/docs/base/customization","1.docs/base/customization","Configure Sky Base interfaces and use inventory images in Sky resources.","i-lucide-puzzle",[],1791814174474]