示例#1
0
        // Hook location : MainMenu.drawMainMenuButtons()
        public static void onMainMenuButtonsDraw(MainMenu self, ref int mainButtonY, ref int secondaryButtonY)
        {
            var drawMainMenuButtonsEvent = new Event.DrawMainMenuButtonsEvent(self, mainButtonY, secondaryButtonY);

            drawMainMenuButtonsEvent.CallEvent();
            mainButtonY      = drawMainMenuButtonsEvent.MainButtonY;
            secondaryButtonY = drawMainMenuButtonsEvent.SecondaryButtonY;
        }
        // Hook location : MainMenu.drawMainMenuButtons()
        public static void onMainMenuButtonsDraw(Hacknet.MainMenu self)
        {
            var drawMainMenuButtonsEvent = new Event.DrawMainMenuButtonsEvent(self);

            drawMainMenuButtonsEvent.CallEvent();
        }