adjust initial dialog to opt in/out into census with buttons

This commit is contained in:
rootdarkarchon
2023-11-21 14:59:43 +01:00
parent a32aef8ee8
commit 1dfdab4fef
6 changed files with 39 additions and 33 deletions

View File

@@ -22,6 +22,8 @@ public class BanUserPopupHandler : IPopupHandler
public Vector2 PopupSize => new(500, 250);
public bool ShowClose => true;
public void DrawContent()
{
UiSharedService.TextWrapped("User " + (_reportedPair.UserData.AliasOrUID) + " will be banned and removed from this Syncshell.");
@@ -37,10 +39,6 @@ public class BanUserPopupHandler : IPopupHandler
UiSharedService.TextWrapped("The reason will be displayed in the banlist. The current server-side alias if present (Vanity ID) will automatically be attached to the reason.");
}
public void OnClose()
{
}
public void Open(OpenBanUserPopupMessage message)
{
_reportedPair = message.PairToBan;