public static bool Prefix(SplashLauncher __instance) { Traverse.Create(__instance).Field("currentState").SetValue(3); var activate = Traverse.Create(__instance).Field("activate").GetValue <ActivateAfterInit>(); activate.enabled = true; return(false); }
public static bool Prefix(SplashLauncher __instance) { var activate = Traverse.Create(__instance).Field("activate").GetValue <ActivateAfterInit>(); if (activate != null && !activate.enabled) { activate.enabled = true; } return(false); }
Prefix(SplashLauncher __instance) { if (Local.state.getItem("cheat_introskip_on") == "") { return(true); } Traverse.Create(__instance).Field("currentState").SetValue(3); Traverse.Create(__instance) .Field("activate") .GetValue <ActivateAfterInit>() .enabled = true; return(false); }
public static bool Prefix(SplashLauncher __instance) { return(false); }