Skip to content

Commit dccd05e

Browse files
authored
Merge pull request #168 from Auties00/_onLoggedIn
10.0
2 parents 7d5e176 + eb7745c commit dccd05e

37 files changed

+813
-688
lines changed

common/lib/src/constant/game.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
const String kDefaultPlayerName = "Player";
2+
const String kDefaultHostName = "Host";
23
const String kDefaultGameServerHost = "127.0.0.1";
34
const String kDefaultGameServerPort = "7777";
45
const String kInitializedLine = "Game Engine Initialized";

common/lib/src/model/dll.dart

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
enum InjectableDll {
22
console,
3-
sinum,
3+
starfall,
44
reboot,
5-
memory
5+
}
6+
7+
extension InjectableDllVersionAware on InjectableDll {
8+
bool get isVersionDependent => this == InjectableDll.reboot;
69
}

common/lib/src/model/fortnite_build.dart

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,15 @@ class FortniteBuild {
1717

1818
class FortniteBuildDownloadProgress {
1919
final double progress;
20-
final int? minutesLeft;
20+
final int? timeLeft;
2121
final bool extracting;
22+
final int speed;
2223

2324
FortniteBuildDownloadProgress({
2425
required this.progress,
2526
required this.extracting,
26-
this.minutesLeft,
27+
required this.timeLeft,
28+
required this.speed
2729
});
2830
}
2931

common/lib/src/model/game_instance.dart

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
import 'dart:io';
22

33
import 'package:reboot_common/common.dart';
4+
import 'package:version/version.dart';
45

56

67
class GameInstance {
7-
final String versionName;
8+
final Version version;
89
final int gamePid;
910
final int? launcherPid;
1011
final int? eacPid;
@@ -17,7 +18,7 @@ class GameInstance {
1718
GameInstance? child;
1819

1920
GameInstance({
20-
required this.versionName,
21+
required this.version,
2122
required this.gamePid,
2223
required this.launcherPid,
2324
required this.eacPid,

0 commit comments

Comments
 (0)