public static void ReInitGirlWindow(UiGirlsWindow window)
        {
            List <UiGirlsWindowSlot> girlSlots = (List <UiGirlsWindowSlot>)GirlSlotsFieldInfo.GetValue(window);

            if (GirlWindowOffset >= Game.Manager.Player.girls.Count || GirlWindowOffset < 0)
            {
                GirlWindowOffset = 0;
            }

            for (int i = 0; i < GirlSlotCount; i++)
            {
                var slot = girlSlots[i];

                slot.Init(i + GirlWindowOffset);
                slot.Refresh();
            }
        }
        public static void Update()
        {
            var activeWindow = Game.Manager.Windows.GetActiveWindow();

            if (activeWindow?.windowDefinition.id == 2)
            {
                UiGirlsWindow girlsWindow = activeWindow.GetComponent <UiGirlsWindow>();

                if (Input.GetKeyDown(KeyCode.F6) &&
                    GirlWindowOffset > 0)
                {
                    GirlWindowOffset -= GirlSlotCount;
                    ReInitGirlWindow(girlsWindow);
                }
                else if (Input.GetKeyDown(KeyCode.F7) &&
                         Game.Manager.Player.girls.Count > GirlWindowOffset + GirlSlotCount)
                {
                    GirlWindowOffset += GirlSlotCount;
                    ReInitGirlWindow(girlsWindow);
                }
            }
        }
 private static void ReInitGirlWindowHook(UiGirlsWindow __instance)
 {
     ReInitGirlWindow(__instance);
 }