SerializedPayload

@Serializable
@ExperimentalSerializationApi
abstract class SerializedPayload<T : SerializedPayload<T>> : CustomPacketPayload(source)

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun codec(): StreamCodec<RegistryFriendlyByteBuf, T>
Link copied to clipboard
abstract fun type(): CustomPacketPayload.Type<out CustomPacketPayload>