2023-04-27 22:19:39 -04:00
|
|
|
#ifndef LEGOGAMESTATE_H
|
|
|
|
#define LEGOGAMESTATE_H
|
|
|
|
|
2023-07-02 04:05:49 -04:00
|
|
|
#include "mxtypes.h"
|
|
|
|
|
2023-04-27 22:19:39 -04:00
|
|
|
class LegoGameState
|
|
|
|
{
|
|
|
|
public:
|
2023-06-11 21:03:54 -04:00
|
|
|
__declspec(dllexport) LegoGameState();
|
|
|
|
__declspec(dllexport) ~LegoGameState();
|
2023-07-02 04:05:49 -04:00
|
|
|
__declspec(dllexport) MxResult Load(MxULong);
|
|
|
|
__declspec(dllexport) MxResult Save(MxULong p);
|
2023-07-02 05:07:11 -04:00
|
|
|
__declspec(dllexport) void SerializePlayersInfo(MxS16 p);
|
|
|
|
__declspec(dllexport) void SerializeScoreHistory(MxS16 p);
|
2023-04-27 22:19:39 -04:00
|
|
|
__declspec(dllexport) void SetSavePath(char *p);
|
2023-07-03 13:25:37 -04:00
|
|
|
|
|
|
|
private:
|
|
|
|
char *m_savePath;
|
2023-04-27 22:19:39 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // LEGOGAMESTATE_H
|