AERMRE 1.5.1
AER modding framework for Hyper Light Drifter.
save.h
Go to the documentation of this file.
1
32#ifndef AER_SAVE_H
33#define AER_SAVE_H
34
35#include <stddef.h>
36#include <stdint.h>
37
38/* ----- PUBLIC FUNCTIONS ----- */
39
53
82size_t AERSaveGetKeys(size_t bufSize, const char** keyBuf);
83
99void AERSaveDestroy(const char* key);
100
119double AERSaveGetDouble(const char* key);
120
142void AERSaveSetDouble(const char* key, double value);
143
165const char* AERSaveGetString(const char* key);
166
187void AERSaveSetString(const char* key, const char* value);
188
189#endif /* AER_SAVE_H */
void AERSaveSetDouble(const char *key, double value)
Set a double value in the save file.
void AERSaveSetString(const char *key, const char *value)
Set a string value in the save file.
size_t AERSaveGetKeys(size_t bufSize, const char **keyBuf)
Query the keys of all values in the save file (belonging to the calling mod).
void AERSaveDestroy(const char *key)
Erase a value from the save file.
double AERSaveGetDouble(const char *key)
Query a double value from the save file.
int32_t AERSaveGetCurrentSlot(void)
Query the index of the currently active save slot.
const char * AERSaveGetString(const char *key)
Query a string value from the save file.