Mirrors UtilityBelt NetworkUI behaviour for the cross-PC vital sharing overlay: - Each non-self row now draws a small triangle pointing toward the peer (relative to the local character's facing) and a range label in meters, both tinted red as distance grows. Uses share_position_update data that was already being streamed but previously ignored on receive. - VitalSharingTracker caches peer positions from share_position_update into the same PeerSnapshot used by the overlay. - Hold Ctrl and left-drag the overlay to reposition it. A yellow border highlights the drag bounds while Ctrl is held (matches UB). Position is persisted to PluginSettings.VitalSharingOverlayX/Y. - Input handled via CoreManager.WindowMessage, eating the events so the game doesn't also react to the drag. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1.7 MiB
1.7 MiB