| Package | Description | 
|---|---|
| us.myles.ViaVersion.api | |
| us.myles.ViaVersion.api.protocol | |
| us.myles.ViaVersion.packets | |
| us.myles.ViaVersion.protocols.base | 
| Modifier and Type | Method and Description | 
|---|---|
PacketWrapper | 
PacketWrapper.apply(Direction direction,
     State state,
     int index,
     List<Protocol> pipeline)  | 
PacketWrapper | 
PacketWrapper.apply(Direction direction,
     State state,
     int index,
     List<Protocol> pipeline,
     boolean reverse)
Applies a pipeline from an index to the wrapper. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
State | 
Protocol.Packet.getState()  | 
State | 
Protocol.ProtocolPacket.getState()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
Protocol.cancelIncoming(State state,
              int newPacketID)  | 
void | 
Protocol.cancelIncoming(State state,
              int oldPacketID,
              int newPacketID)  | 
void | 
Protocol.cancelOutgoing(State state,
              int oldPacketID)  | 
void | 
Protocol.cancelOutgoing(State state,
              int oldPacketID,
              int newPacketID)  | 
boolean | 
Protocol.hasRegisteredIncoming(State state,
                     int newPacketId)
Checks if an incoming packet has already been registered. 
 | 
boolean | 
Protocol.hasRegisteredOutgoing(State state,
                     int oldPacketID)
Checks if an outgoing packet has already been registered. 
 | 
void | 
Protocol.registerIncoming(State state,
                int oldPacketID,
                int newPacketID)
Register an incoming packet, with simple id transformation. 
 | 
void | 
Protocol.registerIncoming(State state,
                int oldPacketID,
                int newPacketID,
                PacketRemapper packetRemapper)
Register an incoming packet, with id transformation and remapper. 
 | 
void | 
Protocol.registerIncoming(State state,
                int oldPacketID,
                int newPacketID,
                PacketRemapper packetRemapper,
                boolean override)  | 
void | 
Protocol.registerOutgoing(State state,
                int oldPacketID,
                int newPacketID)
Register an outgoing packet, with simple id transformation. 
 | 
void | 
Protocol.registerOutgoing(State state,
                int oldPacketID,
                int newPacketID,
                PacketRemapper packetRemapper)
Register an outgoing packet, with id transformation and remapper. 
 | 
void | 
Protocol.registerOutgoing(State state,
                int oldPacketID,
                int newPacketID,
                PacketRemapper packetRemapper,
                boolean override)  | 
void | 
Protocol.transform(Direction direction,
         State state,
         PacketWrapper packetWrapper)
Transform a packet using this protocol 
 | 
void | 
ProtocolPipeline.transform(Direction direction,
         State state,
         PacketWrapper packetWrapper)  | 
| Constructor and Description | 
|---|
Packet(State state,
      int packetId)  | 
ProtocolPacket(State state,
              int oldID,
              int newID,
              @Nullable PacketRemapper remapper)  | 
| Modifier and Type | Method and Description | 
|---|---|
static State | 
State.valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static State[] | 
State.values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
State | 
ProtocolInfo.getState()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
ProtocolInfo.setState(State state)  | 
void | 
BaseProtocol.transform(Direction direction,
         State state,
         PacketWrapper packetWrapper)  | 
Copyright © 2016–2021. All rights reserved.