MCPcopy Create free account
hub / github.com/candybox2/candybox2.github.io / enableLocalAutosave

Method enableLocalAutosave

code/main/Game.ts:253–257  ·  view source on GitHub ↗
(localAutosaveSlot: string)

Source from the content-addressed store, hash-verified

251 }
252
253 public enableLocalAutosave(localAutosaveSlot: string): void{
254 this.localAutosaveEnabled = true;
255 this.localAutosaveSlot = localAutosaveSlot;
256 this.setDefaultLocalAutosaveTime();
257 }
258
259 public gainItem(itemSavingName): void{
260 Saving.saveBool(itemSavingName, true);

Callers 1

clickedAutosaveMethod · 0.80

Calls 1

Tested by

no test coverage detected