Giter Site home page Giter Site logo

Comments (2)

Fayti1703 avatar Fayti1703 commented on August 12, 2024

A list of every patch, along with some descriptions and what events they fire.

Name Description Event Second Event
onMain Grab launch options, initialize Pathfinder StartUpEvent
onLoadContent Load mod content GameLoadContentEvent
onCommandSent State updates based on events CommandSentEvent CommandFinishedEvent
onCommandFinished CommandFinishedEvent
onOSDraw Reimplementation of rendering logic OSStartDrawEvent OSEndDrawEvent
onLoadSession OSLoadContentEvent
onUnloadSession OSUnloadContentEvent
onMainMenuDraw + Fade on event cancel DrawMainMenuEvent
onMainMenuButtonsDraw DrawMainMenuButtonsEvent
onLoadSaveFile OSLoadSaveFileEvent
onSaveFile OSSaveFileEvent
onSaveWrite OSSaveWriteEvent
onLoadNetmapContent NetworkMapLoadContentEvent
onExecutableExecute For all programs ExecutableExecuteEvent
onPortExecutableExecute For port crackers ExecutablePortExecuteEvent
onLoadSavedComputerStart LoadSavedComputerStartEvent
onLoadSavedComputerEnd LoadSavedComputerEndEvent
onLoadContentComputerStart LoadContentComputerStartEvent
onLoadContentComputerEnd LoadContentComputerEndEvent
onDrawMainMenuTitles Reimplementation of title draw, pathfinder addition DrawMainMenuTitlesEvent
onGameUnloadContent GameUnloadContentEvent
onGameUpdate GameUpdateEvent
onPortNameDraw Custom port handling
onDisplayModuleUpdate DisplayModuleUpdateEvent
onDisplayModuleDraw DisplayModuleDrawEvent
onExtensionsMenuScreenDraw DrawExtensionMenuEvent
onExtensionsMenuListDraw DrawExtensionMenuListEvent
onOptionsMenuDraw OptionsMenuDrawEvent
onOptionsMenuLoadContent OptionsMenuLoadContentEvent
onOptionsMenuUpdate OptionsMenuUpdateEvent
onOptionsApply OptionsMenuApplyEvent
onLoadRunnableActionsIntoOS ActionsLoadIntoOSEvent
onSCInstantlyCheck Bug-fix Hacknet's Instantly@needsMissionComplete check
onSCConnectCheck Bug-fix Hacknet's OnConnect@needsMissionComplete check (potential philosphical debate)
onFilterString Replace Hacknet's filter system with our own
onAppendToErrorFile Display errors logged by base function in the console -- they're otherwise ignored on non-Windows platforms
onTerminalWriteAppend TerminalWriteEvent TerminalWriteAppendEvent
onTerminalWriteLine TerminalWriteEvent TerminalWriteLineEvent
onTerminalWriteAppendEnd Companion for onTerminalWriteAppend. Unsets the flag that causes onTerminalWriteLine to not fire a TerminalWriteEvent

from hacknet-pathfinder.

Windows10CE avatar Windows10CE commented on August 12, 2024

Although many of these are still missing from the rewrite, it's hard to determine which of these would really see any use, and since developers have the ability to hook into things themselves I think the plugin-centric ones would just clutter the API. I'll add more as things go and people ask, but overall I don't plan on explicitly bringing back events/patches just because Pathfinder 3/4 used them. With that being said, there isn't much of a reason to keep this open if it's just going to be unused, so I'll close it.

from hacknet-pathfinder.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.