Пример #1
0

        
Пример #2
0
        private void HeroControllerOnNailParry(On.HeroController.orig_NailParry orig, HeroController self)
        {
            if (voidCount < 5)
            {
                voidCount++;
            }
            Logger.Log("Added 10 mana");

            orig(self);
        }
Пример #3
0
 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;
     }
 }
Пример #4
0
        public void ShowAllSaves()
        {
            Logger.Log("[MoreSaves] Showing All Saves");

            foreach (SaveSlotButton s in Slots)
            {
                s._prepare(_gm);
                s.ShowRelevantModeForSaveFileState();
            }

            _uim.StartCoroutine(_uim.GoToProfileMenu());
        }
Пример #5
0
        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);
        }
Пример #6
0
 private static void Log(object obj)
 {
     Logger.Log("[Daughter of Hallownest] " + obj);
 }
Пример #7
0

        
Пример #8
0
 private static void Log(object obj)
 {
     Logger.Log("[Lord of Shade] " + obj);
 }
Пример #9
0
 private static void Log(object obj)
 {
     Logger.Log("[Bat Mind] " + obj);
 }
Пример #10
0
 private void Log(object o)
 {
     Logger.Log("[Fennel] " + o);
 }
Пример #11
0
 public static void Log(object message) => Logger.Log("[Spencer]" + message);
 private static void Log(object obj)
 {
     Logger.Log("[FocusCount] " + obj);
 }
Пример #13
0
 private void Log(object o)
 {
     Logger.Log("[PV Fixer] " + o);
 }
 private void Log(object o)
 {
     Logger.Log($"[{Assembly.GetExecutingAssembly().GetName().Name}]: " + o);
 }
Пример #15
0
 private static void Log(object obj)
 {
     Logger.Log("[Mantis Projectile] " + obj);
 }
Пример #16
0
 private static void log(string str)
 {
     Logger.Log("[Redwing] " + str);
 }
Пример #17
0
 private static void Log(object obj)
 {
     Logger.Log("[Propeller Knight] " + obj);
 }
Пример #18
0
 public static void Log(object o)
 {
     Logger.Log("[Area Loader] " + o);
 }
Пример #19
0
 private static void Log(object obj)
 {
     Logger.Log("[Fire Particle] " + obj);
 }
Пример #20
0
 private static void Log(object obj)
 {
     Logger.Log("[GodBug] " + obj);
 }
Пример #21
0
 public static void log(string text)
 {
     Logger.Log("[" + globals.MOD_NAME_FULL + "]" + text);
 }
Пример #22
0
 internal static void Log(string message) => L.Log(prefix + message);
Пример #23
0
 private static void Log(object obj)
 {
     Logger.Log("[Lost Lord] " + obj);
 }
Пример #24
0
 private static void Log(object obj)
 {
     Logger.Log("[Audio PV] " + obj);
 }
Пример #25
0
 private static void log(string str)
 {
     Logger.Log("[Greymoth] " + str);
 }