Main window: Main, Settings, Statistics and Tools tabs as a markup panel
The original's notebook without the parts OpenAC or another plugin now owns (updater, VTank path, route visualisation, chest looter). Labels read live from the trackers each frame. Settings gains the backend URL and shared-secret fields, since the secret is no longer compiled in. Tools opens the Mossy Tracker and Metas windows through openers their features set. The WebSocket label now shows the real connection state rather than the setting. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
1ff0a40aeb
commit
5799ea956e
5 changed files with 379 additions and 0 deletions
78
src/OpenAC.MosswartMassacre/mosswartmassacre-main.xml
Normal file
78
src/OpenAC.MosswartMassacre/mosswartmassacre-main.xml
Normal file
|
|
@ -0,0 +1,78 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Mosswart Massacre main window. The original's notebook, minus what OpenAC
|
||||
or another plugin now owns: the updater (the launcher updates), the VTank
|
||||
path (the host keeps the profile folder), route visualisation (MossTank
|
||||
draws routes) and the chest looter (a looter comes later). -->
|
||||
<panel x="60" y="60" w="420" h="320" title="Mosswart Massacre">
|
||||
|
||||
<tab x="6" y="22" w="56" h="18" text="Main"
|
||||
selected="{MainSelected}" onclick="{ShowMain}" />
|
||||
<tab x="62" y="22" w="62" h="18" text="Settings"
|
||||
selected="{SettingsSelected}" onclick="{ShowSettings}" />
|
||||
<tab x="124" y="22" w="70" h="18" text="Statistics"
|
||||
selected="{StatisticsSelected}" onclick="{ShowStatistics}" />
|
||||
<tab x="194" y="22" w="62" h="18" text="Tools"
|
||||
selected="{ToolsSelected}" onclick="{ShowTools}" />
|
||||
|
||||
<!-- Main -->
|
||||
<group x="6" y="44" w="408" h="270" visible="{MainSelected}">
|
||||
<label x="4" y="4" text="{TotalKillsText}" />
|
||||
<label x="4" y="24" text="{KillsPer5MinText}" />
|
||||
<label x="4" y="44" text="{KillsPerHourText}" />
|
||||
<label x="4" y="64" text="{ElapsedText}" />
|
||||
<label x="4" y="84" text="{RareCountText}" />
|
||||
<label x="4" y="114" text="{MetaStateText}" />
|
||||
<label x="4" y="134" text="{WebSocketText}" color="{WebSocketColor}" />
|
||||
<label x="4" y="154" text="{VitalSharingText}" />
|
||||
</group>
|
||||
|
||||
<!-- Settings -->
|
||||
<group x="6" y="44" w="408" h="270" visible="{SettingsSelected}">
|
||||
<label x="4" y="4" text="Plugin Configuration" color="#FFE8D8B0" />
|
||||
<toggle x="14" y="24" w="300" h="20" text="WebSocket streaming"
|
||||
checked="{WebSocketEnabled}" onclick="{ToggleWebSocket}" />
|
||||
<toggle x="14" y="46" w="200" h="20" text="Vital Sharing (cross-PC)"
|
||||
checked="{VitalSharingEnabled}" onclick="{ToggleVitalSharing}" />
|
||||
<button x="220" y="46" w="100" h="20" text="Toggle Overlay" onclick="{ToggleOverlay}" />
|
||||
<toggle x="14" y="68" w="360" h="20" text="Verbose logging (vital sharing / VTank feed)"
|
||||
checked="{VerboseLogging}" onclick="{ToggleVerbose}" />
|
||||
|
||||
<label x="14" y="98" text="Character Tag:" />
|
||||
<field x="120" y="96" w="150" h="20" text="{CharTag}" onchange="{SetCharTag}" maxlength="40" />
|
||||
<label x="14" y="118" text="Used for telemetry and vital sharing groups." color="#FFC7B98F" />
|
||||
|
||||
<label x="14" y="146" text="Backend URL:" />
|
||||
<field x="120" y="144" w="280" h="20" text="{BackendUrl}" onsubmit="{SetBackendUrl}" />
|
||||
<label x="14" y="170" text="Shared secret:" />
|
||||
<field x="120" y="168" w="180" h="20" text="" onsubmit="{SetBackendSecret}" clearonsubmit="true" />
|
||||
<label x="306" y="170" text="{SecretStatus}" color="#FFC7B98F" />
|
||||
<label x="14" y="192" text="Press Enter to save; reconnects with the new values." color="#FFC7B98F" />
|
||||
</group>
|
||||
|
||||
<!-- Statistics -->
|
||||
<group x="6" y="44" w="408" h="270" visible="{StatisticsSelected}">
|
||||
<label x="4" y="4" text="Detailed Statistics" color="#FFE8D8B0" />
|
||||
<label x="4" y="28" text="Total Kills This Session:" />
|
||||
<label x="194" y="28" text="{DetailedKillsValue}" />
|
||||
<label x="4" y="48" text="Best Hour Performance:" />
|
||||
<label x="194" y="48" text="{BestHourValue}" />
|
||||
<label x="4" y="68" text="Average Kills/Hour:" />
|
||||
<label x="194" y="68" text="{AverageKillsValue}" />
|
||||
<label x="4" y="98" text="Rares Found:" />
|
||||
<label x="194" y="98" text="{RareStatsValue}" />
|
||||
<label x="4" y="118" text="Rare Drop Rate:" />
|
||||
<label x="194" y="118" text="{RareRateValue}" />
|
||||
<label x="4" y="148" text="Session Duration:" />
|
||||
<label x="194" y="148" text="{SessionTimeValue}" />
|
||||
<label x="4" y="168" text="Last Kill:" />
|
||||
<label x="194" y="168" text="{LastKillValue}" />
|
||||
<button x="4" y="198" w="80" h="22" text="Reset All" onclick="{ResetStats}" />
|
||||
</group>
|
||||
|
||||
<!-- Tools -->
|
||||
<group x="6" y="44" w="408" h="270" visible="{ToolsSelected}">
|
||||
<button x="4" y="4" w="150" h="26" text="Open Mossy Tracker" onclick="{OpenFlagTracker}" />
|
||||
<button x="4" y="36" w="150" h="26" text="Open Metas" onclick="{OpenMetas}" />
|
||||
<button x="4" y="68" w="150" h="26" text="Send Inventory" onclick="{SendInventory}" />
|
||||
</group>
|
||||
</panel>
|
||||
Loading…
Add table
Add a link
Reference in a new issue