Class SocialChannelSwitchChannel
java.lang.Object
ovh.mythmc.social.api.network.channel.AbstractNetworkChannelWrapper.Bidirectional<SocialChannelSwitchPayload,SocialChannelSwitchPayload>
ovh.mythmc.social.api.network.channel.channels.SocialChannelSwitchChannel
- All Implemented Interfaces:
C2SNetworkChannelWrapper<SocialChannelSwitchPayload>,NetworkChannelWrapper,S2CNetworkChannelWrapper<SocialChannelSwitchPayload>
public final class SocialChannelSwitchChannel
extends AbstractNetworkChannelWrapper.Bidirectional<SocialChannelSwitchPayload,SocialChannelSwitchPayload>
-
Nested Class Summary
Nested classes/interfaces inherited from interface ovh.mythmc.social.api.network.channel.NetworkChannelWrapper
NetworkChannelWrapper.Type -
Method Summary
Modifier and TypeMethodDescriptiondecode(@NotNull SocialPayloadEncoder encoder) encode(@NotNull SocialChannelSwitchPayload payload) Methods inherited from class ovh.mythmc.social.api.network.channel.AbstractNetworkChannelWrapper.Bidirectional
typeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ovh.mythmc.social.api.network.channel.NetworkChannelWrapper
identifier, isBidirectional, isClientToServer, isServerToClient
-
Method Details
-
decode
@NotNull public @NotNull SocialChannelSwitchPayload decode(@NotNull @NotNull SocialPayloadEncoder encoder) -
encode
@NotNull public @NotNull SocialPayloadEncoder encode(@NotNull @NotNull SocialChannelSwitchPayload payload) -
identifier
- Specified by:
identifierin interfaceNetworkChannelWrapper
-