mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-14 21:34:14 +01:00
adjust initial dialog to opt in/out into census with buttons
This commit is contained in:
parent
a32aef8ee8
commit
1dfdab4fef
6 changed files with 39 additions and 33 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue