wavelength 1.0.0
Loading...
Searching...
No Matches
mcloadsettingstask.h
Go to the documentation of this file.
1#pragma once
2
3#include "game/gameoptions.h"
7
15public:
22 ~MCLoadSettingsTask() override = default;
23
31
40 void Set(int nPort, GameOptions *pSettings);
41
48 void OnFileLoaded() override;
49
50private:
51 // The steps belong to the SerialTasks list.
52 MCGetInfoTask *mGetInfo;
53 MCLoadFileTask *mLoad;
54 GameOptions *mSettings;
55};
The settings of the game options screen, which are saved apart from the players to the settings file ...
Definition gameoptions.h:13
Task that reads the type, the free space, and the format of a card.
Definition mcgetinfotask.h:11
Work that reads a file into a block of memory: open, read, and close.
Definition mcloadfiletask.h:14
void OnFileLoaded() override
Decode the loaded file into mSettings.
MCLoadSettingsTask()
Construct the steps.
~MCLoadSettingsTask() override=default
Destroy the object.
void Set(int nPort, GameOptions *pSettings)
Prepare the work.
Memory card work made of MemcardTask steps that run one after another.
Definition memcardserialtask.h:13