public class WritePacketModifier extends Object implements net.sf.cglib.proxy.MethodInterceptor
| Modifier and Type | Field and Description |
|---|---|
static ReportType |
REPORT_CANNOT_WRITE_SERVER_PACKET |
| Constructor and Description |
|---|
WritePacketModifier(ErrorReporter reporter,
boolean isWriteMethod) |
| Modifier and Type | Method and Description |
|---|---|
Object |
intercept(Object thisObj,
Method method,
Object[] args,
net.sf.cglib.proxy.MethodProxy proxy) |
void |
register(Object generatedClass,
Object proxyObject,
PacketEvent event,
NetworkMarker marker)
Associate the given generated instance of a class and the given parameteters.
|
public static final ReportType REPORT_CANNOT_WRITE_SERVER_PACKET
public WritePacketModifier(ErrorReporter reporter, boolean isWriteMethod)
public void register(Object generatedClass, Object proxyObject, PacketEvent event, NetworkMarker marker)
generatedClass - - the generated class.proxyObject - - the object to call from the generated class.event - - the packet event.marker - - the network marker.Copyright © 2012–2017 Comphenix and dmulloy2. Licensed under the GNU GPL v2.