private void HeroControllerOnNailParry(On.HeroController.orig_NailParry orig, HeroController self) { if (voidCount < 5) { voidCount++; } Logger.Log("Added 10 mana"); orig(self); }
private static SceneItem RandomScene(string s) { try { return(Scenes.Where(x => !string.IsNullOrEmpty(GetGate(x, s))).ToArray().Random()); } catch (Exception e) { Logger.Log(e.Message); throw; } }
public void ShowAllSaves() { Logger.Log("[MoreSaves] Showing All Saves"); foreach (SaveSlotButton s in Slots) { s._prepare(_gm); s.ShowRelevantModeForSaveFileState(); } _uim.StartCoroutine(_uim.GoToProfileMenu()); }
private static void RandomizeTransition(On.GameManager.orig_BeginSceneTransition orig, GameManager self, GameManager.SceneLoadInfo info) { if (string.IsNullOrEmpty(info.EntryGateName) || string.IsNullOrEmpty(info.SceneName)) { orig(self, info); return; } string s = info.EntryGateName.Substring(0, 3); SceneItem scene = RandomScene(s); info.SceneName = scene.Name; info.EntryGateName = GetGate(scene, s); Logger.Log("gate: " + info.EntryGateName); orig(self, info); }
private static void Log(object obj) { Logger.Log("[Daughter of Hallownest] " + obj); }
private static void Log(object obj) { Logger.Log("[Lord of Shade] " + obj); }
private static void Log(object obj) { Logger.Log("[Bat Mind] " + obj); }
private void Log(object o) { Logger.Log("[Fennel] " + o); }
public static void Log(object message) => Logger.Log("[Spencer]" + message);
private static void Log(object obj) { Logger.Log("[FocusCount] " + obj); }
private void Log(object o) { Logger.Log("[PV Fixer] " + o); }
private void Log(object o) { Logger.Log($"[{Assembly.GetExecutingAssembly().GetName().Name}]: " + o); }
private static void Log(object obj) { Logger.Log("[Mantis Projectile] " + obj); }
private static void log(string str) { Logger.Log("[Redwing] " + str); }
private static void Log(object obj) { Logger.Log("[Propeller Knight] " + obj); }
public static void Log(object o) { Logger.Log("[Area Loader] " + o); }
private static void Log(object obj) { Logger.Log("[Fire Particle] " + obj); }
private static void Log(object obj) { Logger.Log("[GodBug] " + obj); }
public static void log(string text) { Logger.Log("[" + globals.MOD_NAME_FULL + "]" + text); }
internal static void Log(string message) => L.Log(prefix + message);
private static void Log(object obj) { Logger.Log("[Lost Lord] " + obj); }
private static void Log(object obj) { Logger.Log("[Audio PV] " + obj); }
private static void log(string str) { Logger.Log("[Greymoth] " + str); }