Uses of Class
alexiil.mc.lib.net.NetIdBase
Packages that use NetIdBase
-
Uses of NetIdBase in alexiil.mc.lib.net
Subclasses of NetIdBase in alexiil.mc.lib.netModifier and TypeClassDescriptionfinal classfinal classNetIdDataK<T>classBase class forNetIdDataandNetIdSignal.final classfinal classNetIdSignalK<T>classNetIdTyped<T>Fields in alexiil.mc.lib.net declared as NetIdBaseMethods in alexiil.mc.lib.net that return NetIdBaseModifier and TypeMethodDescriptionIMsgCtx.getNetId()MessageContext.getNetId()abstract NetIdBaseNetIdBase.toClientOnly()Changes the flags for this packet to indicate that it should only be sent from the server to the client.abstract NetIdBaseNetIdBase.toEitherSide()This clears thetoClientOnly()andtoServerOnly()flag states, and will make sending packets not throw exceptions.abstract NetIdBaseNetIdBase.toServerOnly()Changes the flags for this packet to indicate that it should only be sent from the client to the server.abstract NetIdBaseNetIdBase.withLargeSize()Changes the size flags of this net ID to indicate that it should use three bytes for the packet's total length (including the header).abstract NetIdBaseNetIdBase.withNormalSize()Changes the size flags of this net ID to indicate that it should use two bytes for the packet's total length (including the header).abstract NetIdBaseNetIdBase.withoutBuffering()Changes the flags for this packet to indicate that it should never be buffered by aBufferedConnection.abstract NetIdBaseNetIdBase.withTinySize()Changes the size flags of this net ID to indicate that it should use a single byte for the packet's total length (including the header).Methods in alexiil.mc.lib.net with parameters of type NetIdBaseModifier and TypeMethodDescriptionstatic voidInternalMsgUtil.send(ActiveConnection connection, NetIdBase netId, alexiil.mc.lib.net.NetIdPath path, NetByteBuf payload) Sends a packet with it's priority set to it's default priority.static voidInternalMsgUtil.send(ActiveConnection connection, NetIdBase netId, alexiil.mc.lib.net.NetIdPath path, NetByteBuf payload, int priority) Sends a packet.protected abstract voidActiveConnection.sendPacket(NetByteBuf data, int packetId, NetIdBase netId, int priority) protected final voidBufferedConnection.sendPacket(NetByteBuf data, int packetId, NetIdBase netId, int priority) Constructors in alexiil.mc.lib.net with parameters of type NetIdBaseModifierConstructorDescriptionMessageContext(ActiveConnection connection, NetIdBase id) Read(ActiveConnection connection, NetIdBase id) Write(ActiveConnection connection, NetIdBase id)