Adds an autorestart page
This commit is contained in:
parent
239eac82b2
commit
0cf1f6b090
4 changed files with 196 additions and 4 deletions
|
@ -1,4 +1,5 @@
|
|||
import 'package:hive/hive.dart';
|
||||
import 'package:servermanager/autorestart.dart';
|
||||
import 'package:servermanager/credentials.dart';
|
||||
import 'package:servermanager/mod.dart';
|
||||
|
||||
|
@ -6,9 +7,12 @@ part 'settingsEntry.g.dart';
|
|||
|
||||
@HiveType(typeId: 0)
|
||||
class SettingsEntry {
|
||||
@HiveField(0)
|
||||
@HiveField(0, defaultValue: [])
|
||||
List<Mod> mods = [];
|
||||
|
||||
@HiveField(3)
|
||||
Credentials? steam_creds;
|
||||
|
||||
@HiveField(4, defaultValue: AutomaticRestartInfo())
|
||||
AutomaticRestartInfo timer = AutomaticRestartInfo();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue