Update for latest version of seamless
Some checks failed
Build / Compute Version (push) Successful in 5s
Build / Build Nuget package (push) Failing after 35s

Notable feature: ModAPI
This commit is contained in:
2025-05-11 16:14:22 -04:00
parent c8c0255edd
commit d84f37bea7
15 changed files with 310 additions and 113 deletions

View File

@@ -34,12 +34,12 @@ namespace SeamlessClient.Components
private bool ScannedMods = false;
public static string JoiningServerName { get; private set; }
public static List<string> CustomLoadingTextures { get; private set; } = new List<string>();
public static List<string> CustomLoadingTextures { get; private set; } = new List<string>();
static Random random = new Random(Guid.NewGuid().GetHashCode());
delegate void MyDelegate(string text);
private static List<MyObjectBuilder_Checkpoint.ModItem> mods;
private static List<MyObjectBuilder_Checkpoint.ModItem> mods;
public override void Patch(Harmony patcher)
{
@@ -97,7 +97,7 @@ namespace SeamlessClient.Components
//Use custom loading screen
GUILoadingScreen myGuiScreenLoading = new GUILoadingScreen(newGameplayScreen, MyGuiScreenGamePlay.Static, customLoadingBackground, customLoadingtext);
myGuiScreenLoading.OnScreenLoadingFinished += delegate
{
if (MySession.Static != null)