com.jacobtread.blaze.packet.ErrorPacket.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of blaze-core Show documentation
Show all versions of blaze-core Show documentation
Core library for blaze networking
The newest version!
package com.jacobtread.blaze.packet
import com.jacobtread.blaze.tdf.Tdf
class ErrorPacket(
override val component: Int,
override val command: Int,
override val id: Int,
override val error: Int,
override val content: List>,
) : Packet {
override val type: Int get() = Packet.ERROR_TYPE
override fun toString(): String {
return "ErrorPacket (Component: $component, Command: $command, Error: $error, Id: $id, Content Count: ${content.size})"
}
}