Allows chat and player list use in NON_INTERACTIVE mode

Adds player list alignment choice to make it visible if the
calling mod is showing a menu where the player list appears by
default
This commit is contained in:
Makinolo
2022-02-24 21:29:04 -07:00
parent b47beffe06
commit d9e68bf0b5
3 changed files with 45 additions and 3 deletions

View File

@ -269,6 +269,16 @@ namespace CoopClient
Main.DisableTraffic = !enable;
}
/// <summary>
/// Sets the alignment for the player list, if set to true it will align left,
/// otherwise it will align right
/// </summary>
/// <param name="leftAlign"></param>
public static void SetPlayerListLeftAlign( bool leftAlign )
{
PlayerList.LeftAlign = leftAlign;
}
#if DEBUG
/// <summary>
/// ?