Files
AstralRinth/packages/assets/icons/offline.svg
didirus 572800d9ca feat: add info event listener and payload for enhanced event handling
- Implemented `info_listener` in `events.js` to listen for 'info' events and handle payloads.
- Added `emit_info` function in `emit.rs` to emit 'info' events with a message payload.
- Defined `InfoPayload` struct in `mod.rs` to structure the data for 'info' events.
- Integrated `emit_info` calls in the Minecraft launch logic to provide feedback on account types.
- Introduced a new offline icon in SVG format and removed outdated pirate icons from assets.
- Updated asset index to include the new offline icon and removed references to deleted icons.
2026-01-27 20:41:55 +03:00

50 lines
3.2 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
<svg
width="800px"
height="800px"
viewBox="0 0 16 16"
version="1.1"
id="svg2"
sodipodi:docname="offline.svg"
inkscape:version="1.4.3 (0d15f75, 2025-12-25)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs2" />
<sodipodi:namedview
id="namedview2"
pagecolor="#505050"
bordercolor="#eeeeee"
borderopacity="1"
inkscape:showpageshadow="0"
inkscape:pageopacity="0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#505050"
inkscape:zoom="0.2874782"
inkscape:cx="464.38304"
inkscape:cy="262.62861"
inkscape:window-width="1800"
inkscape:window-height="1102"
inkscape:window-x="0"
inkscape:window-y="39"
inkscape:window-maximized="1"
inkscape:current-layer="g2" />
<g
fill="#2e3436"
id="g2">
<path
d="m 8,1.992188 c -2.617188,0 -5.238281,0.933593 -7.195312,2.808593 L 0.308594,5.28125 C -0.0898438,5.660155 -0.101562,6.292969 0.277344,6.691406 0.660156,7.089844 1.292969,7.101562 1.691406,6.71875 l 0.5,-0.476562 c 3.085938,-2.953127 8.53125,-2.953127 11.617188,0 l 0.5,0.476562 c 0.398437,0.382812 1.03125,0.371094 1.414062,-0.027344 0.378906,-0.398437 0.367188,-1.031251 -0.03125,-1.410156 L 15.195312,4.80078 C 13.238281,2.925781 10.617188,1.992188 8,1.992188 Z M 7.96875,6 C 6.398438,6.011719 4.839844,6.628906 3.761719,7.8125 l -0.5,0.550781 c -0.375,0.40625 -0.347657,1.042969 0.0625,1.414063 0.410156,0.371095 1.042969,0.339845 1.414062,-0.070313 l 0.5,-0.542969 C 6.480469,7.800781 9.230469,7.671875 10.636719,9.035156 10.757812,9.011719 10.878906,9 11,9 c 0.53125,0 1.039062,0.210938 1.414062,0.585938 l 0.222657,0.222656 c 0.01172,-0.011719 0.02344,-0.019532 0.03906,-0.03125 0.40625,-0.371094 0.4375,-1.007813 0.0625,-1.414063 l -0.5,-0.550781 C 11.113279,6.582031 9.535154,5.988281 7.968748,6 Z M 8,10.000001 c -0.511719,0 -1.023438,0.195312 -1.414062,0.585938 -0.78125,0.78125 -0.78125,2.046874 0,2.828124 0.78125,0.78125 2.046874,0.78125 2.828124,0 C 9.625,13.203126 9.773438,12.960939 9.871094,12.69922 L 9.585938,12.414063 C 9.03125,11.859376 8.878906,11.046876 9.117188,10.343751 8.78125,10.117189 8.390625,10.000001 8,10.000001 Z m 0,0"
fill-opacity="0.34902"
id="path1"
style="fill:#00ff00" />
<path
d="m 11 10 c -0.265625 0 -0.519531 0.105469 -0.707031 0.292969 c -0.390625 0.390625 -0.390625 1.023437 0 1.414062 l 1.292969 1.292969 l -1.292969 1.292969 c -0.390625 0.390625 -0.390625 1.023437 0 1.414062 s 1.023437 0.390625 1.414062 0 l 1.292969 -1.292969 l 1.292969 1.292969 c 0.390625 0.390625 1.023437 0.390625 1.414062 0 s 0.390625 -1.023437 0 -1.414062 l -1.292969 -1.292969 l 1.292969 -1.292969 c 0.390625 -0.390625 0.390625 -1.023437 0 -1.414062 c -0.1875 -0.1875 -0.441406 -0.292969 -0.707031 -0.292969 s -0.519531 0.105469 -0.707031 0.292969 l -1.292969 1.292969 l -1.292969 -1.292969 c -0.1875 -0.1875 -0.441406 -0.292969 -0.707031 -0.292969 z m 0 0"
id="path2"
style="fill:#800000" />
</g>
</svg>