Class SpigotChannelInjector
java.lang.Object
io.github.retrooper.packetevents.injector.SpigotChannelInjector
- All Implemented Interfaces:
com.github.retrooper.packetevents.injector.ChannelInjector
public class SpigotChannelInjector
extends Object
implements com.github.retrooper.packetevents.injector.ChannelInjector
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
inject()
boolean
isProxy()
boolean
void
void
uninject()
void
updatePlayer
(com.github.retrooper.packetevents.protocol.player.User user, Object player) void
updateUser
(Object channel, com.github.retrooper.packetevents.protocol.player.User user) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.github.retrooper.packetevents.injector.ChannelInjector
getPacketSide
-
Field Details
-
injectedConnectionChannels
-
networkManagers
-
-
Constructor Details
-
SpigotChannelInjector
public SpigotChannelInjector()
-
-
Method Details
-
updatePlayer
public void updatePlayer(com.github.retrooper.packetevents.protocol.player.User user, Object player) -
isServerBound
public boolean isServerBound()- Specified by:
isServerBound
in interfacecom.github.retrooper.packetevents.injector.ChannelInjector
-
inject
public void inject()- Specified by:
inject
in interfacecom.github.retrooper.packetevents.injector.ChannelInjector
-
uninject
public void uninject()- Specified by:
uninject
in interfacecom.github.retrooper.packetevents.injector.ChannelInjector
-
updateUser
- Specified by:
updateUser
in interfacecom.github.retrooper.packetevents.injector.ChannelInjector
-
setPlayer
- Specified by:
setPlayer
in interfacecom.github.retrooper.packetevents.injector.ChannelInjector
-
isProxy
public boolean isProxy()- Specified by:
isProxy
in interfacecom.github.retrooper.packetevents.injector.ChannelInjector
-