Got more things functional
This commit is contained in:
parent
a1141cd2b8
commit
fc0c1c7e7a
23 changed files with 1080 additions and 876 deletions
18
lib/structs/SessionData.dart
Normal file
18
lib/structs/SessionData.dart
Normal file
|
@ -0,0 +1,18 @@
|
|||
import 'package:libac_flutter/utils/TimeUtils.dart';
|
||||
import 'package:servermanager/statemachine.dart';
|
||||
|
||||
class SessionData {
|
||||
static bool shutdownPending = false;
|
||||
|
||||
/// This flag will track the number of seconds until restart
|
||||
///
|
||||
/// This is initialized initially based on the AutomaticRestart timer if enabled.
|
||||
///
|
||||
/// This may be updated to one to two minutes by a Mod Update, or Wrapper update
|
||||
static Time timer = Time(hours: 0, minutes: 0, seconds: 0);
|
||||
static Time operating_time = Time(hours: 0, minutes: 0, seconds: 0);
|
||||
|
||||
static String shutdownMessage = "";
|
||||
|
||||
static WarnIntervals CURRENT_INTERVAL = WarnIntervals.NONE;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue