mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-17 13:37:47 +03:00
# Description I didn't make 2 PRs because the queue kinda depends on Discord auth and I didn't wanna spend the time splitting them up. The queue puts everyone except admins/whitelisted/previously in-game players into a queue after the soft max players is reached, hard cap still denies new connections (and queues) from everyone. Priority queuing is simple to add and I'll do that when I make donator benefits or whatever similar system. --- <details><summary><h1>Media</h1></summary> <p> Too big to embed and I don't wanna compress it :) https://youtu.be/NBqN6Piv94w </p> </details> --- # Changelog 🆑 - add: Added a queue for players so you don't need to spam reconnect and hope you join when someone leaves.
32 lines
1.8 KiB
XML
32 lines
1.8 KiB
XML
<Control xmlns="https://spacestation14.io"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:gfx="clr-namespace:Robust.Client.Graphics;assembly=Robust.Client"
|
|
xmlns:parallax="clr-namespace:Content.Client.Parallax"
|
|
xmlns:controls="clr-namespace:Content.Client.UserInterface.Controls">
|
|
<parallax:ParallaxControl />
|
|
<Control HorizontalAlignment="Center" VerticalAlignment="Center">
|
|
<PanelContainer StyleClasses="AngleRect" />
|
|
<BoxContainer Orientation="Vertical" MinSize="200 200">
|
|
<BoxContainer Orientation="Horizontal">
|
|
<Label Margin="8 0 0 0" Text="{Loc 'queue-title'}"
|
|
StyleClasses="LabelHeading" VAlign="Center" />
|
|
<Button Name="QuitButton" Text="{Loc 'queue-quit'}"
|
|
HorizontalAlignment="Right" HorizontalExpand="True" />
|
|
</BoxContainer>
|
|
<controls:HighDivider />
|
|
<BoxContainer Orientation="Vertical" VerticalExpand="True" Margin="0 20 0 0">
|
|
<BoxContainer Orientation="Vertical">
|
|
<BoxContainer Orientation="Vertical" VerticalExpand="True">
|
|
<Label Text="{Loc 'queue-position'}" Align="Center" />
|
|
<Label Name="QueuePosition" StyleClasses="LabelHeading" Align="Center" />
|
|
</BoxContainer>
|
|
<BoxContainer Orientation="Vertical" VerticalExpand="True" Margin="0 10 0 0">
|
|
<Label Text="{Loc 'queue-total'}" Align="Center" />
|
|
<Label Name="QueueTotal" StyleClasses="LabelHeading" Align="Center" />
|
|
</BoxContainer>
|
|
</BoxContainer>
|
|
</BoxContainer>
|
|
</BoxContainer>
|
|
</Control>
|
|
</Control>
|