Files
QuickShop-Reremake/src/main/java/com/comphenix/packetwrapper/WrapperPlayClientTabComplete.java
T
Ghost_chu c0008fb762 Remove wrapper warnings
Former-commit-id: 55c7a3c9b22cb18f0cc4c35c9f39cb83e6880c1a [formerly 2a2eed86e3fc642d2a0d9443ece6299a970ddf69]
Former-commit-id: baefc7fc79318f3605ecfe5af4868822393f8b80
2018-11-21 23:20:56 +08:00

52 lines
1.6 KiB
Java

/**
* PacketWrapper - ProtocolLib wrappers for Minecraft packets
* Copyright (C) dmulloy2 <http://dmulloy2.net>
* Copyright (C) Kristian S. Strangeland
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.comphenix.packetwrapper;
import com.comphenix.protocol.PacketType;
import com.comphenix.protocol.events.PacketContainer;
public class WrapperPlayClientTabComplete extends AbstractPacket {
public static final PacketType TYPE = PacketType.Play.Client.TAB_COMPLETE;
public WrapperPlayClientTabComplete() {
super(new PacketContainer(TYPE), TYPE);
handle.getModifier().writeDefaults();
}
public WrapperPlayClientTabComplete(PacketContainer packet) {
super(packet, TYPE);
}
public int getTransactionId() {
return handle.getIntegers().read(0);
}
public void setTransactionId(int value) {
handle.getIntegers().write(0, value);
}
public String getInput() {
return handle.getStrings().read(0);
}
public void setInput(String value) {
handle.getStrings().write(0, value);
}
}