namespace ACE.Server.Network.GameMessages.Messages
{
public class GameMessageBootAccount : GameMessage
{
///
/// Tells the client the player has been booted from the server.
///
/// message to tell player why they were booted, typically you will want to start with a space because client does not automatically add oneIf null client will see " for Code of Conduct Violations"
public GameMessageBootAccount(string Reason = null)
: base(GameMessageOpcode.AccountBoot, GameMessageGroup.UIQueue, 36)
{
if (Reason != null)
Writer.WriteString16L(Reason);
}
}
}