Package ac.boar.geyser.player
Class GeyserPlayerManager
java.lang.Object
java.util.AbstractMap<org.geysermc.geyser.session.GeyserSession,ac.boar.anticheat.player.BoarPlayer>
java.util.HashMap<org.geysermc.geyser.session.GeyserSession,ac.boar.anticheat.player.BoarPlayer>
ac.boar.anticheat.player.BoarPlayerManager<org.geysermc.geyser.session.GeyserSession>
ac.boar.geyser.player.GeyserPlayerManager
- All Implemented Interfaces:
Serializable,Cloneable,Map<org.geysermc.geyser.session.GeyserSession,ac.boar.anticheat.player.BoarPlayer>
public class GeyserPlayerManager
extends ac.boar.anticheat.player.BoarPlayerManager<org.geysermc.geyser.session.GeyserSession>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ScheduledFuture<?> beginTicking(org.geysermc.geyser.session.GeyserSession session, Runnable ticker) protected ac.boar.anticheat.ack.BoarAcknowledgmentTransportcreateAckTransport(ac.boar.anticheat.player.BoarPlayer player) protected ac.boar.anticheat.player.accessor.EntityAccessorcreateEntityAccessor(org.geysermc.geyser.session.GeyserSession session) protected ac.boar.anticheat.player.accessor.InventoryAccessorcreateInventoryAccessor(org.geysermc.geyser.session.GeyserSession session) protected ac.boar.api.anticheat.model.NetworkSessioncreateNetworkSession(org.geysermc.geyser.session.GeyserSession session) protected ac.boar.anticheat.player.accessor.WorldAccessorcreateWorldAccessor(org.geysermc.geyser.session.GeyserSession session) protected ac.boar.protocol.BoarConnectiongetConnection(org.geysermc.geyser.session.GeyserSession connection) protected ac.boar.anticheat.player.data.BlockMappingInfogetMappingInfo(org.geysermc.geyser.session.GeyserSession session) protected ac.boar.mappings.entity.EntitygetPlayerEntity(org.geysermc.geyser.session.GeyserSession session) Methods inherited from class ac.boar.anticheat.player.BoarPlayerManager
add, installHandlers, shouldDisableMitigationsMethods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, newHashMap, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesMethods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Constructor Details
-
GeyserPlayerManager
public GeyserPlayerManager()
-
-
Method Details
-
createNetworkSession
protected ac.boar.api.anticheat.model.NetworkSession createNetworkSession(org.geysermc.geyser.session.GeyserSession session) - Specified by:
createNetworkSessionin classac.boar.anticheat.player.BoarPlayerManager<org.geysermc.geyser.session.GeyserSession>
-
getConnection
protected ac.boar.protocol.BoarConnection getConnection(org.geysermc.geyser.session.GeyserSession connection) - Specified by:
getConnectionin classac.boar.anticheat.player.BoarPlayerManager<org.geysermc.geyser.session.GeyserSession>
-
getPlayerEntity
protected ac.boar.mappings.entity.Entity getPlayerEntity(org.geysermc.geyser.session.GeyserSession session) - Specified by:
getPlayerEntityin classac.boar.anticheat.player.BoarPlayerManager<org.geysermc.geyser.session.GeyserSession>
-
getMappingInfo
protected ac.boar.anticheat.player.data.BlockMappingInfo getMappingInfo(org.geysermc.geyser.session.GeyserSession session) - Specified by:
getMappingInfoin classac.boar.anticheat.player.BoarPlayerManager<org.geysermc.geyser.session.GeyserSession>
-
createWorldAccessor
protected ac.boar.anticheat.player.accessor.WorldAccessor createWorldAccessor(org.geysermc.geyser.session.GeyserSession session) - Specified by:
createWorldAccessorin classac.boar.anticheat.player.BoarPlayerManager<org.geysermc.geyser.session.GeyserSession>
-
createEntityAccessor
protected ac.boar.anticheat.player.accessor.EntityAccessor createEntityAccessor(org.geysermc.geyser.session.GeyserSession session) - Specified by:
createEntityAccessorin classac.boar.anticheat.player.BoarPlayerManager<org.geysermc.geyser.session.GeyserSession>
-
createInventoryAccessor
protected ac.boar.anticheat.player.accessor.InventoryAccessor createInventoryAccessor(org.geysermc.geyser.session.GeyserSession session) - Specified by:
createInventoryAccessorin classac.boar.anticheat.player.BoarPlayerManager<org.geysermc.geyser.session.GeyserSession>
-
createDefaultAttributes
- Specified by:
createDefaultAttributesin classac.boar.anticheat.player.BoarPlayerManager<org.geysermc.geyser.session.GeyserSession>
-
createAckTransport
protected ac.boar.anticheat.ack.BoarAcknowledgmentTransport createAckTransport(ac.boar.anticheat.player.BoarPlayer player) - Specified by:
createAckTransportin classac.boar.anticheat.player.BoarPlayerManager<org.geysermc.geyser.session.GeyserSession>
-
beginTicking
protected ScheduledFuture<?> beginTicking(org.geysermc.geyser.session.GeyserSession session, Runnable ticker) - Specified by:
beginTickingin classac.boar.anticheat.player.BoarPlayerManager<org.geysermc.geyser.session.GeyserSession>
-