public static LoginR_Fail ( Aura.Login.Network.LoginClient client, LoginResult result ) : void | ||
client | Aura.Login.Network.LoginClient | |
result | LoginResult | |
return | void |
public static void LoginR_Fail(LoginClient client, LoginResult result)
{
var packet = new Packet(Op.LoginR, MabiId.Login);
packet.PutByte((byte)result);
if (result == LoginResult.SecondaryFail)
{
packet.PutInt(12);
packet.PutByte(1); // TODO: Number of fail attempts
}
client.Send(packet);
}