public void EmptyApiKey() { var data = new { emptyApiKey = true, message = "Please generate an API Key" }; serializator.Serialize(_client, packet.endpoint, packet.syncKey, data); }
public void NoAuth() { var noAuthData = new { authRequired = true, message = "Please login to continue!" }; serializator.Serialize(_client, packet.endpoint, packet.syncKey, noAuthData); }
public void InvalidApiKey() { var invalidApiData = new { invalidApiKey = true, message = "Provided API Key does not match the server key" }; serializator.Serialize(_client, packet.endpoint, packet.syncKey, invalidApiData); }
public void InvalidPacket() { var invalidPacketData = new { invalidPacket = true, message = "This packet is invalid or empty" }; serializator.Serialize(_client, packet.endpoint, packet.syncKey, invalidPacketData); }