MosswartMassacre/MosswartMassacre/ViewXML/vitalSharingOverlay.xml
Erik 29a54b720f feat(vitalsharing): settings UI, in-game overlay, reuse CharTag
- Settings tab: new "Vital Sharing (cross-PC)" checkbox + "Open Overlay"
  button, plus help text clarifying CharTag is used as the sharing group.
- Drop separate VitalSharingTags list — reuse PluginSettings.CharTag as
  the single tag value sent with every share_* payload.
- New VitalSharingOverlayView (HudList of peers with coloured HP/STA/MANA
  percentages) modeled after UB's NetworkUI. Colours match the web
  sidebar palette (#ff4444 / #ffaa00 / #4488ff).
- VitalSharingTracker now caches a peer snapshot on every inbound
  share_vital_update so the overlay can render without re-polling.
- PluginCore.SetVitalSharingEnabled static helper so the settings
  checkbox can toggle without poking at private fields.
- /mm vitalsharing command simplified to on|off|status|overlay.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 14:33:17 +02:00

11 lines
898 B
XML

<?xml version="1.0"?>
<view icon="7735" title="Vital Sharing" width="360" height="260">
<control progid="DecalControls.FixedLayout" clipped="">
<control progid="DecalControls.StaticText" name="lblHeader" left="8" top="6" width="340" height="16" text="Vital Sharing Peers" style="FontBold"/>
<control progid="DecalControls.StaticText" name="lblCol0" left="8" top="24" width="160" height="14" text="Character"/>
<control progid="DecalControls.StaticText" name="lblCol1" left="170" top="24" width="55" height="14" text="HP"/>
<control progid="DecalControls.StaticText" name="lblCol2" left="227" top="24" width="55" height="14" text="Stam"/>
<control progid="DecalControls.StaticText" name="lblCol3" left="284" top="24" width="55" height="14" text="Mana"/>
<control progid="DecalControls.List" name="lstPeers" left="6" top="42" width="340" height="200"/>
</control>
</view>