ThinkInvis-NavYoink icon

NavYoink

A small library for keeping track of nav graph nodes to allow dynamic removal.

Last updated an hour ago
Total downloads 12
Total rating 0 
Categories Libraries Server-side
Dependency string ThinkInvis-NavYoink-1.0.0
Dependants 1 other package depends on this package

This mod requires the following mods to function

bbepis-BepInExPack-5.4.2103 icon
bbepis-BepInExPack

Unified BepInEx all-in-one modding pack - plugin framework, detour library

Preferred version: 5.4.2103

README

NavYoink

Description

NavYoink is a library mod. It won't do much on its own, but it may be required for some other mods.

For developers: NavYoink makes objects remember which NodeGraph nodes they're occupying, through addition of a NodeOccupationInfo component; and adds some extension methods to DirectorCore (using static ThinkInvisible.NavYoink.Extensions;) to allow erasing or migrating NodeGraph occupations for a specific object.

Changelog

The 5 latest updates are listed below. For a full changelog, see: https://github.com/ThinkInvis/RoR2-NavYoink/blob/master/changelog.md

1.0.0

  • Initial release. Moved from TILER2: component NodeOccupationInfo; and extension methods RemoveOccupiedNode, RemoveAllOccupiedNodes, and UpdateOccupiedNodesReference.
    • Tweaked OccupyNearbyNodes_OnSceneDirectorPrePopulateSceneServer hook to no longer bypass the vanilla method. Nodes covered by multiple OccupyNearbyNodes components are now assigned to only whichever of the latter is first in default enumeration order, instead of to all of them.