MCPcopy Create free account
hub / github.com/codecombat/codecombat / fetchGameContent

Function fetchGameContent

app/core/api/campaigns.js:20–23  ·  view source on GitHub ↗
(campaignHandle, options)

Source from the content-addressed store, hash-verified

18 return fetchJson(`/db/campaign/${campaignHandle}`, options)
19 },
20 fetchGameContent (campaignHandle, options) {
21 if (options == null) { options = {} }
22 return fetchJson(`/db/campaign/${campaignHandle}/game-content`, options)
23 },
24 fetchOverworld (options) {
25 if (options == null) { options = {} }
26 return fetchJson('/db/campaign/-/overworld', options)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected