com.jacobtread.blaze.packet.NotifyPacket.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 NotifyPacket(
override val component: Int,
override val command: Int,
override val content: List>,
) : Packet {
override val id: Int get() = 0
override val type: Int get() = Packet.NOTIFY_TYPE
override val error: Int get() = 0
override fun toString(): String {
return "NotifyPacket (Component: $component, Command: $command, Content Count: ${content.size})"
}
}