public class InterceptWritePacket extends Object
| Modifier and Type | Field and Description |
|---|---|
static ReportType |
REPORT_CANNOT_CONSTRUCT_WRITE_PROXY |
static ReportType |
REPORT_CANNOT_FIND_WRITE_PACKET_METHOD |
| Constructor and Description |
|---|
InterceptWritePacket(ErrorReporter reporter) |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup()
Invoked when the write packet proxy class should be removed.
|
Object |
constructProxy(Object proxyObject,
PacketEvent event,
NetworkMarker marker)
Construct a new instance of the proxy object.
|
public static final ReportType REPORT_CANNOT_FIND_WRITE_PACKET_METHOD
public static final ReportType REPORT_CANNOT_CONSTRUCT_WRITE_PROXY
public InterceptWritePacket(ErrorReporter reporter)
public Object constructProxy(Object proxyObject, PacketEvent event, NetworkMarker marker)
proxyObject - - Object to construct proxy ofevent - - Packet eventmarker - - Network markerpublic void cleanup()
Copyright © 2012–2017 Comphenix and dmulloy2. Licensed under the GNU GPL v2.