Interface ICustomPayloadListener<T>
- Type Parameters:
T- The type of the channel, either Identifier or String.
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A listener for custom payloads.
- See Also:
-
MultiConnectAPI.addClientboundIdentifierCustomPayloadListener(ICustomPayloadListener)MultiConnectAPI.addClientboundStringCustomPayloadListener(ICustomPayloadListener)MultiConnectAPI.addServerboundIdentifierCustomPayloadListener(ICustomPayloadListener)MultiConnectAPI.addServerboundStringCustomPayloadListener(ICustomPayloadListener)
-
Method Summary
Modifier and TypeMethodDescriptionvoidonCustomPayload(ICustomPayloadEvent<T> event) Called on a custom payload.
-
Method Details
-
onCustomPayload
Called on a custom payload.
-