feat: save and load button
This commit is contained in:
@@ -26,6 +26,10 @@ export const systemApi = {
|
||||
);
|
||||
},
|
||||
|
||||
deleteSave(filename: string) {
|
||||
return httpClient.post<{ status: string; message: string }>('/api/game/delete', { filename });
|
||||
},
|
||||
|
||||
loadGame(filename: string) {
|
||||
return httpClient.post<{ status: string; message: string }>('/api/game/load', { filename });
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user