add more options to copy instance dialog
- Copy game options, copy resource packs, copy shaders, copy servers, and copy mods - Also made a new InstanceCopyPrefs struct to store those options rather than passing 7 different booleans into InstanceCopyTask's constructor Signed-off-by: Marcelo Hernandez <marcelohdez.inq@gmail.com>
This commit is contained in:
18
launcher/InstanceCopyPrefs.h
Normal file
18
launcher/InstanceCopyPrefs.h
Normal file
@ -0,0 +1,18 @@
|
||||
//
|
||||
// Created by marcelohdez on 10/22/22.
|
||||
//
|
||||
|
||||
#ifndef LAUNCHER_INSTANCECOPYPREFS_H
|
||||
#define LAUNCHER_INSTANCECOPYPREFS_H
|
||||
|
||||
struct InstanceCopyPrefs {
|
||||
bool copySaves;
|
||||
bool keepPlaytime;
|
||||
bool copyGameOptions;
|
||||
bool copyResourcePacks;
|
||||
bool copyShaderPacks;
|
||||
bool copyServers;
|
||||
bool copyMods;
|
||||
};
|
||||
|
||||
#endif // LAUNCHER_INSTANCECOPYPREFS_H
|
Reference in New Issue
Block a user