From 99b9dc90ae3978b5aacd547624af289d86a9600d Mon Sep 17 00:00:00 2001 From: "Kristian S. Stangeland" Date: Tue, 18 Sep 2012 17:27:59 +0200 Subject: [PATCH 01/30] Adding the new javadoc. --- Javadoc/allclasses-frame.html | 54 + Javadoc/allclasses-noframe.html | 54 + .../com/comphenix/protocol/Application.html | 256 ++++ .../comphenix/protocol/Packets.Client.html | 681 ++++++++++ .../comphenix/protocol/Packets.Server.html | 1171 +++++++++++++++++ Javadoc/com/comphenix/protocol/Packets.html | 343 +++++ .../comphenix/protocol/ProtocolLibrary.html | 364 +++++ .../comphenix/protocol/ProtocolManager.html | 506 +++++++ .../protocol/class-use/Application.html | 115 ++ .../protocol/class-use/Packets.Client.html | 163 +++ .../protocol/class-use/Packets.Server.html | 163 +++ .../comphenix/protocol/class-use/Packets.html | 115 ++ .../protocol/class-use/ProtocolLibrary.html | 115 ++ .../protocol/class-use/ProtocolManager.html | 179 +++ .../concurrency/SortedCopyOnWriteArray.html | 571 ++++++++ .../class-use/SortedCopyOnWriteArray.html | 155 +++ .../protocol/concurrency/package-frame.html | 19 + .../protocol/concurrency/package-summary.html | 135 ++ .../protocol/concurrency/package-tree.html | 128 ++ .../protocol/concurrency/package-use.html | 150 +++ .../protocol/events/ConnectionSide.html | 371 ++++++ .../protocol/events/ListenerPriority.html | 413 ++++++ .../protocol/events/ListeningWhitelist.html | 411 ++++++ .../protocol/events/PacketAdapter.html | 497 +++++++ .../protocol/events/PacketContainer.html | 501 +++++++ .../protocol/events/PacketEvent.html | 449 +++++++ .../protocol/events/PacketListener.html | 289 ++++ .../events/class-use/ConnectionSide.html | 200 +++ .../events/class-use/ListenerPriority.html | 198 +++ .../events/class-use/ListeningWhitelist.html | 226 ++++ .../events/class-use/PacketAdapter.html | 115 ++ .../events/class-use/PacketContainer.html | 322 +++++ .../events/class-use/PacketEvent.html | 240 ++++ .../events/class-use/PacketListener.html | 270 ++++ .../protocol/events/package-frame.html | 31 + .../protocol/events/package-summary.html | 191 +++ .../protocol/events/package-tree.html | 152 +++ .../protocol/events/package-use.html | 233 ++++ .../injector/ConcurrentListenerMultimap.html | 359 +++++ .../NetworkFieldInjector.FakePacket.html | 165 +++ .../injector/NetworkFieldInjector.html | 602 +++++++++ .../injector/NetworkObjectInjector.html | 581 ++++++++ .../PacketConstructor.BukkitUnwrapper.html | 286 ++++ .../injector/PacketConstructor.Unwrapper.html | 227 ++++ .../protocol/injector/PacketConstructor.html | 369 ++++++ ...PacketFilterManager.PlayerInjectHooks.html | 334 +++++ .../injector/PacketFilterManager.html | 844 ++++++++++++ .../injector/SortedCopyOnWriteArrayTest.html | 269 ++++ .../protocol/injector/StructureCache.html | 282 ++++ .../class-use/ConcurrentListenerMultimap.html | 115 ++ .../NetworkFieldInjector.FakePacket.html | 115 ++ .../class-use/NetworkFieldInjector.html | 115 ++ .../class-use/NetworkObjectInjector.html | 115 ++ .../PacketConstructor.BukkitUnwrapper.html | 115 ++ .../PacketConstructor.Unwrapper.html | 183 +++ .../injector/class-use/PacketConstructor.html | 209 +++ ...PacketFilterManager.PlayerInjectHooks.html | 185 +++ .../class-use/PacketFilterManager.html | 115 ++ .../class-use/SortedCopyOnWriteArrayTest.html | 115 ++ .../injector/class-use/StructureCache.html | 115 ++ .../protocol/injector/package-frame.html | 32 + .../protocol/injector/package-summary.html | 191 +++ .../protocol/injector/package-tree.html | 149 +++ .../protocol/injector/package-use.html | 179 +++ .../protocol/metrics/Statistics.html | 231 ++++ .../metrics/class-use/Statistics.html | 157 +++ .../protocol/metrics/package-frame.html | 19 + .../protocol/metrics/package-summary.html | 133 ++ .../protocol/metrics/package-tree.html | 128 ++ .../protocol/metrics/package-use.html | 148 +++ .../com/comphenix/protocol/package-frame.html | 27 + .../comphenix/protocol/package-summary.html | 172 +++ .../com/comphenix/protocol/package-tree.html | 148 +++ .../com/comphenix/protocol/package-use.html | 181 +++ .../protocol/reflect/EquivalentConverter.html | 238 ++++ .../reflect/FieldAccessException.html | 321 +++++ .../protocol/reflect/FieldUtils.html | 733 +++++++++++ .../protocol/reflect/FuzzyReflection.html | 575 ++++++++ .../comphenix/protocol/reflect/IntEnum.html | 378 ++++++ .../protocol/reflect/MethodUtils.html | 980 ++++++++++++++ .../protocol/reflect/PrimitiveUtils.html | 311 +++++ .../protocol/reflect/StructureModifier.html | 547 ++++++++ .../reflect/StructureModifierTest.html | 259 ++++ .../protocol/reflect/VolatileField.html | 442 +++++++ .../class-use/EquivalentConverter.html | 158 +++ .../class-use/FieldAccessException.html | 268 ++++ .../reflect/class-use/FieldUtils.html | 115 ++ .../reflect/class-use/FuzzyReflection.html | 177 +++ .../protocol/reflect/class-use/IntEnum.html | 163 +++ .../reflect/class-use/MethodUtils.html | 115 ++ .../reflect/class-use/PrimitiveUtils.html | 115 ++ .../reflect/class-use/StructureModifier.html | 303 +++++ .../class-use/StructureModifierTest.html | 115 ++ .../reflect/class-use/VolatileField.html | 115 ++ .../instances/CollectionGenerator.html | 313 +++++ .../reflect/instances/DefaultInstances.html | 444 +++++++ .../reflect/instances/InstanceProvider.html | 219 +++ .../reflect/instances/PrimitiveGenerator.html | 347 +++++ .../class-use/CollectionGenerator.html | 157 +++ .../instances/class-use/DefaultInstances.html | 172 +++ .../instances/class-use/InstanceProvider.html | 235 ++++ .../class-use/PrimitiveGenerator.html | 157 +++ .../reflect/instances/package-frame.html | 25 + .../reflect/instances/package-summary.html | 164 +++ .../reflect/instances/package-tree.html | 134 ++ .../reflect/instances/package-use.html | 165 +++ .../protocol/reflect/package-frame.html | 34 + .../protocol/reflect/package-summary.html | 208 +++ .../protocol/reflect/package-tree.html | 148 +++ .../protocol/reflect/package-use.html | 232 ++++ Javadoc/constant-values.html | 821 ++++++++++++ Javadoc/deprecated-list.html | 115 ++ Javadoc/help-doc.html | 220 ++++ Javadoc/index-files/index-1.html | 150 +++ Javadoc/index-files/index-10.html | 132 ++ Javadoc/index-files/index-11.html | 142 ++ Javadoc/index-files/index-12.html | 146 ++ Javadoc/index-files/index-13.html | 126 ++ Javadoc/index-files/index-14.html | 138 ++ Javadoc/index-files/index-15.html | 231 ++++ Javadoc/index-files/index-16.html | 226 ++++ Javadoc/index-files/index-17.html | 231 ++++ Javadoc/index-files/index-18.html | 146 ++ Javadoc/index-files/index-19.html | 147 +++ Javadoc/index-files/index-2.html | 130 ++ Javadoc/index-files/index-20.html | 167 +++ Javadoc/index-files/index-21.html | 195 +++ Javadoc/index-files/index-3.html | 216 +++ Javadoc/index-files/index-4.html | 140 ++ Javadoc/index-files/index-5.html | 152 +++ Javadoc/index-files/index-6.html | 182 +++ Javadoc/index-files/index-7.html | 406 ++++++ Javadoc/index-files/index-8.html | 128 ++ Javadoc/index-files/index-9.html | 269 ++++ Javadoc/index.html | 33 + Javadoc/overview-frame.html | 26 + Javadoc/overview-summary.html | 150 +++ Javadoc/overview-tree.html | 207 +++ Javadoc/package-list | 7 + Javadoc/resources/background.gif | Bin 0 -> 2313 bytes Javadoc/resources/tab.gif | Bin 0 -> 291 bytes Javadoc/resources/titlebar.gif | Bin 0 -> 10701 bytes Javadoc/resources/titlebar_end.gif | Bin 0 -> 849 bytes Javadoc/serialized-form.html | 171 +++ Javadoc/stylesheet.css | 474 +++++++ 145 files changed, 33862 insertions(+) create mode 100644 Javadoc/allclasses-frame.html create mode 100644 Javadoc/allclasses-noframe.html create mode 100644 Javadoc/com/comphenix/protocol/Application.html create mode 100644 Javadoc/com/comphenix/protocol/Packets.Client.html create mode 100644 Javadoc/com/comphenix/protocol/Packets.Server.html create mode 100644 Javadoc/com/comphenix/protocol/Packets.html create mode 100644 Javadoc/com/comphenix/protocol/ProtocolLibrary.html create mode 100644 Javadoc/com/comphenix/protocol/ProtocolManager.html create mode 100644 Javadoc/com/comphenix/protocol/class-use/Application.html create mode 100644 Javadoc/com/comphenix/protocol/class-use/Packets.Client.html create mode 100644 Javadoc/com/comphenix/protocol/class-use/Packets.Server.html create mode 100644 Javadoc/com/comphenix/protocol/class-use/Packets.html create mode 100644 Javadoc/com/comphenix/protocol/class-use/ProtocolLibrary.html create mode 100644 Javadoc/com/comphenix/protocol/class-use/ProtocolManager.html create mode 100644 Javadoc/com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html create mode 100644 Javadoc/com/comphenix/protocol/concurrency/class-use/SortedCopyOnWriteArray.html create mode 100644 Javadoc/com/comphenix/protocol/concurrency/package-frame.html create mode 100644 Javadoc/com/comphenix/protocol/concurrency/package-summary.html create mode 100644 Javadoc/com/comphenix/protocol/concurrency/package-tree.html create mode 100644 Javadoc/com/comphenix/protocol/concurrency/package-use.html create mode 100644 Javadoc/com/comphenix/protocol/events/ConnectionSide.html create mode 100644 Javadoc/com/comphenix/protocol/events/ListenerPriority.html create mode 100644 Javadoc/com/comphenix/protocol/events/ListeningWhitelist.html create mode 100644 Javadoc/com/comphenix/protocol/events/PacketAdapter.html create mode 100644 Javadoc/com/comphenix/protocol/events/PacketContainer.html create mode 100644 Javadoc/com/comphenix/protocol/events/PacketEvent.html create mode 100644 Javadoc/com/comphenix/protocol/events/PacketListener.html create mode 100644 Javadoc/com/comphenix/protocol/events/class-use/ConnectionSide.html create mode 100644 Javadoc/com/comphenix/protocol/events/class-use/ListenerPriority.html create mode 100644 Javadoc/com/comphenix/protocol/events/class-use/ListeningWhitelist.html create mode 100644 Javadoc/com/comphenix/protocol/events/class-use/PacketAdapter.html create mode 100644 Javadoc/com/comphenix/protocol/events/class-use/PacketContainer.html create mode 100644 Javadoc/com/comphenix/protocol/events/class-use/PacketEvent.html create mode 100644 Javadoc/com/comphenix/protocol/events/class-use/PacketListener.html create mode 100644 Javadoc/com/comphenix/protocol/events/package-frame.html create mode 100644 Javadoc/com/comphenix/protocol/events/package-summary.html create mode 100644 Javadoc/com/comphenix/protocol/events/package-tree.html create mode 100644 Javadoc/com/comphenix/protocol/events/package-use.html create mode 100644 Javadoc/com/comphenix/protocol/injector/ConcurrentListenerMultimap.html create mode 100644 Javadoc/com/comphenix/protocol/injector/NetworkFieldInjector.FakePacket.html create mode 100644 Javadoc/com/comphenix/protocol/injector/NetworkFieldInjector.html create mode 100644 Javadoc/com/comphenix/protocol/injector/NetworkObjectInjector.html create mode 100644 Javadoc/com/comphenix/protocol/injector/PacketConstructor.BukkitUnwrapper.html create mode 100644 Javadoc/com/comphenix/protocol/injector/PacketConstructor.Unwrapper.html create mode 100644 Javadoc/com/comphenix/protocol/injector/PacketConstructor.html create mode 100644 Javadoc/com/comphenix/protocol/injector/PacketFilterManager.PlayerInjectHooks.html create mode 100644 Javadoc/com/comphenix/protocol/injector/PacketFilterManager.html create mode 100644 Javadoc/com/comphenix/protocol/injector/SortedCopyOnWriteArrayTest.html create mode 100644 Javadoc/com/comphenix/protocol/injector/StructureCache.html create mode 100644 Javadoc/com/comphenix/protocol/injector/class-use/ConcurrentListenerMultimap.html create mode 100644 Javadoc/com/comphenix/protocol/injector/class-use/NetworkFieldInjector.FakePacket.html create mode 100644 Javadoc/com/comphenix/protocol/injector/class-use/NetworkFieldInjector.html create mode 100644 Javadoc/com/comphenix/protocol/injector/class-use/NetworkObjectInjector.html create mode 100644 Javadoc/com/comphenix/protocol/injector/class-use/PacketConstructor.BukkitUnwrapper.html create mode 100644 Javadoc/com/comphenix/protocol/injector/class-use/PacketConstructor.Unwrapper.html create mode 100644 Javadoc/com/comphenix/protocol/injector/class-use/PacketConstructor.html create mode 100644 Javadoc/com/comphenix/protocol/injector/class-use/PacketFilterManager.PlayerInjectHooks.html create mode 100644 Javadoc/com/comphenix/protocol/injector/class-use/PacketFilterManager.html create mode 100644 Javadoc/com/comphenix/protocol/injector/class-use/SortedCopyOnWriteArrayTest.html create mode 100644 Javadoc/com/comphenix/protocol/injector/class-use/StructureCache.html create mode 100644 Javadoc/com/comphenix/protocol/injector/package-frame.html create mode 100644 Javadoc/com/comphenix/protocol/injector/package-summary.html create mode 100644 Javadoc/com/comphenix/protocol/injector/package-tree.html create mode 100644 Javadoc/com/comphenix/protocol/injector/package-use.html create mode 100644 Javadoc/com/comphenix/protocol/metrics/Statistics.html create mode 100644 Javadoc/com/comphenix/protocol/metrics/class-use/Statistics.html create mode 100644 Javadoc/com/comphenix/protocol/metrics/package-frame.html create mode 100644 Javadoc/com/comphenix/protocol/metrics/package-summary.html create mode 100644 Javadoc/com/comphenix/protocol/metrics/package-tree.html create mode 100644 Javadoc/com/comphenix/protocol/metrics/package-use.html create mode 100644 Javadoc/com/comphenix/protocol/package-frame.html create mode 100644 Javadoc/com/comphenix/protocol/package-summary.html create mode 100644 Javadoc/com/comphenix/protocol/package-tree.html create mode 100644 Javadoc/com/comphenix/protocol/package-use.html create mode 100644 Javadoc/com/comphenix/protocol/reflect/EquivalentConverter.html create mode 100644 Javadoc/com/comphenix/protocol/reflect/FieldAccessException.html create mode 100644 Javadoc/com/comphenix/protocol/reflect/FieldUtils.html create mode 100644 Javadoc/com/comphenix/protocol/reflect/FuzzyReflection.html create mode 100644 Javadoc/com/comphenix/protocol/reflect/IntEnum.html create mode 100644 Javadoc/com/comphenix/protocol/reflect/MethodUtils.html create mode 100644 Javadoc/com/comphenix/protocol/reflect/PrimitiveUtils.html create mode 100644 Javadoc/com/comphenix/protocol/reflect/StructureModifier.html create mode 100644 Javadoc/com/comphenix/protocol/reflect/StructureModifierTest.html create mode 100644 Javadoc/com/comphenix/protocol/reflect/VolatileField.html create mode 100644 Javadoc/com/comphenix/protocol/reflect/class-use/EquivalentConverter.html create mode 100644 Javadoc/com/comphenix/protocol/reflect/class-use/FieldAccessException.html create mode 100644 Javadoc/com/comphenix/protocol/reflect/class-use/FieldUtils.html create mode 100644 Javadoc/com/comphenix/protocol/reflect/class-use/FuzzyReflection.html create mode 100644 Javadoc/com/comphenix/protocol/reflect/class-use/IntEnum.html create mode 100644 Javadoc/com/comphenix/protocol/reflect/class-use/MethodUtils.html create mode 100644 Javadoc/com/comphenix/protocol/reflect/class-use/PrimitiveUtils.html create mode 100644 Javadoc/com/comphenix/protocol/reflect/class-use/StructureModifier.html create mode 100644 Javadoc/com/comphenix/protocol/reflect/class-use/StructureModifierTest.html create mode 100644 Javadoc/com/comphenix/protocol/reflect/class-use/VolatileField.html create mode 100644 Javadoc/com/comphenix/protocol/reflect/instances/CollectionGenerator.html create mode 100644 Javadoc/com/comphenix/protocol/reflect/instances/DefaultInstances.html create mode 100644 Javadoc/com/comphenix/protocol/reflect/instances/InstanceProvider.html create mode 100644 Javadoc/com/comphenix/protocol/reflect/instances/PrimitiveGenerator.html create mode 100644 Javadoc/com/comphenix/protocol/reflect/instances/class-use/CollectionGenerator.html create mode 100644 Javadoc/com/comphenix/protocol/reflect/instances/class-use/DefaultInstances.html create mode 100644 Javadoc/com/comphenix/protocol/reflect/instances/class-use/InstanceProvider.html create mode 100644 Javadoc/com/comphenix/protocol/reflect/instances/class-use/PrimitiveGenerator.html create mode 100644 Javadoc/com/comphenix/protocol/reflect/instances/package-frame.html create mode 100644 Javadoc/com/comphenix/protocol/reflect/instances/package-summary.html create mode 100644 Javadoc/com/comphenix/protocol/reflect/instances/package-tree.html create mode 100644 Javadoc/com/comphenix/protocol/reflect/instances/package-use.html create mode 100644 Javadoc/com/comphenix/protocol/reflect/package-frame.html create mode 100644 Javadoc/com/comphenix/protocol/reflect/package-summary.html create mode 100644 Javadoc/com/comphenix/protocol/reflect/package-tree.html create mode 100644 Javadoc/com/comphenix/protocol/reflect/package-use.html create mode 100644 Javadoc/constant-values.html create mode 100644 Javadoc/deprecated-list.html create mode 100644 Javadoc/help-doc.html create mode 100644 Javadoc/index-files/index-1.html create mode 100644 Javadoc/index-files/index-10.html create mode 100644 Javadoc/index-files/index-11.html create mode 100644 Javadoc/index-files/index-12.html create mode 100644 Javadoc/index-files/index-13.html create mode 100644 Javadoc/index-files/index-14.html create mode 100644 Javadoc/index-files/index-15.html create mode 100644 Javadoc/index-files/index-16.html create mode 100644 Javadoc/index-files/index-17.html create mode 100644 Javadoc/index-files/index-18.html create mode 100644 Javadoc/index-files/index-19.html create mode 100644 Javadoc/index-files/index-2.html create mode 100644 Javadoc/index-files/index-20.html create mode 100644 Javadoc/index-files/index-21.html create mode 100644 Javadoc/index-files/index-3.html create mode 100644 Javadoc/index-files/index-4.html create mode 100644 Javadoc/index-files/index-5.html create mode 100644 Javadoc/index-files/index-6.html create mode 100644 Javadoc/index-files/index-7.html create mode 100644 Javadoc/index-files/index-8.html create mode 100644 Javadoc/index-files/index-9.html create mode 100644 Javadoc/index.html create mode 100644 Javadoc/overview-frame.html create mode 100644 Javadoc/overview-summary.html create mode 100644 Javadoc/overview-tree.html create mode 100644 Javadoc/package-list create mode 100644 Javadoc/resources/background.gif create mode 100644 Javadoc/resources/tab.gif create mode 100644 Javadoc/resources/titlebar.gif create mode 100644 Javadoc/resources/titlebar_end.gif create mode 100644 Javadoc/serialized-form.html create mode 100644 Javadoc/stylesheet.css diff --git a/Javadoc/allclasses-frame.html b/Javadoc/allclasses-frame.html new file mode 100644 index 00000000..0dd5370c --- /dev/null +++ b/Javadoc/allclasses-frame.html @@ -0,0 +1,54 @@ + + + + + +All Classes + + + + +

All Classes

+
+ +
+ + diff --git a/Javadoc/allclasses-noframe.html b/Javadoc/allclasses-noframe.html new file mode 100644 index 00000000..5bb86603 --- /dev/null +++ b/Javadoc/allclasses-noframe.html @@ -0,0 +1,54 @@ + + + + + +All Classes + + + + +

All Classes

+
+ +
+ + diff --git a/Javadoc/com/comphenix/protocol/Application.html b/Javadoc/com/comphenix/protocol/Application.html new file mode 100644 index 00000000..67c1390a --- /dev/null +++ b/Javadoc/com/comphenix/protocol/Application.html @@ -0,0 +1,256 @@ + + + + + +Application + + + + + + + +
+ + + + + +
+ + + +
+
com.comphenix.protocol
+

Class Application

+
+
+ +
+
    +
  • +
    +
    +
    public class Application
    +extends java.lang.Object
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      Application() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      static voidmain(java.lang.String[] args) 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Application

        +
        public Application()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        main

        +
        public static void main(java.lang.String[] args)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/Packets.Client.html b/Javadoc/com/comphenix/protocol/Packets.Client.html new file mode 100644 index 00000000..9da0a34d --- /dev/null +++ b/Javadoc/com/comphenix/protocol/Packets.Client.html @@ -0,0 +1,681 @@ + + + + + +Packets.Client + + + + + + + +
+ + + + + +
+ + + +
+
com.comphenix.protocol
+

Class Packets.Client

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    Packets
    +
    +
    +
    +
    public static class Packets.Client
    +extends IntEnum
    +
    List of packets sent by the client.
    +
    Author:
    +
    Kristian
    +
  • +
+
+
+ +
+
+ +
+
+ + +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/Packets.Server.html b/Javadoc/com/comphenix/protocol/Packets.Server.html new file mode 100644 index 00000000..5407eceb --- /dev/null +++ b/Javadoc/com/comphenix/protocol/Packets.Server.html @@ -0,0 +1,1171 @@ + + + + + +Packets.Server + + + + + + + +
+ + + + + +
+ + + +
+
com.comphenix.protocol
+

Class Packets.Server

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    Packets
    +
    +
    +
    +
    public static final class Packets.Server
    +extends IntEnum
    +
    List of packets sent only by the server.
    +
    Author:
    +
    Kristian
    +
  • +
+
+
+ +
+
+ +
+
+ + +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/Packets.html b/Javadoc/com/comphenix/protocol/Packets.html new file mode 100644 index 00000000..2e15e2e6 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/Packets.html @@ -0,0 +1,343 @@ + + + + + +Packets + + + + + + + +
+ + + + + +
+ + + +
+
com.comphenix.protocol
+

Class Packets

+
+
+ +
+
    +
  • +
    +
    +
    public final class Packets
    +extends java.lang.Object
    +
    List of known packet IDs since 1.3.2.
    +
    Author:
    +
    Kristian
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Nested Class Summary

      + + + + + + + + + + + + + + +
      Nested Classes 
      Modifier and TypeClass and Description
      static class Packets.Client +
      List of packets sent by the client.
      +
      static class Packets.Server +
      List of packets sent only by the server.
      +
      +
    • +
    + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      Packets() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      static Packets.ClientgetClientRegistry() +
      A registry that parses between names and packet IDs.
      +
      static java.lang.StringgetDeclaredName(int packetID) +
      Retrieves the name of a packet.
      +
      static Packets.ServergetServerRegistry() +
      A registry that parses between names and packet IDs.
      +
      static intvalueOf(java.lang.String name) +
      Find a packet by name.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Packets

        +
        public Packets()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getServerRegistry

        +
        public static Packets.Server getServerRegistry()
        +
        A registry that parses between names and packet IDs.
        +
        Returns:
        The current client registry.
        +
      • +
      + + + +
        +
      • +

        getClientRegistry

        +
        public static Packets.Client getClientRegistry()
        +
        A registry that parses between names and packet IDs.
        +
        Returns:
        The current server registry.
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static int valueOf(java.lang.String name)
        +
        Find a packet by name. Must be capitalized and use underscores.
        +
        Parameters:
        name - - name of packet to find.
        +
        Returns:
        The packet ID found.
        +
      • +
      + + + +
        +
      • +

        getDeclaredName

        +
        public static java.lang.String getDeclaredName(int packetID)
        +
        Retrieves the name of a packet.
        +
        Parameters:
        packetID - - packet to retrieve name.
        +
        Returns:
        The name, or NULL if unable to find such a packet.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/ProtocolLibrary.html b/Javadoc/com/comphenix/protocol/ProtocolLibrary.html new file mode 100644 index 00000000..3d23b865 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/ProtocolLibrary.html @@ -0,0 +1,364 @@ + + + + + +ProtocolLibrary + + + + + + + +
+ + + + + +
+ + + +
+
com.comphenix.protocol
+

Class ProtocolLibrary

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    org.bukkit.command.CommandExecutor, org.bukkit.plugin.Plugin
    +
    +
    +
    +
    public class ProtocolLibrary
    +extends org.bukkit.plugin.java.JavaPlugin
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      ProtocolLibrary() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      static ProtocolManagergetProtocolManager() +
      Retrieves the packet protocol manager.
      +
      StatisticsgetStatistics() +
      Retrieve the metrics instance used to measure users of this library.
      +
      voidonDisable() 
      voidonEnable() 
      voidonLoad() 
      +
        +
      • + + +

        Methods inherited from class org.bukkit.plugin.java.JavaPlugin

        +getClassLoader, getCommand, getConfig, getDatabase, getDatabaseClasses, getDataFolder, getDefaultWorldGenerator, getDescription, getFile, getLogger, getPluginLoader, getResource, getServer, initialize, installDDL, isEnabled, isInitialized, isNaggable, onCommand, reloadConfig, removeDDL, saveConfig, saveDefaultConfig, saveResource, setEnabled, setNaggable, toString
      • +
      +
        +
      • + + +

        Methods inherited from class org.bukkit.plugin.PluginBase

        +equals, getName, hashCode
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ProtocolLibrary

        +
        public ProtocolLibrary()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        onLoad

        +
        public void onLoad()
        +
        +
        Specified by:
        +
        onLoad in interface org.bukkit.plugin.Plugin
        +
        Overrides:
        +
        onLoad in class org.bukkit.plugin.java.JavaPlugin
        +
        +
      • +
      + + + +
        +
      • +

        onEnable

        +
        public void onEnable()
        +
        +
        Specified by:
        +
        onEnable in interface org.bukkit.plugin.Plugin
        +
        Overrides:
        +
        onEnable in class org.bukkit.plugin.java.JavaPlugin
        +
        +
      • +
      + + + +
        +
      • +

        onDisable

        +
        public void onDisable()
        +
        +
        Specified by:
        +
        onDisable in interface org.bukkit.plugin.Plugin
        +
        Overrides:
        +
        onDisable in class org.bukkit.plugin.java.JavaPlugin
        +
        +
      • +
      + + + +
        +
      • +

        getProtocolManager

        +
        public static ProtocolManager getProtocolManager()
        +
        Retrieves the packet protocol manager.
        +
        Returns:
        Packet protocol manager, or NULL if it has been disabled.
        +
      • +
      + + + +
        +
      • +

        getStatistics

        +
        public Statistics getStatistics()
        +
        Retrieve the metrics instance used to measure users of this library. +

        + Note that this method may return NULL when the server is reloading or shutting down.

        +
        Returns:
        Metrics instance container.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/ProtocolManager.html b/Javadoc/com/comphenix/protocol/ProtocolManager.html new file mode 100644 index 00000000..751cd9c5 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/ProtocolManager.html @@ -0,0 +1,506 @@ + + + + + +ProtocolManager + + + + + + + +
+ + + + + +
+ + + +
+
com.comphenix.protocol
+

Interface ProtocolManager

+
+
+
+
    +
  • +
    +
    All Known Implementing Classes:
    +
    PacketFilterManager
    +
    +
    +
    +
    public interface ProtocolManager
    +
    Represents an API for accessing the Minecraft protocol.
    +
    Author:
    +
    Kristian
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      voidaddPacketListener(PacketListener listener) +
      Adds a packet listener.
      +
      PacketContainercreatePacket(int id) +
      Constructs a new encapsulated Minecraft packet with the given ID.
      +
      PacketContainercreatePacket(int id, + boolean forceDefaults) +
      Constructs a new encapsulated Minecraft packet with the given ID.
      +
      PacketConstructorcreatePacketConstructor(int id, + java.lang.Object... arguments) +
      Construct a packet using the special builtin Minecraft constructors.
      +
      com.google.common.collect.ImmutableSet<PacketListener>getPacketListeners() +
      Retrieves a list of every registered packet listener.
      +
      java.util.Set<java.lang.Integer>getReceivingFilters() +
      Retrieves a immutable set containing the ID of the recieved client packets that will be observed by listeners.
      +
      java.util.Set<java.lang.Integer>getSendingFilters() +
      Retrieves a immutable set containing the ID of the sent server packets that will be observed by listeners.
      +
      booleanisClosed() +
      Determines whether or not this protocol mananger has been disabled.
      +
      voidrecieveClientPacket(org.bukkit.entity.Player sender, + PacketContainer packet) +
      Simulate recieving a certain packet from a given player.
      +
      voidrecieveClientPacket(org.bukkit.entity.Player sender, + PacketContainer packet, + boolean filters) +
      Simulate recieving a certain packet from a given player.
      +
      voidremovePacketListener(PacketListener listener) +
      Removes a given packet listener.
      +
      voidremovePacketListeners(org.bukkit.plugin.Plugin plugin) +
      Removes every listener associated with the given plugin.
      +
      voidsendServerPacket(org.bukkit.entity.Player reciever, + PacketContainer packet) +
      Send a packet to the given player.
      +
      voidsendServerPacket(org.bukkit.entity.Player reciever, + PacketContainer packet, + boolean filters) +
      Send a packet to the given player.
      +
      voidupdateEntity(org.bukkit.entity.Entity entity, + java.util.List<org.bukkit.entity.Player> observers) +
      Completely refresh all clients about an entity.
      +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getPacketListeners

        +
        com.google.common.collect.ImmutableSet<PacketListener> getPacketListeners()
        +
        Retrieves a list of every registered packet listener.
        +
        Returns:
        Every registered packet listener.
        +
      • +
      + + + +
        +
      • +

        addPacketListener

        +
        void addPacketListener(PacketListener listener)
        +
        Adds a packet listener. +

        + Adding an already registered listener has no effect. If you need to change the packets + the current listener is observing, you must first remove the packet listener before you + can register it again.

        +
        Parameters:
        listener - - new packet listener.
        +
      • +
      + + + +
        +
      • +

        removePacketListener

        +
        void removePacketListener(PacketListener listener)
        +
        Removes a given packet listener. +

        + Attempting to remove a listener that doesn't exist has no effect.

        +
        Parameters:
        listener - - the packet listener to remove.
        +
      • +
      + + + +
        +
      • +

        removePacketListeners

        +
        void removePacketListeners(org.bukkit.plugin.Plugin plugin)
        +
        Removes every listener associated with the given plugin.
        +
        Parameters:
        plugin - - the plugin to unload.
        +
      • +
      + + + +
        +
      • +

        sendServerPacket

        +
        void sendServerPacket(org.bukkit.entity.Player reciever,
        +                    PacketContainer packet)
        +                      throws java.lang.reflect.InvocationTargetException
        +
        Send a packet to the given player.
        +
        Parameters:
        reciever - - the reciever.
        packet - - packet to send.
        +
        Throws:
        +
        java.lang.reflect.InvocationTargetException - - if an error occured when sending the packet.
        +
      • +
      + + + +
        +
      • +

        sendServerPacket

        +
        void sendServerPacket(org.bukkit.entity.Player reciever,
        +                    PacketContainer packet,
        +                    boolean filters)
        +                      throws java.lang.reflect.InvocationTargetException
        +
        Send a packet to the given player.
        +
        Parameters:
        reciever - - the reciever.
        packet - - packet to send.
        filters - - whether or not to invoke any packet filters.
        +
        Throws:
        +
        java.lang.reflect.InvocationTargetException - - if an error occured when sending the packet.
        +
      • +
      + + + +
        +
      • +

        recieveClientPacket

        +
        void recieveClientPacket(org.bukkit.entity.Player sender,
        +                       PacketContainer packet)
        +                         throws java.lang.IllegalAccessException,
        +                                java.lang.reflect.InvocationTargetException
        +
        Simulate recieving a certain packet from a given player.
        +
        Parameters:
        sender - - the sender.
        packet - - the packet that was sent.
        +
        Throws:
        +
        java.lang.reflect.InvocationTargetException - If the reflection machinery failed.
        +
        java.lang.IllegalAccessException - If the underlying method caused an error.
        +
      • +
      + + + +
        +
      • +

        recieveClientPacket

        +
        void recieveClientPacket(org.bukkit.entity.Player sender,
        +                       PacketContainer packet,
        +                       boolean filters)
        +                         throws java.lang.IllegalAccessException,
        +                                java.lang.reflect.InvocationTargetException
        +
        Simulate recieving a certain packet from a given player.
        +
        Parameters:
        sender - - the sender.
        packet - - the packet that was sent.
        filters - - whether or not to invoke any packet filters.
        +
        Throws:
        +
        java.lang.reflect.InvocationTargetException - If the reflection machinery failed.
        +
        java.lang.IllegalAccessException - If the underlying method caused an error.
        +
      • +
      + + + +
        +
      • +

        createPacket

        +
        PacketContainer createPacket(int id)
        +
        Constructs a new encapsulated Minecraft packet with the given ID.
        +
        Parameters:
        id - - packet ID.
        +
        Returns:
        New encapsulated Minecraft packet.
        +
      • +
      + + + +
        +
      • +

        createPacket

        +
        PacketContainer createPacket(int id,
        +                           boolean forceDefaults)
        +
        Constructs a new encapsulated Minecraft packet with the given ID. +

        + If set to true, the forceDefaults option will force the system to automatically + give non-primitive fields in the packet sensible default values. For instance, certain + packets - like Packet60Explosion - require a List or Set to be non-null. If the + forceDefaults option is true, the List or Set will be automatically created.

        +
        Parameters:
        id - - packet ID.
        forceDefaults - - TRUE to use sensible defaults in most fields, FALSE otherwise.
        +
        Returns:
        New encapsulated Minecraft packet.
        +
      • +
      + + + +
        +
      • +

        createPacketConstructor

        +
        PacketConstructor createPacketConstructor(int id,
        +                                        java.lang.Object... arguments)
        +
        Construct a packet using the special builtin Minecraft constructors.
        +
        Parameters:
        id - - the packet ID.
        arguments - - arguments that will be passed to the constructor.
        +
        Returns:
        The packet constructor.
        +
      • +
      + + + +
        +
      • +

        updateEntity

        +
        void updateEntity(org.bukkit.entity.Entity entity,
        +                java.util.List<org.bukkit.entity.Player> observers)
        +                  throws FieldAccessException
        +
        Completely refresh all clients about an entity.
        +
        Parameters:
        entity - - entity to refresh.
        observers - - the clients to update.
        +
        Throws:
        +
        FieldAccessException
        +
      • +
      + + + +
        +
      • +

        getSendingFilters

        +
        java.util.Set<java.lang.Integer> getSendingFilters()
        +
        Retrieves a immutable set containing the ID of the sent server packets that will be observed by listeners.
        +
        Returns:
        Every filtered server packet.
        +
      • +
      + + + +
        +
      • +

        getReceivingFilters

        +
        java.util.Set<java.lang.Integer> getReceivingFilters()
        +
        Retrieves a immutable set containing the ID of the recieved client packets that will be observed by listeners.
        +
        Returns:
        Every filtered client packet.
        +
      • +
      + + + +
        +
      • +

        isClosed

        +
        boolean isClosed()
        +
        Determines whether or not this protocol mananger has been disabled.
        +
        Returns:
        TRUE if it has, FALSE otherwise.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/class-use/Application.html b/Javadoc/com/comphenix/protocol/class-use/Application.html new file mode 100644 index 00000000..264592f1 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/class-use/Application.html @@ -0,0 +1,115 @@ + + + + + +Uses of Class com.comphenix.protocol.Application + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.comphenix.protocol.Application

+
+
No usage of com.comphenix.protocol.Application
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/class-use/Packets.Client.html b/Javadoc/com/comphenix/protocol/class-use/Packets.Client.html new file mode 100644 index 00000000..2646b442 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/class-use/Packets.Client.html @@ -0,0 +1,163 @@ + + + + + +Uses of Class com.comphenix.protocol.Packets.Client + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.comphenix.protocol.Packets.Client

+
+
+ +
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/class-use/Packets.Server.html b/Javadoc/com/comphenix/protocol/class-use/Packets.Server.html new file mode 100644 index 00000000..ac6f15b0 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/class-use/Packets.Server.html @@ -0,0 +1,163 @@ + + + + + +Uses of Class com.comphenix.protocol.Packets.Server + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.comphenix.protocol.Packets.Server

+
+
+ +
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/class-use/Packets.html b/Javadoc/com/comphenix/protocol/class-use/Packets.html new file mode 100644 index 00000000..e77407d6 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/class-use/Packets.html @@ -0,0 +1,115 @@ + + + + + +Uses of Class com.comphenix.protocol.Packets + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.comphenix.protocol.Packets

+
+
No usage of com.comphenix.protocol.Packets
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/class-use/ProtocolLibrary.html b/Javadoc/com/comphenix/protocol/class-use/ProtocolLibrary.html new file mode 100644 index 00000000..e0108b1d --- /dev/null +++ b/Javadoc/com/comphenix/protocol/class-use/ProtocolLibrary.html @@ -0,0 +1,115 @@ + + + + + +Uses of Class com.comphenix.protocol.ProtocolLibrary + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.comphenix.protocol.ProtocolLibrary

+
+
No usage of com.comphenix.protocol.ProtocolLibrary
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/class-use/ProtocolManager.html b/Javadoc/com/comphenix/protocol/class-use/ProtocolManager.html new file mode 100644 index 00000000..7f4ff42f --- /dev/null +++ b/Javadoc/com/comphenix/protocol/class-use/ProtocolManager.html @@ -0,0 +1,179 @@ + + + + + +Uses of Interface com.comphenix.protocol.ProtocolManager + + + + + + + +
+ + + + + +
+ + +
+

Uses of Interface
com.comphenix.protocol.ProtocolManager

+
+
+ +
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html b/Javadoc/com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html new file mode 100644 index 00000000..995fad80 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html @@ -0,0 +1,571 @@ + + + + + +SortedCopyOnWriteArray + + + + + + + +
+ + + + + +
+ + + +
+
com.comphenix.protocol.concurrency
+

Class SortedCopyOnWriteArray<T extends java.lang.Comparable<T>>

+
+
+ +
+
    +
  • +
    Type Parameters:
    T - - type of the elements in the list.
    +
    +
    All Implemented Interfaces:
    +
    java.lang.Iterable<T>, java.util.Collection<T>
    +
    +
    +
    +
    public class SortedCopyOnWriteArray<T extends java.lang.Comparable<T>>
    +extends java.lang.Object
    +implements java.lang.Iterable<T>, java.util.Collection<T>
    +
    An implicitly sorted array list that preserves insertion order and maintains duplicates.
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + + + + + +
      Constructors 
      Constructor and Description
      SortedCopyOnWriteArray() +
      Construct an empty sorted array.
      +
      SortedCopyOnWriteArray(java.util.Collection<T> wrapped) +
      Create a sorted array from the given list.
      +
      SortedCopyOnWriteArray(java.util.Collection<T> wrapped, + boolean sort) +
      Create a sorted array from the given list.
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      booleanadd(T value) +
      Inserts the given element in the proper location.
      +
      booleanaddAll(java.util.Collection<? extends T> values) 
      voidclear() 
      booleancontains(java.lang.Object value) 
      booleancontainsAll(java.util.Collection<?> values) 
      Tget(int index) +
      Retrieves an element by index.
      +
      booleanisEmpty() 
      java.util.Iterator<T>iterator() +
      Retrieves an iterator over the elements in the given list.
      +
      voidremove(int index) +
      Removes from the list by making a copy of every element except the one with the given index.
      +
      booleanremove(java.lang.Object value) +
      Removes from the list by making a new list with every element except the one given.
      +
      booleanremoveAll(java.util.Collection<?> values) 
      booleanretainAll(java.util.Collection<?> values) 
      intsize() +
      Retrieve the size of the list.
      +
      java.lang.Object[]toArray() 
      <T> T[]toArray(T[] a) 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
        +
      • + + +

        Methods inherited from interface java.util.Collection

        +equals, hashCode
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        SortedCopyOnWriteArray

        +
        public SortedCopyOnWriteArray()
        +
        Construct an empty sorted array.
        +
      • +
      + + + +
        +
      • +

        SortedCopyOnWriteArray

        +
        public SortedCopyOnWriteArray(java.util.Collection<T> wrapped)
        +
        Create a sorted array from the given list. The elements will be automatically sorted.
        +
        Parameters:
        wrapped - - the collection whose elements are to be placed into the list.
        +
      • +
      + + + +
        +
      • +

        SortedCopyOnWriteArray

        +
        public SortedCopyOnWriteArray(java.util.Collection<T> wrapped,
        +                      boolean sort)
        +
        Create a sorted array from the given list.
        +
        Parameters:
        wrapped - - the collection whose elements are to be placed into the list.
        sort - - TRUE to automatically sort the collection, FALSE if it is already sorted.
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + +
        +
      • +

        add

        +
        public boolean add(T value)
        +
        Inserts the given element in the proper location.
        +
        +
        Specified by:
        +
        add in interface java.util.Collection<T extends java.lang.Comparable<T>>
        +
        Parameters:
        value - - element to insert.
        +
      • +
      + + + +
        +
      • +

        addAll

        +
        public boolean addAll(java.util.Collection<? extends T> values)
        +
        +
        Specified by:
        +
        addAll in interface java.util.Collection<T extends java.lang.Comparable<T>>
        +
        +
      • +
      + + + +
        +
      • +

        remove

        +
        public boolean remove(java.lang.Object value)
        +
        Removes from the list by making a new list with every element except the one given. +

        + Objects will be compared using the given objects equals() method.

        +
        +
        Specified by:
        +
        remove in interface java.util.Collection<T extends java.lang.Comparable<T>>
        +
        Parameters:
        value - - value to remove.
        +
      • +
      + + + +
        +
      • +

        removeAll

        +
        public boolean removeAll(java.util.Collection<?> values)
        +
        +
        Specified by:
        +
        removeAll in interface java.util.Collection<T extends java.lang.Comparable<T>>
        +
        +
      • +
      + + + +
        +
      • +

        retainAll

        +
        public boolean retainAll(java.util.Collection<?> values)
        +
        +
        Specified by:
        +
        retainAll in interface java.util.Collection<T extends java.lang.Comparable<T>>
        +
        +
      • +
      + + + +
        +
      • +

        remove

        +
        public void remove(int index)
        +
        Removes from the list by making a copy of every element except the one with the given index.
        +
        Parameters:
        index - - index of the element to remove.
        +
      • +
      + + + +
        +
      • +

        get

        +
        public T get(int index)
        +
        Retrieves an element by index.
        +
        Parameters:
        index - - index of element to retrieve.
        +
        Returns:
        The element at the given location.
        +
      • +
      + + + +
        +
      • +

        size

        +
        public int size()
        +
        Retrieve the size of the list.
        +
        +
        Specified by:
        +
        size in interface java.util.Collection<T extends java.lang.Comparable<T>>
        +
        Returns:
        Size of the list.
        +
      • +
      + + + +
        +
      • +

        iterator

        +
        public java.util.Iterator<T> iterator()
        +
        Retrieves an iterator over the elements in the given list. + Warning: No not attempt to remove elements using the iterator.
        +
        +
        Specified by:
        +
        iterator in interface java.lang.Iterable<T extends java.lang.Comparable<T>>
        +
        Specified by:
        +
        iterator in interface java.util.Collection<T extends java.lang.Comparable<T>>
        +
        +
      • +
      + + + +
        +
      • +

        clear

        +
        public void clear()
        +
        +
        Specified by:
        +
        clear in interface java.util.Collection<T extends java.lang.Comparable<T>>
        +
        +
      • +
      + + + +
        +
      • +

        contains

        +
        public boolean contains(java.lang.Object value)
        +
        +
        Specified by:
        +
        contains in interface java.util.Collection<T extends java.lang.Comparable<T>>
        +
        +
      • +
      + + + +
        +
      • +

        containsAll

        +
        public boolean containsAll(java.util.Collection<?> values)
        +
        +
        Specified by:
        +
        containsAll in interface java.util.Collection<T extends java.lang.Comparable<T>>
        +
        +
      • +
      + + + +
        +
      • +

        isEmpty

        +
        public boolean isEmpty()
        +
        +
        Specified by:
        +
        isEmpty in interface java.util.Collection<T extends java.lang.Comparable<T>>
        +
        +
      • +
      + + + +
        +
      • +

        toArray

        +
        public java.lang.Object[] toArray()
        +
        +
        Specified by:
        +
        toArray in interface java.util.Collection<T extends java.lang.Comparable<T>>
        +
        +
      • +
      + + + + + +
        +
      • +

        toArray

        +
        public <T> T[] toArray(T[] a)
        +
        +
        Specified by:
        +
        toArray in interface java.util.Collection<T extends java.lang.Comparable<T>>
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/concurrency/class-use/SortedCopyOnWriteArray.html b/Javadoc/com/comphenix/protocol/concurrency/class-use/SortedCopyOnWriteArray.html new file mode 100644 index 00000000..bc9299d7 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/concurrency/class-use/SortedCopyOnWriteArray.html @@ -0,0 +1,155 @@ + + + + + +Uses of Class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.comphenix.protocol.concurrency.SortedCopyOnWriteArray

+
+
+ +
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/concurrency/package-frame.html b/Javadoc/com/comphenix/protocol/concurrency/package-frame.html new file mode 100644 index 00000000..8dd72b5d --- /dev/null +++ b/Javadoc/com/comphenix/protocol/concurrency/package-frame.html @@ -0,0 +1,19 @@ + + + + + +com.comphenix.protocol.concurrency + + + + +

com.comphenix.protocol.concurrency

+
+

Classes

+ +
+ + diff --git a/Javadoc/com/comphenix/protocol/concurrency/package-summary.html b/Javadoc/com/comphenix/protocol/concurrency/package-summary.html new file mode 100644 index 00000000..086e5d6e --- /dev/null +++ b/Javadoc/com/comphenix/protocol/concurrency/package-summary.html @@ -0,0 +1,135 @@ + + + + + +com.comphenix.protocol.concurrency + + + + + + + +
+ + + + + +
+ + +
+

Package com.comphenix.protocol.concurrency

+
+
+ +
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/concurrency/package-tree.html b/Javadoc/com/comphenix/protocol/concurrency/package-tree.html new file mode 100644 index 00000000..f51ef4a1 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/concurrency/package-tree.html @@ -0,0 +1,128 @@ + + + + + +com.comphenix.protocol.concurrency Class Hierarchy + + + + + + + +
+ + + + + +
+ + +
+

Hierarchy For Package com.comphenix.protocol.concurrency

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/concurrency/package-use.html b/Javadoc/com/comphenix/protocol/concurrency/package-use.html new file mode 100644 index 00000000..5a8f4e3c --- /dev/null +++ b/Javadoc/com/comphenix/protocol/concurrency/package-use.html @@ -0,0 +1,150 @@ + + + + + +Uses of Package com.comphenix.protocol.concurrency + + + + + + + +
+ + + + + +
+ + +
+

Uses of Package
com.comphenix.protocol.concurrency

+
+
+ +
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/events/ConnectionSide.html b/Javadoc/com/comphenix/protocol/events/ConnectionSide.html new file mode 100644 index 00000000..545147cb --- /dev/null +++ b/Javadoc/com/comphenix/protocol/events/ConnectionSide.html @@ -0,0 +1,371 @@ + + + + + +ConnectionSide + + + + + + + +
+ + + + + +
+ + + +
+
com.comphenix.protocol.events
+

Enum ConnectionSide

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.io.Serializable, java.lang.Comparable<ConnectionSide>
    +
    +
    +
    +
    public enum ConnectionSide
    +extends java.lang.Enum<ConnectionSide>
    +
    Used to set a packet filter.
    +
    Author:
    +
    Kristian
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Enum Constant Summary

      + + + + + + + + + + + + + + +
      Enum Constants 
      Enum Constant and Description
      BOTH +
      Listen for both client and server side packets.
      +
      CLIENT_SIDE +
      Listen for client side packets that will invoke onPacketReceiving().
      +
      SERVER_SIDE +
      Listen for server side packets that will invoke onPacketSending().
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      booleanisForClient() 
      booleanisForServer() 
      static ConnectionSidevalueOf(java.lang.String name) +
      Returns the enum constant of this type with the specified name.
      +
      static ConnectionSide[]values() +
      Returns an array containing the constants of this enum type, in +the order they are declared.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Enum

        +clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +getClass, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Enum Constant Detail

      + + + +
        +
      • +

        SERVER_SIDE

        +
        public static final ConnectionSide SERVER_SIDE
        +
        Listen for server side packets that will invoke onPacketSending().
        +
      • +
      + + + +
        +
      • +

        CLIENT_SIDE

        +
        public static final ConnectionSide CLIENT_SIDE
        +
        Listen for client side packets that will invoke onPacketReceiving().
        +
      • +
      + + + +
        +
      • +

        BOTH

        +
        public static final ConnectionSide BOTH
        +
        Listen for both client and server side packets.
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static ConnectionSide[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (ConnectionSide c : ConnectionSide.values())
        +    System.out.println(c);
        +
        +
        Returns:
        an array containing the constants of this enum type, in +the order they are declared
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static ConnectionSide valueOf(java.lang.String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        Parameters:
        name - the name of the enum constant to be returned.
        +
        Returns:
        the enum constant with the specified name
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if this enum type has no constant +with the specified name
        +
        java.lang.NullPointerException - if the argument is null
        +
      • +
      + + + +
        +
      • +

        isForClient

        +
        public boolean isForClient()
        +
      • +
      + + + +
        +
      • +

        isForServer

        +
        public boolean isForServer()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/events/ListenerPriority.html b/Javadoc/com/comphenix/protocol/events/ListenerPriority.html new file mode 100644 index 00000000..6a08f435 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/events/ListenerPriority.html @@ -0,0 +1,413 @@ + + + + + +ListenerPriority + + + + + + + +
+ + + + + +
+ + + +
+
com.comphenix.protocol.events
+

Enum ListenerPriority

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.io.Serializable, java.lang.Comparable<ListenerPriority>
    +
    +
    +
    +
    public enum ListenerPriority
    +extends java.lang.Enum<ListenerPriority>
    +
    Represents a packet event priority, similar to the Bukkit EventPriority.
    +
    Author:
    +
    Kristian
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Enum Constant Summary

      + + + + + + + + + + + + + + + + + + + + + + + +
      Enum Constants 
      Enum Constant and Description
      HIGH +
      Event call is of high importance.
      +
      HIGHEST +
      Event call is critical and must have the final say in what happens to the + event.
      +
      LOW +
      Event call is of low importance.
      +
      LOWEST +
      Event call is of very low importance and should be ran first, to allow + other plugins to further customise the outcome.
      +
      MONITOR +
      Event is listened to purely for monitoring the outcome of an event.
      +
      NORMAL +
      Event call is neither important or unimportant, and may be ran normally.
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      intgetSlot() +
      A low slot represents a low priority.
      +
      static ListenerPriorityvalueOf(java.lang.String name) +
      Returns the enum constant of this type with the specified name.
      +
      static ListenerPriority[]values() +
      Returns an array containing the constants of this enum type, in +the order they are declared.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Enum

        +clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +getClass, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Enum Constant Detail

      + + + +
        +
      • +

        LOWEST

        +
        public static final ListenerPriority LOWEST
        +
        Event call is of very low importance and should be ran first, to allow + other plugins to further customise the outcome.
        +
      • +
      + + + +
        +
      • +

        LOW

        +
        public static final ListenerPriority LOW
        +
        Event call is of low importance.
        +
      • +
      + + + +
        +
      • +

        NORMAL

        +
        public static final ListenerPriority NORMAL
        +
        Event call is neither important or unimportant, and may be ran normally.
        +
      • +
      + + + +
        +
      • +

        HIGH

        +
        public static final ListenerPriority HIGH
        +
        Event call is of high importance.
        +
      • +
      + + + +
        +
      • +

        HIGHEST

        +
        public static final ListenerPriority HIGHEST
        +
        Event call is critical and must have the final say in what happens to the + event.
        +
      • +
      + + + +
        +
      • +

        MONITOR

        +
        public static final ListenerPriority MONITOR
        +
        Event is listened to purely for monitoring the outcome of an event. +

        + No modifications to the event should be made under this priority.

        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static ListenerPriority[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (ListenerPriority c : ListenerPriority.values())
        +    System.out.println(c);
        +
        +
        Returns:
        an array containing the constants of this enum type, in +the order they are declared
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static ListenerPriority valueOf(java.lang.String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        Parameters:
        name - the name of the enum constant to be returned.
        +
        Returns:
        the enum constant with the specified name
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if this enum type has no constant +with the specified name
        +
        java.lang.NullPointerException - if the argument is null
        +
      • +
      + + + +
        +
      • +

        getSlot

        +
        public int getSlot()
        +
        A low slot represents a low priority.
        +
        Returns:
        Integer representation of this priorty.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/events/ListeningWhitelist.html b/Javadoc/com/comphenix/protocol/events/ListeningWhitelist.html new file mode 100644 index 00000000..893d04f2 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/events/ListeningWhitelist.html @@ -0,0 +1,411 @@ + + + + + +ListeningWhitelist + + + + + + + +
+ + + + + +
+ + + +
+
com.comphenix.protocol.events
+

Class ListeningWhitelist

+
+
+ +
+
    +
  • +
    +
    +
    public class ListeningWhitelist
    +extends java.lang.Object
    +
    Determines which packets will be observed by a listener, and with what priority.
    +
    Author:
    +
    Kristian
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Summary

      + + + + + + + + + + +
      Fields 
      Modifier and TypeField and Description
      static ListeningWhitelistEMPTY_WHITELIST +
      A whitelist with no packets - indicates that the listener shouldn't observe any packets.
      +
      +
    • +
    + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + + +
      Constructors 
      Constructor and Description
      ListeningWhitelist(ListenerPriority priority, + java.lang.Integer... whitelist) +
      Creates a packet whitelist of a given priority for a list of packets.
      +
      ListeningWhitelist(ListenerPriority priority, + java.util.Set<java.lang.Integer> whitelist) +
      Creates a packet whitelist for a given priority with a set of packet IDs.
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      booleanequals(java.lang.Object obj) 
      ListenerPrioritygetPriority() +
      Retrieve the priority in the execution order of the packet listener.
      +
      java.util.Set<java.lang.Integer>getWhitelist() +
      Retrieves the list of packets that will be observed by the listeners.
      +
      inthashCode() 
      booleanisEnabled() +
      Whether or not this whitelist has any enabled packets.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        EMPTY_WHITELIST

        +
        public static ListeningWhitelist EMPTY_WHITELIST
        +
        A whitelist with no packets - indicates that the listener shouldn't observe any packets.
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ListeningWhitelist

        +
        public ListeningWhitelist(ListenerPriority priority,
        +                  java.util.Set<java.lang.Integer> whitelist)
        +
        Creates a packet whitelist for a given priority with a set of packet IDs.
        +
        Parameters:
        priority - - the listener priority.
        whitelist - - set of IDs to observe/enable.
        +
      • +
      + + + +
        +
      • +

        ListeningWhitelist

        +
        public ListeningWhitelist(ListenerPriority priority,
        +                  java.lang.Integer... whitelist)
        +
        Creates a packet whitelist of a given priority for a list of packets.
        +
        Parameters:
        priority - - the listener priority.
        whitelist - - list of packet IDs to observe/enable.
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        isEnabled

        +
        public boolean isEnabled()
        +
        Whether or not this whitelist has any enabled packets.
        +
        Returns:
        TRUE if there are any packets, FALSE otherwise.
        +
      • +
      + + + +
        +
      • +

        getPriority

        +
        public ListenerPriority getPriority()
        +
        Retrieve the priority in the execution order of the packet listener. Highest priority will be executed last.
        +
        Returns:
        Execution order in terms of priority.
        +
      • +
      + + + +
        +
      • +

        getWhitelist

        +
        public java.util.Set<java.lang.Integer> getWhitelist()
        +
        Retrieves the list of packets that will be observed by the listeners.
        +
        Returns:
        Packet whitelist.
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class java.lang.Object
        +
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(java.lang.Object obj)
        +
        +
        Overrides:
        +
        equals in class java.lang.Object
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/events/PacketAdapter.html b/Javadoc/com/comphenix/protocol/events/PacketAdapter.html new file mode 100644 index 00000000..7704d9a6 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/events/PacketAdapter.html @@ -0,0 +1,497 @@ + + + + + +PacketAdapter + + + + + + + +
+ + + + + +
+ + + +
+
com.comphenix.protocol.events
+

Class PacketAdapter

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    PacketListener
    +
    +
    +
    +
    public abstract class PacketAdapter
    +extends java.lang.Object
    +implements PacketListener
    +
    Represents a packet listener with useful constructors.
    +
    Author:
    +
    Kristian
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PacketAdapter

        +
        public PacketAdapter(org.bukkit.plugin.Plugin plugin,
        +             ConnectionSide connectionSide,
        +             java.lang.Integer... packets)
        +
        Initialize a packet listener with default priority.
        +
        Parameters:
        plugin - - the plugin that spawned this listener.
        connectionSide - - the packet type the listener is looking for.
        packets - - the packet IDs the listener is looking for.
        +
      • +
      + + + +
        +
      • +

        PacketAdapter

        +
        public PacketAdapter(org.bukkit.plugin.Plugin plugin,
        +             ConnectionSide connectionSide,
        +             ListenerPriority listenerPriority,
        +             java.lang.Integer... packets)
        +
        Initialize a packet listener for a single connection side.
        +
        Parameters:
        plugin - - the plugin that spawned this listener.
        connectionSide - - the packet type the listener is looking for.
        listenerPriority - - the event priority.
        packets - - the packet IDs the listener is looking for.
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        onPacketReceiving

        +
        public void onPacketReceiving(PacketEvent event)
        +
        Description copied from interface: PacketListener
        +
        Invoked right before a recieved packet from a client is being processed.
        +
        +
        Specified by:
        +
        onPacketReceiving in interface PacketListener
        +
        Parameters:
        event - - the packet that has been recieved.
        +
      • +
      + + + +
        +
      • +

        onPacketSending

        +
        public void onPacketSending(PacketEvent event)
        +
        Description copied from interface: PacketListener
        +
        Invoked right before a packet is transmitted from the server to the client. +

        + Note that the packet may be replaced, if needed.

        +
        +
        Specified by:
        +
        onPacketSending in interface PacketListener
        +
        Parameters:
        event - - the packet that should be sent.
        +
      • +
      + + + +
        +
      • +

        getReceivingWhitelist

        +
        public ListeningWhitelist getReceivingWhitelist()
        +
        Description copied from interface: PacketListener
        +
        Retrieve which packets sent by the client this listener will observe.
        +
        +
        Specified by:
        +
        getReceivingWhitelist in interface PacketListener
        +
        Returns:
        List of server packets to observe, along with the priority.
        +
      • +
      + + + +
        +
      • +

        getSendingWhitelist

        +
        public ListeningWhitelist getSendingWhitelist()
        +
        Description copied from interface: PacketListener
        +
        Retrieve which packets sent by the server this listener will observe.
        +
        +
        Specified by:
        +
        getSendingWhitelist in interface PacketListener
        +
        Returns:
        List of server packets to observe, along with the priority.
        +
      • +
      + + + +
        +
      • +

        getPlugin

        +
        public org.bukkit.plugin.Plugin getPlugin()
        +
        Description copied from interface: PacketListener
        +
        Retrieve the plugin that created list packet listener.
        +
        +
        Specified by:
        +
        getPlugin in interface PacketListener
        +
        Returns:
        The plugin, or NULL if not available.
        +
      • +
      + + + +
        +
      • +

        getPluginName

        +
        public static java.lang.String getPluginName(PacketListener listener)
        +
        Retrieves the name of the plugin that has been associated with the listener.
        +
        Returns:
        Name of the associated plugin.
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/events/PacketContainer.html b/Javadoc/com/comphenix/protocol/events/PacketContainer.html new file mode 100644 index 00000000..13ab3e35 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/events/PacketContainer.html @@ -0,0 +1,501 @@ + + + + + +PacketContainer + + + + + + + +
+ + + + + +
+ + + +
+
com.comphenix.protocol.events
+

Class PacketContainer

+
+
+ +
+
    +
  • +
    +
    +
    public class PacketContainer
    +extends java.lang.Object
    +
    Represents a Minecraft packet indirectly.
    +
    Author:
    +
    Kristian
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + + + + + + + +
      Fields 
      Modifier and TypeField and Description
      protected net.minecraft.server.Packethandle 
      protected intid 
      protected StructureModifier<java.lang.Object>structureModifier 
      +
    • +
    + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + + + + + +
      Constructors 
      Constructor and Description
      PacketContainer(int id) +
      Creates a packet container for a new packet.
      +
      PacketContainer(int id, + net.minecraft.server.Packet handle) +
      Creates a packet container for an existing packet.
      +
      PacketContainer(int id, + net.minecraft.server.Packet handle, + StructureModifier<java.lang.Object> structure) +
      Creates a packet container for an existing packet.
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      StructureModifier<org.bukkit.entity.Entity>getEntityModifier(org.bukkit.World world) +
      Retrieves a read/write structure for entity objects.
      +
      net.minecraft.server.PacketgetHandle() +
      Retrieves the underlying Minecraft packet.
      +
      intgetID() +
      Retrieves the ID of this packet.
      +
      StructureModifier<org.bukkit.inventory.ItemStack[]>getItemArrayModifier() +
      Retrieves a read/write structure for arrays of ItemStacks.
      +
      StructureModifier<org.bukkit.inventory.ItemStack>getItemModifier() +
      Retrieves a read/write structure for ItemStack.
      +
      StructureModifier<java.lang.Object>getModifier() +
      Retrieves the generic structure modifier for this packet.
      +
      <T> StructureModifier<T>getSpecificModifier(java.lang.Class<T> primitiveType) +
      Retrieves a read/write structure for every field with the given type.
      +
      StructureModifier<org.bukkit.WorldType>getWorldTypeModifier() +
      Retrieves a read/write structure for the world type enum.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        handle

        +
        protected net.minecraft.server.Packet handle
        +
      • +
      + + + +
        +
      • +

        id

        +
        protected int id
        +
      • +
      + + + +
        +
      • +

        structureModifier

        +
        protected StructureModifier<java.lang.Object> structureModifier
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PacketContainer

        +
        public PacketContainer(int id)
        +
        Creates a packet container for a new packet.
        +
        Parameters:
        id - - ID of the packet to create.
        +
      • +
      + + + +
        +
      • +

        PacketContainer

        +
        public PacketContainer(int id,
        +               net.minecraft.server.Packet handle)
        +
        Creates a packet container for an existing packet.
        +
        Parameters:
        id - - ID of the given packet.
        handle - - contained packet.
        +
      • +
      + + + +
        +
      • +

        PacketContainer

        +
        public PacketContainer(int id,
        +               net.minecraft.server.Packet handle,
        +               StructureModifier<java.lang.Object> structure)
        +
        Creates a packet container for an existing packet.
        +
        Parameters:
        id - - ID of the given packet.
        handle - - contained packet.
        structure - - structure modifier.
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getHandle

        +
        public net.minecraft.server.Packet getHandle()
        +
        Retrieves the underlying Minecraft packet.
        +
        Returns:
        Underlying Minecraft packet.
        +
      • +
      + + + +
        +
      • +

        getModifier

        +
        public StructureModifier<java.lang.Object> getModifier()
        +
        Retrieves the generic structure modifier for this packet.
        +
        Returns:
        Structure modifier.
        +
      • +
      + + + +
        +
      • +

        getSpecificModifier

        +
        public <T> StructureModifier<T> getSpecificModifier(java.lang.Class<T> primitiveType)
        +
        Retrieves a read/write structure for every field with the given type.
        +
        Parameters:
        primitiveType - - the type to find.
        +
        Returns:
        A modifier for this specific type.
        +
      • +
      + + + +
        +
      • +

        getItemModifier

        +
        public StructureModifier<org.bukkit.inventory.ItemStack> getItemModifier()
        +
        Retrieves a read/write structure for ItemStack. +

        + This modifier will automatically marshall between the Bukkit ItemStack and the + internal Minecraft ItemStack.

        +
        Returns:
        A modifier for ItemStack fields.
        +
      • +
      + + + +
        +
      • +

        getItemArrayModifier

        +
        public StructureModifier<org.bukkit.inventory.ItemStack[]> getItemArrayModifier()
        +
        Retrieves a read/write structure for arrays of ItemStacks. +

        + This modifier will automatically marshall between the Bukkit ItemStack and the + internal Minecraft ItemStack.

        +
        Returns:
        A modifier for ItemStack array fields.
        +
      • +
      + + + +
        +
      • +

        getWorldTypeModifier

        +
        public StructureModifier<org.bukkit.WorldType> getWorldTypeModifier()
        +
        Retrieves a read/write structure for the world type enum. +

        + This modifier will automatically marshall between the Bukkit world type and the + internal Minecraft world type.

        +
        Returns:
        A modifier for world type fields.
        +
      • +
      + + + +
        +
      • +

        getEntityModifier

        +
        public StructureModifier<org.bukkit.entity.Entity> getEntityModifier(org.bukkit.World world)
        +
        Retrieves a read/write structure for entity objects. +

        + Note that entities are transmitted by integer ID, and the type may not be enough + to distinguish between entities and other values. Thus, this structure modifier + MAY return null or invalid entities for certain fields. Using the correct index + is essential.

        +
        Returns:
        A modifier entity types.
        +
      • +
      + + + +
        +
      • +

        getID

        +
        public int getID()
        +
        Retrieves the ID of this packet.
        +
        Returns:
        Packet ID.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/events/PacketEvent.html b/Javadoc/com/comphenix/protocol/events/PacketEvent.html new file mode 100644 index 00000000..da094ff5 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/events/PacketEvent.html @@ -0,0 +1,449 @@ + + + + + +PacketEvent + + + + + + + +
+ + + + + +
+ + + +
+
com.comphenix.protocol.events
+

Class PacketEvent

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.io.Serializable, org.bukkit.event.Cancellable
    +
    +
    +
    +
    public class PacketEvent
    +extends java.util.EventObject
    +implements org.bukkit.event.Cancellable
    +
    See Also:
    Serialized Form
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Summary

      +
        +
      • + + +

        Fields inherited from class java.util.EventObject

        +source
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      PacketEvent(java.lang.Object source) +
      Use the static constructors to create instances of this event.
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      static PacketEventfromClient(java.lang.Object source, + PacketContainer packet, + org.bukkit.entity.Player client) +
      Creates an event representing a client packet transmission.
      +
      static PacketEventfromServer(java.lang.Object source, + PacketContainer packet, + org.bukkit.entity.Player recipient) +
      Creates an event representing a server packet transmission.
      +
      PacketContainergetPacket() +
      Retrieves the packet that will be sent to the player.
      +
      intgetPacketID() +
      Retrieves the packet ID.
      +
      org.bukkit.entity.PlayergetPlayer() +
      Retrieves the player that has sent the packet or is recieving it.
      +
      booleanisCancelled() +
      Retrieves whether or not the packet should be cancelled.
      +
      booleanisServerPacket() +
      Whether or not this packet was created by the server.
      +
      voidsetCancelled(boolean cancel) +
      Sets whether or not the packet should be cancelled.
      +
      voidsetPacket(PacketContainer packet) +
      Replace the packet that will be sent to the player.
      +
      +
        +
      • + + +

        Methods inherited from class java.util.EventObject

        +getSource, toString
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PacketEvent

        +
        public PacketEvent(java.lang.Object source)
        +
        Use the static constructors to create instances of this event.
        +
        Parameters:
        source - - the event source.
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        fromClient

        +
        public static PacketEvent fromClient(java.lang.Object source,
        +                     PacketContainer packet,
        +                     org.bukkit.entity.Player client)
        +
        Creates an event representing a client packet transmission.
        +
        Parameters:
        source - - the event source.
        packet - - the packet.
        client - - the client that sent the packet.
        +
        Returns:
        The event.
        +
      • +
      + + + +
        +
      • +

        fromServer

        +
        public static PacketEvent fromServer(java.lang.Object source,
        +                     PacketContainer packet,
        +                     org.bukkit.entity.Player recipient)
        +
        Creates an event representing a server packet transmission.
        +
        Parameters:
        source - - the event source.
        packet - - the packet.
        recipient - - the client that will receieve the packet.
        +
        Returns:
        The event.
        +
      • +
      + + + +
        +
      • +

        getPacket

        +
        public PacketContainer getPacket()
        +
        Retrieves the packet that will be sent to the player.
        +
        Returns:
        Packet to send to the player.
        +
      • +
      + + + +
        +
      • +

        setPacket

        +
        public void setPacket(PacketContainer packet)
        +
        Replace the packet that will be sent to the player.
        +
        Parameters:
        packet - - the packet that will be sent instead.
        +
      • +
      + + + +
        +
      • +

        getPacketID

        +
        public int getPacketID()
        +
        Retrieves the packet ID.
        +
        Returns:
        The current packet ID.
        +
      • +
      + + + +
        +
      • +

        isCancelled

        +
        public boolean isCancelled()
        +
        Retrieves whether or not the packet should be cancelled.
        +
        +
        Specified by:
        +
        isCancelled in interface org.bukkit.event.Cancellable
        +
        Returns:
        TRUE if it should be cancelled, FALSE otherwise.
        +
      • +
      + + + +
        +
      • +

        setCancelled

        +
        public void setCancelled(boolean cancel)
        +
        Sets whether or not the packet should be cancelled.
        +
        +
        Specified by:
        +
        setCancelled in interface org.bukkit.event.Cancellable
        +
        Parameters:
        cancel - - TRUE if it should be cancelled, FALSE otherwise.
        +
      • +
      + + + +
        +
      • +

        getPlayer

        +
        public org.bukkit.entity.Player getPlayer()
        +
        Retrieves the player that has sent the packet or is recieving it.
        +
        Returns:
        The player associated with this event.
        +
      • +
      + + + +
        +
      • +

        isServerPacket

        +
        public boolean isServerPacket()
        +
        Whether or not this packet was created by the server.
        +
        Returns:
        TRUE if the packet was created by the server, FALSE if it was created by a client.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/events/PacketListener.html b/Javadoc/com/comphenix/protocol/events/PacketListener.html new file mode 100644 index 00000000..fa7d11b0 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/events/PacketListener.html @@ -0,0 +1,289 @@ + + + + + +PacketListener + + + + + + + +
+ + + + + +
+ + + +
+
com.comphenix.protocol.events
+

Interface PacketListener

+
+
+
+
    +
  • +
    +
    All Known Implementing Classes:
    +
    PacketAdapter
    +
    +
    +
    +
    public interface PacketListener
    +
    Represents a listener that recieves notifications when packets are sent or recieved. +

    + Use PacketAdapter for a simple wrapper around this interface.

    +
    Author:
    +
    Kristian
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        onPacketSending

        +
        void onPacketSending(PacketEvent event)
        +
        Invoked right before a packet is transmitted from the server to the client. +

        + Note that the packet may be replaced, if needed.

        +
        Parameters:
        event - - the packet that should be sent.
        +
      • +
      + + + +
        +
      • +

        onPacketReceiving

        +
        void onPacketReceiving(PacketEvent event)
        +
        Invoked right before a recieved packet from a client is being processed.
        +
        Parameters:
        event - - the packet that has been recieved.
        +
      • +
      + + + +
        +
      • +

        getSendingWhitelist

        +
        ListeningWhitelist getSendingWhitelist()
        +
        Retrieve which packets sent by the server this listener will observe.
        +
        Returns:
        List of server packets to observe, along with the priority.
        +
      • +
      + + + +
        +
      • +

        getReceivingWhitelist

        +
        ListeningWhitelist getReceivingWhitelist()
        +
        Retrieve which packets sent by the client this listener will observe.
        +
        Returns:
        List of server packets to observe, along with the priority.
        +
      • +
      + + + +
        +
      • +

        getPlugin

        +
        org.bukkit.plugin.Plugin getPlugin()
        +
        Retrieve the plugin that created list packet listener.
        +
        Returns:
        The plugin, or NULL if not available.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/events/class-use/ConnectionSide.html b/Javadoc/com/comphenix/protocol/events/class-use/ConnectionSide.html new file mode 100644 index 00000000..3fe26be4 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/events/class-use/ConnectionSide.html @@ -0,0 +1,200 @@ + + + + + +Uses of Class com.comphenix.protocol.events.ConnectionSide + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.comphenix.protocol.events.ConnectionSide

+
+
+ +
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/events/class-use/ListenerPriority.html b/Javadoc/com/comphenix/protocol/events/class-use/ListenerPriority.html new file mode 100644 index 00000000..bcbb97d9 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/events/class-use/ListenerPriority.html @@ -0,0 +1,198 @@ + + + + + +Uses of Class com.comphenix.protocol.events.ListenerPriority + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.comphenix.protocol.events.ListenerPriority

+
+
+ +
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/events/class-use/ListeningWhitelist.html b/Javadoc/com/comphenix/protocol/events/class-use/ListeningWhitelist.html new file mode 100644 index 00000000..523751a0 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/events/class-use/ListeningWhitelist.html @@ -0,0 +1,226 @@ + + + + + +Uses of Class com.comphenix.protocol.events.ListeningWhitelist + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.comphenix.protocol.events.ListeningWhitelist

+
+
+ +
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/events/class-use/PacketAdapter.html b/Javadoc/com/comphenix/protocol/events/class-use/PacketAdapter.html new file mode 100644 index 00000000..4885f359 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/events/class-use/PacketAdapter.html @@ -0,0 +1,115 @@ + + + + + +Uses of Class com.comphenix.protocol.events.PacketAdapter + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.comphenix.protocol.events.PacketAdapter

+
+
No usage of com.comphenix.protocol.events.PacketAdapter
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/events/class-use/PacketContainer.html b/Javadoc/com/comphenix/protocol/events/class-use/PacketContainer.html new file mode 100644 index 00000000..8fe1a597 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/events/class-use/PacketContainer.html @@ -0,0 +1,322 @@ + + + + + +Uses of Class com.comphenix.protocol.events.PacketContainer + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.comphenix.protocol.events.PacketContainer

+
+
+ +
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/events/class-use/PacketEvent.html b/Javadoc/com/comphenix/protocol/events/class-use/PacketEvent.html new file mode 100644 index 00000000..15b19a15 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/events/class-use/PacketEvent.html @@ -0,0 +1,240 @@ + + + + + +Uses of Class com.comphenix.protocol.events.PacketEvent + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.comphenix.protocol.events.PacketEvent

+
+
+ +
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/events/class-use/PacketListener.html b/Javadoc/com/comphenix/protocol/events/class-use/PacketListener.html new file mode 100644 index 00000000..0ea658bb --- /dev/null +++ b/Javadoc/com/comphenix/protocol/events/class-use/PacketListener.html @@ -0,0 +1,270 @@ + + + + + +Uses of Interface com.comphenix.protocol.events.PacketListener + + + + + + + +
+ + + + + +
+ + +
+

Uses of Interface
com.comphenix.protocol.events.PacketListener

+
+
+ +
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/events/package-frame.html b/Javadoc/com/comphenix/protocol/events/package-frame.html new file mode 100644 index 00000000..4bf69df0 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/events/package-frame.html @@ -0,0 +1,31 @@ + + + + + +com.comphenix.protocol.events + + + + +

com.comphenix.protocol.events

+
+

Interfaces

+ +

Classes

+ +

Enums

+ +
+ + diff --git a/Javadoc/com/comphenix/protocol/events/package-summary.html b/Javadoc/com/comphenix/protocol/events/package-summary.html new file mode 100644 index 00000000..43c8d43e --- /dev/null +++ b/Javadoc/com/comphenix/protocol/events/package-summary.html @@ -0,0 +1,191 @@ + + + + + +com.comphenix.protocol.events + + + + + + + +
+ + + + + +
+ + +
+

Package com.comphenix.protocol.events

+
+
+ +
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/events/package-tree.html b/Javadoc/com/comphenix/protocol/events/package-tree.html new file mode 100644 index 00000000..5a4b5611 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/events/package-tree.html @@ -0,0 +1,152 @@ + + + + + +com.comphenix.protocol.events Class Hierarchy + + + + + + + +
+ + + + + +
+ + +
+

Hierarchy For Package com.comphenix.protocol.events

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +

Enum Hierarchy

+ +
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/events/package-use.html b/Javadoc/com/comphenix/protocol/events/package-use.html new file mode 100644 index 00000000..d69ef608 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/events/package-use.html @@ -0,0 +1,233 @@ + + + + + +Uses of Package com.comphenix.protocol.events + + + + + + + +
+ + + + + +
+ + +
+

Uses of Package
com.comphenix.protocol.events

+
+
+ +
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/injector/ConcurrentListenerMultimap.html b/Javadoc/com/comphenix/protocol/injector/ConcurrentListenerMultimap.html new file mode 100644 index 00000000..303c558d --- /dev/null +++ b/Javadoc/com/comphenix/protocol/injector/ConcurrentListenerMultimap.html @@ -0,0 +1,359 @@ + + + + + +ConcurrentListenerMultimap + + + + + + + +
+ + + + + +
+ + + +
+
com.comphenix.protocol.injector
+

Class ConcurrentListenerMultimap

+
+
+ +
+
    +
  • +
    +
    +
    public class ConcurrentListenerMultimap
    +extends java.lang.Object
    +
    A thread-safe implementation of a listener multimap.
    +
    Author:
    +
    Kristian
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Summary

      + + + + + + + + + + +
      Fields 
      Modifier and TypeField and Description
      protected java.util.concurrent.ConcurrentMap<java.lang.Integer,SortedCopyOnWriteArray<com.comphenix.protocol.injector.ConcurrentListenerMultimap.PrioritizedListener>>listeners 
      +
    • +
    + + + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      voidaddListener(PacketListener listener, + ListeningWhitelist whitelist) +
      Adds a listener to its requested list of packet recievers.
      +
      voidinvokePacketRecieving(java.util.logging.Logger logger, + PacketEvent event) +
      Invokes the given packet event for every registered listener.
      +
      voidinvokePacketSending(java.util.logging.Logger logger, + PacketEvent event) +
      Invokes the given packet event for every registered listener.
      +
      java.util.List<java.lang.Integer>removeListener(PacketListener listener, + ListeningWhitelist whitelist) +
      Removes the given listener from the packet event list.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        listeners

        +
        protected java.util.concurrent.ConcurrentMap<java.lang.Integer,SortedCopyOnWriteArray<com.comphenix.protocol.injector.ConcurrentListenerMultimap.PrioritizedListener>> listeners
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ConcurrentListenerMultimap

        +
        public ConcurrentListenerMultimap()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        addListener

        +
        public void addListener(PacketListener listener,
        +               ListeningWhitelist whitelist)
        +
        Adds a listener to its requested list of packet recievers.
        +
        Parameters:
        listener - - listener with a list of packets to recieve notifcations for.
        whitelist - - the packet whitelist to use.
        +
      • +
      + + + +
        +
      • +

        removeListener

        +
        public java.util.List<java.lang.Integer> removeListener(PacketListener listener,
        +                                               ListeningWhitelist whitelist)
        +
        Removes the given listener from the packet event list.
        +
        Parameters:
        listener - - listener to remove.
        whitelist - - the packet whitelist that was used.
        +
        Returns:
        Every packet ID that was removed due to no listeners.
        +
      • +
      + + + +
        +
      • +

        invokePacketRecieving

        +
        public void invokePacketRecieving(java.util.logging.Logger logger,
        +                         PacketEvent event)
        +
        Invokes the given packet event for every registered listener.
        +
        Parameters:
        logger - - the logger that will be used to inform about listener exceptions.
        event - - the packet event to invoke.
        +
      • +
      + + + +
        +
      • +

        invokePacketSending

        +
        public void invokePacketSending(java.util.logging.Logger logger,
        +                       PacketEvent event)
        +
        Invokes the given packet event for every registered listener.
        +
        Parameters:
        logger - - the logger that will be used to inform about listener exceptions.
        event - - the packet event to invoke.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/injector/NetworkFieldInjector.FakePacket.html b/Javadoc/com/comphenix/protocol/injector/NetworkFieldInjector.FakePacket.html new file mode 100644 index 00000000..b9bdfafd --- /dev/null +++ b/Javadoc/com/comphenix/protocol/injector/NetworkFieldInjector.FakePacket.html @@ -0,0 +1,165 @@ + + + + + +NetworkFieldInjector.FakePacket + + + + + + + +
+ + + + + +
+ + + +
+
com.comphenix.protocol.injector
+

Interface NetworkFieldInjector.FakePacket

+
+
+
+
    +
  • +
    +
    Enclosing class:
    +
    NetworkFieldInjector
    +
    +
    +
    +
    public static interface NetworkFieldInjector.FakePacket
    +
    Marker interface that indicates a packet is fake and should not be processed.
    +
    Author:
    +
    Kristian
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/injector/NetworkFieldInjector.html b/Javadoc/com/comphenix/protocol/injector/NetworkFieldInjector.html new file mode 100644 index 00000000..bc781cf0 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/injector/NetworkFieldInjector.html @@ -0,0 +1,602 @@ + + + + + +NetworkFieldInjector + + + + + + + +
+ + + + + +
+ + + +
+
com.comphenix.protocol.injector
+

Class NetworkFieldInjector

+
+
+ +
+
    +
  • +
    +
    +
    public class NetworkFieldInjector
    +extends java.lang.Object
    +
    Injection hook that overrides the packet queue lists in NetworkHandler.
    +
    Author:
    +
    Kristian
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Nested Class Summary

      + + + + + + + + + + +
      Nested Classes 
      Modifier and TypeClass and Description
      static interface NetworkFieldInjector.FakePacket +
      Marker interface that indicates a packet is fake and should not be processed.
      +
      +
    • +
    + + + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      NetworkFieldInjector(org.bukkit.entity.Player player, + PacketFilterManager manager, + java.util.Set<java.lang.Integer> sendingFilters) 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      voidcleanupAll() +
      Remove all hooks and modifications.
      +
      java.io.DataInputStreamgetInputStream(boolean cache) +
      Retrieve the current player's input stream.
      +
      protected voidinitialize() 
      voidinjectManager() +
      Inject a hook to catch packets sent to the current player.
      +
      voidprocessPacket(net.minecraft.server.Packet packet) +
      Processes the given packet as if it was transmitted by the current player.
      +
      voidsendServerPacket(net.minecraft.server.Packet packet, + boolean filtered) +
      Send a packet to the client.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        serverHandlerField

        +
        protected static java.lang.reflect.Field serverHandlerField
        +
      • +
      + + + +
        +
      • +

        networkManagerField

        +
        protected static java.lang.reflect.Field networkManagerField
        +
      • +
      + + + +
        +
      • +

        inputField

        +
        protected static java.lang.reflect.Field inputField
        +
      • +
      + + + +
        +
      • +

        netHandlerField

        +
        protected static java.lang.reflect.Field netHandlerField
        +
      • +
      + + + +
        +
      • +

        networkModifier

        +
        protected static StructureModifier<java.lang.Object> networkModifier
        +
      • +
      + + + +
        +
      • +

        queueMethod

        +
        protected static java.lang.reflect.Method queueMethod
        +
      • +
      + + + +
        +
      • +

        processMethod

        +
        protected static java.lang.reflect.Method processMethod
        +
      • +
      + + + +
        +
      • +

        player

        +
        protected org.bukkit.entity.Player player
        +
      • +
      + + + +
        +
      • +

        hasInitialized

        +
        protected boolean hasInitialized
        +
      • +
      + + + +
        +
      • +

        networkManagerRef

        +
        protected VolatileField networkManagerRef
        +
      • +
      + + + +
        +
      • +

        networkManager

        +
        protected java.lang.Object networkManager
        +
      • +
      + + + +
        +
      • +

        netHandler

        +
        protected java.lang.Object netHandler
        +
      • +
      + + + + + + + +
        +
      • +

        sendingFilters

        +
        protected java.util.Set<java.lang.Integer> sendingFilters
        +
      • +
      + + + +
        +
      • +

        cachedInput

        +
        protected java.io.DataInputStream cachedInput
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        NetworkFieldInjector

        +
        public NetworkFieldInjector(org.bukkit.entity.Player player,
        +                    PacketFilterManager manager,
        +                    java.util.Set<java.lang.Integer> sendingFilters)
        +                     throws java.lang.IllegalAccessException
        +
        Throws:
        +
        java.lang.IllegalAccessException
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        initialize

        +
        protected void initialize()
        +                   throws java.lang.IllegalAccessException
        +
        Throws:
        +
        java.lang.IllegalAccessException
        +
      • +
      + + + +
        +
      • +

        sendServerPacket

        +
        public void sendServerPacket(net.minecraft.server.Packet packet,
        +                    boolean filtered)
        +                      throws java.lang.reflect.InvocationTargetException
        +
        Send a packet to the client.
        +
        Parameters:
        packet - - server packet to send.
        filtered - - whether or not the packet will be filtered by our listeners.
        +
        Throws:
        +
        java.lang.reflect.InvocationTargetException
        +
      • +
      + + + +
        +
      • +

        injectManager

        +
        public void injectManager()
        +
        Inject a hook to catch packets sent to the current player.
        +
      • +
      + + + +
        +
      • +

        cleanupAll

        +
        public void cleanupAll()
        +
        Remove all hooks and modifications.
        +
      • +
      + + + +
        +
      • +

        processPacket

        +
        public void processPacket(net.minecraft.server.Packet packet)
        +                   throws java.lang.IllegalAccessException,
        +                          java.lang.reflect.InvocationTargetException
        +
        Processes the given packet as if it was transmitted by the current player.
        +
        Parameters:
        packet - - packet to process.
        +
        Throws:
        +
        java.lang.IllegalAccessException - If the reflection machinery failed.
        +
        java.lang.reflect.InvocationTargetException - If the underlying method caused an error.
        +
      • +
      + + + +
        +
      • +

        getInputStream

        +
        public java.io.DataInputStream getInputStream(boolean cache)
        +
        Retrieve the current player's input stream.
        +
        Parameters:
        cache - - whether or not to cache the result of this method.
        +
        Returns:
        The player's input stream.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/injector/NetworkObjectInjector.html b/Javadoc/com/comphenix/protocol/injector/NetworkObjectInjector.html new file mode 100644 index 00000000..4740aa2c --- /dev/null +++ b/Javadoc/com/comphenix/protocol/injector/NetworkObjectInjector.html @@ -0,0 +1,581 @@ + + + + + +NetworkObjectInjector + + + + + + + +
+ + + + + +
+ + + +
+
com.comphenix.protocol.injector
+

Class NetworkObjectInjector

+
+
+ +
+
    +
  • +
    +
    +
    public class NetworkObjectInjector
    +extends java.lang.Object
    +
    Injection method that overrides the NetworkHandler itself, and it's sendPacket-method.
    +
    Author:
    +
    Kristian
    +
  • +
+
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      NetworkObjectInjector(org.bukkit.entity.Player player, + PacketFilterManager manager, + java.util.Set<java.lang.Integer> sendingFilters) 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      voidcleanupAll() +
      Remove all hooks and modifications.
      +
      java.io.DataInputStreamgetInputStream(boolean cache) +
      Retrieve the current player's input stream.
      +
      protected voidinitialize() 
      voidinjectManager() +
      Inject a hook to catch packets sent to the current player.
      +
      voidprocessPacket(net.minecraft.server.Packet packet) +
      Processes the given packet as if it was transmitted by the current player.
      +
      voidsendServerPacket(net.minecraft.server.Packet packet, + boolean filtered) +
      Send a packet to the client.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        serverHandlerField

        +
        protected static java.lang.reflect.Field serverHandlerField
        +
      • +
      + + + +
        +
      • +

        networkManagerField

        +
        protected static java.lang.reflect.Field networkManagerField
        +
      • +
      + + + +
        +
      • +

        inputField

        +
        protected static java.lang.reflect.Field inputField
        +
      • +
      + + + +
        +
      • +

        netHandlerField

        +
        protected static java.lang.reflect.Field netHandlerField
        +
      • +
      + + + +
        +
      • +

        networkModifier

        +
        protected static StructureModifier<java.lang.Object> networkModifier
        +
      • +
      + + + +
        +
      • +

        queueMethod

        +
        protected static java.lang.reflect.Method queueMethod
        +
      • +
      + + + +
        +
      • +

        processMethod

        +
        protected static java.lang.reflect.Method processMethod
        +
      • +
      + + + +
        +
      • +

        player

        +
        protected org.bukkit.entity.Player player
        +
      • +
      + + + +
        +
      • +

        hasInitialized

        +
        protected boolean hasInitialized
        +
      • +
      + + + +
        +
      • +

        networkManagerRef

        +
        protected VolatileField networkManagerRef
        +
      • +
      + + + +
        +
      • +

        networkManager

        +
        protected java.lang.Object networkManager
        +
      • +
      + + + +
        +
      • +

        netHandler

        +
        protected java.lang.Object netHandler
        +
      • +
      + + + + + + + +
        +
      • +

        sendingFilters

        +
        protected java.util.Set<java.lang.Integer> sendingFilters
        +
      • +
      + + + +
        +
      • +

        cachedInput

        +
        protected java.io.DataInputStream cachedInput
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        NetworkObjectInjector

        +
        public NetworkObjectInjector(org.bukkit.entity.Player player,
        +                     PacketFilterManager manager,
        +                     java.util.Set<java.lang.Integer> sendingFilters)
        +                      throws java.lang.IllegalAccessException
        +
        Throws:
        +
        java.lang.IllegalAccessException
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        sendServerPacket

        +
        public void sendServerPacket(net.minecraft.server.Packet packet,
        +                    boolean filtered)
        +                      throws java.lang.reflect.InvocationTargetException
        +
        Send a packet to the client.
        +
        Parameters:
        packet - - server packet to send.
        filtered - - whether or not the packet will be filtered by our listeners.
        +
        Throws:
        +
        java.lang.reflect.InvocationTargetException
        +
      • +
      + + + +
        +
      • +

        injectManager

        +
        public void injectManager()
        +
        Inject a hook to catch packets sent to the current player.
        +
      • +
      + + + +
        +
      • +

        cleanupAll

        +
        public void cleanupAll()
        +
        Remove all hooks and modifications.
        +
      • +
      + + + +
        +
      • +

        initialize

        +
        protected void initialize()
        +                   throws java.lang.IllegalAccessException
        +
        Throws:
        +
        java.lang.IllegalAccessException
        +
      • +
      + + + +
        +
      • +

        processPacket

        +
        public void processPacket(net.minecraft.server.Packet packet)
        +                   throws java.lang.IllegalAccessException,
        +                          java.lang.reflect.InvocationTargetException
        +
        Processes the given packet as if it was transmitted by the current player.
        +
        Parameters:
        packet - - packet to process.
        +
        Throws:
        +
        java.lang.IllegalAccessException - If the reflection machinery failed.
        +
        java.lang.reflect.InvocationTargetException - If the underlying method caused an error.
        +
      • +
      + + + +
        +
      • +

        getInputStream

        +
        public java.io.DataInputStream getInputStream(boolean cache)
        +
        Retrieve the current player's input stream.
        +
        Parameters:
        cache - - whether or not to cache the result of this method.
        +
        Returns:
        The player's input stream.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/injector/PacketConstructor.BukkitUnwrapper.html b/Javadoc/com/comphenix/protocol/injector/PacketConstructor.BukkitUnwrapper.html new file mode 100644 index 00000000..0449b50c --- /dev/null +++ b/Javadoc/com/comphenix/protocol/injector/PacketConstructor.BukkitUnwrapper.html @@ -0,0 +1,286 @@ + + + + + +PacketConstructor.BukkitUnwrapper + + + + + + + +
+ + + + + +
+ + + +
+
com.comphenix.protocol.injector
+

Class PacketConstructor.BukkitUnwrapper

+
+
+ +
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      java.lang.ObjectunwrapItem(java.lang.Object wrappedObject) 
      java.lang.Class<?>unwrapType(java.lang.Class<?> type) 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PacketConstructor.BukkitUnwrapper

        +
        public PacketConstructor.BukkitUnwrapper()
        +
      • +
      +
    • +
    + + +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/injector/PacketConstructor.Unwrapper.html b/Javadoc/com/comphenix/protocol/injector/PacketConstructor.Unwrapper.html new file mode 100644 index 00000000..83c8804a --- /dev/null +++ b/Javadoc/com/comphenix/protocol/injector/PacketConstructor.Unwrapper.html @@ -0,0 +1,227 @@ + + + + + +PacketConstructor.Unwrapper + + + + + + + +
+ + + + + +
+ + + +
+
com.comphenix.protocol.injector
+

Interface PacketConstructor.Unwrapper

+
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      java.lang.ObjectunwrapItem(java.lang.Object wrappedObject) 
      java.lang.Class<?>unwrapType(java.lang.Class<?> type) 
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        unwrapItem

        +
        java.lang.Object unwrapItem(java.lang.Object wrappedObject)
        +
      • +
      + + + +
        +
      • +

        unwrapType

        +
        java.lang.Class<?> unwrapType(java.lang.Class<?> type)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/injector/PacketConstructor.html b/Javadoc/com/comphenix/protocol/injector/PacketConstructor.html new file mode 100644 index 00000000..ba2a167f --- /dev/null +++ b/Javadoc/com/comphenix/protocol/injector/PacketConstructor.html @@ -0,0 +1,369 @@ + + + + + +PacketConstructor + + + + + + + +
+ + + + + +
+ + + +
+
com.comphenix.protocol.injector
+

Class PacketConstructor

+
+
+ +
+
    +
  • +
    +
    +
    public class PacketConstructor
    +extends java.lang.Object
    +
    A packet constructor that uses an internal Minecraft.
    +
    Author:
    +
    Kristian
    +
  • +
+
+
+
    +
  • + + + +
      +
    • + + +

      Field Summary

      + + + + + + + + + + +
      Fields 
      Modifier and TypeField and Description
      static PacketConstructorDEFAULT +
      A packet constructor that automatically converts Bukkit types to their NMS conterpart.
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      PacketContainercreatePacket(java.lang.Object... values) +
      Construct a packet using the special builtin Minecraft constructors.
      +
      intgetPacketID() +
      Retrieve the id of the packets this constructor creates.
      +
      com.google.common.collect.ImmutableList<PacketConstructor.Unwrapper>getUnwrappers() 
      PacketConstructorwithPacket(int id, + java.lang.Class<?>[] types) +
      Create a packet constructor that creates packets using the given types.
      +
      PacketConstructorwithUnwrappers(java.util.List<PacketConstructor.Unwrapper> unwrappers) +
      Return a copy of the current constructor with a different list of unwrappers.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        DEFAULT

        +
        public static PacketConstructor DEFAULT
        +
        A packet constructor that automatically converts Bukkit types to their NMS conterpart. +

        + Remember to call withPacket().

        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getPacketID

        +
        public int getPacketID()
        +
        Retrieve the id of the packets this constructor creates.
        +
        Returns:
        The ID of the packets this constructor will create.
        +
      • +
      + + + +
        +
      • +

        withUnwrappers

        +
        public PacketConstructor withUnwrappers(java.util.List<PacketConstructor.Unwrapper> unwrappers)
        +
        Return a copy of the current constructor with a different list of unwrappers.
        +
        Parameters:
        unwrappers - - list of unwrappers that convert Bukkit wrappers into the equivalent NMS classes.
        +
        Returns:
        A constructor with a different set of unwrappers.
        +
      • +
      + + + +
        +
      • +

        withPacket

        +
        public PacketConstructor withPacket(int id,
        +                           java.lang.Class<?>[] types)
        +
        Create a packet constructor that creates packets using the given types.
        +
        Parameters:
        id - - packet ID.
        types - - types to create.
        +
        Returns:
        A packet constructor with these types.
        +
        Throws:
        +
        java.lang.IllegalArgumentException - If no packet constructor could be created with these types.
        +
      • +
      + + + +
        +
      • +

        createPacket

        +
        public PacketContainer createPacket(java.lang.Object... values)
        +                             throws FieldAccessException
        +
        Construct a packet using the special builtin Minecraft constructors.
        +
        Parameters:
        values - - values containing Bukkit wrapped items to pass to Minecraft.
        +
        Returns:
        The created packet.
        +
        Throws:
        +
        FieldAccessException - Failure due to a security limitation.
        +
        java.lang.IllegalArgumentException - Arguments doesn't match the constructor.
        +
        java.lang.RuntimeException - Minecraft threw an exception.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/injector/PacketFilterManager.PlayerInjectHooks.html b/Javadoc/com/comphenix/protocol/injector/PacketFilterManager.PlayerInjectHooks.html new file mode 100644 index 00000000..6f338d5a --- /dev/null +++ b/Javadoc/com/comphenix/protocol/injector/PacketFilterManager.PlayerInjectHooks.html @@ -0,0 +1,334 @@ + + + + + +PacketFilterManager.PlayerInjectHooks + + + + + + + +
+ + + + + +
+ + + +
+
com.comphenix.protocol.injector
+

Enum PacketFilterManager.PlayerInjectHooks

+
+
+ +
+ +
+
+
    +
  • + +
      +
    • + + +

      Enum Constant Summary

      + + + + + + + + + + + +
      Enum Constants 
      Enum Constant and Description
      NETWORK_HANDLER_FIELDS +
      Override the packet queue lists in NetworkHandler.
      +
      NETWORK_MANAGER_OBJECT +
      Override the network handler object itself.
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      static PacketFilterManager.PlayerInjectHooksvalueOf(java.lang.String name) +
      Returns the enum constant of this type with the specified name.
      +
      static PacketFilterManager.PlayerInjectHooks[]values() +
      Returns an array containing the constants of this enum type, in +the order they are declared.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Enum

        +clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +getClass, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + + + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static PacketFilterManager.PlayerInjectHooks[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (PacketFilterManager.PlayerInjectHooks c : PacketFilterManager.PlayerInjectHooks.values())
        +    System.out.println(c);
        +
        +
        Returns:
        an array containing the constants of this enum type, in +the order they are declared
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static PacketFilterManager.PlayerInjectHooks valueOf(java.lang.String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        Parameters:
        name - the name of the enum constant to be returned.
        +
        Returns:
        the enum constant with the specified name
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if this enum type has no constant +with the specified name
        +
        java.lang.NullPointerException - if the argument is null
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/injector/PacketFilterManager.html b/Javadoc/com/comphenix/protocol/injector/PacketFilterManager.html new file mode 100644 index 00000000..310d4414 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/injector/PacketFilterManager.html @@ -0,0 +1,844 @@ + + + + + +PacketFilterManager + + + + + + + +
+ + + + + +
+ + + +
+
com.comphenix.protocol.injector
+

Class PacketFilterManager

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    ProtocolManager
    +
    +
    +
    +
    public final class PacketFilterManager
    +extends java.lang.Object
    +implements ProtocolManager
    +
  • +
+
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      PacketFilterManager(java.lang.ClassLoader classLoader, + java.util.logging.Logger logger) +
      Only create instances of this class if protocol lib is disabled.
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      voidaddPacketListener(PacketListener listener) +
      Adds a packet listener.
      +
      voidclose() 
      PacketContainercreatePacket(int id) +
      Constructs a new encapsulated Minecraft packet with the given ID.
      +
      PacketContainercreatePacket(int id, + boolean forceDefaults) +
      Constructs a new encapsulated Minecraft packet with the given ID.
      +
      PacketConstructorcreatePacketConstructor(int id, + java.lang.Object... arguments) +
      Construct a packet using the special builtin Minecraft constructors.
      +
      protected voidfinalize() 
      java.lang.ClassLoadergetClassLoader() +
      Retrieves the current plugin class loader.
      +
      java.util.logging.LoggergetLogger() 
      com.google.common.collect.ImmutableSet<PacketListener>getPacketListeners() +
      Retrieves a list of every registered packet listener.
      +
      PacketFilterManager.PlayerInjectHooksgetPlayerHook() +
      Retrieves how the server packets are read.
      +
      protected com.comphenix.protocol.injector.PlayerInjectorgetPlayerHookInstance(org.bukkit.entity.Player player) +
      Used to construct a player hook.
      +
      java.util.Set<java.lang.Integer>getReceivingFilters() +
      Retrieves a immutable set containing the ID of the recieved client packets that will be observed by listeners.
      +
      java.util.Set<java.lang.Integer>getSendingFilters() +
      Retrieves a immutable set containing the ID of the sent server packets that will be observed by listeners.
      +
      voidinitializePlayers(org.bukkit.entity.Player[] players) +
      Initialize the packet injection for every player.
      +
      protected voidinjectPlayer(org.bukkit.entity.Player player) +
      Initialize a player hook, allowing us to read server packets.
      +
      voidinvokePacketRecieving(PacketEvent event) +
      Invokes the given packet event for every registered listener.
      +
      voidinvokePacketSending(PacketEvent event) +
      Invokes the given packet event for every registered listener.
      +
      booleanisClosed() +
      Determines whether or not this protocol mananger has been disabled.
      +
      voidrecieveClientPacket(org.bukkit.entity.Player sender, + PacketContainer packet) +
      Simulate recieving a certain packet from a given player.
      +
      voidrecieveClientPacket(org.bukkit.entity.Player sender, + PacketContainer packet, + boolean filters) +
      Simulate recieving a certain packet from a given player.
      +
      voidregisterEvents(org.bukkit.plugin.PluginManager manager, + org.bukkit.plugin.Plugin plugin) +
      Register this protocol manager on Bukkit.
      +
      voidremovePacketListener(PacketListener listener) +
      Removes a given packet listener.
      +
      voidremovePacketListeners(org.bukkit.plugin.Plugin plugin) +
      Removes every listener associated with the given plugin.
      +
      voidsendServerPacket(org.bukkit.entity.Player reciever, + PacketContainer packet) +
      Send a packet to the given player.
      +
      voidsendServerPacket(org.bukkit.entity.Player reciever, + PacketContainer packet, + boolean filters) +
      Send a packet to the given player.
      +
      voidsetPlayerHook(PacketFilterManager.PlayerInjectHooks playerHook) +
      Sets how the server packets are read.
      +
      voidupdateEntity(org.bukkit.entity.Entity entity, + java.util.List<org.bukkit.entity.Player> observers) +
      Completely refresh all clients about an entity.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PacketFilterManager

        +
        public PacketFilterManager(java.lang.ClassLoader classLoader,
        +                   java.util.logging.Logger logger)
        +
        Only create instances of this class if protocol lib is disabled.
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        setPlayerHook

        +
        public void setPlayerHook(PacketFilterManager.PlayerInjectHooks playerHook)
        +
        Sets how the server packets are read.
        +
        Parameters:
        playerHook - - the new injection method for reading server packets.
        +
      • +
      + + + +
        +
      • +

        getLogger

        +
        public java.util.logging.Logger getLogger()
        +
      • +
      + + + +
        +
      • +

        getPacketListeners

        +
        public com.google.common.collect.ImmutableSet<PacketListener> getPacketListeners()
        +
        Description copied from interface: ProtocolManager
        +
        Retrieves a list of every registered packet listener.
        +
        +
        Specified by:
        +
        getPacketListeners in interface ProtocolManager
        +
        Returns:
        Every registered packet listener.
        +
      • +
      + + + +
        +
      • +

        addPacketListener

        +
        public void addPacketListener(PacketListener listener)
        +
        Description copied from interface: ProtocolManager
        +
        Adds a packet listener. +

        + Adding an already registered listener has no effect. If you need to change the packets + the current listener is observing, you must first remove the packet listener before you + can register it again.

        +
        +
        Specified by:
        +
        addPacketListener in interface ProtocolManager
        +
        Parameters:
        listener - - new packet listener.
        +
      • +
      + + + +
        +
      • +

        removePacketListener

        +
        public void removePacketListener(PacketListener listener)
        +
        Description copied from interface: ProtocolManager
        +
        Removes a given packet listener. +

        + Attempting to remove a listener that doesn't exist has no effect.

        +
        +
        Specified by:
        +
        removePacketListener in interface ProtocolManager
        +
        Parameters:
        listener - - the packet listener to remove.
        +
      • +
      + + + +
        +
      • +

        removePacketListeners

        +
        public void removePacketListeners(org.bukkit.plugin.Plugin plugin)
        +
        Description copied from interface: ProtocolManager
        +
        Removes every listener associated with the given plugin.
        +
        +
        Specified by:
        +
        removePacketListeners in interface ProtocolManager
        +
        Parameters:
        plugin - - the plugin to unload.
        +
      • +
      + + + +
        +
      • +

        invokePacketRecieving

        +
        public void invokePacketRecieving(PacketEvent event)
        +
        Invokes the given packet event for every registered listener.
        +
        Parameters:
        event - - the packet event to invoke.
        +
      • +
      + + + +
        +
      • +

        invokePacketSending

        +
        public void invokePacketSending(PacketEvent event)
        +
        Invokes the given packet event for every registered listener.
        +
        Parameters:
        event - - the packet event to invoke.
        +
      • +
      + + + +
        +
      • +

        sendServerPacket

        +
        public void sendServerPacket(org.bukkit.entity.Player reciever,
        +                    PacketContainer packet)
        +                      throws java.lang.reflect.InvocationTargetException
        +
        Description copied from interface: ProtocolManager
        +
        Send a packet to the given player.
        +
        +
        Specified by:
        +
        sendServerPacket in interface ProtocolManager
        +
        Parameters:
        reciever - - the reciever.
        packet - - packet to send.
        +
        Throws:
        +
        java.lang.reflect.InvocationTargetException - - if an error occured when sending the packet.
        +
      • +
      + + + +
        +
      • +

        sendServerPacket

        +
        public void sendServerPacket(org.bukkit.entity.Player reciever,
        +                    PacketContainer packet,
        +                    boolean filters)
        +                      throws java.lang.reflect.InvocationTargetException
        +
        Description copied from interface: ProtocolManager
        +
        Send a packet to the given player.
        +
        +
        Specified by:
        +
        sendServerPacket in interface ProtocolManager
        +
        Parameters:
        reciever - - the reciever.
        packet - - packet to send.
        filters - - whether or not to invoke any packet filters.
        +
        Throws:
        +
        java.lang.reflect.InvocationTargetException - - if an error occured when sending the packet.
        +
      • +
      + + + +
        +
      • +

        recieveClientPacket

        +
        public void recieveClientPacket(org.bukkit.entity.Player sender,
        +                       PacketContainer packet)
        +                         throws java.lang.IllegalAccessException,
        +                                java.lang.reflect.InvocationTargetException
        +
        Description copied from interface: ProtocolManager
        +
        Simulate recieving a certain packet from a given player.
        +
        +
        Specified by:
        +
        recieveClientPacket in interface ProtocolManager
        +
        Parameters:
        sender - - the sender.
        packet - - the packet that was sent.
        +
        Throws:
        +
        java.lang.IllegalAccessException - If the underlying method caused an error.
        +
        java.lang.reflect.InvocationTargetException - If the reflection machinery failed.
        +
      • +
      + + + +
        +
      • +

        recieveClientPacket

        +
        public void recieveClientPacket(org.bukkit.entity.Player sender,
        +                       PacketContainer packet,
        +                       boolean filters)
        +                         throws java.lang.IllegalAccessException,
        +                                java.lang.reflect.InvocationTargetException
        +
        Description copied from interface: ProtocolManager
        +
        Simulate recieving a certain packet from a given player.
        +
        +
        Specified by:
        +
        recieveClientPacket in interface ProtocolManager
        +
        Parameters:
        sender - - the sender.
        packet - - the packet that was sent.
        filters - - whether or not to invoke any packet filters.
        +
        Throws:
        +
        java.lang.IllegalAccessException - If the underlying method caused an error.
        +
        java.lang.reflect.InvocationTargetException - If the reflection machinery failed.
        +
      • +
      + + + +
        +
      • +

        createPacket

        +
        public PacketContainer createPacket(int id)
        +
        Description copied from interface: ProtocolManager
        +
        Constructs a new encapsulated Minecraft packet with the given ID.
        +
        +
        Specified by:
        +
        createPacket in interface ProtocolManager
        +
        Parameters:
        id - - packet ID.
        +
        Returns:
        New encapsulated Minecraft packet.
        +
      • +
      + + + +
        +
      • +

        createPacket

        +
        public PacketContainer createPacket(int id,
        +                           boolean forceDefaults)
        +
        Description copied from interface: ProtocolManager
        +
        Constructs a new encapsulated Minecraft packet with the given ID. +

        + If set to true, the forceDefaults option will force the system to automatically + give non-primitive fields in the packet sensible default values. For instance, certain + packets - like Packet60Explosion - require a List or Set to be non-null. If the + forceDefaults option is true, the List or Set will be automatically created.

        +
        +
        Specified by:
        +
        createPacket in interface ProtocolManager
        +
        Parameters:
        id - - packet ID.
        forceDefaults - - TRUE to use sensible defaults in most fields, FALSE otherwise.
        +
        Returns:
        New encapsulated Minecraft packet.
        +
      • +
      + + + +
        +
      • +

        createPacketConstructor

        +
        public PacketConstructor createPacketConstructor(int id,
        +                                        java.lang.Object... arguments)
        +
        Description copied from interface: ProtocolManager
        +
        Construct a packet using the special builtin Minecraft constructors.
        +
        +
        Specified by:
        +
        createPacketConstructor in interface ProtocolManager
        +
        Parameters:
        id - - the packet ID.
        arguments - - arguments that will be passed to the constructor.
        +
        Returns:
        The packet constructor.
        +
      • +
      + + + +
        +
      • +

        getSendingFilters

        +
        public java.util.Set<java.lang.Integer> getSendingFilters()
        +
        Description copied from interface: ProtocolManager
        +
        Retrieves a immutable set containing the ID of the sent server packets that will be observed by listeners.
        +
        +
        Specified by:
        +
        getSendingFilters in interface ProtocolManager
        +
        Returns:
        Every filtered server packet.
        +
      • +
      + + + +
        +
      • +

        getReceivingFilters

        +
        public java.util.Set<java.lang.Integer> getReceivingFilters()
        +
        Description copied from interface: ProtocolManager
        +
        Retrieves a immutable set containing the ID of the recieved client packets that will be observed by listeners.
        +
        +
        Specified by:
        +
        getReceivingFilters in interface ProtocolManager
        +
        Returns:
        Every filtered client packet.
        +
      • +
      + + + +
        +
      • +

        updateEntity

        +
        public void updateEntity(org.bukkit.entity.Entity entity,
        +                java.util.List<org.bukkit.entity.Player> observers)
        +                  throws FieldAccessException
        +
        Description copied from interface: ProtocolManager
        +
        Completely refresh all clients about an entity.
        +
        +
        Specified by:
        +
        updateEntity in interface ProtocolManager
        +
        Parameters:
        entity - - entity to refresh.
        observers - - the clients to update.
        +
        Throws:
        +
        FieldAccessException
        +
      • +
      + + + +
        +
      • +

        initializePlayers

        +
        public void initializePlayers(org.bukkit.entity.Player[] players)
        +
        Initialize the packet injection for every player.
        +
        Parameters:
        players - - list of players to inject.
        +
      • +
      + + + +
        +
      • +

        getPlayerHookInstance

        +
        protected com.comphenix.protocol.injector.PlayerInjector getPlayerHookInstance(org.bukkit.entity.Player player)
        +                                                                        throws java.lang.IllegalAccessException
        +
        Used to construct a player hook.
        +
        Parameters:
        player - - the player to hook.
        +
        Returns:
        A new player hoook
        +
        Throws:
        +
        java.lang.IllegalAccessException - Unable to do our reflection magic.
        +
      • +
      + + + +
        +
      • +

        injectPlayer

        +
        protected void injectPlayer(org.bukkit.entity.Player player)
        +
        Initialize a player hook, allowing us to read server packets.
        +
        Parameters:
        player - - player to hook.
        +
      • +
      + + + +
        +
      • +

        registerEvents

        +
        public void registerEvents(org.bukkit.plugin.PluginManager manager,
        +                  org.bukkit.plugin.Plugin plugin)
        +
        Register this protocol manager on Bukkit.
        +
        Parameters:
        manager - - Bukkit plugin manager that provides player join/leave events.
        plugin - - the parent plugin.
        +
      • +
      + + + +
        +
      • +

        getClassLoader

        +
        public java.lang.ClassLoader getClassLoader()
        +
        Retrieves the current plugin class loader.
        +
        Returns:
        Class loader.
        +
      • +
      + + + +
        +
      • +

        isClosed

        +
        public boolean isClosed()
        +
        Description copied from interface: ProtocolManager
        +
        Determines whether or not this protocol mananger has been disabled.
        +
        +
        Specified by:
        +
        isClosed in interface ProtocolManager
        +
        Returns:
        TRUE if it has, FALSE otherwise.
        +
      • +
      + + + +
        +
      • +

        close

        +
        public void close()
        +
      • +
      + + + +
        +
      • +

        finalize

        +
        protected void finalize()
        +                 throws java.lang.Throwable
        +
        +
        Overrides:
        +
        finalize in class java.lang.Object
        +
        Throws:
        +
        java.lang.Throwable
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/injector/SortedCopyOnWriteArrayTest.html b/Javadoc/com/comphenix/protocol/injector/SortedCopyOnWriteArrayTest.html new file mode 100644 index 00000000..4894dd5c --- /dev/null +++ b/Javadoc/com/comphenix/protocol/injector/SortedCopyOnWriteArrayTest.html @@ -0,0 +1,269 @@ + + + + + +SortedCopyOnWriteArrayTest + + + + + + + +
+ + + + + +
+ + + +
+
com.comphenix.protocol.injector
+

Class SortedCopyOnWriteArrayTest

+
+
+ +
+
    +
  • +
    +
    +
    public class SortedCopyOnWriteArrayTest
    +extends java.lang.Object
    +
  • +
+
+
+
    +
  • + + + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      voidtestInsertion() 
      voidtestOrder() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        SortedCopyOnWriteArrayTest

        +
        public SortedCopyOnWriteArrayTest()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        testInsertion

        +
        public void testInsertion()
        +
      • +
      + + + +
        +
      • +

        testOrder

        +
        public void testOrder()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/injector/StructureCache.html b/Javadoc/com/comphenix/protocol/injector/StructureCache.html new file mode 100644 index 00000000..03fe62af --- /dev/null +++ b/Javadoc/com/comphenix/protocol/injector/StructureCache.html @@ -0,0 +1,282 @@ + + + + + +StructureCache + + + + + + + +
+ + + + + +
+ + + +
+
com.comphenix.protocol.injector
+

Class StructureCache

+
+
+ +
+
    +
  • +
    +
    +
    public class StructureCache
    +extends java.lang.Object
    +
    Caches structure modifiers.
    +
    Author:
    +
    Kristian
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      StructureCache() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      static StructureModifier<java.lang.Object>getStructure(int id) +
      Retrieve a cached structure modifier for the given packet id.
      +
      static net.minecraft.server.PacketnewPacket(int id) +
      Creates an empty Minecraft packet of the given ID.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        StructureCache

        +
        public StructureCache()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        newPacket

        +
        public static net.minecraft.server.Packet newPacket(int id)
        +
        Creates an empty Minecraft packet of the given ID.
        +
        Parameters:
        id - - packet ID.
        +
        Returns:
        Created packet.
        +
      • +
      + + + +
        +
      • +

        getStructure

        +
        public static StructureModifier<java.lang.Object> getStructure(int id)
        +
        Retrieve a cached structure modifier for the given packet id.
        +
        Parameters:
        id - - packet ID.
        +
        Returns:
        A structure modifier.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/ConcurrentListenerMultimap.html b/Javadoc/com/comphenix/protocol/injector/class-use/ConcurrentListenerMultimap.html new file mode 100644 index 00000000..a516d62f --- /dev/null +++ b/Javadoc/com/comphenix/protocol/injector/class-use/ConcurrentListenerMultimap.html @@ -0,0 +1,115 @@ + + + + + +Uses of Class com.comphenix.protocol.injector.ConcurrentListenerMultimap + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.comphenix.protocol.injector.ConcurrentListenerMultimap

+
+
No usage of com.comphenix.protocol.injector.ConcurrentListenerMultimap
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/NetworkFieldInjector.FakePacket.html b/Javadoc/com/comphenix/protocol/injector/class-use/NetworkFieldInjector.FakePacket.html new file mode 100644 index 00000000..e70e581b --- /dev/null +++ b/Javadoc/com/comphenix/protocol/injector/class-use/NetworkFieldInjector.FakePacket.html @@ -0,0 +1,115 @@ + + + + + +Uses of Interface com.comphenix.protocol.injector.NetworkFieldInjector.FakePacket + + + + + + + +
+ + + + + +
+ + +
+

Uses of Interface
com.comphenix.protocol.injector.NetworkFieldInjector.FakePacket

+
+
No usage of com.comphenix.protocol.injector.NetworkFieldInjector.FakePacket
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/NetworkFieldInjector.html b/Javadoc/com/comphenix/protocol/injector/class-use/NetworkFieldInjector.html new file mode 100644 index 00000000..69b7c1a0 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/injector/class-use/NetworkFieldInjector.html @@ -0,0 +1,115 @@ + + + + + +Uses of Class com.comphenix.protocol.injector.NetworkFieldInjector + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.comphenix.protocol.injector.NetworkFieldInjector

+
+
No usage of com.comphenix.protocol.injector.NetworkFieldInjector
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/NetworkObjectInjector.html b/Javadoc/com/comphenix/protocol/injector/class-use/NetworkObjectInjector.html new file mode 100644 index 00000000..40ea51e7 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/injector/class-use/NetworkObjectInjector.html @@ -0,0 +1,115 @@ + + + + + +Uses of Class com.comphenix.protocol.injector.NetworkObjectInjector + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.comphenix.protocol.injector.NetworkObjectInjector

+
+
No usage of com.comphenix.protocol.injector.NetworkObjectInjector
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/PacketConstructor.BukkitUnwrapper.html b/Javadoc/com/comphenix/protocol/injector/class-use/PacketConstructor.BukkitUnwrapper.html new file mode 100644 index 00000000..3937f137 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/injector/class-use/PacketConstructor.BukkitUnwrapper.html @@ -0,0 +1,115 @@ + + + + + +Uses of Class com.comphenix.protocol.injector.PacketConstructor.BukkitUnwrapper + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.comphenix.protocol.injector.PacketConstructor.BukkitUnwrapper

+
+
No usage of com.comphenix.protocol.injector.PacketConstructor.BukkitUnwrapper
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/PacketConstructor.Unwrapper.html b/Javadoc/com/comphenix/protocol/injector/class-use/PacketConstructor.Unwrapper.html new file mode 100644 index 00000000..b5ee73ed --- /dev/null +++ b/Javadoc/com/comphenix/protocol/injector/class-use/PacketConstructor.Unwrapper.html @@ -0,0 +1,183 @@ + + + + + +Uses of Interface com.comphenix.protocol.injector.PacketConstructor.Unwrapper + + + + + + + +
+ + + + + +
+ + +
+

Uses of Interface
com.comphenix.protocol.injector.PacketConstructor.Unwrapper

+
+
+ +
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/PacketConstructor.html b/Javadoc/com/comphenix/protocol/injector/class-use/PacketConstructor.html new file mode 100644 index 00000000..8a42e4eb --- /dev/null +++ b/Javadoc/com/comphenix/protocol/injector/class-use/PacketConstructor.html @@ -0,0 +1,209 @@ + + + + + +Uses of Class com.comphenix.protocol.injector.PacketConstructor + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.comphenix.protocol.injector.PacketConstructor

+
+
+ +
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/PacketFilterManager.PlayerInjectHooks.html b/Javadoc/com/comphenix/protocol/injector/class-use/PacketFilterManager.PlayerInjectHooks.html new file mode 100644 index 00000000..6fede28b --- /dev/null +++ b/Javadoc/com/comphenix/protocol/injector/class-use/PacketFilterManager.PlayerInjectHooks.html @@ -0,0 +1,185 @@ + + + + + +Uses of Class com.comphenix.protocol.injector.PacketFilterManager.PlayerInjectHooks + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.comphenix.protocol.injector.PacketFilterManager.PlayerInjectHooks

+
+
+ +
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/PacketFilterManager.html b/Javadoc/com/comphenix/protocol/injector/class-use/PacketFilterManager.html new file mode 100644 index 00000000..a18817e1 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/injector/class-use/PacketFilterManager.html @@ -0,0 +1,115 @@ + + + + + +Uses of Class com.comphenix.protocol.injector.PacketFilterManager + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.comphenix.protocol.injector.PacketFilterManager

+
+
No usage of com.comphenix.protocol.injector.PacketFilterManager
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/SortedCopyOnWriteArrayTest.html b/Javadoc/com/comphenix/protocol/injector/class-use/SortedCopyOnWriteArrayTest.html new file mode 100644 index 00000000..5069c3d8 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/injector/class-use/SortedCopyOnWriteArrayTest.html @@ -0,0 +1,115 @@ + + + + + +Uses of Class com.comphenix.protocol.injector.SortedCopyOnWriteArrayTest + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.comphenix.protocol.injector.SortedCopyOnWriteArrayTest

+
+
No usage of com.comphenix.protocol.injector.SortedCopyOnWriteArrayTest
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/StructureCache.html b/Javadoc/com/comphenix/protocol/injector/class-use/StructureCache.html new file mode 100644 index 00000000..a39c58c3 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/injector/class-use/StructureCache.html @@ -0,0 +1,115 @@ + + + + + +Uses of Class com.comphenix.protocol.injector.StructureCache + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.comphenix.protocol.injector.StructureCache

+
+
No usage of com.comphenix.protocol.injector.StructureCache
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/injector/package-frame.html b/Javadoc/com/comphenix/protocol/injector/package-frame.html new file mode 100644 index 00000000..77e84b08 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/injector/package-frame.html @@ -0,0 +1,32 @@ + + + + + +com.comphenix.protocol.injector + + + + +

com.comphenix.protocol.injector

+
+

Interfaces

+ +

Classes

+ +

Enums

+ +
+ + diff --git a/Javadoc/com/comphenix/protocol/injector/package-summary.html b/Javadoc/com/comphenix/protocol/injector/package-summary.html new file mode 100644 index 00000000..d670fc97 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/injector/package-summary.html @@ -0,0 +1,191 @@ + + + + + +com.comphenix.protocol.injector + + + + + + + +
+ + + + + +
+ + +
+

Package com.comphenix.protocol.injector

+
+
+ +
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/injector/package-tree.html b/Javadoc/com/comphenix/protocol/injector/package-tree.html new file mode 100644 index 00000000..ba1cc7e2 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/injector/package-tree.html @@ -0,0 +1,149 @@ + + + + + +com.comphenix.protocol.injector Class Hierarchy + + + + + + + +
+ + + + + +
+ + +
+

Hierarchy For Package com.comphenix.protocol.injector

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +

Enum Hierarchy

+ +
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/injector/package-use.html b/Javadoc/com/comphenix/protocol/injector/package-use.html new file mode 100644 index 00000000..9dd5360f --- /dev/null +++ b/Javadoc/com/comphenix/protocol/injector/package-use.html @@ -0,0 +1,179 @@ + + + + + +Uses of Package com.comphenix.protocol.injector + + + + + + + +
+ + + + + +
+ + +
+

Uses of Package
com.comphenix.protocol.injector

+
+
+ +
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/metrics/Statistics.html b/Javadoc/com/comphenix/protocol/metrics/Statistics.html new file mode 100644 index 00000000..e1f3debc --- /dev/null +++ b/Javadoc/com/comphenix/protocol/metrics/Statistics.html @@ -0,0 +1,231 @@ + + + + + +Statistics + + + + + + + +
+ + + + + +
+ + + +
+
com.comphenix.protocol.metrics
+

Class Statistics

+
+
+ +
+
    +
  • +
    +
    +
    public class Statistics
    +extends java.lang.Object
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      Statistics(org.bukkit.plugin.Plugin plugin) 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Statistics

        +
        public Statistics(org.bukkit.plugin.Plugin plugin)
        +           throws java.io.IOException
        +
        Throws:
        +
        java.io.IOException
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/metrics/class-use/Statistics.html b/Javadoc/com/comphenix/protocol/metrics/class-use/Statistics.html new file mode 100644 index 00000000..6d7e354d --- /dev/null +++ b/Javadoc/com/comphenix/protocol/metrics/class-use/Statistics.html @@ -0,0 +1,157 @@ + + + + + +Uses of Class com.comphenix.protocol.metrics.Statistics + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.comphenix.protocol.metrics.Statistics

+
+
+ +
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/metrics/package-frame.html b/Javadoc/com/comphenix/protocol/metrics/package-frame.html new file mode 100644 index 00000000..389e65c9 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/metrics/package-frame.html @@ -0,0 +1,19 @@ + + + + + +com.comphenix.protocol.metrics + + + + +

com.comphenix.protocol.metrics

+
+

Classes

+ +
+ + diff --git a/Javadoc/com/comphenix/protocol/metrics/package-summary.html b/Javadoc/com/comphenix/protocol/metrics/package-summary.html new file mode 100644 index 00000000..a6c2297e --- /dev/null +++ b/Javadoc/com/comphenix/protocol/metrics/package-summary.html @@ -0,0 +1,133 @@ + + + + + +com.comphenix.protocol.metrics + + + + + + + +
+ + + + + +
+ + +
+

Package com.comphenix.protocol.metrics

+
+
+ +
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/metrics/package-tree.html b/Javadoc/com/comphenix/protocol/metrics/package-tree.html new file mode 100644 index 00000000..8eef913a --- /dev/null +++ b/Javadoc/com/comphenix/protocol/metrics/package-tree.html @@ -0,0 +1,128 @@ + + + + + +com.comphenix.protocol.metrics Class Hierarchy + + + + + + + +
+ + + + + +
+ + +
+

Hierarchy For Package com.comphenix.protocol.metrics

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/metrics/package-use.html b/Javadoc/com/comphenix/protocol/metrics/package-use.html new file mode 100644 index 00000000..ffa6ec76 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/metrics/package-use.html @@ -0,0 +1,148 @@ + + + + + +Uses of Package com.comphenix.protocol.metrics + + + + + + + +
+ + + + + +
+ + +
+

Uses of Package
com.comphenix.protocol.metrics

+
+
+ +
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/package-frame.html b/Javadoc/com/comphenix/protocol/package-frame.html new file mode 100644 index 00000000..e1c826bf --- /dev/null +++ b/Javadoc/com/comphenix/protocol/package-frame.html @@ -0,0 +1,27 @@ + + + + + +com.comphenix.protocol + + + + +

com.comphenix.protocol

+
+

Interfaces

+ +

Classes

+ +
+ + diff --git a/Javadoc/com/comphenix/protocol/package-summary.html b/Javadoc/com/comphenix/protocol/package-summary.html new file mode 100644 index 00000000..930fa1e7 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/package-summary.html @@ -0,0 +1,172 @@ + + + + + +com.comphenix.protocol + + + + + + + +
+ + + + + +
+ + +
+

Package com.comphenix.protocol

+
+
+ +
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/package-tree.html b/Javadoc/com/comphenix/protocol/package-tree.html new file mode 100644 index 00000000..716338d8 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/package-tree.html @@ -0,0 +1,148 @@ + + + + + +com.comphenix.protocol Class Hierarchy + + + + + + + +
+ + + + + +
+ + +
+

Hierarchy For Package com.comphenix.protocol

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/package-use.html b/Javadoc/com/comphenix/protocol/package-use.html new file mode 100644 index 00000000..155cc501 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/package-use.html @@ -0,0 +1,181 @@ + + + + + +Uses of Package com.comphenix.protocol + + + + + + + +
+ + + + + +
+ + +
+

Uses of Package
com.comphenix.protocol

+
+
+ +
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/EquivalentConverter.html b/Javadoc/com/comphenix/protocol/reflect/EquivalentConverter.html new file mode 100644 index 00000000..f157c675 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/reflect/EquivalentConverter.html @@ -0,0 +1,238 @@ + + + + + +EquivalentConverter + + + + + + + +
+ + + + + +
+ + + +
+
com.comphenix.protocol.reflect
+

Interface EquivalentConverter<TType>

+
+
+
+
    +
  • +
    Type Parameters:
    TType - The specific type.
    +
    +
    +
    public interface EquivalentConverter<TType>
    +
    Interface that converts generic objects into types and back.
    +
    Author:
    +
    Kristian
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getSpecific

        +
        TType getSpecific(java.lang.Object generic)
        +
      • +
      + + + + + +
        +
      • +

        getGeneric

        +
        java.lang.Object getGeneric(TType specific)
        +
      • +
      + + + +
        +
      • +

        getSpecificType

        +
        java.lang.Class<TType> getSpecificType()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/FieldAccessException.html b/Javadoc/com/comphenix/protocol/reflect/FieldAccessException.html new file mode 100644 index 00000000..8488a6fd --- /dev/null +++ b/Javadoc/com/comphenix/protocol/reflect/FieldAccessException.html @@ -0,0 +1,321 @@ + + + + + +FieldAccessException + + + + + + + +
+ + + + + +
+ + + +
+
com.comphenix.protocol.reflect
+

Class FieldAccessException

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.io.Serializable
    +
    +
    +
    +
    public class FieldAccessException
    +extends java.lang.Exception
    +
    Invoked when a field is inaccessible due to security limitations, or when it simply doesn't exist.
    +
    Author:
    +
    Kristian
    +
    See Also:
    Serialized Form
    +
  • +
+
+
+
    +
  • + + + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      static FieldAccessExceptionfromFormat(java.lang.String message, + java.lang.Object... params) 
      +
        +
      • + + +

        Methods inherited from class java.lang.Throwable

        +addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        FieldAccessException

        +
        public FieldAccessException()
        +
      • +
      + + + +
        +
      • +

        FieldAccessException

        +
        public FieldAccessException(java.lang.String message,
        +                    java.lang.Throwable cause)
        +
      • +
      + + + +
        +
      • +

        FieldAccessException

        +
        public FieldAccessException(java.lang.String message)
        +
      • +
      + + + +
        +
      • +

        FieldAccessException

        +
        public FieldAccessException(java.lang.Throwable cause)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        fromFormat

        +
        public static FieldAccessException fromFormat(java.lang.String message,
        +                              java.lang.Object... params)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/FieldUtils.html b/Javadoc/com/comphenix/protocol/reflect/FieldUtils.html new file mode 100644 index 00000000..04a8756f --- /dev/null +++ b/Javadoc/com/comphenix/protocol/reflect/FieldUtils.html @@ -0,0 +1,733 @@ + + + + + +FieldUtils + + + + + + + +
+ + + + + +
+ + + +
+
com.comphenix.protocol.reflect
+

Class FieldUtils

+
+
+ +
+
    +
  • +
    +
    +
    public class FieldUtils
    +extends java.lang.Object
    +
    Utilities for working with fields by reflection. Adapted and refactored from + the dormant [reflect] Commons sandbox component. +

    + The ability is provided to break the scoping restrictions coded by the + programmer. This can allow fields to be changed that shouldn't be. This + facility should be used with care.

    +
    Since:
    +
    2.5
    +
    Version:
    +
    $Id: FieldUtils.java 1057009 2011-01-09 19:48:06Z niallp $
    +
    Author:
    +
    Apache Software Foundation, Matt Benson
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      FieldUtils() +
      FieldUtils instances should NOT be constructed in standard programming.
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      static java.lang.reflect.FieldgetField(java.lang.Class cls, + java.lang.String fieldName) +
      Gets an accessible Field by name respecting scope.
      +
      static java.lang.reflect.FieldgetField(java.lang.Class cls, + java.lang.String fieldName, + boolean forceAccess) +
      Gets an accessible Field by name breaking scope if + requested.
      +
      static java.lang.ObjectreadField(java.lang.reflect.Field field, + java.lang.Object target) +
      Read an accessible Field.
      +
      static java.lang.ObjectreadField(java.lang.reflect.Field field, + java.lang.Object target, + boolean forceAccess) +
      Read a Field.
      +
      static java.lang.ObjectreadField(java.lang.Object target, + java.lang.String fieldName) +
      Read the named public field.
      +
      static java.lang.ObjectreadField(java.lang.Object target, + java.lang.String fieldName, + boolean forceAccess) +
      Read the named field.
      +
      static java.lang.ObjectreadStaticField(java.lang.Class cls, + java.lang.String fieldName) +
      Read the named public static field.
      +
      static java.lang.ObjectreadStaticField(java.lang.Class cls, + java.lang.String fieldName, + boolean forceAccess) +
      Read the named static field.
      +
      static java.lang.ObjectreadStaticField(java.lang.reflect.Field field) +
      Read an accessible static Field.
      +
      static java.lang.ObjectreadStaticField(java.lang.reflect.Field field, + boolean forceAccess) +
      Read a static Field.
      +
      static voidwriteField(java.lang.reflect.Field field, + java.lang.Object target, + java.lang.Object value) +
      Write an accessible field.
      +
      static voidwriteField(java.lang.reflect.Field field, + java.lang.Object target, + java.lang.Object value, + boolean forceAccess) +
      Write a field.
      +
      static voidwriteField(java.lang.Object target, + java.lang.String fieldName, + java.lang.Object value) +
      Write a public field.
      +
      static voidwriteField(java.lang.Object target, + java.lang.String fieldName, + java.lang.Object value, + boolean forceAccess) +
      Write a field.
      +
      static voidwriteStaticField(java.lang.Class cls, + java.lang.String fieldName, + java.lang.Object value) +
      Write a named public static Field.
      +
      static voidwriteStaticField(java.lang.Class cls, + java.lang.String fieldName, + java.lang.Object value, + boolean forceAccess) +
      Write a named static Field.
      +
      static voidwriteStaticField(java.lang.reflect.Field field, + java.lang.Object value) +
      Write a public static Field.
      +
      static voidwriteStaticField(java.lang.reflect.Field field, + java.lang.Object value, + boolean forceAccess) +
      Write a static Field.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        FieldUtils

        +
        public FieldUtils()
        +
        FieldUtils instances should NOT be constructed in standard programming. +

        + This constructor is public to permit tools that require a JavaBean + instance to operate.

        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getField

        +
        public static java.lang.reflect.Field getField(java.lang.Class cls,
        +                               java.lang.String fieldName)
        +
        Gets an accessible Field by name respecting scope. + Superclasses/interfaces will be considered.
        +
        Parameters:
        cls - the class to reflect, must not be null
        fieldName - the field name to obtain
        +
        Returns:
        the Field object
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if the class or field name is null
        +
      • +
      + + + +
        +
      • +

        getField

        +
        public static java.lang.reflect.Field getField(java.lang.Class cls,
        +                               java.lang.String fieldName,
        +                               boolean forceAccess)
        +
        Gets an accessible Field by name breaking scope if + requested. Superclasses/interfaces will be considered.
        +
        Parameters:
        cls - the class to reflect, must not be null
        fieldName - the field name to obtain
        forceAccess - whether to break scope restrictions using the + setAccessible method. False will + only match public fields.
        +
        Returns:
        the Field object
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if the class or field name is null
        +
      • +
      + + + +
        +
      • +

        readStaticField

        +
        public static java.lang.Object readStaticField(java.lang.reflect.Field field)
        +                                        throws java.lang.IllegalAccessException
        +
        Read an accessible static Field.
        +
        Parameters:
        field - to read
        +
        Returns:
        the field value
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if the field is null or not static
        +
        java.lang.IllegalAccessException - if the field is not accessible
        +
      • +
      + + + +
        +
      • +

        readStaticField

        +
        public static java.lang.Object readStaticField(java.lang.reflect.Field field,
        +                               boolean forceAccess)
        +                                        throws java.lang.IllegalAccessException
        +
        Read a static Field.
        +
        Parameters:
        field - to read
        forceAccess - whether to break scope restrictions using the + setAccessible method.
        +
        Returns:
        the field value
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if the field is null or not static
        +
        java.lang.IllegalAccessException - if the field is not made accessible
        +
      • +
      + + + +
        +
      • +

        readStaticField

        +
        public static java.lang.Object readStaticField(java.lang.Class cls,
        +                               java.lang.String fieldName)
        +                                        throws java.lang.IllegalAccessException
        +
        Read the named public static field. Superclasses will be considered.
        +
        Parameters:
        cls - the class to reflect, must not be null
        fieldName - the field name to obtain
        +
        Returns:
        the value of the field
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if the class or field name is null
        +
        java.lang.IllegalAccessException - if the field is not accessible
        +
      • +
      + + + +
        +
      • +

        readStaticField

        +
        public static java.lang.Object readStaticField(java.lang.Class cls,
        +                               java.lang.String fieldName,
        +                               boolean forceAccess)
        +                                        throws java.lang.IllegalAccessException
        +
        Read the named static field. Superclasses will be considered.
        +
        Parameters:
        cls - the class to reflect, must not be null
        fieldName - the field name to obtain
        forceAccess - whether to break scope restrictions using the + setAccessible method. False will + only match public fields.
        +
        Returns:
        the Field object
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if the class or field name is null
        +
        java.lang.IllegalAccessException - if the field is not made accessible
        +
      • +
      + + + +
        +
      • +

        readField

        +
        public static java.lang.Object readField(java.lang.reflect.Field field,
        +                         java.lang.Object target)
        +                                  throws java.lang.IllegalAccessException
        +
        Read an accessible Field.
        +
        Parameters:
        field - the field to use
        target - the object to call on, may be null for static fields
        +
        Returns:
        the field value
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if the field is null
        +
        java.lang.IllegalAccessException - if the field is not accessible
        +
      • +
      + + + +
        +
      • +

        readField

        +
        public static java.lang.Object readField(java.lang.reflect.Field field,
        +                         java.lang.Object target,
        +                         boolean forceAccess)
        +                                  throws java.lang.IllegalAccessException
        +
        Read a Field.
        +
        Parameters:
        field - the field to use
        target - the object to call on, may be null for static fields
        forceAccess - whether to break scope restrictions using the + setAccessible method.
        +
        Returns:
        the field value
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if the field is null
        +
        java.lang.IllegalAccessException - if the field is not made accessible
        +
      • +
      + + + +
        +
      • +

        readField

        +
        public static java.lang.Object readField(java.lang.Object target,
        +                         java.lang.String fieldName)
        +                                  throws java.lang.IllegalAccessException
        +
        Read the named public field. Superclasses will be considered.
        +
        Parameters:
        target - the object to reflect, must not be null
        fieldName - the field name to obtain
        +
        Returns:
        the value of the field
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if the class or field name is null
        +
        java.lang.IllegalAccessException - if the named field is not public
        +
      • +
      + + + +
        +
      • +

        readField

        +
        public static java.lang.Object readField(java.lang.Object target,
        +                         java.lang.String fieldName,
        +                         boolean forceAccess)
        +                                  throws java.lang.IllegalAccessException
        +
        Read the named field. Superclasses will be considered.
        +
        Parameters:
        target - the object to reflect, must not be null
        fieldName - the field name to obtain
        forceAccess - whether to break scope restrictions using the + setAccessible method. False will + only match public fields.
        +
        Returns:
        the field value
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if the class or field name is null
        +
        java.lang.IllegalAccessException - if the named field is not made accessible
        +
      • +
      + + + +
        +
      • +

        writeStaticField

        +
        public static void writeStaticField(java.lang.reflect.Field field,
        +                    java.lang.Object value)
        +                             throws java.lang.IllegalAccessException
        +
        Write a public static Field.
        +
        Parameters:
        field - to write
        value - to set
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if the field is null or not static
        +
        java.lang.IllegalAccessException - if the field is not public or is final
        +
      • +
      + + + +
        +
      • +

        writeStaticField

        +
        public static void writeStaticField(java.lang.reflect.Field field,
        +                    java.lang.Object value,
        +                    boolean forceAccess)
        +                             throws java.lang.IllegalAccessException
        +
        Write a static Field.
        +
        Parameters:
        field - to write
        value - to set
        forceAccess - whether to break scope restrictions using the + setAccessible method. False will + only match public fields.
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if the field is null or not static
        +
        java.lang.IllegalAccessException - if the field is not made accessible or is + final
        +
      • +
      + + + +
        +
      • +

        writeStaticField

        +
        public static void writeStaticField(java.lang.Class cls,
        +                    java.lang.String fieldName,
        +                    java.lang.Object value)
        +                             throws java.lang.IllegalAccessException
        +
        Write a named public static Field. Superclasses will be considered.
        +
        Parameters:
        cls - Class on which the Field is to be found
        fieldName - to write
        value - to set
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if the field cannot be located or is not + static
        +
        java.lang.IllegalAccessException - if the field is not public or is final
        +
      • +
      + + + +
        +
      • +

        writeStaticField

        +
        public static void writeStaticField(java.lang.Class cls,
        +                    java.lang.String fieldName,
        +                    java.lang.Object value,
        +                    boolean forceAccess)
        +                             throws java.lang.IllegalAccessException
        +
        Write a named static Field. Superclasses will be considered.
        +
        Parameters:
        cls - Class on which the Field is to be found
        fieldName - to write
        value - to set
        forceAccess - whether to break scope restrictions using the + setAccessible method. False will + only match public fields.
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if the field cannot be located or is not + static
        +
        java.lang.IllegalAccessException - if the field is not made accessible or is + final
        +
      • +
      + + + +
        +
      • +

        writeField

        +
        public static void writeField(java.lang.reflect.Field field,
        +              java.lang.Object target,
        +              java.lang.Object value)
        +                       throws java.lang.IllegalAccessException
        +
        Write an accessible field.
        +
        Parameters:
        field - to write
        target - the object to call on, may be null for static fields
        value - to set
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if the field is null
        +
        java.lang.IllegalAccessException - if the field is not accessible or is final
        +
      • +
      + + + +
        +
      • +

        writeField

        +
        public static void writeField(java.lang.reflect.Field field,
        +              java.lang.Object target,
        +              java.lang.Object value,
        +              boolean forceAccess)
        +                       throws java.lang.IllegalAccessException
        +
        Write a field.
        +
        Parameters:
        field - to write
        target - the object to call on, may be null for static fields
        value - to set
        forceAccess - whether to break scope restrictions using the + setAccessible method. False will + only match public fields.
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if the field is null
        +
        java.lang.IllegalAccessException - if the field is not made accessible or is + final
        +
      • +
      + + + +
        +
      • +

        writeField

        +
        public static void writeField(java.lang.Object target,
        +              java.lang.String fieldName,
        +              java.lang.Object value)
        +                       throws java.lang.IllegalAccessException
        +
        Write a public field. Superclasses will be considered.
        +
        Parameters:
        target - the object to reflect, must not be null
        fieldName - the field name to obtain
        value - to set
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if target or + fieldName is null
        +
        java.lang.IllegalAccessException - if the field is not accessible
        +
      • +
      + + + +
        +
      • +

        writeField

        +
        public static void writeField(java.lang.Object target,
        +              java.lang.String fieldName,
        +              java.lang.Object value,
        +              boolean forceAccess)
        +                       throws java.lang.IllegalAccessException
        +
        Write a field. Superclasses will be considered.
        +
        Parameters:
        target - the object to reflect, must not be null
        fieldName - the field name to obtain
        value - to set
        forceAccess - whether to break scope restrictions using the + setAccessible method. False will + only match public fields.
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if target or + fieldName is null
        +
        java.lang.IllegalAccessException - if the field is not made accessible
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/FuzzyReflection.html b/Javadoc/com/comphenix/protocol/reflect/FuzzyReflection.html new file mode 100644 index 00000000..360dfde5 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/reflect/FuzzyReflection.html @@ -0,0 +1,575 @@ + + + + + +FuzzyReflection + + + + + + + +
+ + + + + +
+ + + +
+
com.comphenix.protocol.reflect
+

Class FuzzyReflection

+
+
+ +
+
    +
  • +
    +
    +
    public class FuzzyReflection
    +extends java.lang.Object
    +
    Retrieves fields and methods by signature, not just name.
    +
    Author:
    +
    Kristian
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Summary

      + + + + + + + + + + +
      Fields 
      Modifier and TypeField and Description
      static java.lang.StringMINECRAFT_OBJECT +
      Matches a Minecraft object.
      +
      +
    • +
    + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      FuzzyReflection(java.lang.Class<?> source, + boolean forceAccess) 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      static FuzzyReflectionfromClass(java.lang.Class<?> source) +
      Retrieves a fuzzy reflection instance from a given class.
      +
      static FuzzyReflectionfromClass(java.lang.Class<?> source, + boolean forceAccess) +
      Retrieves a fuzzy reflection instance from a given class.
      +
      static FuzzyReflectionfromObject(java.lang.Object reference) +
      Retrieves a fuzzy reflection instance from an object.
      +
      static FuzzyReflectionfromObject(java.lang.Object reference, + boolean forceAccess) +
      Retrieves a fuzzy reflection instance from an object.
      +
      java.lang.reflect.FieldgetFieldByName(java.lang.String nameRegex) +
      Retrieves a field by name.
      +
      java.lang.reflect.FieldgetFieldByType(java.lang.String typeRegex) +
      Retrieves a field by type.
      +
      java.lang.reflect.FieldgetFieldByType(java.lang.String typeRegex, + java.util.Set<java.lang.Class> ignored) +
      Retrieves a field by type.
      +
      java.util.Set<java.lang.reflect.Field>getFields() +
      Retrieves all private and public fields in declared order (after JDK 1.5).
      +
      java.lang.reflect.MethodgetMethodByName(java.lang.String nameRegex) +
      Retrieves a method by looking at its name.
      +
      java.lang.reflect.MethodgetMethodByParameters(java.lang.String name, + java.lang.Class<?>... args) +
      Retrieves a method by looking at the parameter types only.
      +
      java.lang.reflect.MethodgetMethodByParameters(java.lang.String name, + java.lang.Class<?> returnType, + java.lang.Class<?>[] args) +
      Retrieves a method by looking at the parameter types and return type only.
      +
      java.util.Set<java.lang.reflect.Method>getMethods() +
      Retrieves all private and public methods in declared order (after JDK 1.5).
      +
      java.lang.Class<?>getSource() +
      Retrieves the underlying class.
      +
      booleanisForceAccess() +
      Retrieves whether or not not to override any scope restrictions.
      +
      voidsetForceAccess(boolean forceAccess) +
      Sets whether or not not to override any scope restrictions.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        MINECRAFT_OBJECT

        +
        public static java.lang.String MINECRAFT_OBJECT
        +
        Matches a Minecraft object.
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        FuzzyReflection

        +
        public FuzzyReflection(java.lang.Class<?> source,
        +               boolean forceAccess)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        fromClass

        +
        public static FuzzyReflection fromClass(java.lang.Class<?> source)
        +
        Retrieves a fuzzy reflection instance from a given class.
        +
        Parameters:
        source - - the class we'll use.
        +
        Returns:
        A fuzzy reflection instance.
        +
      • +
      + + + +
        +
      • +

        fromClass

        +
        public static FuzzyReflection fromClass(java.lang.Class<?> source,
        +                        boolean forceAccess)
        +
        Retrieves a fuzzy reflection instance from a given class.
        +
        Parameters:
        source - - the class we'll use.
        forceAccess - - whether or not to override scope restrictions.
        +
        Returns:
        A fuzzy reflection instance.
        +
      • +
      + + + +
        +
      • +

        fromObject

        +
        public static FuzzyReflection fromObject(java.lang.Object reference)
        +
        Retrieves a fuzzy reflection instance from an object.
        +
        Parameters:
        reference - - the object we'll use.
        +
        Returns:
        A fuzzy reflection instance that uses the class of the given object.
        +
      • +
      + + + +
        +
      • +

        fromObject

        +
        public static FuzzyReflection fromObject(java.lang.Object reference,
        +                         boolean forceAccess)
        +
        Retrieves a fuzzy reflection instance from an object.
        +
        Parameters:
        reference - - the object we'll use.
        forceAccess - - whether or not to override scope restrictions.
        +
        Returns:
        A fuzzy reflection instance that uses the class of the given object.
        +
      • +
      + + + +
        +
      • +

        getSource

        +
        public java.lang.Class<?> getSource()
        +
        Retrieves the underlying class.
        +
      • +
      + + + +
        +
      • +

        getMethodByName

        +
        public java.lang.reflect.Method getMethodByName(java.lang.String nameRegex)
        +
        Retrieves a method by looking at its name.
        +
        Parameters:
        nameRegex - - regular expression that will match method names.
        +
        Returns:
        The first method that satisfies the regular expression.
        +
      • +
      + + + +
        +
      • +

        getMethodByParameters

        +
        public java.lang.reflect.Method getMethodByParameters(java.lang.String name,
        +                                             java.lang.Class<?>... args)
        +
        Retrieves a method by looking at the parameter types only.
        +
        Parameters:
        name - - potential name of the method. Only used by the error mechanism.
        args - - parameter types of the method to find.
        +
        Returns:
        The first method that satisfies the parameter types.
        +
      • +
      + + + +
        +
      • +

        getMethodByParameters

        +
        public java.lang.reflect.Method getMethodByParameters(java.lang.String name,
        +                                             java.lang.Class<?> returnType,
        +                                             java.lang.Class<?>[] args)
        +
        Retrieves a method by looking at the parameter types and return type only.
        +
        Parameters:
        name - - potential name of the method. Only used by the error mechanism.
        returnType - - return type of the method to find.
        args - - parameter types of the method to find.
        +
        Returns:
        The first method that satisfies the parameter types.
        +
      • +
      + + + +
        +
      • +

        getFieldByName

        +
        public java.lang.reflect.Field getFieldByName(java.lang.String nameRegex)
        +
        Retrieves a field by name.
        +
        Parameters:
        nameRegex - - regular expression that will match a field name.
        +
        Returns:
        The first field to match the given expression.
        +
      • +
      + + + +
        +
      • +

        getFieldByType

        +
        public java.lang.reflect.Field getFieldByType(java.lang.String typeRegex)
        +
        Retrieves a field by type. +

        + Note that the type is matched using the full canonical representation, i.e.: +

          +
        • java.util.List
        • +
        • net.comphenix.xp.ExperienceMod
        • +
        +
        Parameters:
        typeRegex - - regular expression that will match the field type.
        +
        Returns:
        The first field with a type that matches the given regular expression.
        +
      • +
      + + + +
        +
      • +

        getFieldByType

        +
        public java.lang.reflect.Field getFieldByType(java.lang.String typeRegex,
        +                                     java.util.Set<java.lang.Class> ignored)
        +
        Retrieves a field by type. +

        + Note that the type is matched using the full canonical representation, i.e.: +

          +
        • java.util.List
        • +
        • net.comphenix.xp.ExperienceMod
        • +
        +
        Parameters:
        typeRegex - - regular expression that will match the field type.
        ignored - - types to ignore.
        +
        Returns:
        The first field with a type that matches the given regular expression.
        +
      • +
      + + + +
        +
      • +

        getFields

        +
        public java.util.Set<java.lang.reflect.Field> getFields()
        +
        Retrieves all private and public fields in declared order (after JDK 1.5).
        +
        Returns:
        Every field.
        +
      • +
      + + + +
        +
      • +

        getMethods

        +
        public java.util.Set<java.lang.reflect.Method> getMethods()
        +
        Retrieves all private and public methods in declared order (after JDK 1.5).
        +
        Returns:
        Every method.
        +
      • +
      + + + +
        +
      • +

        isForceAccess

        +
        public boolean isForceAccess()
        +
        Retrieves whether or not not to override any scope restrictions.
        +
        Returns:
        TRUE if we override scope, FALSE otherwise.
        +
      • +
      + + + +
        +
      • +

        setForceAccess

        +
        public void setForceAccess(boolean forceAccess)
        +
        Sets whether or not not to override any scope restrictions.
        +
        Parameters:
        forceAccess - - TRUE if we override scope, FALSE otherwise.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/IntEnum.html b/Javadoc/com/comphenix/protocol/reflect/IntEnum.html new file mode 100644 index 00000000..0da3a740 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/reflect/IntEnum.html @@ -0,0 +1,378 @@ + + + + + +IntEnum + + + + + + + +
+ + + + + +
+ + + +
+
com.comphenix.protocol.reflect
+

Class IntEnum

+
+
+ +
+
    +
  • +
    +
    Direct Known Subclasses:
    +
    Packets.Client, Packets.Server
    +
    +
    +
    +
    public class IntEnum
    +extends java.lang.Object
    +
    Represents a traditional int field enum.
    +
    Author:
    +
    Kristian
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Summary

      + + + + + + + + + + +
      Fields 
      Modifier and TypeField and Description
      protected com.google.common.collect.BiMap<java.lang.Integer,java.lang.String>members 
      +
    • +
    + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      IntEnum() +
      Registers every declared integer field.
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      java.lang.StringgetDeclaredName(java.lang.Integer id) +
      Retrieve the name of the member with the given id.
      +
      booleanhasMember(int id) +
      Determines whether or not the given member exists.
      +
      protected voidregisterAll() +
      Registers every public int field as a member.
      +
      protected voidregisterMember(int id, + java.lang.String name) +
      Registers a member.
      +
      java.lang.IntegervalueOf(java.lang.String name) +
      Retrieve the ID of the member with the given name.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        members

        +
        protected com.google.common.collect.BiMap<java.lang.Integer,java.lang.String> members
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        IntEnum

        +
        public IntEnum()
        +
        Registers every declared integer field.
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        registerAll

        +
        protected void registerAll()
        +
        Registers every public int field as a member.
        +
      • +
      + + + +
        +
      • +

        registerMember

        +
        protected void registerMember(int id,
        +                  java.lang.String name)
        +
        Registers a member.
        +
        Parameters:
        id - - id of member.
        name - - name of member.
        +
      • +
      + + + +
        +
      • +

        hasMember

        +
        public boolean hasMember(int id)
        +
        Determines whether or not the given member exists.
        +
        Parameters:
        id - - the ID of the member to find.
        +
        Returns:
        TRUE if a member with the given ID exists, FALSE otherwise.
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public java.lang.Integer valueOf(java.lang.String name)
        +
        Retrieve the ID of the member with the given name.
        +
        Parameters:
        name - - name of member to retrieve.
        +
        Returns:
        ID of the member, or NULL if not found.
        +
      • +
      + + + +
        +
      • +

        getDeclaredName

        +
        public java.lang.String getDeclaredName(java.lang.Integer id)
        +
        Retrieve the name of the member with the given id.
        +
        Parameters:
        id - - id of the member to retrieve.
        +
        Returns:
        Declared name of the member, or NULL if not found.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/MethodUtils.html b/Javadoc/com/comphenix/protocol/reflect/MethodUtils.html new file mode 100644 index 00000000..fadc526d --- /dev/null +++ b/Javadoc/com/comphenix/protocol/reflect/MethodUtils.html @@ -0,0 +1,980 @@ + + + + + +MethodUtils + + + + + + + +
+ + + + + +
+ + + +
+
com.comphenix.protocol.reflect
+

Class MethodUtils

+
+
+ +
+
    +
  • +
    +
    +
    public class MethodUtils
    +extends java.lang.Object
    +

    Utility reflection methods focussed on methods in general rather than properties in particular.

    + +

    Known Limitations

    +

    Accessing Public Methods In A Default Access Superclass

    +

    There is an issue when invoking public methods contained in a default access superclass. + Reflection locates these methods fine and correctly assigns them as public. + However, an IllegalAccessException is thrown if the method is invoked.

    + +

    MethodUtils contains a workaround for this situation. + It will attempt to call setAccessible on this method. + If this call succeeds, then the method can be invoked as normal. + This call will only succeed when the application has sufficient security privilages. + If this call fails then a warning will be logged and the method may fail.

    +
    Author:
    +
    Craig R. McClanahan, Ralph Schaer, Chris Audley, Rey François, Gregor Raýman, Jan Sorensen, Robert Burrell Donkin
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      MethodUtils() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      static intclearCache() +
      Clear the method cache.
      +
      static java.lang.reflect.MethodgetAccessibleMethod(java.lang.Class clazz, + java.lang.reflect.Method method) +
      Return an accessible method (that is, one that can be invoked via + reflection) that implements the specified Method.
      +
      static java.lang.reflect.MethodgetAccessibleMethod(java.lang.Class clazz, + java.lang.String methodName, + java.lang.Class[] parameterTypes) +
      Return an accessible method (that is, one that can be invoked via + reflection) with given name and parameters.
      +
      static java.lang.reflect.MethodgetAccessibleMethod(java.lang.reflect.Method method) +
      Return an accessible method (that is, one that can be invoked via + reflection) that implements the specified Method.
      +
      static java.lang.reflect.MethodgetMatchingAccessibleMethod(java.lang.Class clazz, + java.lang.String methodName, + java.lang.Class[] parameterTypes) +
      Find an accessible method that matches the given name and has compatible parameters.
      +
      static java.lang.ClassgetPrimitiveType(java.lang.Class wrapperType) +
      Gets the class for the primitive type corresponding to the primitive wrapper class given.
      +
      static java.lang.ClassgetPrimitiveWrapper(java.lang.Class primitiveType) +
      Gets the wrapper object class for the given primitive type class.
      +
      static java.lang.ObjectinvokeExactMethod(java.lang.Object object, + java.lang.String methodName, + java.lang.Object arg) +
      Invoke a method whose parameter type matches exactly the object + type.
      +
      static java.lang.ObjectinvokeExactMethod(java.lang.Object object, + java.lang.String methodName, + java.lang.Object[] args) +
      Invoke a method whose parameter types match exactly the object + types.
      +
      static java.lang.ObjectinvokeExactMethod(java.lang.Object object, + java.lang.String methodName, + java.lang.Object[] args, + java.lang.Class[] parameterTypes) +
      Invoke a method whose parameter types match exactly the parameter + types given.
      +
      static java.lang.ObjectinvokeExactStaticMethod(java.lang.Class objectClass, + java.lang.String methodName, + java.lang.Object arg) +
      Invoke a static method whose parameter type matches exactly the object + type.
      +
      static java.lang.ObjectinvokeExactStaticMethod(java.lang.Class objectClass, + java.lang.String methodName, + java.lang.Object[] args) +
      Invoke a static method whose parameter types match exactly the object + types.
      +
      static java.lang.ObjectinvokeExactStaticMethod(java.lang.Class objectClass, + java.lang.String methodName, + java.lang.Object[] args, + java.lang.Class[] parameterTypes) +
      Invoke a static method whose parameter types match exactly the parameter + types given.
      +
      static java.lang.ObjectinvokeMethod(java.lang.Object object, + java.lang.String methodName, + java.lang.Object arg) +
      Invoke a named method whose parameter type matches the object type.
      +
      static java.lang.ObjectinvokeMethod(java.lang.Object object, + java.lang.String methodName, + java.lang.Object[] args) +
      Invoke a named method whose parameter type matches the object type.
      +
      static java.lang.ObjectinvokeMethod(java.lang.Object object, + java.lang.String methodName, + java.lang.Object[] args, + java.lang.Class[] parameterTypes) +
      Invoke a named method whose parameter type matches the object type.
      +
      static java.lang.ObjectinvokeStaticMethod(java.lang.Class objectClass, + java.lang.String methodName, + java.lang.Object arg) +
      Invoke a named static method whose parameter type matches the object type.
      +
      static java.lang.ObjectinvokeStaticMethod(java.lang.Class objectClass, + java.lang.String methodName, + java.lang.Object[] args) +
      Invoke a named static method whose parameter type matches the object type.
      +
      static java.lang.ObjectinvokeStaticMethod(java.lang.Class objectClass, + java.lang.String methodName, + java.lang.Object[] args, + java.lang.Class[] parameterTypes) +
      Invoke a named static method whose parameter type matches the object type.
      +
      static booleanisAssignmentCompatible(java.lang.Class parameterType, + java.lang.Class parameterization) +
      Determine whether a type can be used as a parameter in a method invocation.
      +
      static voidsetCacheMethods(boolean cacheMethods) +
      Set whether methods should be cached for greater performance or not, + default is true.
      +
      static java.lang.ClasstoNonPrimitiveClass(java.lang.Class clazz) +
      Find a non primitive representation for given primitive class.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        MethodUtils

        +
        public MethodUtils()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        setCacheMethods

        +
        public static void setCacheMethods(boolean cacheMethods)
        +
        Set whether methods should be cached for greater performance or not, + default is true.
        +
        Parameters:
        cacheMethods - true if methods should be + cached for greater performance, otherwise false
        Since:
        +
        1.8.0
        +
      • +
      + + + +
        +
      • +

        clearCache

        +
        public static int clearCache()
        +
        Clear the method cache.
        +
        Returns:
        the number of cached methods cleared
        Since:
        +
        1.8.0
        +
      • +
      + + + +
        +
      • +

        invokeMethod

        +
        public static java.lang.Object invokeMethod(java.lang.Object object,
        +                            java.lang.String methodName,
        +                            java.lang.Object arg)
        +                                     throws java.lang.NoSuchMethodException,
        +                                            java.lang.IllegalAccessException,
        +                                            java.lang.reflect.InvocationTargetException
        +

        Invoke a named method whose parameter type matches the object type.

        + +

        The behaviour of this method is less deterministic + than invokeExactMethod(). + It loops through all methods with names that match + and then executes the first it finds with compatable parameters.

        + +

        This method supports calls to methods taking primitive parameters + via passing in wrapping classes. So, for example, a Boolean class + would match a boolean primitive.

        + +

        This is a convenient wrapper for + invokeMethod(Object object,String methodName,Object [] args). +

        +
        Parameters:
        object - invoke method on this object
        methodName - get method with this name
        arg - use this argument
        +
        Returns:
        The value returned by the invoked method
        +
        Throws:
        +
        java.lang.NoSuchMethodException - if there is no such accessible method
        +
        java.lang.reflect.InvocationTargetException - wraps an exception thrown by the + method invoked
        +
        java.lang.IllegalAccessException - if the requested method is not accessible + via reflection
        +
      • +
      + + + +
        +
      • +

        invokeMethod

        +
        public static java.lang.Object invokeMethod(java.lang.Object object,
        +                            java.lang.String methodName,
        +                            java.lang.Object[] args)
        +                                     throws java.lang.NoSuchMethodException,
        +                                            java.lang.IllegalAccessException,
        +                                            java.lang.reflect.InvocationTargetException
        +

        Invoke a named method whose parameter type matches the object type.

        + +

        The behaviour of this method is less deterministic + than invokeExactMethod(Object object,String methodName,Object [] args). + It loops through all methods with names that match + and then executes the first it finds with compatable parameters.

        + +

        This method supports calls to methods taking primitive parameters + via passing in wrapping classes. So, for example, a Boolean class + would match a boolean primitive.

        + +

        This is a convenient wrapper for + invokeMethod(Object object,String methodName,Object [] args,Class[] parameterTypes). +

        +
        Parameters:
        object - invoke method on this object
        methodName - get method with this name
        args - use these arguments - treat null as empty array
        +
        Returns:
        The value returned by the invoked method
        +
        Throws:
        +
        java.lang.NoSuchMethodException - if there is no such accessible method
        +
        java.lang.reflect.InvocationTargetException - wraps an exception thrown by the + method invoked
        +
        java.lang.IllegalAccessException - if the requested method is not accessible + via reflection
        +
      • +
      + + + +
        +
      • +

        invokeMethod

        +
        public static java.lang.Object invokeMethod(java.lang.Object object,
        +                            java.lang.String methodName,
        +                            java.lang.Object[] args,
        +                            java.lang.Class[] parameterTypes)
        +                                     throws java.lang.NoSuchMethodException,
        +                                            java.lang.IllegalAccessException,
        +                                            java.lang.reflect.InvocationTargetException
        +

        Invoke a named method whose parameter type matches the object type.

        + +

        The behaviour of this method is less deterministic + than invokeExactMethod(Object object,String methodName,Object [] args,Class[] parameterTypes). + It loops through all methods with names that match + and then executes the first it finds with compatable parameters.

        + +

        This method supports calls to methods taking primitive parameters + via passing in wrapping classes. So, for example, a Boolean class + would match a boolean primitive.

        +
        Parameters:
        object - invoke method on this object
        methodName - get method with this name
        args - use these arguments - treat null as empty array
        parameterTypes - match these parameters - treat null as empty array
        +
        Returns:
        The value returned by the invoked method
        +
        Throws:
        +
        java.lang.NoSuchMethodException - if there is no such accessible method
        +
        java.lang.reflect.InvocationTargetException - wraps an exception thrown by the + method invoked
        +
        java.lang.IllegalAccessException - if the requested method is not accessible + via reflection
        +
      • +
      + + + +
        +
      • +

        invokeExactMethod

        +
        public static java.lang.Object invokeExactMethod(java.lang.Object object,
        +                                 java.lang.String methodName,
        +                                 java.lang.Object arg)
        +                                          throws java.lang.NoSuchMethodException,
        +                                                 java.lang.IllegalAccessException,
        +                                                 java.lang.reflect.InvocationTargetException
        +

        Invoke a method whose parameter type matches exactly the object + type.

        + +

        This is a convenient wrapper for + invokeExactMethod(Object object,String methodName,Object [] args). +

        +
        Parameters:
        object - invoke method on this object
        methodName - get method with this name
        arg - use this argument
        +
        Returns:
        The value returned by the invoked method
        +
        Throws:
        +
        java.lang.NoSuchMethodException - if there is no such accessible method
        +
        java.lang.reflect.InvocationTargetException - wraps an exception thrown by the + method invoked
        +
        java.lang.IllegalAccessException - if the requested method is not accessible + via reflection
        +
      • +
      + + + +
        +
      • +

        invokeExactMethod

        +
        public static java.lang.Object invokeExactMethod(java.lang.Object object,
        +                                 java.lang.String methodName,
        +                                 java.lang.Object[] args)
        +                                          throws java.lang.NoSuchMethodException,
        +                                                 java.lang.IllegalAccessException,
        +                                                 java.lang.reflect.InvocationTargetException
        +

        Invoke a method whose parameter types match exactly the object + types.

        + +

        This uses reflection to invoke the method obtained from a call to + getAccessibleMethod().

        +
        Parameters:
        object - invoke method on this object
        methodName - get method with this name
        args - use these arguments - treat null as empty array
        +
        Returns:
        The value returned by the invoked method
        +
        Throws:
        +
        java.lang.NoSuchMethodException - if there is no such accessible method
        +
        java.lang.reflect.InvocationTargetException - wraps an exception thrown by the + method invoked
        +
        java.lang.IllegalAccessException - if the requested method is not accessible + via reflection
        +
      • +
      + + + +
        +
      • +

        invokeExactMethod

        +
        public static java.lang.Object invokeExactMethod(java.lang.Object object,
        +                                 java.lang.String methodName,
        +                                 java.lang.Object[] args,
        +                                 java.lang.Class[] parameterTypes)
        +                                          throws java.lang.NoSuchMethodException,
        +                                                 java.lang.IllegalAccessException,
        +                                                 java.lang.reflect.InvocationTargetException
        +

        Invoke a method whose parameter types match exactly the parameter + types given.

        + +

        This uses reflection to invoke the method obtained from a call to + getAccessibleMethod().

        +
        Parameters:
        object - invoke method on this object
        methodName - get method with this name
        args - use these arguments - treat null as empty array
        parameterTypes - match these parameters - treat null as empty array
        +
        Returns:
        The value returned by the invoked method
        +
        Throws:
        +
        java.lang.NoSuchMethodException - if there is no such accessible method
        +
        java.lang.reflect.InvocationTargetException - wraps an exception thrown by the + method invoked
        +
        java.lang.IllegalAccessException - if the requested method is not accessible + via reflection
        +
      • +
      + + + +
        +
      • +

        invokeExactStaticMethod

        +
        public static java.lang.Object invokeExactStaticMethod(java.lang.Class objectClass,
        +                                       java.lang.String methodName,
        +                                       java.lang.Object[] args,
        +                                       java.lang.Class[] parameterTypes)
        +                                                throws java.lang.NoSuchMethodException,
        +                                                       java.lang.IllegalAccessException,
        +                                                       java.lang.reflect.InvocationTargetException
        +

        Invoke a static method whose parameter types match exactly the parameter + types given.

        + +

        This uses reflection to invoke the method obtained from a call to + getAccessibleMethod(Class, String, Class[]).

        +
        Parameters:
        objectClass - invoke static method on this class
        methodName - get method with this name
        args - use these arguments - treat null as empty array
        parameterTypes - match these parameters - treat null as empty array
        +
        Returns:
        The value returned by the invoked method
        +
        Throws:
        +
        java.lang.NoSuchMethodException - if there is no such accessible method
        +
        java.lang.reflect.InvocationTargetException - wraps an exception thrown by the + method invoked
        +
        java.lang.IllegalAccessException - if the requested method is not accessible + via reflection
        Since:
        +
        1.8.0
        +
      • +
      + + + +
        +
      • +

        invokeStaticMethod

        +
        public static java.lang.Object invokeStaticMethod(java.lang.Class objectClass,
        +                                  java.lang.String methodName,
        +                                  java.lang.Object arg)
        +                                           throws java.lang.NoSuchMethodException,
        +                                                  java.lang.IllegalAccessException,
        +                                                  java.lang.reflect.InvocationTargetException
        +

        Invoke a named static method whose parameter type matches the object type.

        + +

        The behaviour of this method is less deterministic + than invokeExactMethod(Object, String, Object[], Class[]). + It loops through all methods with names that match + and then executes the first it finds with compatable parameters.

        + +

        This method supports calls to methods taking primitive parameters + via passing in wrapping classes. So, for example, a Boolean class + would match a boolean primitive.

        + +

        This is a convenient wrapper for + invokeStaticMethod(Class objectClass,String methodName,Object [] args). +

        +
        Parameters:
        objectClass - invoke static method on this class
        methodName - get method with this name
        arg - use this argument
        +
        Returns:
        The value returned by the invoked method
        +
        Throws:
        +
        java.lang.NoSuchMethodException - if there is no such accessible method
        +
        java.lang.reflect.InvocationTargetException - wraps an exception thrown by the + method invoked
        +
        java.lang.IllegalAccessException - if the requested method is not accessible + via reflection
        Since:
        +
        1.8.0
        +
      • +
      + + + +
        +
      • +

        invokeStaticMethod

        +
        public static java.lang.Object invokeStaticMethod(java.lang.Class objectClass,
        +                                  java.lang.String methodName,
        +                                  java.lang.Object[] args)
        +                                           throws java.lang.NoSuchMethodException,
        +                                                  java.lang.IllegalAccessException,
        +                                                  java.lang.reflect.InvocationTargetException
        +

        Invoke a named static method whose parameter type matches the object type.

        + +

        The behaviour of this method is less deterministic + than invokeExactMethod(Object object,String methodName,Object [] args). + It loops through all methods with names that match + and then executes the first it finds with compatable parameters.

        + +

        This method supports calls to methods taking primitive parameters + via passing in wrapping classes. So, for example, a Boolean class + would match a boolean primitive.

        + +

        This is a convenient wrapper for + invokeStaticMethod(Class objectClass,String methodName,Object [] args,Class[] parameterTypes). +

        +
        Parameters:
        objectClass - invoke static method on this class
        methodName - get method with this name
        args - use these arguments - treat null as empty array
        +
        Returns:
        The value returned by the invoked method
        +
        Throws:
        +
        java.lang.NoSuchMethodException - if there is no such accessible method
        +
        java.lang.reflect.InvocationTargetException - wraps an exception thrown by the + method invoked
        +
        java.lang.IllegalAccessException - if the requested method is not accessible + via reflection
        Since:
        +
        1.8.0
        +
      • +
      + + + +
        +
      • +

        invokeStaticMethod

        +
        public static java.lang.Object invokeStaticMethod(java.lang.Class objectClass,
        +                                  java.lang.String methodName,
        +                                  java.lang.Object[] args,
        +                                  java.lang.Class[] parameterTypes)
        +                                           throws java.lang.NoSuchMethodException,
        +                                                  java.lang.IllegalAccessException,
        +                                                  java.lang.reflect.InvocationTargetException
        +

        Invoke a named static method whose parameter type matches the object type.

        + +

        The behaviour of this method is less deterministic + than invokeExactStaticMethod(Class objectClass,String methodName,Object [] args,Class[] parameterTypes). + It loops through all methods with names that match + and then executes the first it finds with compatable parameters.

        + +

        This method supports calls to methods taking primitive parameters + via passing in wrapping classes. So, for example, a Boolean class + would match a boolean primitive.

        +
        Parameters:
        objectClass - invoke static method on this class
        methodName - get method with this name
        args - use these arguments - treat null as empty array
        parameterTypes - match these parameters - treat null as empty array
        +
        Returns:
        The value returned by the invoked method
        +
        Throws:
        +
        java.lang.NoSuchMethodException - if there is no such accessible method
        +
        java.lang.reflect.InvocationTargetException - wraps an exception thrown by the + method invoked
        +
        java.lang.IllegalAccessException - if the requested method is not accessible + via reflection
        Since:
        +
        1.8.0
        +
      • +
      + + + +
        +
      • +

        invokeExactStaticMethod

        +
        public static java.lang.Object invokeExactStaticMethod(java.lang.Class objectClass,
        +                                       java.lang.String methodName,
        +                                       java.lang.Object arg)
        +                                                throws java.lang.NoSuchMethodException,
        +                                                       java.lang.IllegalAccessException,
        +                                                       java.lang.reflect.InvocationTargetException
        +

        Invoke a static method whose parameter type matches exactly the object + type.

        + +

        This is a convenient wrapper for + invokeExactStaticMethod(Class objectClass,String methodName,Object [] args). +

        +
        Parameters:
        objectClass - invoke static method on this class
        methodName - get method with this name
        arg - use this argument
        +
        Returns:
        The value returned by the invoked method
        +
        Throws:
        +
        java.lang.NoSuchMethodException - if there is no such accessible method
        +
        java.lang.reflect.InvocationTargetException - wraps an exception thrown by the + method invoked
        +
        java.lang.IllegalAccessException - if the requested method is not accessible + via reflection
        Since:
        +
        1.8.0
        +
      • +
      + + + +
        +
      • +

        invokeExactStaticMethod

        +
        public static java.lang.Object invokeExactStaticMethod(java.lang.Class objectClass,
        +                                       java.lang.String methodName,
        +                                       java.lang.Object[] args)
        +                                                throws java.lang.NoSuchMethodException,
        +                                                       java.lang.IllegalAccessException,
        +                                                       java.lang.reflect.InvocationTargetException
        +

        Invoke a static method whose parameter types match exactly the object + types.

        + +

        This uses reflection to invoke the method obtained from a call to + getAccessibleMethod(Class, String, Class[]).

        +
        Parameters:
        objectClass - invoke static method on this class
        methodName - get method with this name
        args - use these arguments - treat null as empty array
        +
        Returns:
        The value returned by the invoked method
        +
        Throws:
        +
        java.lang.NoSuchMethodException - if there is no such accessible method
        +
        java.lang.reflect.InvocationTargetException - wraps an exception thrown by the + method invoked
        +
        java.lang.IllegalAccessException - if the requested method is not accessible + via reflection
        Since:
        +
        1.8.0
        +
      • +
      + + + +
        +
      • +

        getAccessibleMethod

        +
        public static java.lang.reflect.Method getAccessibleMethod(java.lang.Class clazz,
        +                                           java.lang.String methodName,
        +                                           java.lang.Class[] parameterTypes)
        +

        Return an accessible method (that is, one that can be invoked via + reflection) with given name and parameters. If no such method + can be found, return null. + This is just a convenient wrapper for + getAccessibleMethod(Method method).

        +
        Parameters:
        clazz - get method from this class
        methodName - get method with this name
        parameterTypes - with these parameters types
        +
        Returns:
        The accessible method
        +
      • +
      + + + +
        +
      • +

        getAccessibleMethod

        +
        public static java.lang.reflect.Method getAccessibleMethod(java.lang.reflect.Method method)
        +

        Return an accessible method (that is, one that can be invoked via + reflection) that implements the specified Method. If no such method + can be found, return null.

        +
        Parameters:
        method - The method that we wish to call
        +
        Returns:
        The accessible method
        +
      • +
      + + + +
        +
      • +

        getAccessibleMethod

        +
        public static java.lang.reflect.Method getAccessibleMethod(java.lang.Class clazz,
        +                                           java.lang.reflect.Method method)
        +

        Return an accessible method (that is, one that can be invoked via + reflection) that implements the specified Method. If no such method + can be found, return null.

        +
        Parameters:
        clazz - The class of the object
        method - The method that we wish to call
        +
        Returns:
        The accessible method
        Since:
        +
        1.8.0
        +
      • +
      + + + +
        +
      • +

        getMatchingAccessibleMethod

        +
        public static java.lang.reflect.Method getMatchingAccessibleMethod(java.lang.Class clazz,
        +                                                   java.lang.String methodName,
        +                                                   java.lang.Class[] parameterTypes)
        +

        Find an accessible method that matches the given name and has compatible parameters. + Compatible parameters mean that every method parameter is assignable from + the given parameters. + In other words, it finds a method with the given name + that will take the parameters given.

        + +

        This method is slightly undeterminstic since it loops + through methods names and return the first matching method.

        + +

        This method is used by + invokeMethod(Object object,String methodName,Object [] args,Class[] parameterTypes). + +

        This method can match primitive parameter by passing in wrapper classes. + For example, a Boolean will match a primitive boolean + parameter.

        +
        Parameters:
        clazz - find method in this class
        methodName - find method with this name
        parameterTypes - find method with compatible parameters
        +
        Returns:
        The accessible method
        +
      • +
      + + + +
        +
      • +

        isAssignmentCompatible

        +
        public static final boolean isAssignmentCompatible(java.lang.Class parameterType,
        +                             java.lang.Class parameterization)
        +

        Determine whether a type can be used as a parameter in a method invocation. + This method handles primitive conversions correctly.

        + +

        In order words, it will match a Boolean to a boolean, + a Long to a long, + a Float to a float, + a Integer to a int, + and a Double to a double. + Now logic widening matches are allowed. + For example, a Long will not match a int.

        +
        Parameters:
        parameterType - the type of parameter accepted by the method
        parameterization - the type of parameter being tested
        +
        Returns:
        true if the assignement is compatible.
        +
      • +
      + + + +
        +
      • +

        getPrimitiveWrapper

        +
        public static java.lang.Class getPrimitiveWrapper(java.lang.Class primitiveType)
        +
        Gets the wrapper object class for the given primitive type class. + For example, passing boolean.class returns Boolean.class
        +
        Parameters:
        primitiveType - the primitive type class for which a match is to be found
        +
        Returns:
        the wrapper type associated with the given primitive + or null if no match is found
        +
      • +
      + + + +
        +
      • +

        getPrimitiveType

        +
        public static java.lang.Class getPrimitiveType(java.lang.Class wrapperType)
        +
        Gets the class for the primitive type corresponding to the primitive wrapper class given. + For example, an instance of Boolean.class returns a boolean.class.
        +
        Parameters:
        wrapperType - the
        +
        Returns:
        the primitive type class corresponding to the given wrapper class, + null if no match is found
        +
      • +
      + + + +
        +
      • +

        toNonPrimitiveClass

        +
        public static java.lang.Class toNonPrimitiveClass(java.lang.Class clazz)
        +
        Find a non primitive representation for given primitive class.
        +
        Parameters:
        clazz - the class to find a representation for, not null
        +
        Returns:
        the original class if it not a primitive. Otherwise the wrapper class. Not null
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/PrimitiveUtils.html b/Javadoc/com/comphenix/protocol/reflect/PrimitiveUtils.html new file mode 100644 index 00000000..b43120e6 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/reflect/PrimitiveUtils.html @@ -0,0 +1,311 @@ + + + + + +PrimitiveUtils + + + + + + + +
+ + + + + +
+ + + +
+
com.comphenix.protocol.reflect
+

Class PrimitiveUtils

+
+
+ +
+
    +
  • +
    +
    +
    public final class PrimitiveUtils
    +extends java.lang.Object
    +
    Contains static utility methods pertaining to primitive types and their + corresponding wrapper types.
    +
    Author:
    +
    Kevin Bourrillion
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      static <T> TcheckNotNull(T obj) 
      static booleanisPrimitive(java.lang.reflect.Type type) +
      Returns true if this type is a primitive.
      +
      static booleanisWrapperType(java.lang.reflect.Type type) +
      Returns true if type is one of the nine primitive-wrapper + types, such as Integer.
      +
      static <T> java.lang.Class<T>unwrap(java.lang.Class<T> type) +
      Returns the corresponding primitive type of type if it is a + wrapper type; otherwise returns type itself.
      +
      static <T> java.lang.Class<T>wrap(java.lang.Class<T> type) +
      Returns the corresponding wrapper type of type if it is a + primitive type; otherwise returns type itself.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        isPrimitive

        +
        public static boolean isPrimitive(java.lang.reflect.Type type)
        +
        Returns true if this type is a primitive.
        +
      • +
      + + + +
        +
      • +

        isWrapperType

        +
        public static boolean isWrapperType(java.lang.reflect.Type type)
        +
        Returns true if type is one of the nine primitive-wrapper + types, such as Integer.
        +
        See Also:
        Class.isPrimitive()
        +
      • +
      + + + +
        +
      • +

        wrap

        +
        public static <T> java.lang.Class<T> wrap(java.lang.Class<T> type)
        +
        Returns the corresponding wrapper type of type if it is a + primitive type; otherwise returns type itself. Idempotent. + +
        +     wrap(int.class) == Integer.class
        +     wrap(Integer.class) == Integer.class
        +     wrap(String.class) == String.class
        + 
        +
      • +
      + + + +
        +
      • +

        unwrap

        +
        public static <T> java.lang.Class<T> unwrap(java.lang.Class<T> type)
        +
        Returns the corresponding primitive type of type if it is a + wrapper type; otherwise returns type itself. Idempotent. + +
        +     unwrap(Integer.class) == int.class
        +     unwrap(int.class) == int.class
        +     unwrap(String.class) == String.class
        + 
        +
      • +
      + + + + + +
        +
      • +

        checkNotNull

        +
        public static <T> T checkNotNull(T obj)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/StructureModifier.html b/Javadoc/com/comphenix/protocol/reflect/StructureModifier.html new file mode 100644 index 00000000..0e232066 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/reflect/StructureModifier.html @@ -0,0 +1,547 @@ + + + + + +StructureModifier + + + + + + + +
+ + + + + +
+ + + +
+
com.comphenix.protocol.reflect
+

Class StructureModifier<TField>

+
+
+ +
+
    +
  • +
    +
    +
    public class StructureModifier<TField>
    +extends java.lang.Object
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      StructureModifier(java.lang.Class targetType, + java.lang.Class superclassExclude, + boolean requireDefault) +
      Creates a structure modifier.
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      java.util.List<java.lang.reflect.Field>getFields() +
      Retrieves a list of the fields matching the constraints of this structure modifier.
      +
      java.lang.ClassgetFieldType() +
      Retrieves the common type of each field.
      +
      java.lang.ObjectgetTarget() +
      Retrieves the object we're currently modifying.
      +
      java.lang.ClassgetTargetType() +
      Retrieves the type of the object we're modifying.
      +
      java.util.List<TField>getValues() +
      Retrieve every value stored in the fields of the current type.
      +
      StructureModifier<TField>modify(int fieldIndex, + com.google.common.base.Function<TField,TField> select) +
      Correctly modifies the value of a field.
      +
      TFieldread(int fieldIndex) +
      Reads the value of a field given its index.
      +
      TFieldreadSafely(int fieldIndex) +
      Reads the value of a field if and ONLY IF it exists.
      +
      intsize() +
      Retrieve the number of readable types.
      +
      StructureModifier<TField>withTarget(java.lang.Object target) +
      Retrieves a structure modifier of the same type for a different object target.
      +
      <T> StructureModifier<T>withType(java.lang.Class fieldType) +
      Retrieves a structure modifier that only reads and writes fields of a given type.
      +
      <T> StructureModifier<T>withType(java.lang.Class fieldType, + EquivalentConverter<T> converter) +
      Retrieves a structure modifier that only reads and writes fields of a given type.
      +
      StructureModifier<TField>write(int fieldIndex, + TField value) +
      Writes the value of a field given its index.
      +
      StructureModifier<TField>writeDefaults() +
      Sets all non-primitive fields to a more fitting default value.
      +
      StructureModifier<TField>writeSafely(int fieldIndex, + TField value) +
      Writes the value of a given field IF and ONLY if it exists.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        StructureModifier

        +
        public StructureModifier(java.lang.Class targetType,
        +                 java.lang.Class superclassExclude,
        +                 boolean requireDefault)
        +
        Creates a structure modifier.
        +
        Parameters:
        targetType - - the structure to modify.
        superclassExclude - - a superclass to exclude.
        requireDefault - - whether or not we will be using writeDefaults().
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        read

        +
        public TField read(int fieldIndex)
        +            throws FieldAccessException
        +
        Reads the value of a field given its index.
        +
        Parameters:
        fieldIndex - - index of the field.
        +
        Returns:
        Value of the field.
        +
        Throws:
        +
        FieldAccessException - The field doesn't exist, or it cannot be accessed under the current security contraints.
        +
      • +
      + + + +
        +
      • +

        readSafely

        +
        public TField readSafely(int fieldIndex)
        +                  throws FieldAccessException
        +
        Reads the value of a field if and ONLY IF it exists.
        +
        Parameters:
        fieldIndex - - index of the field.
        +
        Returns:
        Value of the field, or NULL if it doesn't exist.
        +
        Throws:
        +
        FieldAccessException - The field cannot be accessed under the current security contraints.
        +
      • +
      + + + + + +
        +
      • +

        write

        +
        public StructureModifier<TField> write(int fieldIndex,
        +                              TField value)
        +                                throws FieldAccessException
        +
        Writes the value of a field given its index.
        +
        Parameters:
        fieldIndex - - index of the field.
        value - - new value of the field.
        +
        Returns:
        This structure modifier - for chaining.
        +
        Throws:
        +
        FieldAccessException - The field doesn't exist, or it cannot be accessed under the current security contraints.
        +
      • +
      + + + + + +
        +
      • +

        writeSafely

        +
        public StructureModifier<TField> writeSafely(int fieldIndex,
        +                                    TField value)
        +                                      throws FieldAccessException
        +
        Writes the value of a given field IF and ONLY if it exists.
        +
        Parameters:
        fieldIndex - - index of the potential field.
        value - - new value of the field.
        +
        Returns:
        This structure modifer - for chaining.
        +
        Throws:
        +
        FieldAccessException - The field cannot be accessed under the current security contraints.
        +
      • +
      + + + +
        +
      • +

        modify

        +
        public StructureModifier<TField> modify(int fieldIndex,
        +                               com.google.common.base.Function<TField,TField> select)
        +                                 throws FieldAccessException
        +
        Correctly modifies the value of a field.
        +
        Parameters:
        fieldIndex - - index of the field to modify.
        select - - the function that modifies the field value.
        +
        Returns:
        This structure modifier - for chaining.
        +
        Throws:
        +
        FieldAccessException - The field cannot be accessed under the current security contraints.
        +
      • +
      + + + +
        +
      • +

        withType

        +
        public <T> StructureModifier<T> withType(java.lang.Class fieldType)
        +
        Retrieves a structure modifier that only reads and writes fields of a given type.
        +
        Parameters:
        fieldType - - the type, or supertype, of every field to modify.
        +
        Returns:
        A structure modifier for fields of this type.
        +
      • +
      + + + + + + + +
        +
      • +

        withType

        +
        public <T> StructureModifier<T> withType(java.lang.Class fieldType,
        +                                EquivalentConverter<T> converter)
        +
        Retrieves a structure modifier that only reads and writes fields of a given type.
        +
        Parameters:
        fieldType - - the type, or supertype, of every field to modify.
        converter - - converts objects into the given type.
        +
        Returns:
        A structure modifier for fields of this type.
        +
      • +
      + + + +
        +
      • +

        getFieldType

        +
        public java.lang.Class getFieldType()
        +
        Retrieves the common type of each field.
        +
        Returns:
        Common type of each field.
        +
      • +
      + + + +
        +
      • +

        getTargetType

        +
        public java.lang.Class getTargetType()
        +
        Retrieves the type of the object we're modifying.
        +
        Returns:
        Type of the object.
        +
      • +
      + + + +
        +
      • +

        getTarget

        +
        public java.lang.Object getTarget()
        +
        Retrieves the object we're currently modifying.
        +
        Returns:
        Object we're modifying.
        +
      • +
      + + + +
        +
      • +

        size

        +
        public int size()
        +
        Retrieve the number of readable types.
        +
        Returns:
        Readable types.
        +
      • +
      + + + +
        +
      • +

        withTarget

        +
        public StructureModifier<TField> withTarget(java.lang.Object target)
        +
        Retrieves a structure modifier of the same type for a different object target.
        +
        Parameters:
        target - - different target of the same type.
        +
        Returns:
        Structure modifier with the new target.
        +
      • +
      + + + +
        +
      • +

        getFields

        +
        public java.util.List<java.lang.reflect.Field> getFields()
        +
        Retrieves a list of the fields matching the constraints of this structure modifier.
        +
        Returns:
        List of fields.
        +
      • +
      + + + +
        +
      • +

        getValues

        +
        public java.util.List<TField> getValues()
        +                                 throws FieldAccessException
        +
        Retrieve every value stored in the fields of the current type.
        +
        Returns:
        Every field value.
        +
        Throws:
        +
        FieldAccessException - Unable to access one or all of the fields
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/StructureModifierTest.html b/Javadoc/com/comphenix/protocol/reflect/StructureModifierTest.html new file mode 100644 index 00000000..a970f235 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/reflect/StructureModifierTest.html @@ -0,0 +1,259 @@ + + + + + +StructureModifierTest + + + + + + + +
+ + + + + +
+ + + +
+
com.comphenix.protocol.reflect
+

Class StructureModifierTest

+
+
+ +
+
    +
  • +
    +
    +
    public class StructureModifierTest
    +extends java.lang.Object
    +
  • +
+
+
+
    +
  • + + + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      voidtest() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+ +
+
+ + +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/VolatileField.html b/Javadoc/com/comphenix/protocol/reflect/VolatileField.html new file mode 100644 index 00000000..b6a24e84 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/reflect/VolatileField.html @@ -0,0 +1,442 @@ + + + + + +VolatileField + + + + + + + +
+ + + + + +
+ + + +
+
com.comphenix.protocol.reflect
+

Class VolatileField

+
+
+ +
+
    +
  • +
    +
    +
    public class VolatileField
    +extends java.lang.Object
    +
    Represents a field that will revert to its original state when this class is garbaged collected.
    +
    Author:
    +
    Kristian
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + + +
      Constructors 
      Constructor and Description
      VolatileField(java.lang.reflect.Field field, + java.lang.Object container) +
      Initializes a volatile field with an associated object.
      +
      VolatileField(java.lang.reflect.Field field, + java.lang.Object container, + boolean forceAccess) +
      Initializes a volatile field with an associated object.
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      protected voidfinalize() 
      java.lang.ObjectgetContainer() +
      Retrieves the object the field is stored.
      +
      java.lang.reflect.FieldgetField() +
      Retrieves the current field.
      +
      java.lang.ObjectgetOldValue() +
      Retrieves the field value before the previous setValue(), unless saveValue() has been called.
      +
      java.lang.ObjectgetValue() +
      Retrieves the current field value.
      +
      booleanisForceAccess() +
      Retrieves whether or not not to override any scope restrictions.
      +
      voidrevertValue() +
      Revert to the previously set value.
      +
      voidsaveValue() +
      Ensure that the current value is still set after this class has been garbaged collected.
      +
      voidsetForceAccess(boolean forceAccess) +
      Sets whether or not not to override any scope restrictions.
      +
      voidsetValue(java.lang.Object newValue) +
      Sets the current value.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        VolatileField

        +
        public VolatileField(java.lang.reflect.Field field,
        +             java.lang.Object container)
        +
        Initializes a volatile field with an associated object.
        +
        Parameters:
        field - - the field.
        container - - the object this field belongs to.
        +
      • +
      + + + +
        +
      • +

        VolatileField

        +
        public VolatileField(java.lang.reflect.Field field,
        +             java.lang.Object container,
        +             boolean forceAccess)
        +
        Initializes a volatile field with an associated object.
        +
        Parameters:
        field - - the field.
        container - - the object this field belongs to.
        forceAccess - - whether or not to override any scope restrictions.
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getField

        +
        public java.lang.reflect.Field getField()
        +
        Retrieves the current field.
        +
        Returns:
        The stored field.
        +
      • +
      + + + +
        +
      • +

        getContainer

        +
        public java.lang.Object getContainer()
        +
        Retrieves the object the field is stored.
        +
        Returns:
        The reference object.
        +
      • +
      + + + +
        +
      • +

        isForceAccess

        +
        public boolean isForceAccess()
        +
        Retrieves whether or not not to override any scope restrictions.
        +
        Returns:
        TRUE if we override scope, FALSE otherwise.
        +
      • +
      + + + +
        +
      • +

        setForceAccess

        +
        public void setForceAccess(boolean forceAccess)
        +
        Sets whether or not not to override any scope restrictions.
        +
        Parameters:
        forceAccess - - TRUE if we override scope, FALSE otherwise.
        +
      • +
      + + + +
        +
      • +

        getValue

        +
        public java.lang.Object getValue()
        +
        Retrieves the current field value.
        +
        Returns:
        The current field value.
        +
      • +
      + + + +
        +
      • +

        getOldValue

        +
        public java.lang.Object getOldValue()
        +
        Retrieves the field value before the previous setValue(), unless saveValue() has been called.
        +
        Returns:
        Previous value.
        +
      • +
      + + + +
        +
      • +

        setValue

        +
        public void setValue(java.lang.Object newValue)
        +
        Sets the current value. This will be reverted unless saveValue() is called.
        +
        Parameters:
        newValue - - new field value.
        +
      • +
      + + + +
        +
      • +

        saveValue

        +
        public void saveValue()
        +
        Ensure that the current value is still set after this class has been garbaged collected.
        +
      • +
      + + + +
        +
      • +

        revertValue

        +
        public void revertValue()
        +
        Revert to the previously set value.
        +
      • +
      + + + +
        +
      • +

        finalize

        +
        protected void finalize()
        +                 throws java.lang.Throwable
        +
        +
        Overrides:
        +
        finalize in class java.lang.Object
        +
        Throws:
        +
        java.lang.Throwable
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/class-use/EquivalentConverter.html b/Javadoc/com/comphenix/protocol/reflect/class-use/EquivalentConverter.html new file mode 100644 index 00000000..0403457d --- /dev/null +++ b/Javadoc/com/comphenix/protocol/reflect/class-use/EquivalentConverter.html @@ -0,0 +1,158 @@ + + + + + +Uses of Interface com.comphenix.protocol.reflect.EquivalentConverter + + + + + + + +
+ + + + + +
+ + +
+

Uses of Interface
com.comphenix.protocol.reflect.EquivalentConverter

+
+
+ +
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/class-use/FieldAccessException.html b/Javadoc/com/comphenix/protocol/reflect/class-use/FieldAccessException.html new file mode 100644 index 00000000..02b0cc9b --- /dev/null +++ b/Javadoc/com/comphenix/protocol/reflect/class-use/FieldAccessException.html @@ -0,0 +1,268 @@ + + + + + +Uses of Class com.comphenix.protocol.reflect.FieldAccessException + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.comphenix.protocol.reflect.FieldAccessException

+
+
+ +
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/class-use/FieldUtils.html b/Javadoc/com/comphenix/protocol/reflect/class-use/FieldUtils.html new file mode 100644 index 00000000..5026e710 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/reflect/class-use/FieldUtils.html @@ -0,0 +1,115 @@ + + + + + +Uses of Class com.comphenix.protocol.reflect.FieldUtils + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.comphenix.protocol.reflect.FieldUtils

+
+
No usage of com.comphenix.protocol.reflect.FieldUtils
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/class-use/FuzzyReflection.html b/Javadoc/com/comphenix/protocol/reflect/class-use/FuzzyReflection.html new file mode 100644 index 00000000..b3300218 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/reflect/class-use/FuzzyReflection.html @@ -0,0 +1,177 @@ + + + + + +Uses of Class com.comphenix.protocol.reflect.FuzzyReflection + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.comphenix.protocol.reflect.FuzzyReflection

+
+
+ +
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/class-use/IntEnum.html b/Javadoc/com/comphenix/protocol/reflect/class-use/IntEnum.html new file mode 100644 index 00000000..3f0df0e3 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/reflect/class-use/IntEnum.html @@ -0,0 +1,163 @@ + + + + + +Uses of Class com.comphenix.protocol.reflect.IntEnum + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.comphenix.protocol.reflect.IntEnum

+
+
+ +
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/class-use/MethodUtils.html b/Javadoc/com/comphenix/protocol/reflect/class-use/MethodUtils.html new file mode 100644 index 00000000..65dcd901 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/reflect/class-use/MethodUtils.html @@ -0,0 +1,115 @@ + + + + + +Uses of Class com.comphenix.protocol.reflect.MethodUtils + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.comphenix.protocol.reflect.MethodUtils

+
+
No usage of com.comphenix.protocol.reflect.MethodUtils
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/class-use/PrimitiveUtils.html b/Javadoc/com/comphenix/protocol/reflect/class-use/PrimitiveUtils.html new file mode 100644 index 00000000..7b481906 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/reflect/class-use/PrimitiveUtils.html @@ -0,0 +1,115 @@ + + + + + +Uses of Class com.comphenix.protocol.reflect.PrimitiveUtils + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.comphenix.protocol.reflect.PrimitiveUtils

+
+
No usage of com.comphenix.protocol.reflect.PrimitiveUtils
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/class-use/StructureModifier.html b/Javadoc/com/comphenix/protocol/reflect/class-use/StructureModifier.html new file mode 100644 index 00000000..8bff7ab6 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/reflect/class-use/StructureModifier.html @@ -0,0 +1,303 @@ + + + + + +Uses of Class com.comphenix.protocol.reflect.StructureModifier + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.comphenix.protocol.reflect.StructureModifier

+
+
+ +
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/class-use/StructureModifierTest.html b/Javadoc/com/comphenix/protocol/reflect/class-use/StructureModifierTest.html new file mode 100644 index 00000000..a0dbced5 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/reflect/class-use/StructureModifierTest.html @@ -0,0 +1,115 @@ + + + + + +Uses of Class com.comphenix.protocol.reflect.StructureModifierTest + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.comphenix.protocol.reflect.StructureModifierTest

+
+
No usage of com.comphenix.protocol.reflect.StructureModifierTest
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/class-use/VolatileField.html b/Javadoc/com/comphenix/protocol/reflect/class-use/VolatileField.html new file mode 100644 index 00000000..8e11e278 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/reflect/class-use/VolatileField.html @@ -0,0 +1,115 @@ + + + + + +Uses of Class com.comphenix.protocol.reflect.VolatileField + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.comphenix.protocol.reflect.VolatileField

+
+
No usage of com.comphenix.protocol.reflect.VolatileField
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/CollectionGenerator.html b/Javadoc/com/comphenix/protocol/reflect/instances/CollectionGenerator.html new file mode 100644 index 00000000..aecdcf27 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/reflect/instances/CollectionGenerator.html @@ -0,0 +1,313 @@ + + + + + +CollectionGenerator + + + + + + + +
+ + + + + +
+ + + +
+
com.comphenix.protocol.reflect.instances
+

Class CollectionGenerator

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    InstanceProvider
    +
    +
    +
    +
    public class CollectionGenerator
    +extends java.lang.Object
    +implements InstanceProvider
    +
    Provides simple constructors for collection interfaces.
    +
    Author:
    +
    Kristian
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Summary

      + + + + + + + + + + +
      Fields 
      Modifier and TypeField and Description
      static CollectionGeneratorINSTANCE +
      Shared instance of this generator.
      +
      +
    • +
    + + + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      java.lang.Objectcreate(java.lang.Class<?> type) +
      Create an instance given a type, if possible.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CollectionGenerator

        +
        public CollectionGenerator()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public java.lang.Object create(@Nullable
        +                      java.lang.Class<?> type)
        +
        Description copied from interface: InstanceProvider
        +
        Create an instance given a type, if possible.
        +
        +
        Specified by:
        +
        create in interface InstanceProvider
        +
        Parameters:
        type - - type to create.
        +
        Returns:
        The instance, or NULL if the type cannot be created.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/DefaultInstances.html b/Javadoc/com/comphenix/protocol/reflect/instances/DefaultInstances.html new file mode 100644 index 00000000..fad47d00 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/reflect/instances/DefaultInstances.html @@ -0,0 +1,444 @@ + + + + + +DefaultInstances + + + + + + + +
+ + + + + +
+ + + +
+
com.comphenix.protocol.reflect.instances
+

Class DefaultInstances

+
+
+ +
+
    +
  • +
    +
    +
    public class DefaultInstances
    +extends java.lang.Object
    +
    Used to construct default instances of any type.
    +
    Author:
    +
    Kristian
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Summary

      + + + + + + + + + + +
      Fields 
      Modifier and TypeField and Description
      static DefaultInstancesDEFAULT +
      Standard default instance provider.
      +
      +
    • +
    + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + + +
      Constructors 
      Constructor and Description
      DefaultInstances(com.google.common.collect.ImmutableList<InstanceProvider> registered) +
      Construct a default instance generator using the given instance providers.
      +
      DefaultInstances(InstanceProvider... instaceProviders) +
      Construct a default instance generator using the given instance providers.
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      protected <T> booleancontains(T[] elements, + T elementToFind) 
      protected <T> TcreateInstance(java.lang.Class<T> type, + java.lang.reflect.Constructor<T> constructor, + java.lang.Class<?>[] types, + java.lang.Object[] params) +
      Used by the default instance provider to create a class from a given constructor.
      +
      static DefaultInstancesfromArray(InstanceProvider... instaceProviders) +
      Construct a default instance generator using the given instance providers.
      +
      <T> TgetDefault(java.lang.Class<T> type) +
      Retrieves a default instance or value that is assignable to this type.
      +
      <T> TgetDefault(java.lang.Class<T> type, + java.util.List<InstanceProvider> providers) +
      Retrieves a default instance or value that is assignable to this type.
      +
      com.google.common.collect.ImmutableList<InstanceProvider>getRegistered() +
      Retrieves a immutable list of every default object providers that generates instances.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        DEFAULT

        +
        public static DefaultInstances DEFAULT
        +
        Standard default instance provider.
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        DefaultInstances

        +
        public DefaultInstances(com.google.common.collect.ImmutableList<InstanceProvider> registered)
        +
        Construct a default instance generator using the given instance providers.
        +
        Parameters:
        registered - - list of instance providers.
        +
      • +
      + + + +
        +
      • +

        DefaultInstances

        +
        public DefaultInstances(InstanceProvider... instaceProviders)
        +
        Construct a default instance generator using the given instance providers.
        +
        Parameters:
        instaceProviders - - array of instance providers.
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        fromArray

        +
        public static DefaultInstances fromArray(InstanceProvider... instaceProviders)
        +
        Construct a default instance generator using the given instance providers.
        +
        Parameters:
        instaceProviders - - array of instance providers.
        +
        Returns:
        An default instance generator.
        +
      • +
      + + + +
        +
      • +

        getRegistered

        +
        public com.google.common.collect.ImmutableList<InstanceProvider> getRegistered()
        +
        Retrieves a immutable list of every default object providers that generates instances.
        +
        Returns:
        Table of instance providers.
        +
      • +
      + + + +
        +
      • +

        getDefault

        +
        public <T> T getDefault(java.lang.Class<T> type)
        +
        Retrieves a default instance or value that is assignable to this type. +

        + This includes, but isn't limited too: +

          +
        • Primitive types. Returns either zero or null.
        • +
        • Primitive wrappers.
        • +
        • String types. Returns an empty string.
        • +
        • Arrays. Returns a zero-length array of the same type.
        • +
        • Enums. Returns the first declared element.
        • +
        • Collection interfaces, such as List and Set. Returns the most appropriate empty container.
        • +
        • Any type with a public constructor that has parameters with defaults.
        • +
        +
+
Parameters:
type - - the type to construct a default value.
+
Returns:
A default value/instance, or NULL if not possible.
+ + + + + +
+
Parameters:
type - - the type to construct a default value.
providers - - instance providers used during the
+
Returns:
A default value/instance, or NULL if not possible.
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/InstanceProvider.html b/Javadoc/com/comphenix/protocol/reflect/instances/InstanceProvider.html new file mode 100644 index 00000000..3799da02 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/reflect/instances/InstanceProvider.html @@ -0,0 +1,219 @@ + + + + + +InstanceProvider + + + + + + + +
+ + + + + +
+ + + +
+
com.comphenix.protocol.reflect.instances
+

Interface InstanceProvider

+
+
+
+
    +
  • +
    +
    All Known Implementing Classes:
    +
    CollectionGenerator, PrimitiveGenerator
    +
    +
    +
    +
    public interface InstanceProvider
    +
    Represents a type generator for specific types.
    +
    Author:
    +
    Kristian
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      java.lang.Objectcreate(java.lang.Class<?> type) +
      Create an instance given a type, if possible.
      +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        java.lang.Object create(@Nullable
        +                      java.lang.Class<?> type)
        +
        Create an instance given a type, if possible.
        +
        Parameters:
        type - - type to create.
        +
        Returns:
        The instance, or NULL if the type cannot be created.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/PrimitiveGenerator.html b/Javadoc/com/comphenix/protocol/reflect/instances/PrimitiveGenerator.html new file mode 100644 index 00000000..5af71dc7 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/reflect/instances/PrimitiveGenerator.html @@ -0,0 +1,347 @@ + + + + + +PrimitiveGenerator + + + + + + + +
+ + + + + +
+ + + +
+
com.comphenix.protocol.reflect.instances
+

Class PrimitiveGenerator

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    InstanceProvider
    +
    +
    +
    +
    public class PrimitiveGenerator
    +extends java.lang.Object
    +implements InstanceProvider
    +
    Provides constructors for primtive types, wrappers, arrays and strings.
    +
    Author:
    +
    Kristian
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + + + +
      Fields 
      Modifier and TypeField and Description
      static PrimitiveGeneratorINSTANCE +
      Shared instance of this generator.
      +
      static java.lang.StringSTRING_DEFAULT +
      Default value for Strings.
      +
      +
    • +
    + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      PrimitiveGenerator(java.lang.String stringDefault) 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      java.lang.Objectcreate(java.lang.Class<?> type) +
      Create an instance given a type, if possible.
      +
      java.lang.StringgetStringDefault() +
      Retrieve the string default.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        STRING_DEFAULT

        +
        public static final java.lang.String STRING_DEFAULT
        +
        Default value for Strings.
        +
        See Also:
        Constant Field Values
        +
      • +
      + + + +
        +
      • +

        INSTANCE

        +
        public static PrimitiveGenerator INSTANCE
        +
        Shared instance of this generator.
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PrimitiveGenerator

        +
        public PrimitiveGenerator(java.lang.String stringDefault)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getStringDefault

        +
        public java.lang.String getStringDefault()
        +
        Retrieve the string default.
        +
        Returns:
        Default instance of a string.
        +
      • +
      + + + +
        +
      • +

        create

        +
        public java.lang.Object create(@Nullable
        +                      java.lang.Class<?> type)
        +
        Description copied from interface: InstanceProvider
        +
        Create an instance given a type, if possible.
        +
        +
        Specified by:
        +
        create in interface InstanceProvider
        +
        Parameters:
        type - - type to create.
        +
        Returns:
        The instance, or NULL if the type cannot be created.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/class-use/CollectionGenerator.html b/Javadoc/com/comphenix/protocol/reflect/instances/class-use/CollectionGenerator.html new file mode 100644 index 00000000..ad918e3d --- /dev/null +++ b/Javadoc/com/comphenix/protocol/reflect/instances/class-use/CollectionGenerator.html @@ -0,0 +1,157 @@ + + + + + +Uses of Class com.comphenix.protocol.reflect.instances.CollectionGenerator + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.comphenix.protocol.reflect.instances.CollectionGenerator

+
+
+ +
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/class-use/DefaultInstances.html b/Javadoc/com/comphenix/protocol/reflect/instances/class-use/DefaultInstances.html new file mode 100644 index 00000000..c4102aae --- /dev/null +++ b/Javadoc/com/comphenix/protocol/reflect/instances/class-use/DefaultInstances.html @@ -0,0 +1,172 @@ + + + + + +Uses of Class com.comphenix.protocol.reflect.instances.DefaultInstances + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.comphenix.protocol.reflect.instances.DefaultInstances

+
+
+ +
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/class-use/InstanceProvider.html b/Javadoc/com/comphenix/protocol/reflect/instances/class-use/InstanceProvider.html new file mode 100644 index 00000000..30f87e13 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/reflect/instances/class-use/InstanceProvider.html @@ -0,0 +1,235 @@ + + + + + +Uses of Interface com.comphenix.protocol.reflect.instances.InstanceProvider + + + + + + + +
+ + + + + +
+ + +
+

Uses of Interface
com.comphenix.protocol.reflect.instances.InstanceProvider

+
+
+ +
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/class-use/PrimitiveGenerator.html b/Javadoc/com/comphenix/protocol/reflect/instances/class-use/PrimitiveGenerator.html new file mode 100644 index 00000000..f7331770 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/reflect/instances/class-use/PrimitiveGenerator.html @@ -0,0 +1,157 @@ + + + + + +Uses of Class com.comphenix.protocol.reflect.instances.PrimitiveGenerator + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.comphenix.protocol.reflect.instances.PrimitiveGenerator

+
+
+ +
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/package-frame.html b/Javadoc/com/comphenix/protocol/reflect/instances/package-frame.html new file mode 100644 index 00000000..35c23469 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/reflect/instances/package-frame.html @@ -0,0 +1,25 @@ + + + + + +com.comphenix.protocol.reflect.instances + + + + +

com.comphenix.protocol.reflect.instances

+
+

Interfaces

+ +

Classes

+ +
+ + diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/package-summary.html b/Javadoc/com/comphenix/protocol/reflect/instances/package-summary.html new file mode 100644 index 00000000..c97c33a7 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/reflect/instances/package-summary.html @@ -0,0 +1,164 @@ + + + + + +com.comphenix.protocol.reflect.instances + + + + + + + +
+ + + + + +
+ + +
+

Package com.comphenix.protocol.reflect.instances

+
+
+ +
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/package-tree.html b/Javadoc/com/comphenix/protocol/reflect/instances/package-tree.html new file mode 100644 index 00000000..e3c71a67 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/reflect/instances/package-tree.html @@ -0,0 +1,134 @@ + + + + + +com.comphenix.protocol.reflect.instances Class Hierarchy + + + + + + + +
+ + + + + +
+ + +
+

Hierarchy For Package com.comphenix.protocol.reflect.instances

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/package-use.html b/Javadoc/com/comphenix/protocol/reflect/instances/package-use.html new file mode 100644 index 00000000..357a7326 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/reflect/instances/package-use.html @@ -0,0 +1,165 @@ + + + + + +Uses of Package com.comphenix.protocol.reflect.instances + + + + + + + +
+ + + + + +
+ + +
+

Uses of Package
com.comphenix.protocol.reflect.instances

+
+
+ +
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/package-frame.html b/Javadoc/com/comphenix/protocol/reflect/package-frame.html new file mode 100644 index 00000000..8726625a --- /dev/null +++ b/Javadoc/com/comphenix/protocol/reflect/package-frame.html @@ -0,0 +1,34 @@ + + + + + +com.comphenix.protocol.reflect + + + + +

com.comphenix.protocol.reflect

+
+

Interfaces

+ +

Classes

+ +

Exceptions

+ +
+ + diff --git a/Javadoc/com/comphenix/protocol/reflect/package-summary.html b/Javadoc/com/comphenix/protocol/reflect/package-summary.html new file mode 100644 index 00000000..e5477de5 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/reflect/package-summary.html @@ -0,0 +1,208 @@ + + + + + +com.comphenix.protocol.reflect + + + + + + + +
+ + + + + +
+ + +
+

Package com.comphenix.protocol.reflect

+
+
+ +
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/package-tree.html b/Javadoc/com/comphenix/protocol/reflect/package-tree.html new file mode 100644 index 00000000..93286179 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/reflect/package-tree.html @@ -0,0 +1,148 @@ + + + + + +com.comphenix.protocol.reflect Class Hierarchy + + + + + + + +
+ + + + + +
+ + +
+

Hierarchy For Package com.comphenix.protocol.reflect

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/package-use.html b/Javadoc/com/comphenix/protocol/reflect/package-use.html new file mode 100644 index 00000000..84a7dd81 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/reflect/package-use.html @@ -0,0 +1,232 @@ + + + + + +Uses of Package com.comphenix.protocol.reflect + + + + + + + +
+ + + + + +
+ + +
+

Uses of Package
com.comphenix.protocol.reflect

+
+
+ +
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/constant-values.html b/Javadoc/constant-values.html new file mode 100644 index 00000000..de1f7b32 --- /dev/null +++ b/Javadoc/constant-values.html @@ -0,0 +1,821 @@ + + + + + +Constant Field Values + + + + + + + +
+ + + + + +
+ + +
+

Constant Field Values

+

Contents

+ +
+
+ + +

com.comphenix.*

+ + +
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/deprecated-list.html b/Javadoc/deprecated-list.html new file mode 100644 index 00000000..ce7a38ed --- /dev/null +++ b/Javadoc/deprecated-list.html @@ -0,0 +1,115 @@ + + + + + +Deprecated List + + + + + + + +
+ + + + + +
+ + +
+

Deprecated API

+

Contents

+
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/help-doc.html b/Javadoc/help-doc.html new file mode 100644 index 00000000..aeaa1478 --- /dev/null +++ b/Javadoc/help-doc.html @@ -0,0 +1,220 @@ + + + + + +API Help + + + + + + + +
+ + + + + +
+ + +
+

How This API Document Is Organized

+
This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
+
+
+ +This help file applies to API documentation generated using the standard doclet.
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/index-files/index-1.html b/Javadoc/index-files/index-1.html new file mode 100644 index 00000000..7d8c8546 --- /dev/null +++ b/Javadoc/index-files/index-1.html @@ -0,0 +1,150 @@ + + + + + +A-Index + + + + + + + +
+ + + + + +
+ + +
A B C D E F G H I K L M N O P R S T U V W  + + +

A

+
+
ABILITIES - Static variable in class com.comphenix.protocol.Packets.Client
+
 
+
ABILITIES - Static variable in class com.comphenix.protocol.Packets.Server
+
 
+
add(T) - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
+
+
Inserts the given element in the proper location.
+
+
ADD_EXP_ORB - Static variable in class com.comphenix.protocol.Packets.Server
+
 
+
addAll(Collection<? extends T>) - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
+
 
+
addListener(PacketListener, ListeningWhitelist) - Method in class com.comphenix.protocol.injector.ConcurrentListenerMultimap
+
+
Adds a listener to its requested list of packet recievers.
+
+
addPacketListener(PacketListener) - Method in class com.comphenix.protocol.injector.PacketFilterManager
+
 
+
addPacketListener(PacketListener) - Method in interface com.comphenix.protocol.ProtocolManager
+
+
Adds a packet listener.
+
+
Application - Class in com.comphenix.protocol
+
 
+
Application() - Constructor for class com.comphenix.protocol.Application
+
 
+
ARM_ANIMATION - Static variable in class com.comphenix.protocol.Packets.Client
+
 
+
ARM_ANIMATION - Static variable in class com.comphenix.protocol.Packets.Server
+
 
+
ATTACH_ENTITY - Static variable in class com.comphenix.protocol.Packets.Server
+
 
+
+A B C D E F G H I K L M N O P R S T U V W 
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/index-files/index-10.html b/Javadoc/index-files/index-10.html new file mode 100644 index 00000000..cc959fb6 --- /dev/null +++ b/Javadoc/index-files/index-10.html @@ -0,0 +1,132 @@ + + + + + +K-Index + + + + + + + +
+ + + + + +
+ + +
A B C D E F G H I K L M N O P R S T U V W  + + +

K

+
+
KEEP_ALIVE - Static variable in class com.comphenix.protocol.Packets.Client
+
 
+
KEEP_ALIVE - Static variable in class com.comphenix.protocol.Packets.Server
+
 
+
KEY_REQUEST - Static variable in class com.comphenix.protocol.Packets.Server
+
 
+
KEY_RESPONSE - Static variable in class com.comphenix.protocol.Packets.Client
+
 
+
KEY_RESPONSE - Static variable in class com.comphenix.protocol.Packets.Server
+
 
+
KICK_DISCONNECT - Static variable in class com.comphenix.protocol.Packets.Client
+
 
+
KICK_DISCONNECT - Static variable in class com.comphenix.protocol.Packets.Server
+
 
+
+A B C D E F G H I K L M N O P R S T U V W 
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/index-files/index-11.html b/Javadoc/index-files/index-11.html new file mode 100644 index 00000000..1909ab8a --- /dev/null +++ b/Javadoc/index-files/index-11.html @@ -0,0 +1,142 @@ + + + + + +L-Index + + + + + + + +
+ + + + + +
+ + +
A B C D E F G H I K L M N O P R S T U V W  + + +

L

+
+
ListenerPriority - Enum in com.comphenix.protocol.events
+
+
Represents a packet event priority, similar to the Bukkit EventPriority.
+
+
listeners - Variable in class com.comphenix.protocol.injector.ConcurrentListenerMultimap
+
 
+
ListeningWhitelist - Class in com.comphenix.protocol.events
+
+
Determines which packets will be observed by a listener, and with what priority.
+
+
ListeningWhitelist(ListenerPriority, Set<Integer>) - Constructor for class com.comphenix.protocol.events.ListeningWhitelist
+
+
Creates a packet whitelist for a given priority with a set of packet IDs.
+
+
ListeningWhitelist(ListenerPriority, Integer...) - Constructor for class com.comphenix.protocol.events.ListeningWhitelist
+
+
Creates a packet whitelist of a given priority for a list of packets.
+
+
LOCALE_AND_VIEW_DISTANCE - Static variable in class com.comphenix.protocol.Packets.Client
+
 
+
LOGIN - Static variable in class com.comphenix.protocol.Packets.Client
+
 
+
LOGIN - Static variable in class com.comphenix.protocol.Packets.Server
+
 
+
+A B C D E F G H I K L M N O P R S T U V W 
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/index-files/index-12.html b/Javadoc/index-files/index-12.html new file mode 100644 index 00000000..9dc79def --- /dev/null +++ b/Javadoc/index-files/index-12.html @@ -0,0 +1,146 @@ + + + + + +M-Index + + + + + + + +
+ + + + + +
+ + +
A B C D E F G H I K L M N O P R S T U V W  + + +

M

+
+
main(String[]) - Static method in class com.comphenix.protocol.Application
+
 
+
MAP_CHUNK - Static variable in class com.comphenix.protocol.Packets.Server
+
 
+
MAP_CHUNK_BULK - Static variable in class com.comphenix.protocol.Packets.Server
+
 
+
members - Variable in class com.comphenix.protocol.reflect.IntEnum
+
 
+
MethodUtils - Class in com.comphenix.protocol.reflect
+
+
Utility reflection methods focussed on methods in general rather than properties in particular.
+
+
MethodUtils() - Constructor for class com.comphenix.protocol.reflect.MethodUtils
+
 
+
MINECRAFT_OBJECT - Static variable in class com.comphenix.protocol.reflect.FuzzyReflection
+
+
Matches a Minecraft object.
+
+
MOB_EFFECT - Static variable in class com.comphenix.protocol.Packets.Server
+
 
+
MOB_SPAWN - Static variable in class com.comphenix.protocol.Packets.Server
+
 
+
modify(int, Function<TField, TField>) - Method in class com.comphenix.protocol.reflect.StructureModifier
+
+
Correctly modifies the value of a field.
+
+
MULTI_BLOCK_CHANGE - Static variable in class com.comphenix.protocol.Packets.Server
+
 
+
+A B C D E F G H I K L M N O P R S T U V W 
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/index-files/index-13.html b/Javadoc/index-files/index-13.html new file mode 100644 index 00000000..daf0ca9b --- /dev/null +++ b/Javadoc/index-files/index-13.html @@ -0,0 +1,126 @@ + + + + + +N-Index + + + + + + + +
+ + + + + +
+ + +
A B C D E F G H I K L M N O P R S T U V W  + + +

N

+
+
NAMED_ENTITY_SPAWN - Static variable in class com.comphenix.protocol.Packets.Server
+
 
+
NAMED_SOUND_EFFECT - Static variable in class com.comphenix.protocol.Packets.Server
+
 
+
newPacket(int) - Static method in class com.comphenix.protocol.injector.StructureCache
+
+
Creates an empty Minecraft packet of the given ID.
+
+
+A B C D E F G H I K L M N O P R S T U V W 
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/index-files/index-14.html b/Javadoc/index-files/index-14.html new file mode 100644 index 00000000..9d0f8129 --- /dev/null +++ b/Javadoc/index-files/index-14.html @@ -0,0 +1,138 @@ + + + + + +O-Index + + + + + + + +
+ + + + + +
+ + +
A B C D E F G H I K L M N O P R S T U V W  + + +

O

+
+
onDisable() - Method in class com.comphenix.protocol.ProtocolLibrary
+
 
+
onEnable() - Method in class com.comphenix.protocol.ProtocolLibrary
+
 
+
onLoad() - Method in class com.comphenix.protocol.ProtocolLibrary
+
 
+
onPacketReceiving(PacketEvent) - Method in class com.comphenix.protocol.events.PacketAdapter
+
 
+
onPacketReceiving(PacketEvent) - Method in interface com.comphenix.protocol.events.PacketListener
+
+
Invoked right before a recieved packet from a client is being processed.
+
+
onPacketSending(PacketEvent) - Method in class com.comphenix.protocol.events.PacketAdapter
+
 
+
onPacketSending(PacketEvent) - Method in interface com.comphenix.protocol.events.PacketListener
+
+
Invoked right before a packet is transmitted from the server to the client.
+
+
OPEN_WINDOW - Static variable in class com.comphenix.protocol.Packets.Server
+
 
+
+A B C D E F G H I K L M N O P R S T U V W 
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/index-files/index-15.html b/Javadoc/index-files/index-15.html new file mode 100644 index 00000000..5d2064df --- /dev/null +++ b/Javadoc/index-files/index-15.html @@ -0,0 +1,231 @@ + + + + + +P-Index + + + + + + + +
+ + + + + +
+ + +
A B C D E F G H I K L M N O P R S T U V W  + + +

P

+
+
PacketAdapter - Class in com.comphenix.protocol.events
+
+
Represents a packet listener with useful constructors.
+
+
PacketAdapter(Plugin, ConnectionSide, Integer...) - Constructor for class com.comphenix.protocol.events.PacketAdapter
+
+
Initialize a packet listener with default priority.
+
+
PacketAdapter(Plugin, ConnectionSide, ListenerPriority, Integer...) - Constructor for class com.comphenix.protocol.events.PacketAdapter
+
+
Initialize a packet listener for a single connection side.
+
+
PacketConstructor - Class in com.comphenix.protocol.injector
+
+
A packet constructor that uses an internal Minecraft.
+
+
PacketConstructor.BukkitUnwrapper - Class in com.comphenix.protocol.injector
+
 
+
PacketConstructor.BukkitUnwrapper() - Constructor for class com.comphenix.protocol.injector.PacketConstructor.BukkitUnwrapper
+
 
+
PacketConstructor.Unwrapper - Interface in com.comphenix.protocol.injector
+
 
+
PacketContainer - Class in com.comphenix.protocol.events
+
+
Represents a Minecraft packet indirectly.
+
+
PacketContainer(int) - Constructor for class com.comphenix.protocol.events.PacketContainer
+
+
Creates a packet container for a new packet.
+
+
PacketContainer(int, Packet) - Constructor for class com.comphenix.protocol.events.PacketContainer
+
+
Creates a packet container for an existing packet.
+
+
PacketContainer(int, Packet, StructureModifier<Object>) - Constructor for class com.comphenix.protocol.events.PacketContainer
+
+
Creates a packet container for an existing packet.
+
+
PacketEvent - Class in com.comphenix.protocol.events
+
 
+
PacketEvent(Object) - Constructor for class com.comphenix.protocol.events.PacketEvent
+
+
Use the static constructors to create instances of this event.
+
+
PacketFilterManager - Class in com.comphenix.protocol.injector
+
 
+
PacketFilterManager(ClassLoader, Logger) - Constructor for class com.comphenix.protocol.injector.PacketFilterManager
+
+
Only create instances of this class if protocol lib is disabled.
+
+
PacketFilterManager.PlayerInjectHooks - Enum in com.comphenix.protocol.injector
+
+
Sets the inject hook type.
+
+
PacketListener - Interface in com.comphenix.protocol.events
+
+
Represents a listener that recieves notifications when packets are sent or recieved.
+
+
Packets - Class in com.comphenix.protocol
+
+
List of known packet IDs since 1.3.2.
+
+
Packets() - Constructor for class com.comphenix.protocol.Packets
+
 
+
Packets.Client - Class in com.comphenix.protocol
+
+
List of packets sent by the client.
+
+
Packets.Server - Class in com.comphenix.protocol
+
+
List of packets sent only by the server.
+
+
PICKUP_SPAWN - Static variable in class com.comphenix.protocol.Packets.Server
+
 
+
PLACE - Static variable in class com.comphenix.protocol.Packets.Client
+
 
+
PLAY_NOTE_BLOCK - Static variable in class com.comphenix.protocol.Packets.Server
+
 
+
PLAYER_INFO - Static variable in class com.comphenix.protocol.Packets.Server
+
 
+
PLAYER_LOOK - Static variable in class com.comphenix.protocol.Packets.Client
+
 
+
PLAYER_LOOK - Static variable in class com.comphenix.protocol.Packets.Server
+
 
+
PLAYER_LOOK_MOVE - Static variable in class com.comphenix.protocol.Packets.Client
+
 
+
PLAYER_LOOK_MOVE - Static variable in class com.comphenix.protocol.Packets.Server
+
 
+
PLAYER_POSITION - Static variable in class com.comphenix.protocol.Packets.Client
+
 
+
PLAYER_POSITION - Static variable in class com.comphenix.protocol.Packets.Server
+
 
+
plugin - Variable in class com.comphenix.protocol.events.PacketAdapter
+
 
+
PrimitiveGenerator - Class in com.comphenix.protocol.reflect.instances
+
+
Provides constructors for primtive types, wrappers, arrays and strings.
+
+
PrimitiveGenerator(String) - Constructor for class com.comphenix.protocol.reflect.instances.PrimitiveGenerator
+
 
+
PrimitiveUtils - Class in com.comphenix.protocol.reflect
+
+
Contains static utility methods pertaining to primitive types and their + corresponding wrapper types.
+
+
ProtocolLibrary - Class in com.comphenix.protocol
+
 
+
ProtocolLibrary() - Constructor for class com.comphenix.protocol.ProtocolLibrary
+
 
+
ProtocolManager - Interface in com.comphenix.protocol
+
+
Represents an API for accessing the Minecraft protocol.
+
+
+A B C D E F G H I K L M N O P R S T U V W 
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/index-files/index-16.html b/Javadoc/index-files/index-16.html new file mode 100644 index 00000000..e8935211 --- /dev/null +++ b/Javadoc/index-files/index-16.html @@ -0,0 +1,226 @@ + + + + + +R-Index + + + + + + + +
+ + + + + +
+ + +
A B C D E F G H I K L M N O P R S T U V W  + + +

R

+
+
read(int) - Method in class com.comphenix.protocol.reflect.StructureModifier
+
+
Reads the value of a field given its index.
+
+
readField(Field, Object) - Static method in class com.comphenix.protocol.reflect.FieldUtils
+
+
Read an accessible Field.
+
+
readField(Field, Object, boolean) - Static method in class com.comphenix.protocol.reflect.FieldUtils
+
+
Read a Field.
+
+
readField(Object, String) - Static method in class com.comphenix.protocol.reflect.FieldUtils
+
+
Read the named public field.
+
+
readField(Object, String, boolean) - Static method in class com.comphenix.protocol.reflect.FieldUtils
+
+
Read the named field.
+
+
readSafely(int) - Method in class com.comphenix.protocol.reflect.StructureModifier
+
+
Reads the value of a field if and ONLY IF it exists.
+
+
readStaticField(Field) - Static method in class com.comphenix.protocol.reflect.FieldUtils
+
+
Read an accessible static Field.
+
+
readStaticField(Field, boolean) - Static method in class com.comphenix.protocol.reflect.FieldUtils
+
+
Read a static Field.
+
+
readStaticField(Class, String) - Static method in class com.comphenix.protocol.reflect.FieldUtils
+
+
Read the named public static field.
+
+
readStaticField(Class, String, boolean) - Static method in class com.comphenix.protocol.reflect.FieldUtils
+
+
Read the named static field.
+
+
receivingWhitelist - Variable in class com.comphenix.protocol.events.PacketAdapter
+
 
+
recieveClientPacket(Player, PacketContainer) - Method in class com.comphenix.protocol.injector.PacketFilterManager
+
 
+
recieveClientPacket(Player, PacketContainer, boolean) - Method in class com.comphenix.protocol.injector.PacketFilterManager
+
 
+
recieveClientPacket(Player, PacketContainer) - Method in interface com.comphenix.protocol.ProtocolManager
+
+
Simulate recieving a certain packet from a given player.
+
+
recieveClientPacket(Player, PacketContainer, boolean) - Method in interface com.comphenix.protocol.ProtocolManager
+
+
Simulate recieving a certain packet from a given player.
+
+
registerAll() - Method in class com.comphenix.protocol.reflect.IntEnum
+
+
Registers every public int field as a member.
+
+
registerEvents(PluginManager, Plugin) - Method in class com.comphenix.protocol.injector.PacketFilterManager
+
+
Register this protocol manager on Bukkit.
+
+
registerMember(int, String) - Method in class com.comphenix.protocol.reflect.IntEnum
+
+
Registers a member.
+
+
REL_ENTITY_MOVE - Static variable in class com.comphenix.protocol.Packets.Server
+
 
+
REL_ENTITY_MOVE_LOOK - Static variable in class com.comphenix.protocol.Packets.Server
+
 
+
remove(Object) - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
+
+
Removes from the list by making a new list with every element except the one given.
+
+
remove(int) - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
+
+
Removes from the list by making a copy of every element except the one with the given index.
+
+
REMOVE_MOB_EFFECT - Static variable in class com.comphenix.protocol.Packets.Server
+
 
+
removeAll(Collection<?>) - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
+
 
+
removeListener(PacketListener, ListeningWhitelist) - Method in class com.comphenix.protocol.injector.ConcurrentListenerMultimap
+
+
Removes the given listener from the packet event list.
+
+
removePacketListener(PacketListener) - Method in class com.comphenix.protocol.injector.PacketFilterManager
+
 
+
removePacketListener(PacketListener) - Method in interface com.comphenix.protocol.ProtocolManager
+
+
Removes a given packet listener.
+
+
removePacketListeners(Plugin) - Method in class com.comphenix.protocol.injector.PacketFilterManager
+
 
+
removePacketListeners(Plugin) - Method in interface com.comphenix.protocol.ProtocolManager
+
+
Removes every listener associated with the given plugin.
+
+
RESPAWN - Static variable in class com.comphenix.protocol.Packets.Client
+
 
+
RESPAWN - Static variable in class com.comphenix.protocol.Packets.Server
+
 
+
retainAll(Collection<?>) - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
+
 
+
revertValue() - Method in class com.comphenix.protocol.reflect.VolatileField
+
+
Revert to the previously set value.
+
+
+A B C D E F G H I K L M N O P R S T U V W 
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/index-files/index-17.html b/Javadoc/index-files/index-17.html new file mode 100644 index 00000000..c4808b7c --- /dev/null +++ b/Javadoc/index-files/index-17.html @@ -0,0 +1,231 @@ + + + + + +S-Index + + + + + + + +
+ + + + + +
+ + +
A B C D E F G H I K L M N O P R S T U V W  + + +

S

+
+
saveValue() - Method in class com.comphenix.protocol.reflect.VolatileField
+
+
Ensure that the current value is still set after this class has been garbaged collected.
+
+
sendingWhitelist - Variable in class com.comphenix.protocol.events.PacketAdapter
+
 
+
sendServerPacket(Player, PacketContainer) - Method in class com.comphenix.protocol.injector.PacketFilterManager
+
 
+
sendServerPacket(Player, PacketContainer, boolean) - Method in class com.comphenix.protocol.injector.PacketFilterManager
+
 
+
sendServerPacket(Player, PacketContainer) - Method in interface com.comphenix.protocol.ProtocolManager
+
+
Send a packet to the given player.
+
+
sendServerPacket(Player, PacketContainer, boolean) - Method in interface com.comphenix.protocol.ProtocolManager
+
+
Send a packet to the given player.
+
+
SET_CREATIVE_SLOT - Static variable in class com.comphenix.protocol.Packets.Client
+
 
+
SET_CREATIVE_SLOT - Static variable in class com.comphenix.protocol.Packets.Server
+
 
+
SET_EXPERIENCE - Static variable in class com.comphenix.protocol.Packets.Server
+
 
+
SET_SLOT - Static variable in class com.comphenix.protocol.Packets.Server
+
 
+
setCacheMethods(boolean) - Static method in class com.comphenix.protocol.reflect.MethodUtils
+
+
Set whether methods should be cached for greater performance or not, + default is true.
+
+
setCancelled(boolean) - Method in class com.comphenix.protocol.events.PacketEvent
+
+
Sets whether or not the packet should be cancelled.
+
+
setForceAccess(boolean) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
+
+
Sets whether or not not to override any scope restrictions.
+
+
setForceAccess(boolean) - Method in class com.comphenix.protocol.reflect.VolatileField
+
+
Sets whether or not not to override any scope restrictions.
+
+
setPacket(PacketContainer) - Method in class com.comphenix.protocol.events.PacketEvent
+
+
Replace the packet that will be sent to the player.
+
+
setPlayerHook(PacketFilterManager.PlayerInjectHooks) - Method in class com.comphenix.protocol.injector.PacketFilterManager
+
+
Sets how the server packets are read.
+
+
setValue(Object) - Method in class com.comphenix.protocol.reflect.VolatileField
+
+
Sets the current value.
+
+
size() - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
+
+
Retrieve the size of the list.
+
+
size() - Method in class com.comphenix.protocol.reflect.StructureModifier
+
+
Retrieve the number of readable types.
+
+
SortedCopyOnWriteArray<T extends java.lang.Comparable<T>> - Class in com.comphenix.protocol.concurrency
+
+
An implicitly sorted array list that preserves insertion order and maintains duplicates.
+
+
SortedCopyOnWriteArray() - Constructor for class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
+
+
Construct an empty sorted array.
+
+
SortedCopyOnWriteArray(Collection<T>) - Constructor for class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
+
+
Create a sorted array from the given list.
+
+
SortedCopyOnWriteArray(Collection<T>, boolean) - Constructor for class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
+
+
Create a sorted array from the given list.
+
+
SortedCopyOnWriteArrayTest - Class in com.comphenix.protocol.injector
+
 
+
SortedCopyOnWriteArrayTest() - Constructor for class com.comphenix.protocol.injector.SortedCopyOnWriteArrayTest
+
 
+
SPAWN_POSITION - Static variable in class com.comphenix.protocol.Packets.Server
+
 
+
STATISTIC - Static variable in class com.comphenix.protocol.Packets.Server
+
 
+
Statistics - Class in com.comphenix.protocol.metrics
+
 
+
Statistics(Plugin) - Constructor for class com.comphenix.protocol.metrics.Statistics
+
 
+
STRING_DEFAULT - Static variable in class com.comphenix.protocol.reflect.instances.PrimitiveGenerator
+
+
Default value for Strings.
+
+
StructureCache - Class in com.comphenix.protocol.injector
+
+
Caches structure modifiers.
+
+
StructureCache() - Constructor for class com.comphenix.protocol.injector.StructureCache
+
 
+
structureModifier - Variable in class com.comphenix.protocol.events.PacketContainer
+
 
+
StructureModifier<TField> - Class in com.comphenix.protocol.reflect
+
 
+
StructureModifier(Class, Class, boolean) - Constructor for class com.comphenix.protocol.reflect.StructureModifier
+
+
Creates a structure modifier.
+
+
StructureModifierTest - Class in com.comphenix.protocol.reflect
+
 
+
StructureModifierTest() - Constructor for class com.comphenix.protocol.reflect.StructureModifierTest
+
 
+
+A B C D E F G H I K L M N O P R S T U V W 
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/index-files/index-18.html b/Javadoc/index-files/index-18.html new file mode 100644 index 00000000..f491197c --- /dev/null +++ b/Javadoc/index-files/index-18.html @@ -0,0 +1,146 @@ + + + + + +T-Index + + + + + + + +
+ + + + + +
+ + +
A B C D E F G H I K L M N O P R S T U V W  + + +

T

+
+
TAB_COMPLETE - Static variable in class com.comphenix.protocol.Packets.Client
+
 
+
TAB_COMPLETE - Static variable in class com.comphenix.protocol.Packets.Server
+
 
+
test() - Method in class com.comphenix.protocol.reflect.StructureModifierTest
+
 
+
testInsertion() - Method in class com.comphenix.protocol.injector.SortedCopyOnWriteArrayTest
+
 
+
testOrder() - Method in class com.comphenix.protocol.injector.SortedCopyOnWriteArrayTest
+
 
+
TILE_ENTITY_DATA - Static variable in class com.comphenix.protocol.Packets.Server
+
 
+
toArray() - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
+
 
+
toArray(T[]) - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
+
 
+
toNonPrimitiveClass(Class) - Static method in class com.comphenix.protocol.reflect.MethodUtils
+
+
Find a non primitive representation for given primitive class.
+
+
toString() - Method in class com.comphenix.protocol.events.ListeningWhitelist
+
 
+
toString() - Method in class com.comphenix.protocol.events.PacketAdapter
+
 
+
TRANSACTION - Static variable in class com.comphenix.protocol.Packets.Client
+
 
+
TRANSACTION - Static variable in class com.comphenix.protocol.Packets.Server
+
 
+
+A B C D E F G H I K L M N O P R S T U V W 
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/index-files/index-19.html b/Javadoc/index-files/index-19.html new file mode 100644 index 00000000..57cbbd74 --- /dev/null +++ b/Javadoc/index-files/index-19.html @@ -0,0 +1,147 @@ + + + + + +U-Index + + + + + + + +
+ + + + + +
+ + +
A B C D E F G H I K L M N O P R S T U V W  + + +

U

+
+
unwrap(Class<T>) - Static method in class com.comphenix.protocol.reflect.PrimitiveUtils
+
+
Returns the corresponding primitive type of type if it is a + wrapper type; otherwise returns type itself.
+
+
unwrapItem(Object) - Method in class com.comphenix.protocol.injector.PacketConstructor.BukkitUnwrapper
+
 
+
unwrapItem(Object) - Method in interface com.comphenix.protocol.injector.PacketConstructor.Unwrapper
+
 
+
unwrapType(Class<?>) - Method in class com.comphenix.protocol.injector.PacketConstructor.BukkitUnwrapper
+
 
+
unwrapType(Class<?>) - Method in interface com.comphenix.protocol.injector.PacketConstructor.Unwrapper
+
 
+
UPDATE_HEALTH - Static variable in class com.comphenix.protocol.Packets.Server
+
 
+
UPDATE_SIGN - Static variable in class com.comphenix.protocol.Packets.Client
+
 
+
UPDATE_SIGN - Static variable in class com.comphenix.protocol.Packets.Server
+
 
+
UPDATE_TIME - Static variable in class com.comphenix.protocol.Packets.Server
+
 
+
updateEntity(Entity, List<Player>) - Method in class com.comphenix.protocol.injector.PacketFilterManager
+
 
+
updateEntity(Entity, List<Player>) - Method in interface com.comphenix.protocol.ProtocolManager
+
+
Completely refresh all clients about an entity.
+
+
USE_ENTITY - Static variable in class com.comphenix.protocol.Packets.Client
+
 
+
+A B C D E F G H I K L M N O P R S T U V W 
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/index-files/index-2.html b/Javadoc/index-files/index-2.html new file mode 100644 index 00000000..c2f08dd7 --- /dev/null +++ b/Javadoc/index-files/index-2.html @@ -0,0 +1,130 @@ + + + + + +B-Index + + + + + + + +
+ + + + + +
+ + +
A B C D E F G H I K L M N O P R S T U V W  + + +

B

+
+
BED - Static variable in class com.comphenix.protocol.Packets.Server
+
 
+
BLOCK_BREAK_ANIMATION - Static variable in class com.comphenix.protocol.Packets.Server
+
 
+
BLOCK_CHANGE - Static variable in class com.comphenix.protocol.Packets.Server
+
 
+
BLOCK_DIG - Static variable in class com.comphenix.protocol.Packets.Client
+
 
+
BLOCK_ITEM_SWITCH - Static variable in class com.comphenix.protocol.Packets.Client
+
 
+
BUTTON_CLICK - Static variable in class com.comphenix.protocol.Packets.Client
+
 
+
+A B C D E F G H I K L M N O P R S T U V W 
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/index-files/index-20.html b/Javadoc/index-files/index-20.html new file mode 100644 index 00000000..e68ff9ed --- /dev/null +++ b/Javadoc/index-files/index-20.html @@ -0,0 +1,167 @@ + + + + + +V-Index + + + + + + + +
+ + + + + +
+ + +
A B C D E F G H I K L M N O P R S T U V W  + + +

V

+
+
valueOf(String) - Static method in enum com.comphenix.protocol.events.ConnectionSide
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.comphenix.protocol.events.ListenerPriority
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.comphenix.protocol.injector.PacketFilterManager.PlayerInjectHooks
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in class com.comphenix.protocol.Packets
+
+
Find a packet by name.
+
+
valueOf(String) - Method in class com.comphenix.protocol.reflect.IntEnum
+
+
Retrieve the ID of the member with the given name.
+
+
values() - Static method in enum com.comphenix.protocol.events.ConnectionSide
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.comphenix.protocol.events.ListenerPriority
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.comphenix.protocol.injector.PacketFilterManager.PlayerInjectHooks
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
VEHICLE_SPAWN - Static variable in class com.comphenix.protocol.Packets.Server
+
 
+
VolatileField - Class in com.comphenix.protocol.reflect
+
+
Represents a field that will revert to its original state when this class is garbaged collected.
+
+
VolatileField(Field, Object) - Constructor for class com.comphenix.protocol.reflect.VolatileField
+
+
Initializes a volatile field with an associated object.
+
+
VolatileField(Field, Object, boolean) - Constructor for class com.comphenix.protocol.reflect.VolatileField
+
+
Initializes a volatile field with an associated object.
+
+
+A B C D E F G H I K L M N O P R S T U V W 
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/index-files/index-21.html b/Javadoc/index-files/index-21.html new file mode 100644 index 00000000..85e10eab --- /dev/null +++ b/Javadoc/index-files/index-21.html @@ -0,0 +1,195 @@ + + + + + +W-Index + + + + + + + +
+ + + + + +
+ + +
A B C D E F G H I K L M N O P R S T U V W  + + +

W

+
+
WEATHER - Static variable in class com.comphenix.protocol.Packets.Server
+
 
+
WINDOW_CLICK - Static variable in class com.comphenix.protocol.Packets.Client
+
 
+
WINDOW_ITEMS - Static variable in class com.comphenix.protocol.Packets.Server
+
 
+
withPacket(int, Class<?>[]) - Method in class com.comphenix.protocol.injector.PacketConstructor
+
+
Create a packet constructor that creates packets using the given types.
+
+
withTarget(Object) - Method in class com.comphenix.protocol.reflect.StructureModifier
+
+
Retrieves a structure modifier of the same type for a different object target.
+
+
withType(Class) - Method in class com.comphenix.protocol.reflect.StructureModifier
+
+
Retrieves a structure modifier that only reads and writes fields of a given type.
+
+
withType(Class, EquivalentConverter<T>) - Method in class com.comphenix.protocol.reflect.StructureModifier
+
+
Retrieves a structure modifier that only reads and writes fields of a given type.
+
+
withUnwrappers(List<PacketConstructor.Unwrapper>) - Method in class com.comphenix.protocol.injector.PacketConstructor
+
+
Return a copy of the current constructor with a different list of unwrappers.
+
+
WORLD_EVENT - Static variable in class com.comphenix.protocol.Packets.Server
+
 
+
wrap(Class<T>) - Static method in class com.comphenix.protocol.reflect.PrimitiveUtils
+
+
Returns the corresponding wrapper type of type if it is a + primitive type; otherwise returns type itself.
+
+
write(int, TField) - Method in class com.comphenix.protocol.reflect.StructureModifier
+
+
Writes the value of a field given its index.
+
+
writeDefaults() - Method in class com.comphenix.protocol.reflect.StructureModifier
+
+
Sets all non-primitive fields to a more fitting default value.
+
+
writeField(Field, Object, Object) - Static method in class com.comphenix.protocol.reflect.FieldUtils
+
+
Write an accessible field.
+
+
writeField(Field, Object, Object, boolean) - Static method in class com.comphenix.protocol.reflect.FieldUtils
+
+
Write a field.
+
+
writeField(Object, String, Object) - Static method in class com.comphenix.protocol.reflect.FieldUtils
+
+
Write a public field.
+
+
writeField(Object, String, Object, boolean) - Static method in class com.comphenix.protocol.reflect.FieldUtils
+
+
Write a field.
+
+
writeSafely(int, TField) - Method in class com.comphenix.protocol.reflect.StructureModifier
+
+
Writes the value of a given field IF and ONLY if it exists.
+
+
writeStaticField(Field, Object) - Static method in class com.comphenix.protocol.reflect.FieldUtils
+
+
Write a public static Field.
+
+
writeStaticField(Field, Object, boolean) - Static method in class com.comphenix.protocol.reflect.FieldUtils
+
+
Write a static Field.
+
+
writeStaticField(Class, String, Object) - Static method in class com.comphenix.protocol.reflect.FieldUtils
+
+
Write a named public static Field.
+
+
writeStaticField(Class, String, Object, boolean) - Static method in class com.comphenix.protocol.reflect.FieldUtils
+
+
Write a named static Field.
+
+
+A B C D E F G H I K L M N O P R S T U V W 
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/index-files/index-3.html b/Javadoc/index-files/index-3.html new file mode 100644 index 00000000..117a43ce --- /dev/null +++ b/Javadoc/index-files/index-3.html @@ -0,0 +1,216 @@ + + + + + +C-Index + + + + + + + +
+ + + + + +
+ + +
A B C D E F G H I K L M N O P R S T U V W  + + +

C

+
+
CHAT - Static variable in class com.comphenix.protocol.Packets.Client
+
 
+
CHAT - Static variable in class com.comphenix.protocol.Packets.Server
+
 
+
checkNotNull(T) - Static method in class com.comphenix.protocol.reflect.PrimitiveUtils
+
 
+
clear() - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
+
 
+
clearCache() - Static method in class com.comphenix.protocol.reflect.MethodUtils
+
+
Clear the method cache.
+
+
CLIENT_COMMAND - Static variable in class com.comphenix.protocol.Packets.Client
+
 
+
close() - Method in class com.comphenix.protocol.injector.PacketFilterManager
+
 
+
CLOSE_WINDOW - Static variable in class com.comphenix.protocol.Packets.Client
+
 
+
CLOSE_WINDOW - Static variable in class com.comphenix.protocol.Packets.Server
+
 
+
COLLECT - Static variable in class com.comphenix.protocol.Packets.Server
+
 
+
CollectionGenerator - Class in com.comphenix.protocol.reflect.instances
+
+
Provides simple constructors for collection interfaces.
+
+
CollectionGenerator() - Constructor for class com.comphenix.protocol.reflect.instances.CollectionGenerator
+
 
+
com.comphenix.protocol.concurrency - package com.comphenix.protocol.concurrency
+
 
+
com.comphenix.protocol.events - package com.comphenix.protocol.events
+
 
+
com.comphenix.protocol.injector - package com.comphenix.protocol.injector
+
 
+
com.comphenix.protocol.metrics - package com.comphenix.protocol.metrics
+
 
+
com.comphenix.protocol.reflect - package com.comphenix.protocol.reflect
+
 
+
com.comphenix.protocol.reflect.instances - package com.comphenix.protocol.reflect.instances
+
 
+
ConcurrentListenerMultimap - Class in com.comphenix.protocol.injector
+
+
A thread-safe implementation of a listener multimap.
+
+
ConcurrentListenerMultimap() - Constructor for class com.comphenix.protocol.injector.ConcurrentListenerMultimap
+
 
+
ConnectionSide - Enum in com.comphenix.protocol.events
+
+
Used to set a packet filter.
+
+
connectionSide - Variable in class com.comphenix.protocol.events.PacketAdapter
+
 
+
contains(Object) - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
+
 
+
contains(T[], T) - Method in class com.comphenix.protocol.reflect.instances.DefaultInstances
+
 
+
containsAll(Collection<?>) - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
+
 
+
CRAFT_PROGRESS_BAR - Static variable in class com.comphenix.protocol.Packets.Server
+
 
+
create(Class<?>) - Method in class com.comphenix.protocol.reflect.instances.CollectionGenerator
+
 
+
create(Class<?>) - Method in interface com.comphenix.protocol.reflect.instances.InstanceProvider
+
+
Create an instance given a type, if possible.
+
+
create(Class<?>) - Method in class com.comphenix.protocol.reflect.instances.PrimitiveGenerator
+
 
+
createInstance(Class<T>, Constructor<T>, Class<?>[], Object[]) - Method in class com.comphenix.protocol.reflect.instances.DefaultInstances
+
+
Used by the default instance provider to create a class from a given constructor.
+
+
createPacket(Object...) - Method in class com.comphenix.protocol.injector.PacketConstructor
+
+
Construct a packet using the special builtin Minecraft constructors.
+
+
createPacket(int) - Method in class com.comphenix.protocol.injector.PacketFilterManager
+
 
+
createPacket(int, boolean) - Method in class com.comphenix.protocol.injector.PacketFilterManager
+
 
+
createPacket(int) - Method in interface com.comphenix.protocol.ProtocolManager
+
+
Constructs a new encapsulated Minecraft packet with the given ID.
+
+
createPacket(int, boolean) - Method in interface com.comphenix.protocol.ProtocolManager
+
+
Constructs a new encapsulated Minecraft packet with the given ID.
+
+
createPacketConstructor(int, Object...) - Method in class com.comphenix.protocol.injector.PacketFilterManager
+
 
+
createPacketConstructor(int, Object...) - Method in interface com.comphenix.protocol.ProtocolManager
+
+
Construct a packet using the special builtin Minecraft constructors.
+
+
CUSTOM_PAYLOAD - Static variable in class com.comphenix.protocol.Packets.Client
+
 
+
CUSTOM_PAYLOAD - Static variable in class com.comphenix.protocol.Packets.Server
+
 
+
+A B C D E F G H I K L M N O P R S T U V W 
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/index-files/index-4.html b/Javadoc/index-files/index-4.html new file mode 100644 index 00000000..92775fb7 --- /dev/null +++ b/Javadoc/index-files/index-4.html @@ -0,0 +1,140 @@ + + + + + +D-Index + + + + + + + +
+ + + + + +
+ + +
A B C D E F G H I K L M N O P R S T U V W  + + +

D

+
+
DEFAULT - Static variable in class com.comphenix.protocol.injector.PacketConstructor
+
+
A packet constructor that automatically converts Bukkit types to their NMS conterpart.
+
+
DEFAULT - Static variable in class com.comphenix.protocol.reflect.instances.DefaultInstances
+
+
Standard default instance provider.
+
+
DefaultInstances - Class in com.comphenix.protocol.reflect.instances
+
+
Used to construct default instances of any type.
+
+
DefaultInstances(ImmutableList<InstanceProvider>) - Constructor for class com.comphenix.protocol.reflect.instances.DefaultInstances
+
+
Construct a default instance generator using the given instance providers.
+
+
DefaultInstances(InstanceProvider...) - Constructor for class com.comphenix.protocol.reflect.instances.DefaultInstances
+
+
Construct a default instance generator using the given instance providers.
+
+
DESTROY_ENTITY - Static variable in class com.comphenix.protocol.Packets.Server
+
 
+
+A B C D E F G H I K L M N O P R S T U V W 
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/index-files/index-5.html b/Javadoc/index-files/index-5.html new file mode 100644 index 00000000..7a97d4ca --- /dev/null +++ b/Javadoc/index-files/index-5.html @@ -0,0 +1,152 @@ + + + + + +E-Index + + + + + + + +
+ + + + + +
+ + +
A B C D E F G H I K L M N O P R S T U V W  + + +

E

+
+
EMPTY_WHITELIST - Static variable in class com.comphenix.protocol.events.ListeningWhitelist
+
+
A whitelist with no packets - indicates that the listener shouldn't observe any packets.
+
+
ENTITY - Static variable in class com.comphenix.protocol.Packets.Server
+
 
+
ENTITY_ACTION - Static variable in class com.comphenix.protocol.Packets.Client
+
 
+
ENTITY_EQUIPMENT - Static variable in class com.comphenix.protocol.Packets.Server
+
 
+
ENTITY_HEAD_ROTATION - Static variable in class com.comphenix.protocol.Packets.Server
+
 
+
ENTITY_LOCATION_ACTION - Static variable in class com.comphenix.protocol.Packets.Server
+
 
+
ENTITY_LOOK - Static variable in class com.comphenix.protocol.Packets.Server
+
 
+
ENTITY_METADATA - Static variable in class com.comphenix.protocol.Packets.Server
+
 
+
ENTITY_PAINTING - Static variable in class com.comphenix.protocol.Packets.Server
+
 
+
ENTITY_STATUS - Static variable in class com.comphenix.protocol.Packets.Server
+
 
+
ENTITY_TELEPORT - Static variable in class com.comphenix.protocol.Packets.Server
+
 
+
ENTITY_VELOCITY - Static variable in class com.comphenix.protocol.Packets.Server
+
 
+
equals(Object) - Method in class com.comphenix.protocol.events.ListeningWhitelist
+
 
+
EquivalentConverter<TType> - Interface in com.comphenix.protocol.reflect
+
+
Interface that converts generic objects into types and back.
+
+
EXPLOSION - Static variable in class com.comphenix.protocol.Packets.Server
+
 
+
+A B C D E F G H I K L M N O P R S T U V W 
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/index-files/index-6.html b/Javadoc/index-files/index-6.html new file mode 100644 index 00000000..c33804e8 --- /dev/null +++ b/Javadoc/index-files/index-6.html @@ -0,0 +1,182 @@ + + + + + +F-Index + + + + + + + +
+ + + + + +
+ + +
A B C D E F G H I K L M N O P R S T U V W  + + +

F

+
+
FieldAccessException - Exception in com.comphenix.protocol.reflect
+
+
Invoked when a field is inaccessible due to security limitations, or when it simply doesn't exist.
+
+
FieldAccessException() - Constructor for exception com.comphenix.protocol.reflect.FieldAccessException
+
 
+
FieldAccessException(String, Throwable) - Constructor for exception com.comphenix.protocol.reflect.FieldAccessException
+
 
+
FieldAccessException(String) - Constructor for exception com.comphenix.protocol.reflect.FieldAccessException
+
 
+
FieldAccessException(Throwable) - Constructor for exception com.comphenix.protocol.reflect.FieldAccessException
+
 
+
FieldUtils - Class in com.comphenix.protocol.reflect
+
+
Utilities for working with fields by reflection.
+
+
FieldUtils() - Constructor for class com.comphenix.protocol.reflect.FieldUtils
+
+
FieldUtils instances should NOT be constructed in standard programming.
+
+
finalize() - Method in class com.comphenix.protocol.injector.PacketFilterManager
+
 
+
finalize() - Method in class com.comphenix.protocol.reflect.VolatileField
+
 
+
FLYING - Static variable in class com.comphenix.protocol.Packets.Client
+
 
+
FLYING - Static variable in class com.comphenix.protocol.Packets.Server
+
 
+
fromArray(InstanceProvider...) - Static method in class com.comphenix.protocol.reflect.instances.DefaultInstances
+
+
Construct a default instance generator using the given instance providers.
+
+
fromClass(Class<?>) - Static method in class com.comphenix.protocol.reflect.FuzzyReflection
+
+
Retrieves a fuzzy reflection instance from a given class.
+
+
fromClass(Class<?>, boolean) - Static method in class com.comphenix.protocol.reflect.FuzzyReflection
+
+
Retrieves a fuzzy reflection instance from a given class.
+
+
fromClient(Object, PacketContainer, Player) - Static method in class com.comphenix.protocol.events.PacketEvent
+
+
Creates an event representing a client packet transmission.
+
+
fromFormat(String, Object...) - Static method in exception com.comphenix.protocol.reflect.FieldAccessException
+
 
+
fromObject(Object) - Static method in class com.comphenix.protocol.reflect.FuzzyReflection
+
+
Retrieves a fuzzy reflection instance from an object.
+
+
fromObject(Object, boolean) - Static method in class com.comphenix.protocol.reflect.FuzzyReflection
+
+
Retrieves a fuzzy reflection instance from an object.
+
+
fromServer(Object, PacketContainer, Player) - Static method in class com.comphenix.protocol.events.PacketEvent
+
+
Creates an event representing a server packet transmission.
+
+
FuzzyReflection - Class in com.comphenix.protocol.reflect
+
+
Retrieves fields and methods by signature, not just name.
+
+
FuzzyReflection(Class<?>, boolean) - Constructor for class com.comphenix.protocol.reflect.FuzzyReflection
+
 
+
+A B C D E F G H I K L M N O P R S T U V W 
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/index-files/index-7.html b/Javadoc/index-files/index-7.html new file mode 100644 index 00000000..2a3aa301 --- /dev/null +++ b/Javadoc/index-files/index-7.html @@ -0,0 +1,406 @@ + + + + + +G-Index + + + + + + + +
+ + + + + +
+ + +
A B C D E F G H I K L M N O P R S T U V W  + + +

G

+
+
get(int) - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
+
+
Retrieves an element by index.
+
+
GET_INFO - Static variable in class com.comphenix.protocol.Packets.Client
+
 
+
getAccessibleMethod(Class, String, Class[]) - Static method in class com.comphenix.protocol.reflect.MethodUtils
+
+
Return an accessible method (that is, one that can be invoked via + reflection) with given name and parameters.
+
+
getAccessibleMethod(Method) - Static method in class com.comphenix.protocol.reflect.MethodUtils
+
+
Return an accessible method (that is, one that can be invoked via + reflection) that implements the specified Method.
+
+
getAccessibleMethod(Class, Method) - Static method in class com.comphenix.protocol.reflect.MethodUtils
+
+
Return an accessible method (that is, one that can be invoked via + reflection) that implements the specified Method.
+
+
getClassLoader() - Method in class com.comphenix.protocol.injector.PacketFilterManager
+
+
Retrieves the current plugin class loader.
+
+
getClientRegistry() - Static method in class com.comphenix.protocol.Packets
+
+
A registry that parses between names and packet IDs.
+
+
getContainer() - Method in class com.comphenix.protocol.reflect.VolatileField
+
+
Retrieves the object the field is stored.
+
+
getDeclaredName(int) - Static method in class com.comphenix.protocol.Packets
+
+
Retrieves the name of a packet.
+
+
getDeclaredName(Integer) - Method in class com.comphenix.protocol.reflect.IntEnum
+
+
Retrieve the name of the member with the given id.
+
+
getDefault(Class<T>) - Method in class com.comphenix.protocol.reflect.instances.DefaultInstances
+
+
Retrieves a default instance or value that is assignable to this type.
+
+
getDefault(Class<T>, List<InstanceProvider>) - Method in class com.comphenix.protocol.reflect.instances.DefaultInstances
+
+
Retrieves a default instance or value that is assignable to this type.
+
+
getEntityModifier(World) - Method in class com.comphenix.protocol.events.PacketContainer
+
+
Retrieves a read/write structure for entity objects.
+
+
getField(Class, String) - Static method in class com.comphenix.protocol.reflect.FieldUtils
+
+
Gets an accessible Field by name respecting scope.
+
+
getField(Class, String, boolean) - Static method in class com.comphenix.protocol.reflect.FieldUtils
+
+
Gets an accessible Field by name breaking scope if + requested.
+
+
getField() - Method in class com.comphenix.protocol.reflect.VolatileField
+
+
Retrieves the current field.
+
+
getFieldByName(String) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
+
+
Retrieves a field by name.
+
+
getFieldByType(String) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
+
+
Retrieves a field by type.
+
+
getFieldByType(String, Set<Class>) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
+
+
Retrieves a field by type.
+
+
getFields() - Method in class com.comphenix.protocol.reflect.FuzzyReflection
+
+
Retrieves all private and public fields in declared order (after JDK 1.5).
+
+
getFields() - Method in class com.comphenix.protocol.reflect.StructureModifier
+
+
Retrieves a list of the fields matching the constraints of this structure modifier.
+
+
getFieldType() - Method in class com.comphenix.protocol.reflect.StructureModifier
+
+
Retrieves the common type of each field.
+
+
getGeneric(TType) - Method in interface com.comphenix.protocol.reflect.EquivalentConverter
+
 
+
getHandle() - Method in class com.comphenix.protocol.events.PacketContainer
+
+
Retrieves the underlying Minecraft packet.
+
+
getID() - Method in class com.comphenix.protocol.events.PacketContainer
+
+
Retrieves the ID of this packet.
+
+
getItemArrayModifier() - Method in class com.comphenix.protocol.events.PacketContainer
+
+
Retrieves a read/write structure for arrays of ItemStacks.
+
+
getItemModifier() - Method in class com.comphenix.protocol.events.PacketContainer
+
+
Retrieves a read/write structure for ItemStack.
+
+
getLogger() - Method in class com.comphenix.protocol.injector.PacketFilterManager
+
 
+
getMatchingAccessibleMethod(Class, String, Class[]) - Static method in class com.comphenix.protocol.reflect.MethodUtils
+
+
Find an accessible method that matches the given name and has compatible parameters.
+
+
getMethodByName(String) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
+
+
Retrieves a method by looking at its name.
+
+
getMethodByParameters(String, Class<?>...) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
+
+
Retrieves a method by looking at the parameter types only.
+
+
getMethodByParameters(String, Class<?>, Class<?>[]) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
+
+
Retrieves a method by looking at the parameter types and return type only.
+
+
getMethods() - Method in class com.comphenix.protocol.reflect.FuzzyReflection
+
+
Retrieves all private and public methods in declared order (after JDK 1.5).
+
+
getModifier() - Method in class com.comphenix.protocol.events.PacketContainer
+
+
Retrieves the generic structure modifier for this packet.
+
+
getOldValue() - Method in class com.comphenix.protocol.reflect.VolatileField
+
+
Retrieves the field value before the previous setValue(), unless saveValue() has been called.
+
+
getPacket() - Method in class com.comphenix.protocol.events.PacketEvent
+
+
Retrieves the packet that will be sent to the player.
+
+
getPacketID() - Method in class com.comphenix.protocol.events.PacketEvent
+
+
Retrieves the packet ID.
+
+
getPacketID() - Method in class com.comphenix.protocol.injector.PacketConstructor
+
+
Retrieve the id of the packets this constructor creates.
+
+
getPacketListeners() - Method in class com.comphenix.protocol.injector.PacketFilterManager
+
 
+
getPacketListeners() - Method in interface com.comphenix.protocol.ProtocolManager
+
+
Retrieves a list of every registered packet listener.
+
+
getPlayer() - Method in class com.comphenix.protocol.events.PacketEvent
+
+
Retrieves the player that has sent the packet or is recieving it.
+
+
getPlayerHook() - Method in class com.comphenix.protocol.injector.PacketFilterManager
+
+
Retrieves how the server packets are read.
+
+
getPlayerHookInstance(Player) - Method in class com.comphenix.protocol.injector.PacketFilterManager
+
+
Used to construct a player hook.
+
+
getPlugin() - Method in class com.comphenix.protocol.events.PacketAdapter
+
 
+
getPlugin() - Method in interface com.comphenix.protocol.events.PacketListener
+
+
Retrieve the plugin that created list packet listener.
+
+
getPluginName(PacketListener) - Static method in class com.comphenix.protocol.events.PacketAdapter
+
+
Retrieves the name of the plugin that has been associated with the listener.
+
+
getPrimitiveType(Class) - Static method in class com.comphenix.protocol.reflect.MethodUtils
+
+
Gets the class for the primitive type corresponding to the primitive wrapper class given.
+
+
getPrimitiveWrapper(Class) - Static method in class com.comphenix.protocol.reflect.MethodUtils
+
+
Gets the wrapper object class for the given primitive type class.
+
+
getPriority() - Method in class com.comphenix.protocol.events.ListeningWhitelist
+
+
Retrieve the priority in the execution order of the packet listener.
+
+
getProtocolManager() - Static method in class com.comphenix.protocol.ProtocolLibrary
+
+
Retrieves the packet protocol manager.
+
+
getReceivingFilters() - Method in class com.comphenix.protocol.injector.PacketFilterManager
+
 
+
getReceivingFilters() - Method in interface com.comphenix.protocol.ProtocolManager
+
+
Retrieves a immutable set containing the ID of the recieved client packets that will be observed by listeners.
+
+
getReceivingWhitelist() - Method in class com.comphenix.protocol.events.PacketAdapter
+
 
+
getReceivingWhitelist() - Method in interface com.comphenix.protocol.events.PacketListener
+
+
Retrieve which packets sent by the client this listener will observe.
+
+
getRegistered() - Method in class com.comphenix.protocol.reflect.instances.DefaultInstances
+
+
Retrieves a immutable list of every default object providers that generates instances.
+
+
getRegistry() - Static method in class com.comphenix.protocol.Packets.Client
+
+
A registry that parses between names and packet IDs.
+
+
getRegistry() - Static method in class com.comphenix.protocol.Packets.Server
+
+
A registry that parses between names and packet IDs.
+
+
getSendingFilters() - Method in class com.comphenix.protocol.injector.PacketFilterManager
+
 
+
getSendingFilters() - Method in interface com.comphenix.protocol.ProtocolManager
+
+
Retrieves a immutable set containing the ID of the sent server packets that will be observed by listeners.
+
+
getSendingWhitelist() - Method in class com.comphenix.protocol.events.PacketAdapter
+
 
+
getSendingWhitelist() - Method in interface com.comphenix.protocol.events.PacketListener
+
+
Retrieve which packets sent by the server this listener will observe.
+
+
getServerRegistry() - Static method in class com.comphenix.protocol.Packets
+
+
A registry that parses between names and packet IDs.
+
+
getSlot() - Method in enum com.comphenix.protocol.events.ListenerPriority
+
+
A low slot represents a low priority.
+
+
getSource() - Method in class com.comphenix.protocol.reflect.FuzzyReflection
+
+
Retrieves the underlying class.
+
+
getSpecific(Object) - Method in interface com.comphenix.protocol.reflect.EquivalentConverter
+
 
+
getSpecificModifier(Class<T>) - Method in class com.comphenix.protocol.events.PacketContainer
+
+
Retrieves a read/write structure for every field with the given type.
+
+
getSpecificType() - Method in interface com.comphenix.protocol.reflect.EquivalentConverter
+
 
+
getStatistics() - Method in class com.comphenix.protocol.ProtocolLibrary
+
+
Retrieve the metrics instance used to measure users of this library.
+
+
getStringDefault() - Method in class com.comphenix.protocol.reflect.instances.PrimitiveGenerator
+
+
Retrieve the string default.
+
+
getStructure(int) - Static method in class com.comphenix.protocol.injector.StructureCache
+
+
Retrieve a cached structure modifier for the given packet id.
+
+
getTarget() - Method in class com.comphenix.protocol.reflect.StructureModifier
+
+
Retrieves the object we're currently modifying.
+
+
getTargetType() - Method in class com.comphenix.protocol.reflect.StructureModifier
+
+
Retrieves the type of the object we're modifying.
+
+
getUnwrappers() - Method in class com.comphenix.protocol.injector.PacketConstructor
+
 
+
getValue() - Method in class com.comphenix.protocol.reflect.VolatileField
+
+
Retrieves the current field value.
+
+
getValues() - Method in class com.comphenix.protocol.reflect.StructureModifier
+
+
Retrieve every value stored in the fields of the current type.
+
+
getWhitelist() - Method in class com.comphenix.protocol.events.ListeningWhitelist
+
+
Retrieves the list of packets that will be observed by the listeners.
+
+
getWorldTypeModifier() - Method in class com.comphenix.protocol.events.PacketContainer
+
+
Retrieves a read/write structure for the world type enum.
+
+
+A B C D E F G H I K L M N O P R S T U V W 
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/index-files/index-8.html b/Javadoc/index-files/index-8.html new file mode 100644 index 00000000..2bdb7463 --- /dev/null +++ b/Javadoc/index-files/index-8.html @@ -0,0 +1,128 @@ + + + + + +H-Index + + + + + + + +
+ + + + + +
+ + +
A B C D E F G H I K L M N O P R S T U V W  + + +

H

+
+
handle - Variable in class com.comphenix.protocol.events.PacketContainer
+
 
+
HANDSHAKE - Static variable in class com.comphenix.protocol.Packets.Client
+
 
+
hashCode() - Method in class com.comphenix.protocol.events.ListeningWhitelist
+
 
+
hasMember(int) - Method in class com.comphenix.protocol.reflect.IntEnum
+
+
Determines whether or not the given member exists.
+
+
+A B C D E F G H I K L M N O P R S T U V W 
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/index-files/index-9.html b/Javadoc/index-files/index-9.html new file mode 100644 index 00000000..0c739580 --- /dev/null +++ b/Javadoc/index-files/index-9.html @@ -0,0 +1,269 @@ + + + + + +I-Index + + + + + + + +
+ + + + + +
+ + +
A B C D E F G H I K L M N O P R S T U V W  + + +

I

+
+
id - Variable in class com.comphenix.protocol.events.PacketContainer
+
 
+
initializePlayers(Player[]) - Method in class com.comphenix.protocol.injector.PacketFilterManager
+
+
Initialize the packet injection for every player.
+
+
injectPlayer(Player) - Method in class com.comphenix.protocol.injector.PacketFilterManager
+
+
Initialize a player hook, allowing us to read server packets.
+
+
INSTANCE - Static variable in class com.comphenix.protocol.reflect.instances.CollectionGenerator
+
+
Shared instance of this generator.
+
+
INSTANCE - Static variable in class com.comphenix.protocol.reflect.instances.PrimitiveGenerator
+
+
Shared instance of this generator.
+
+
InstanceProvider - Interface in com.comphenix.protocol.reflect.instances
+
+
Represents a type generator for specific types.
+
+
IntEnum - Class in com.comphenix.protocol.reflect
+
+
Represents a traditional int field enum.
+
+
IntEnum() - Constructor for class com.comphenix.protocol.reflect.IntEnum
+
+
Registers every declared integer field.
+
+
invokeExactMethod(Object, String, Object) - Static method in class com.comphenix.protocol.reflect.MethodUtils
+
+
Invoke a method whose parameter type matches exactly the object + type.
+
+
invokeExactMethod(Object, String, Object[]) - Static method in class com.comphenix.protocol.reflect.MethodUtils
+
+
Invoke a method whose parameter types match exactly the object + types.
+
+
invokeExactMethod(Object, String, Object[], Class[]) - Static method in class com.comphenix.protocol.reflect.MethodUtils
+
+
Invoke a method whose parameter types match exactly the parameter + types given.
+
+
invokeExactStaticMethod(Class, String, Object[], Class[]) - Static method in class com.comphenix.protocol.reflect.MethodUtils
+
+
Invoke a static method whose parameter types match exactly the parameter + types given.
+
+
invokeExactStaticMethod(Class, String, Object) - Static method in class com.comphenix.protocol.reflect.MethodUtils
+
+
Invoke a static method whose parameter type matches exactly the object + type.
+
+
invokeExactStaticMethod(Class, String, Object[]) - Static method in class com.comphenix.protocol.reflect.MethodUtils
+
+
Invoke a static method whose parameter types match exactly the object + types.
+
+
invokeMethod(Object, String, Object) - Static method in class com.comphenix.protocol.reflect.MethodUtils
+
+
Invoke a named method whose parameter type matches the object type.
+
+
invokeMethod(Object, String, Object[]) - Static method in class com.comphenix.protocol.reflect.MethodUtils
+
+
Invoke a named method whose parameter type matches the object type.
+
+
invokeMethod(Object, String, Object[], Class[]) - Static method in class com.comphenix.protocol.reflect.MethodUtils
+
+
Invoke a named method whose parameter type matches the object type.
+
+
invokePacketRecieving(Logger, PacketEvent) - Method in class com.comphenix.protocol.injector.ConcurrentListenerMultimap
+
+
Invokes the given packet event for every registered listener.
+
+
invokePacketRecieving(PacketEvent) - Method in class com.comphenix.protocol.injector.PacketFilterManager
+
+
Invokes the given packet event for every registered listener.
+
+
invokePacketSending(Logger, PacketEvent) - Method in class com.comphenix.protocol.injector.ConcurrentListenerMultimap
+
+
Invokes the given packet event for every registered listener.
+
+
invokePacketSending(PacketEvent) - Method in class com.comphenix.protocol.injector.PacketFilterManager
+
+
Invokes the given packet event for every registered listener.
+
+
invokeStaticMethod(Class, String, Object) - Static method in class com.comphenix.protocol.reflect.MethodUtils
+
+
Invoke a named static method whose parameter type matches the object type.
+
+
invokeStaticMethod(Class, String, Object[]) - Static method in class com.comphenix.protocol.reflect.MethodUtils
+
+
Invoke a named static method whose parameter type matches the object type.
+
+
invokeStaticMethod(Class, String, Object[], Class[]) - Static method in class com.comphenix.protocol.reflect.MethodUtils
+
+
Invoke a named static method whose parameter type matches the object type.
+
+
isAssignmentCompatible(Class, Class) - Static method in class com.comphenix.protocol.reflect.MethodUtils
+
+
Determine whether a type can be used as a parameter in a method invocation.
+
+
isCancelled() - Method in class com.comphenix.protocol.events.PacketEvent
+
+
Retrieves whether or not the packet should be cancelled.
+
+
isClosed() - Method in class com.comphenix.protocol.injector.PacketFilterManager
+
 
+
isClosed() - Method in interface com.comphenix.protocol.ProtocolManager
+
+
Determines whether or not this protocol mananger has been disabled.
+
+
isEmpty() - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
+
 
+
isEnabled() - Method in class com.comphenix.protocol.events.ListeningWhitelist
+
+
Whether or not this whitelist has any enabled packets.
+
+
isForceAccess() - Method in class com.comphenix.protocol.reflect.FuzzyReflection
+
+
Retrieves whether or not not to override any scope restrictions.
+
+
isForceAccess() - Method in class com.comphenix.protocol.reflect.VolatileField
+
+
Retrieves whether or not not to override any scope restrictions.
+
+
isForClient() - Method in enum com.comphenix.protocol.events.ConnectionSide
+
 
+
isForServer() - Method in enum com.comphenix.protocol.events.ConnectionSide
+
 
+
isPrimitive(Type) - Static method in class com.comphenix.protocol.reflect.PrimitiveUtils
+
+
Returns true if this type is a primitive.
+
+
isServerPacket() - Method in class com.comphenix.protocol.events.PacketEvent
+
+
Whether or not this packet was created by the server.
+
+
isWrapperType(Type) - Static method in class com.comphenix.protocol.reflect.PrimitiveUtils
+
+
Returns true if type is one of the nine primitive-wrapper + types, such as Integer.
+
+
ITEM_DATA - Static variable in class com.comphenix.protocol.Packets.Server
+
 
+
iterator() - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
+
+
Retrieves an iterator over the elements in the given list.
+
+
+A B C D E F G H I K L M N O P R S T U V W 
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/index.html b/Javadoc/index.html new file mode 100644 index 00000000..d43b271d --- /dev/null +++ b/Javadoc/index.html @@ -0,0 +1,33 @@ + + + + + +Generated Documentation (Untitled) + + + + + + + + + +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<h2>Frame Alert</h2> +<p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame version</a>.</p> + + + diff --git a/Javadoc/overview-frame.html b/Javadoc/overview-frame.html new file mode 100644 index 00000000..65ce143f --- /dev/null +++ b/Javadoc/overview-frame.html @@ -0,0 +1,26 @@ + + + + + +Overview List + + + + +
All Classes
+
+

Packages

+ +
+

 

+ + diff --git a/Javadoc/overview-summary.html b/Javadoc/overview-summary.html new file mode 100644 index 00000000..0f26239e --- /dev/null +++ b/Javadoc/overview-summary.html @@ -0,0 +1,150 @@ + + + + + +Overview + + + + + + + +
+ + + + + +
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Packages 
PackageDescription
com.comphenix.protocol 
com.comphenix.protocol.concurrency 
com.comphenix.protocol.events 
com.comphenix.protocol.injector 
com.comphenix.protocol.metrics 
com.comphenix.protocol.reflect 
com.comphenix.protocol.reflect.instances 
+
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/overview-tree.html b/Javadoc/overview-tree.html new file mode 100644 index 00000000..e88eb308 --- /dev/null +++ b/Javadoc/overview-tree.html @@ -0,0 +1,207 @@ + + + + + +Class Hierarchy + + + + + + + +
+ + + + + +
+ + +
+

Hierarchy For All Packages

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +

Enum Hierarchy

+ +
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/package-list b/Javadoc/package-list new file mode 100644 index 00000000..4dfc3ea8 --- /dev/null +++ b/Javadoc/package-list @@ -0,0 +1,7 @@ +com.comphenix.protocol +com.comphenix.protocol.concurrency +com.comphenix.protocol.events +com.comphenix.protocol.injector +com.comphenix.protocol.metrics +com.comphenix.protocol.reflect +com.comphenix.protocol.reflect.instances diff --git a/Javadoc/resources/background.gif b/Javadoc/resources/background.gif new file mode 100644 index 0000000000000000000000000000000000000000..f471940fde2f39ef8943a6af9569bcf986b1579b GIT binary patch literal 2313 zcmV+k3HJ6!Nk%w1VKM-40OkMy00030|NlK(aXwsfKV5S}VtGJbbVOr%L0@%CZH88Q zl{{NzcR^uxNo<2iYk@pjY)*5FJz8x~bc{)B zfk z+1T6M-s9WdW8dcJ-wO*3@9+W*5AY543-j^$^!EPz_4eHZ2#>)41`h@dc!2OAgN6$a zCS2I?;lqgx6IR4nkpTe;1RN0f=zxMq2O=q`94V5d$&e>Unta)^<;;^G3>e7yp=ZvW z6DIW3xpSvaogXF?_4%`@(V;s}NR^5J!3hrtJV@1QRV&r5S*L!zYE|rss${iFkg&!? zTN5V#)~=bmMorwgZsEpdOE)iExo+FO-8;8Kga{=HbSQCnF=E6W3?o*|ID%uwi5**> zJXy127Y9m+=HQ|PhXWi+xNwoWv}n_%Pq%(e+H~mGqhq5kv4Mo|-n~g|7!F*xZ{xv< zCpXS~dGg^IGK?4@J-T%b(XnUHFul6n<@2&4)zzyO2) z3Q8`i0+UKY*`$}e9mmp;tg*))`|PsK1|hAo%u0K$vDwm4gaSkm0j{`26k#qAKmbuhxZ#cquDR>B zD{s8+&TH-uNg$C#68QG}1HMBHfrP&L@@w$F_!itRzXdCN@V|LDAu%3!IDtq1#1UV7 z#1RxvT=B(DWbCoU5l=ia$Pp`Hgb_?Mp@hmtxZDI2N-)v#$}PXVvdm1d>@v(v`0TUJ zF)Pu89(q`zv=w^nVTIF3@3BYIPA}c`(@ZCAwbNBEt@PDUKe5CTR8aB66IE1!w%Amt zy+jpcn~k>GZpVFg+H6x{_uOksvBlq0OyT$6TyQZ37k(cOxZr|JEx1sGm<(M9gH z-~PMqyn|tT=))UN`|-FFFUA#KToK0fUOaz=7}Z~KeHhVC&%O27cTfHQ^WBU8z4p&T zp#>D|V}XShTD;Hx745Iz{`>K-Z$A|7!*Boo{mY;G21vjH8t{M!OrQc6$iN0V@PQDF zpadsK!3tXNf*8!81~qnXWuHZ)kytd=_y+ADWvw31ouV;CdZ#ya*(l7-A-C-Y^+iit8O zBy3*`Ls$|5Hn4m_^I^|C7{m7EFn|5vTk;|oywIgCc9Bb*=L+Y$)M>9GC<|HGs@6NB zHLY%03!dDf=eDRt2O6lVSFRcsuWZEwU?=z$CZ0W?#VJfdN>HG(l%oKpyiftJc|Y)xkjSJYCrQal-0PC~()T9xwF!Jf zVi1UA#3BBbh(i8r5&v#Pz!cF41KjbCc?4u2@@Q~oKLirt2TM30;y6b+zyX2`Yl9u; z`0$3;v0-YUp&7NdPT#q`cZlbij$jvbRk6R>8g*>}*b9E+WDwmpHAAxYzyT aU_pX{M6b8i>#Dq3onfZy}_nli%!Q$ZV%e&!tN2 zX3B0NWXQ443Eo1rUP86rLU>O>oTp%wt3Z{Tz&P*)Iraq^_@X;RtUFY!JxH|4U!>kw zxXwqo&R3Y=EsXaR!ng@y+y$%L1P3FZ4@N!j3m5MW74HcC->_JFuvlxLXiI=-OQ2|@ zpGc#>2-aN)<1RE9^`bB0`65VSK2>5m>CHs^YZCC)NX*NfbeT1%)Cxpu2_(6cCbLvjLY`hf1%*q}QO*%V4SfOu5Nqg~`-+(-76= za<`RA&(qDB^S!nIS^od5|Nk$KPXD8(qSB!f`M*{E?A^&yOW$08V^iNPK!%UNJ-@xmz>`pG2_%4I3QWk4UdtwP!GH$C%mo2K|$Ap=_)Y!#O($1@ohsUtR1k%wI*) z4*X&g==oWh`j{uP=HFm;Ye>0>UbDdtSp^~MaQ!L9I#)Ga?q}{@T#|qec*FkMLDenm zj^sCgk!^O^3o|vG!~2$$$7`C#4Ry zdQ!tui+J1*HyavK+4{`r+zvYHj9IsRt~@uEBOreWS8~2rXAR3!|7aTdr+x4|>@$Az z)b1t$gSB~6USxpfLmy^|_J_eNt*PI=ScO1SVH895N#`ef%IOh&o-2GIjK1s-JzkyZ z@r7O%hChz}kMHCM@Wqi^R-9t&%Fh^#9dVB0%ej@$=OjXA%XZdzCXf}c>SW26_z-Te z5b{}XWg&rELM=N*%aimp)k04t2c+`WAS>ZFIPWKvtyOI))HzpRA!T!b{tv?4NzF1v zNlP%#{&p@lFFEKvcroMAsI)mq?&`!e%l+-y&j9ZqhN}oG&dB=Pw09r+Q%m0cMujS# zs$a7!9VH`CC7k{!bV(J`rm%Jpj6&nLtWhPcy$onn$8G#ZdD9hxO<9k67Ya>K_7W~3 z&KYf14fq<{qHA7u6;>AOcomhdg?ianjr9uINt}*7w?g%z9{Q`(qRo@hDwSpGmxz&h&>%G%T(URL~=c>C{>y$K?+wLFp zy*M1@FTUKYV>8DeDIAIKM+!T5c-k&C4?Y~y^E zQCIc-=9~DiPtfVZB=_c3`qH3h|NXd^BcOQG`funSe)i5!NoA_r{b6PwzSDIXG+!(F z9CqJgo&~#7^VZHWj{u23q+NDCHn}GeWDC*(SW%{f4WMtP3l2jsO7*M)EX)#NLlsNnU4q@#jn0r#rsWsf^ngE0&ambG1f;Rj zfOk#_>1|25Z%?iI{0Yv8)DQfk>m1td?~}m0N%^k^u%EuUCc#ItmlY|epQ3YLWehYw zRU0qpPb#X&WU*UOU8et(s8x~WyYWYsgJCF+;U6@*nICY8)dk}IG+(#_Bz8zURd3HZ6qPE68U1%S{wL0 z;K{PDw2iRFIGG?(UiE9kT9?siuv4O{ z`dX2-eiXU3N)H2nT4V=AO^~J}sw+gr{&~qx%$$wlMv_JCWAMfcjYl}*Cfcf!adOY8 z8oLmJ{%49e+nLiVo#H9}wRk?UCzDz^>9TDxreVHzl~R*)?YU>Uu;J2eQ27O5`&X^8 z`94{)YWJQa#l0Fbz0N6B>j&8J;<%VuG6OYM9&QIdtueWjI3X;*dEtGiF@1AcvN4U> zG5SXIEXxB>)!mtQOztJLyeF78S*kLiU-!>PtQ_s~OMl~&y(hVVe$A5 zwo}E-DJ6${QP75?LsQ}Wl@MXwXMT4d>|?rD!g?jE>J^N*y;X}5FLe%d0_ zZ>eIBK6l@jkfw{p_YiDP;MS{jww{%j#?rk2z1J!HqE;Vd!TrCl_7UPef8;edI}wD6 zT&12Bxj&q}d4%$GHq+$~UYtWv`wI9k`89oKkCEK_E;-+O)(rhThjOM|kXDn{!W1Lo z`_?yQv=lp=-w()R<=0&c5%RWHY_fw@qb}uwFuPAGkl~@Kis}eE%MY@~6ZyWcF+llM zGyK`)(vn1F%%z=W7-Y=1$`w0Mv+-|#d};%JjCmw)Y1hOxwA|{}P%6LS4X`jQCGh`mR@=hGrr|cXa^Ipj;Mh)6mTqd1s_HmP0IxXT!w7YhoIHT>Hm#!;c@|L9OjV zsTlHE{Z;HWeM9^tPm-`|&nnl$%DRtNG1~?npUvgKPwKlaccEe4q!7YU3zykJnu6Sr z()LMXs_)^~u-ds7+wMff)RAJF?2?1H`_wDnt%MssYeB5;q~ojgVm6OHA6B>FG2erv z8&`|6<`=!EPKR^8Qlp5MiKwfxy4D`mN> ze$RKh_6*YJd4y0nnUZvwN%iY&^9xk@cM|5g#pZkc#N*(PH?^w&?ilTDMXFcd0`5!E zvgHS`=Lc|~1aO=L@L~eE*aP{90lc7qXY7GOs)3JH14T{(`K1D%tpvUT1-?F^1d4_S zJ#7yXkP3Q37bJlRQfv=mV-J3B8O*m5B%L3uW)S>|Jwy`|s6iK`sv0Z-3NcU(0knrG z5ChFXA@A9PUSdLI+(VU!!J1Mbw!~0VP^jZci2X|Nx0BF!24ObrAr>b=QtlyN4TAhn z!mQncJm~^m4MIafVLt_ewDUtO+e5w*!`(6A&H^F7i9s4t5&uBpNvh$nlTZjqTM5krNRRQ zqP)VR!|9@H>7qN_!+-)&_9s!^;gOvy5s~iEB&qP8{77&2NJMzZcsnJgSt_bYDzYU% zxQ#uuk3D*e7_*d5^?HW(^(WxICGf-mcmM((VStzIz%zFsm0;ZI3h=5OciJ#a%7I(IeGbFv+PP^?^sKBPrRBl<+qK^o%3fi=L9`la>-l4~p|hzAl~W zf=%(|NHgF7r5dJD+Cf08q-c(m;Epsldaz4cqHzTHT>)4xEe(cE0i~tf{Y0xs_1~Kv z+BYQ-TpEOch13;5YC9nHYEXhSv{ew=LV~nQL%UBQEgaDL2m?9u~v zEQmOvM=aB)Z$+eE38rs%AZR_)4>@2raqwH#Fji#xoLc&PS_TU^W8W(M0GqLdO~1yF z{sfHZ_sC#FX58(}d>RSkKZCz8%D7{cC3Z$Zh@52{31&V*W-@s~Z<8~aBeNcNW?e&O zsR(7fHOf}B&fsRqdZ(WK1e~s*o^uD6{YX9QJvqyWAqQXt*E>r$V94YK=X@8+{1cg> z*_i`a%alCJvbD~lCg&Q1Gk=|BzY)sejf9EHJ{s7lu4?ExCWR3jgTiET;exy{sW!Mg zuj*_YOf0@ScN~X0$7V6&KpL172rf|rA8?K<2+GelXw)NUk#@b4aT5MO%1ip4*ym}B-JI__S1R?CK z<4eW~bH;@H@tR55x}&JNSw_NvEPk)6E>XDt7*)4sgWuw+_vNZzmaS(tsi(57zcjA9 z@~XcHtzYq~IX|z*Md9mh>W~`sk3<^s7;EmyH4wcTdAo5NkUA2ofeG69{Gx7#i_*lt zQ7;N@xEo#nNRj&SbDHNnP0w#OE0{DZ$~7ySG%IN~zwd5Vu4&dnH>*OMb>&*VL^tbA zG;7y1t9dsYU$p3pw0x6mwGe6fjBYWsZ8e3q8f~-~cefgHxBangajI$kv(c*W-DZGp zbM$UgnP{_MYPXYX|6$u^deIhE(-xuGX2RVXqS+o~(iSV%;ZW1=Zqkut(r&xak^pT> zsp*I@X|-eOd^gb+sM(%3(E$|c47Y91mTU99Xe;4vFOTl5gmwVB+fvc3n2pwK?~Xd# zwrY{?CUj@~Msr?wXU0WKv2A$hq z`$V^gNq4(<*C=;4e4}$*uIC$5&uUHkM08J~N$>VV*VpdmLCuc!?!J9=-)VH;fo9)| zNN4m#^Kb9|`RF!^ZAT-z=bC8$do8~Tjc^o-aQjyc2(TW*d50E1#NW0pKb^~tf&OUlS+W}>0!m@!~1 z&TdSLhm`0u99c-z=oxYL8IFaGCDoFwFUP!1iJ%xF1UC4hhv*VR2451Pc0+kQGC)39C5 za81oV=$+xzZNYhn=RB-CTZ>Bevj)A3mi9|OS(dcy=N#Zm=Dza|z4Jd<=3IQ2CB>FiwH7{4Ej#+oa>M67 z!56)Km&2xJ|H7B;%~rJDuJ{rbZQiaX*e^$DEt~T$#h9(y#jg6>uX?boq!N}Q;EQth zYo1rjc15dETPw~*Ymu=lreoE9g^wb)ZcRe1yp1(Eo(rmqUYZXOU$BC_| zX{{&qE?E06wXm#v#cpKwE)jaydSaI`TkCCClr_lKMzPkyFT!R%VRn&sZSrchKx&4e~pJQcfViQxxl=T=7}#gYz7Pvoh`T#Jbab%2A2m zxh?A<`}A?8_GumBEcL;$x%gQb@PZ(If%ZE~D?ax#Km4a~+GV~!;Bb~qxxh@HHc|H6 zr%$^c9Dw~UQFWJv+81rCXS1vqqLfQ~-BtO63xCArGVA4T-}xPXYGHqB5h^+n5%$24 z(BROpi13J@*qFfR$oRMHel`=(zy zovs-UKHD3VkJ?hVeq!aA+8Fh4+NIlFhcC~UrR{4I#}K*u&z%68+P1*=q0B1r*2MY> z!9gYs*vlTO5v#8S>c#3goFmp>3iVKdU)NkjNV(s7tO4Wq?2M}o5Cj-*7;S=fEshOA zR*4$dm{ROvUamG%xL_tSW6}U$Nl=@91T;nC11o-iIVyVrfkd) zTCp;^tOy|_kuOFV$Nn=$AQJO9;&sZ&eDs^!r*m;Hw!)vpO1vcfj2EV{dJ?7ap0tq6 z$SwUVM*Vt+MS_`;bas-svPV|3POQi8G~?f^KOx4hg1He+Wd*s3Hl1{TfJS-+zv6vc zPoKiwr?7wECbub(IdB)9f_!kmUjBR*KY_z4E8_QA9xSr#G&@i5y^H`jB^I{|akh>W z%Cn3luOVY|8P>u>e^~#{$kmgX&-q>k{#pFbm2({(rtG<%nb0UCQ0%{Cy`F&~7}*we z@Of>ND_)V&XwN_+n~KjVorUQWZ*B6cld7ymQl{;rwlHl34K#}2YWxE+4CX@P&u6AfCda`&ZT1MOY69e-L@gNcAvwx8%1Z7lB4zc=_Cpt~&s ze%?;){1DB(PSK!^za967qF?lIjB~&06}Lf`cgh2qUiI^|$-VCTNE=hp&Ij}^A9&|* zQQrSqo3gn#_=z9j(y6f@T|OkJYv(fjwpz}$*U$|nLH2F zPNMuTS4g8 z*^hOlRh6~Mk}58;d477R>F^~aLO$dOXmhA*6zwIaHK()t2zKjo?j^NOJbh_=+71xg zO{Mgp7x?Z-1MKzoQ<+V2g#|e}|JawOPJZBL{o~PYdtWDX?jl##!Aiq|w>)vGJLipp zBK1xGhcvgSsQ;rn>+`>UmxlID{<~}7{y>SO^cyktN^Fsz!Z|B4?p*RKQG*8}SYBt{ zuFO{vJ?jgL{gUzYsnv(io}c0vlCp#*1vE?}KL^UZ&VF^TK+D;40CxX%j);%dCt;Z{ zAeMXC9JPWvKGwsCxx4w2iv_wNGG8l16AVI93rmc^c1>r(P||YE zpXa+=-&k995hfykL^J5S&vJF^ljR&`FE#ppNMM3%Omc!F)Mn{{&Ip#)JegbEJxud2 zn`wDVB~DMii5|H%m~51YeU1juNG3!+&?*uC#q@)z8q~`4yEL5I8}PtyA1IZ=52P$x zX)KhZt z7czUXBsy-8d`GVQ`90`wIh(Xt7v5j7h0t&ET~2M!Tb~4rN-xtK@8@mB*c(6QTwOS- z%9445_WY|cfm4?$nX$72&{~^mu}an^x^Da%=UU6YI;ur3+9L6I>raW5!=-Nzy(F2Z zwZlg7aM3NN5b{K|FB>s4R}|&Lr32_Ys{wwkECxo|rV@;5aHB25iUs7(6@dDpjN{Y%?C~UGp>*Q}K?)KKk64 zAn;@-dER}QG0L${jQ1cR75eM3-~ZTltTQ8%sm9x4Y`ve@ekMuvpA#Rh51@s6;6^&Q z!&M7^b%cea7FlZkPV9}@!bPBBfB&~XvGlE2T7V?IpM~OBmuK;OSt{~N`rL5c_I^de z9n*=@p|l;d`b_YIn8Aem1t7pp0=2-MCTIcJHlY z6x+mNLgi{JpwP)y(yzAFL2A#>bI&EwZE`PGvd*FQ!rx~6bUN&+Ij3)L;=595L#G;m8*^e?ap1`J5w7-q)*iUT_W9w8 z&xS-`i++HpWzY-a-)CWd0(pLW$A85P{Dy9r-=uPekNpN^yA}pJ7yWTZ>3iw4d6+IK zF%1XXkGcJm{0*vhSG5R1ySW;jctk9O==1-Mk?=Bl<{HE1p_@tx1s^+GoczYxj#B=i=kwQvEPrOt`<4W*pJw zbNjEqpr7B|Llc%m{V*QssV)im;pb00LUob=yFaU4`P_}ywU zt*QZl-bUsmh@L&zQaX4uHL&7YD(BOb9hH;;y;O-b-_O$4EFi1vCrMlz`dN|u?}HNO^aFQV{UZg_yy%nf>IXpulip!cR8|vNu7P*; zQye@}Qmj%(TB6`5E=c~w=LITF266XJ6X5xA7!OM1SE=~N*o3EP5Qqx!W<_+EMSLGo zqkC18AQ=0AK9=hgGQtrTovYc5^?Z^RLX?hlO-j&e1MXTTbfm>MS^=}!p>C>icUKdZ zBcNOb(6IJ!kq*e7N8Fx!!kPyn+2B2^2hd00+W^PUA&+S63jFE)bP5Tv+L5l~n(pu? zbeO|+K{{?pEow3?j0+dGVu)a6(0r{1Uj7{3 zxSsZ|BdMk>1-S}-;+`pk{Q5>H=tLRx+YqeenaSRsEX@gtPzz>j1A9g!C9kGtspY(- z%YL>NkVDE2z@}*;Q{=&5)yS;NupAmmibGUE4qte7aY6PcnXJgw>}ad(SW;@HtNurF ziV0_yHz=;Di%Tki6DW^tjkL`t%Ktct(ay zvuAOYoCu!Pm~@P5CIjk$bp`_iv{^l*Au{fB8mJK1>Macv?GL)**8*+JNvySIH5Y7i#1;!%NT!efc z;Z0*AOM&1VpR+6wIQxBM{xf`8T1V@#e<#QL}=YRwMkWG8%1(Fgj{iX)N zup{Txko(DqJWf=#Oi?Z!nra-?C{);TP`w|4>L+EKx1&P3swX<*#_50F!lD_$nQyuK??!UwA-{y)^QmMxoK1xIJ~uML{u;5!Z5tQyEL>;KaUd!_9FP zl2$QOI6V1`QdF|8gkdZsSpUqCjSBu(1H)r*vL#PEy)@Px>5TIk7_9o#Bj zzD&<1_k(ejk%qO6ak=GMmG5b7LTAA^KKq-Ey#z8(2wy2;Ot^oZI(MG@)~iY$RAnJt zu`ioyvR?Vws_tuK9hDqmel+)bP0kyxJV{7t=&3{b(@Hs1fs$9n45aq)IKknZa2H*7 z^P-ZDyOMdMj&-9{(-?dqo5I3Gy=K$!L%q>3^0N~o^2i0^_@^2nQv>S4B&=5_8^a^V zaY!NjyA5QgO&r#^CJcp&=!))MZ*CC&hvLEzWU*!IO=aYo{_yG+53H$XOAIQWnG`uD zLuuwTY6e8N^m5^AHQa}Y5Z#SdbEY;+x{oW?g;ie4CNYomRyQd2mv^L}T!>a5<*wTh>@>Qtwp~nejn`~DcZJI+QC-xU zoxz=5z0k%1;jBrGI%Th~FQElrAPr?E-Fv9|o09dPk=?>f)jFKL8PK|;w(cVDq>YWP zEfL7RGBv|<>f4IccND3wCi*V8`>#a$FPZu&a{V`W`me+Kuf_CJ)%IV%?5ByL^#3Q{ z&uBM5|34IKI>0_Tz{5OngXe#6w*N6;;5PH%9n%56%RaWA{wJ4%515Apdj`a62bp<> zM12OuV+QZ^55ATkViO(UWgg}%9C}kb^r~=BiDyWIXZWM&kb>Q?dd$#W`4KU|2#4qh zz;sZ>ZqS5h#Kdk$&1c9AHmDUdtmHE)CqH0RIAZEE;t(^+RXF+*FlJyk;?6Vn{&MsO zZ0HwY)b4Va!F1#s^N5$-s9(&mPa*Lu4>4SxXm~l|3?PR2jB1J!Q|(4#0i$lFME^-r zA~Q(2O+PHOdcVN((R8zqi>%+yx4PA5u&+jI zZ?)Fm8m-+`n!Bnrx0PvZE7!Q)Z+NTE@K(R!nO40sZF(n~bq_b_9H`UYU#q>pPJ3UC z_UeU>J7qcy%%`ks9)BNcS^GDOn z?oKkjHNoWO1e2?M#vd12e^_AscAnLnc~-CISiYWX`D%{k^H~<37unpMYJYdSv=Om2vbAM@`Qp{{SI=yP zj6WN*eEt0G$9EPX6FU%)-ho>hWTW!yzXBIo73<0umM-=@eG&niY^` zlG(|vuCl_x(X^Fob@=i{8+M5vWf7Bz=#aHGTNA;fZQyfbfueI8Z^639n`(DI%w^-^ zl`=@!u)r~Xf920-xd$Ab+S&PJY%K0H8a_J8uN3^_!K1_NV$*e#*Y*6|)XpiW=9H`*`Xx7W%v@7{XDma1?v0a%(K6rI&1!a YpWXKgmku8Vj|K)Vje`mzEKCg608Q#dYybcN literal 0 HcmV?d00001 diff --git a/Javadoc/serialized-form.html b/Javadoc/serialized-form.html new file mode 100644 index 00000000..412178af --- /dev/null +++ b/Javadoc/serialized-form.html @@ -0,0 +1,171 @@ + + + + + +Serialized Form + + + + + + + +
+ + + + + +
+ + +
+

Serialized Form

+
+
+
    +
  • +

    Package com.comphenix.protocol.events

    +
      +
    • + + +

      Class com.comphenix.protocol.events.PacketEvent extends java.util.EventObject implements Serializable

      +
      +
      serialVersionUID:
      +
      -5360289379097430620L
      +
      +
        +
      • + + +

        Serialized Fields

        +
          +
        • +

          packet

          +
          PacketContainer packet
          +
        • +
        • +

          player

          +
          org.bukkit.entity.Player player
          +
        • +
        • +

          serverPacket

          +
          boolean serverPacket
          +
        • +
        • +

          cancel

          +
          boolean cancel
          +
        • +
        +
      • +
      +
    • +
    +
  • +
  • +

    Package com.comphenix.protocol.reflect

    + +
  • +
+
+ +
+ + + + + +
+ + + + diff --git a/Javadoc/stylesheet.css b/Javadoc/stylesheet.css new file mode 100644 index 00000000..0e0d70c1 --- /dev/null +++ b/Javadoc/stylesheet.css @@ -0,0 +1,474 @@ +/* Javadoc style sheet */ +/* +Overall document style +*/ +body { + background-color:#ffffff; + color:#353833; + font-family:Arial, Helvetica, sans-serif; + font-size:76%; + margin:0; +} +a:link, a:visited { + text-decoration:none; + color:#4c6b87; +} +a:hover, a:focus { + text-decoration:none; + color:#bb7a2a; +} +a:active { + text-decoration:none; + color:#4c6b87; +} +a[name] { + color:#353833; +} +a[name]:hover { + text-decoration:none; + color:#353833; +} +pre { + font-size:1.3em; +} +h1 { + font-size:1.8em; +} +h2 { + font-size:1.5em; +} +h3 { + font-size:1.4em; +} +h4 { + font-size:1.3em; +} +h5 { + font-size:1.2em; +} +h6 { + font-size:1.1em; +} +ul { + list-style-type:disc; +} +code, tt { + font-size:1.2em; +} +dt code { + font-size:1.2em; +} +table tr td dt code { + font-size:1.2em; + vertical-align:top; +} +sup { + font-size:.6em; +} +/* +Document title and Copyright styles +*/ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:.8em; + z-index:200; + margin-top:-7px; +} +.legalCopy { + margin-left:.5em; +} +.bar a, .bar a:link, .bar a:visited, .bar a:active { + color:#FFFFFF; + text-decoration:none; +} +.bar a:hover, .bar a:focus { + color:#bb7a2a; +} +.tab { + background-color:#0066FF; + background-image:url(resources/titlebar.gif); + background-position:left top; + background-repeat:no-repeat; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* +Navigation bar styles +*/ +.bar { + background-image:url(resources/background.gif); + background-repeat:repeat-x; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:1em; + margin:0; +} +.topNav { + background-image:url(resources/background.gif); + background-repeat:repeat-x; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; +} +.bottomNav { + margin-top:10px; + background-image:url(resources/background.gif); + background-repeat:repeat-x; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; +} +.subNav { + background-color:#dee3e9; + border-bottom:1px solid #9eadc0; + float:left; + width:100%; + overflow:hidden; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding:3px 6px; +} +ul.subNavList li{ + list-style:none; + float:left; + font-size:90%; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; +} +.navBarCell1Rev { + background-image:url(resources/tab.gif); + background-color:#a88834; + color:#FFFFFF; + margin: auto 5px; + border:1px solid #c9aa44; +} +/* +Page header and footer styles +*/ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexHeader { + margin:10px; + position:relative; +} +.indexHeader h1 { + font-size:1.3em; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 25px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:1.2em; +} +/* +Heading styles +*/ +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color:#dee3e9; + border-top:1px solid #9eadc0; + border-bottom:1px solid #9eadc0; + margin:0 0 6px -8px; + padding:2px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border-top:1px solid #9eadc0; + border-bottom:1px solid #9eadc0; + margin:0 0 6px -8px; + padding:2px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* +Page layout container styles +*/ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:1.0em; +} +.indexContainer h2 { + font-size:1.1em; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:1.1em; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:10px 0 10px 20px; +} +.serializedFormContainer dl.nameValue dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +.serializedFormContainer dl.nameValue dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* +List styles +*/ +ul.horizontal li { + display:inline; + font-size:0.9em; +} +ul.inheritance { + margin:0; + padding:0; +} +ul.inheritance li { + display:inline; + list-style:none; +} +ul.inheritance li ul.inheritance { + margin-left:15px; + padding-left:15px; + padding-top:1px; +} +ul.blockList, ul.blockListLast { + margin:10px 0 10px 0; + padding:0; +} +ul.blockList li.blockList, ul.blockListLast li.blockList { + list-style:none; + margin-bottom:25px; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #9eadc0; + background-color:#f9f9f9; +} +ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { + padding:0 0 5px 8px; + background-color:#ffffff; + border:1px solid #9eadc0; + border-top:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; + border-bottom:1px solid #9eadc0; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { + list-style:none; + border-bottom:none; + padding-bottom:0; +} +table tr td dl, table tr td dl dt, table tr td dl dd { + margin-top:0; + margin-bottom:1px; +} +/* +Table styles +*/ +.contentContainer table, .classUseContainer table, .constantValuesContainer table { + border-bottom:1px solid #9eadc0; + width:100%; +} +.contentContainer ul li table, .classUseContainer ul li table, .constantValuesContainer ul li table { + width:100%; +} +.contentContainer .description table, .contentContainer .details table { + border-bottom:none; +} +.contentContainer ul li table th.colOne, .contentContainer ul li table th.colFirst, .contentContainer ul li table th.colLast, .classUseContainer ul li table th, .constantValuesContainer ul li table th, .contentContainer ul li table td.colOne, .contentContainer ul li table td.colFirst, .contentContainer ul li table td.colLast, .classUseContainer ul li table td, .constantValuesContainer ul li table td{ + vertical-align:top; + padding-right:20px; +} +.contentContainer ul li table th.colLast, .classUseContainer ul li table th.colLast,.constantValuesContainer ul li table th.colLast, +.contentContainer ul li table td.colLast, .classUseContainer ul li table td.colLast,.constantValuesContainer ul li table td.colLast, +.contentContainer ul li table th.colOne, .classUseContainer ul li table th.colOne, +.contentContainer ul li table td.colOne, .classUseContainer ul li table td.colOne { + padding-right:3px; +} +.overviewSummary caption, .packageSummary caption, .contentContainer ul.blockList li.blockList caption, .summary caption, .classUseContainer caption, .constantValuesContainer caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#FFFFFF; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + margin:0px; +} +caption a:link, caption a:hover, caption a:active, caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .packageSummary caption span, .contentContainer ul.blockList li.blockList caption span, .summary caption span, .classUseContainer caption span, .constantValuesContainer caption span { + white-space:nowrap; + padding-top:8px; + padding-left:8px; + display:block; + float:left; + background-image:url(resources/titlebar.gif); + height:18px; +} +.overviewSummary .tabEnd, .packageSummary .tabEnd, .contentContainer ul.blockList li.blockList .tabEnd, .summary .tabEnd, .classUseContainer .tabEnd, .constantValuesContainer .tabEnd { + width:10px; + background-image:url(resources/titlebar_end.gif); + background-repeat:no-repeat; + background-position:top right; + position:relative; + float:left; +} +ul.blockList ul.blockList li.blockList table { + margin:0 0 12px 0px; + width:100%; +} +.tableSubHeadingColor { + background-color: #EEEEFF; +} +.altColor { + background-color:#eeeeef; +} +.rowColor { + background-color:#ffffff; +} +.overviewSummary td, .packageSummary td, .contentContainer ul.blockList li.blockList td, .summary td, .classUseContainer td, .constantValuesContainer td { + text-align:left; + padding:3px 3px 3px 7px; +} +th.colFirst, th.colLast, th.colOne, .constantValuesContainer th { + background:#dee3e9; + border-top:1px solid #9eadc0; + border-bottom:1px solid #9eadc0; + text-align:left; + padding:3px 3px 3px 7px; +} +td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { + font-weight:bold; +} +td.colFirst, th.colFirst { + border-left:1px solid #9eadc0; + white-space:nowrap; +} +td.colLast, th.colLast { + border-right:1px solid #9eadc0; +} +td.colOne, th.colOne { + border-right:1px solid #9eadc0; + border-left:1px solid #9eadc0; +} +table.overviewSummary { + padding:0px; + margin-left:0px; +} +table.overviewSummary td.colFirst, table.overviewSummary th.colFirst, +table.overviewSummary td.colOne, table.overviewSummary th.colOne { + width:25%; + vertical-align:middle; +} +table.packageSummary td.colFirst, table.overviewSummary th.colFirst { + width:25%; + vertical-align:middle; +} +/* +Content styles +*/ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} +/* +Formatting effect styles +*/ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:.9em; +} +.block { + display:block; + margin:3px 0 0 0; +} +.strong { + font-weight:bold; +} From a76e5835fded347dfca44d322cdea188335c654e Mon Sep 17 00:00:00 2001 From: "Kristian S. Stangeland" Date: Tue, 18 Sep 2012 18:41:24 +0200 Subject: [PATCH 02/30] Regenerated JavaDoc. --- Javadoc/allclasses-frame.html | 4 +--- Javadoc/allclasses-noframe.html | 4 +--- .../com/comphenix/protocol/Application.html | 2 +- .../comphenix/protocol/Packets.Client.html | 2 +- .../comphenix/protocol/Packets.Server.html | 2 +- Javadoc/com/comphenix/protocol/Packets.html | 2 +- .../comphenix/protocol/ProtocolLibrary.html | 2 +- .../comphenix/protocol/ProtocolManager.html | 2 +- .../protocol/class-use/Application.html | 2 +- .../protocol/class-use/Packets.Client.html | 2 +- .../protocol/class-use/Packets.Server.html | 2 +- .../comphenix/protocol/class-use/Packets.html | 2 +- .../protocol/class-use/ProtocolLibrary.html | 2 +- .../protocol/class-use/ProtocolManager.html | 2 +- .../concurrency/SortedCopyOnWriteArray.html | 2 +- .../class-use/SortedCopyOnWriteArray.html | 2 +- .../protocol/concurrency/package-frame.html | 2 +- .../protocol/concurrency/package-summary.html | 2 +- .../protocol/concurrency/package-tree.html | 2 +- .../protocol/concurrency/package-use.html | 2 +- .../protocol/events/ConnectionSide.html | 2 +- .../protocol/events/ListenerPriority.html | 2 +- .../protocol/events/ListeningWhitelist.html | 2 +- .../protocol/events/PacketAdapter.html | 2 +- .../protocol/events/PacketContainer.html | 2 +- .../protocol/events/PacketEvent.html | 2 +- .../protocol/events/PacketListener.html | 2 +- .../events/class-use/ConnectionSide.html | 2 +- .../events/class-use/ListenerPriority.html | 2 +- .../events/class-use/ListeningWhitelist.html | 2 +- .../events/class-use/PacketAdapter.html | 2 +- .../events/class-use/PacketContainer.html | 2 +- .../events/class-use/PacketEvent.html | 2 +- .../events/class-use/PacketListener.html | 2 +- .../protocol/events/package-frame.html | 2 +- .../protocol/events/package-summary.html | 2 +- .../protocol/events/package-tree.html | 2 +- .../protocol/events/package-use.html | 2 +- .../injector/ConcurrentListenerMultimap.html | 2 +- .../PacketConstructor.BukkitUnwrapper.html | 21 ++----------------- .../injector/PacketConstructor.Unwrapper.html | 17 ++------------- .../protocol/injector/PacketConstructor.html | 10 ++++----- ...PacketFilterManager.PlayerInjectHooks.html | 6 +++--- .../injector/PacketFilterManager.html | 2 +- .../protocol/injector/StructureCache.html | 6 +++--- .../class-use/ConcurrentListenerMultimap.html | 6 +++--- .../PacketConstructor.BukkitUnwrapper.html | 6 +++--- .../PacketConstructor.Unwrapper.html | 6 +++--- .../injector/class-use/PacketConstructor.html | 10 ++++----- ...PacketFilterManager.PlayerInjectHooks.html | 6 +++--- .../class-use/PacketFilterManager.html | 6 +++--- .../injector/class-use/StructureCache.html | 6 +++--- .../protocol/injector/package-frame.html | 3 +-- .../protocol/injector/package-summary.html | 6 +----- .../protocol/injector/package-tree.html | 3 +-- .../protocol/injector/package-use.html | 2 +- .../protocol/metrics/Statistics.html | 2 +- .../metrics/class-use/Statistics.html | 2 +- .../protocol/metrics/package-frame.html | 2 +- .../protocol/metrics/package-summary.html | 2 +- .../protocol/metrics/package-tree.html | 2 +- .../protocol/metrics/package-use.html | 2 +- .../com/comphenix/protocol/package-frame.html | 2 +- .../comphenix/protocol/package-summary.html | 2 +- .../com/comphenix/protocol/package-tree.html | 2 +- .../com/comphenix/protocol/package-use.html | 2 +- .../protocol/reflect/EquivalentConverter.html | 2 +- .../reflect/FieldAccessException.html | 2 +- .../protocol/reflect/FieldUtils.html | 2 +- .../protocol/reflect/FuzzyReflection.html | 2 +- .../comphenix/protocol/reflect/IntEnum.html | 2 +- .../protocol/reflect/MethodUtils.html | 2 +- .../protocol/reflect/PrimitiveUtils.html | 2 +- .../protocol/reflect/StructureModifier.html | 6 +++--- .../protocol/reflect/VolatileField.html | 6 +++--- .../class-use/EquivalentConverter.html | 6 +++--- .../class-use/FieldAccessException.html | 14 +++++-------- .../reflect/class-use/FieldUtils.html | 6 +++--- .../reflect/class-use/FuzzyReflection.html | 6 +++--- .../protocol/reflect/class-use/IntEnum.html | 6 +++--- .../reflect/class-use/MethodUtils.html | 6 +++--- .../reflect/class-use/PrimitiveUtils.html | 6 +++--- .../reflect/class-use/StructureModifier.html | 6 +++--- .../reflect/class-use/VolatileField.html | 6 +++--- .../instances/CollectionGenerator.html | 2 +- .../reflect/instances/DefaultInstances.html | 2 +- .../reflect/instances/InstanceProvider.html | 2 +- .../reflect/instances/PrimitiveGenerator.html | 2 +- .../class-use/CollectionGenerator.html | 2 +- .../instances/class-use/DefaultInstances.html | 2 +- .../instances/class-use/InstanceProvider.html | 2 +- .../class-use/PrimitiveGenerator.html | 2 +- .../reflect/instances/package-frame.html | 2 +- .../reflect/instances/package-summary.html | 2 +- .../reflect/instances/package-tree.html | 2 +- .../reflect/instances/package-use.html | 2 +- .../protocol/reflect/package-frame.html | 3 +-- .../protocol/reflect/package-summary.html | 6 +----- .../protocol/reflect/package-tree.html | 3 +-- .../protocol/reflect/package-use.html | 2 +- Javadoc/constant-values.html | 2 +- Javadoc/deprecated-list.html | 2 +- Javadoc/help-doc.html | 2 +- Javadoc/index-files/index-1.html | 2 +- Javadoc/index-files/index-10.html | 2 +- Javadoc/index-files/index-11.html | 2 +- Javadoc/index-files/index-12.html | 2 +- Javadoc/index-files/index-13.html | 2 +- Javadoc/index-files/index-14.html | 2 +- Javadoc/index-files/index-15.html | 2 +- Javadoc/index-files/index-16.html | 2 +- Javadoc/index-files/index-17.html | 10 +-------- Javadoc/index-files/index-18.html | 8 +------ Javadoc/index-files/index-19.html | 6 +----- Javadoc/index-files/index-2.html | 2 +- Javadoc/index-files/index-20.html | 2 +- Javadoc/index-files/index-21.html | 4 ++-- Javadoc/index-files/index-3.html | 6 +----- Javadoc/index-files/index-4.html | 2 +- Javadoc/index-files/index-5.html | 2 +- Javadoc/index-files/index-6.html | 2 +- Javadoc/index-files/index-7.html | 2 +- Javadoc/index-files/index-8.html | 2 +- Javadoc/index-files/index-9.html | 2 +- Javadoc/index.html | 2 +- Javadoc/overview-frame.html | 2 +- Javadoc/overview-summary.html | 2 +- Javadoc/overview-tree.html | 4 +--- Javadoc/serialized-form.html | 2 +- 129 files changed, 180 insertions(+), 254 deletions(-) diff --git a/Javadoc/allclasses-frame.html b/Javadoc/allclasses-frame.html index 0dd5370c..0a5ed9a5 100644 --- a/Javadoc/allclasses-frame.html +++ b/Javadoc/allclasses-frame.html @@ -2,7 +2,7 @@ - + All Classes @@ -42,11 +42,9 @@
  • ProtocolLibrary
  • ProtocolManager
  • SortedCopyOnWriteArray
  • -
  • SortedCopyOnWriteArrayTest
  • Statistics
  • StructureCache
  • StructureModifier
  • -
  • StructureModifierTest
  • VolatileField
  • diff --git a/Javadoc/allclasses-noframe.html b/Javadoc/allclasses-noframe.html index 5bb86603..1f0953ae 100644 --- a/Javadoc/allclasses-noframe.html +++ b/Javadoc/allclasses-noframe.html @@ -2,7 +2,7 @@ - + All Classes @@ -42,11 +42,9 @@
  • ProtocolLibrary
  • ProtocolManager
  • SortedCopyOnWriteArray
  • -
  • SortedCopyOnWriteArrayTest
  • Statistics
  • StructureCache
  • StructureModifier
  • -
  • StructureModifierTest
  • VolatileField
  • diff --git a/Javadoc/com/comphenix/protocol/Application.html b/Javadoc/com/comphenix/protocol/Application.html index 67c1390a..d6d405aa 100644 --- a/Javadoc/com/comphenix/protocol/Application.html +++ b/Javadoc/com/comphenix/protocol/Application.html @@ -2,7 +2,7 @@ - + Application diff --git a/Javadoc/com/comphenix/protocol/Packets.Client.html b/Javadoc/com/comphenix/protocol/Packets.Client.html index 9da0a34d..7656c2cd 100644 --- a/Javadoc/com/comphenix/protocol/Packets.Client.html +++ b/Javadoc/com/comphenix/protocol/Packets.Client.html @@ -2,7 +2,7 @@ - + Packets.Client diff --git a/Javadoc/com/comphenix/protocol/Packets.Server.html b/Javadoc/com/comphenix/protocol/Packets.Server.html index 5407eceb..7fe1348d 100644 --- a/Javadoc/com/comphenix/protocol/Packets.Server.html +++ b/Javadoc/com/comphenix/protocol/Packets.Server.html @@ -2,7 +2,7 @@ - + Packets.Server diff --git a/Javadoc/com/comphenix/protocol/Packets.html b/Javadoc/com/comphenix/protocol/Packets.html index 2e15e2e6..fc396502 100644 --- a/Javadoc/com/comphenix/protocol/Packets.html +++ b/Javadoc/com/comphenix/protocol/Packets.html @@ -2,7 +2,7 @@ - + Packets diff --git a/Javadoc/com/comphenix/protocol/ProtocolLibrary.html b/Javadoc/com/comphenix/protocol/ProtocolLibrary.html index 3d23b865..f8dc8568 100644 --- a/Javadoc/com/comphenix/protocol/ProtocolLibrary.html +++ b/Javadoc/com/comphenix/protocol/ProtocolLibrary.html @@ -2,7 +2,7 @@ - + ProtocolLibrary diff --git a/Javadoc/com/comphenix/protocol/ProtocolManager.html b/Javadoc/com/comphenix/protocol/ProtocolManager.html index 751cd9c5..5f09eb01 100644 --- a/Javadoc/com/comphenix/protocol/ProtocolManager.html +++ b/Javadoc/com/comphenix/protocol/ProtocolManager.html @@ -2,7 +2,7 @@ - + ProtocolManager diff --git a/Javadoc/com/comphenix/protocol/class-use/Application.html b/Javadoc/com/comphenix/protocol/class-use/Application.html index 264592f1..2bd31ad3 100644 --- a/Javadoc/com/comphenix/protocol/class-use/Application.html +++ b/Javadoc/com/comphenix/protocol/class-use/Application.html @@ -2,7 +2,7 @@ - + Uses of Class com.comphenix.protocol.Application diff --git a/Javadoc/com/comphenix/protocol/class-use/Packets.Client.html b/Javadoc/com/comphenix/protocol/class-use/Packets.Client.html index 2646b442..f11afaf1 100644 --- a/Javadoc/com/comphenix/protocol/class-use/Packets.Client.html +++ b/Javadoc/com/comphenix/protocol/class-use/Packets.Client.html @@ -2,7 +2,7 @@ - + Uses of Class com.comphenix.protocol.Packets.Client diff --git a/Javadoc/com/comphenix/protocol/class-use/Packets.Server.html b/Javadoc/com/comphenix/protocol/class-use/Packets.Server.html index ac6f15b0..8e39319c 100644 --- a/Javadoc/com/comphenix/protocol/class-use/Packets.Server.html +++ b/Javadoc/com/comphenix/protocol/class-use/Packets.Server.html @@ -2,7 +2,7 @@ - + Uses of Class com.comphenix.protocol.Packets.Server diff --git a/Javadoc/com/comphenix/protocol/class-use/Packets.html b/Javadoc/com/comphenix/protocol/class-use/Packets.html index e77407d6..486ec77c 100644 --- a/Javadoc/com/comphenix/protocol/class-use/Packets.html +++ b/Javadoc/com/comphenix/protocol/class-use/Packets.html @@ -2,7 +2,7 @@ - + Uses of Class com.comphenix.protocol.Packets diff --git a/Javadoc/com/comphenix/protocol/class-use/ProtocolLibrary.html b/Javadoc/com/comphenix/protocol/class-use/ProtocolLibrary.html index e0108b1d..f719cd4a 100644 --- a/Javadoc/com/comphenix/protocol/class-use/ProtocolLibrary.html +++ b/Javadoc/com/comphenix/protocol/class-use/ProtocolLibrary.html @@ -2,7 +2,7 @@ - + Uses of Class com.comphenix.protocol.ProtocolLibrary diff --git a/Javadoc/com/comphenix/protocol/class-use/ProtocolManager.html b/Javadoc/com/comphenix/protocol/class-use/ProtocolManager.html index 7f4ff42f..bc89c7ed 100644 --- a/Javadoc/com/comphenix/protocol/class-use/ProtocolManager.html +++ b/Javadoc/com/comphenix/protocol/class-use/ProtocolManager.html @@ -2,7 +2,7 @@ - + Uses of Interface com.comphenix.protocol.ProtocolManager diff --git a/Javadoc/com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html b/Javadoc/com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html index 995fad80..8ee3deda 100644 --- a/Javadoc/com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html +++ b/Javadoc/com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html @@ -2,7 +2,7 @@ - + SortedCopyOnWriteArray diff --git a/Javadoc/com/comphenix/protocol/concurrency/class-use/SortedCopyOnWriteArray.html b/Javadoc/com/comphenix/protocol/concurrency/class-use/SortedCopyOnWriteArray.html index bc9299d7..a58dc78a 100644 --- a/Javadoc/com/comphenix/protocol/concurrency/class-use/SortedCopyOnWriteArray.html +++ b/Javadoc/com/comphenix/protocol/concurrency/class-use/SortedCopyOnWriteArray.html @@ -2,7 +2,7 @@ - + Uses of Class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray diff --git a/Javadoc/com/comphenix/protocol/concurrency/package-frame.html b/Javadoc/com/comphenix/protocol/concurrency/package-frame.html index 8dd72b5d..f3535fba 100644 --- a/Javadoc/com/comphenix/protocol/concurrency/package-frame.html +++ b/Javadoc/com/comphenix/protocol/concurrency/package-frame.html @@ -2,7 +2,7 @@ - + com.comphenix.protocol.concurrency diff --git a/Javadoc/com/comphenix/protocol/concurrency/package-summary.html b/Javadoc/com/comphenix/protocol/concurrency/package-summary.html index 086e5d6e..7b0b0ab9 100644 --- a/Javadoc/com/comphenix/protocol/concurrency/package-summary.html +++ b/Javadoc/com/comphenix/protocol/concurrency/package-summary.html @@ -2,7 +2,7 @@ - + com.comphenix.protocol.concurrency diff --git a/Javadoc/com/comphenix/protocol/concurrency/package-tree.html b/Javadoc/com/comphenix/protocol/concurrency/package-tree.html index f51ef4a1..7a990fc4 100644 --- a/Javadoc/com/comphenix/protocol/concurrency/package-tree.html +++ b/Javadoc/com/comphenix/protocol/concurrency/package-tree.html @@ -2,7 +2,7 @@ - + com.comphenix.protocol.concurrency Class Hierarchy diff --git a/Javadoc/com/comphenix/protocol/concurrency/package-use.html b/Javadoc/com/comphenix/protocol/concurrency/package-use.html index 5a8f4e3c..1866ee0a 100644 --- a/Javadoc/com/comphenix/protocol/concurrency/package-use.html +++ b/Javadoc/com/comphenix/protocol/concurrency/package-use.html @@ -2,7 +2,7 @@ - + Uses of Package com.comphenix.protocol.concurrency diff --git a/Javadoc/com/comphenix/protocol/events/ConnectionSide.html b/Javadoc/com/comphenix/protocol/events/ConnectionSide.html index 545147cb..df82bcc2 100644 --- a/Javadoc/com/comphenix/protocol/events/ConnectionSide.html +++ b/Javadoc/com/comphenix/protocol/events/ConnectionSide.html @@ -2,7 +2,7 @@ - + ConnectionSide diff --git a/Javadoc/com/comphenix/protocol/events/ListenerPriority.html b/Javadoc/com/comphenix/protocol/events/ListenerPriority.html index 6a08f435..eec7e249 100644 --- a/Javadoc/com/comphenix/protocol/events/ListenerPriority.html +++ b/Javadoc/com/comphenix/protocol/events/ListenerPriority.html @@ -2,7 +2,7 @@ - + ListenerPriority diff --git a/Javadoc/com/comphenix/protocol/events/ListeningWhitelist.html b/Javadoc/com/comphenix/protocol/events/ListeningWhitelist.html index 893d04f2..bf9a210d 100644 --- a/Javadoc/com/comphenix/protocol/events/ListeningWhitelist.html +++ b/Javadoc/com/comphenix/protocol/events/ListeningWhitelist.html @@ -2,7 +2,7 @@ - + ListeningWhitelist diff --git a/Javadoc/com/comphenix/protocol/events/PacketAdapter.html b/Javadoc/com/comphenix/protocol/events/PacketAdapter.html index 7704d9a6..253141ef 100644 --- a/Javadoc/com/comphenix/protocol/events/PacketAdapter.html +++ b/Javadoc/com/comphenix/protocol/events/PacketAdapter.html @@ -2,7 +2,7 @@ - + PacketAdapter diff --git a/Javadoc/com/comphenix/protocol/events/PacketContainer.html b/Javadoc/com/comphenix/protocol/events/PacketContainer.html index 13ab3e35..72544297 100644 --- a/Javadoc/com/comphenix/protocol/events/PacketContainer.html +++ b/Javadoc/com/comphenix/protocol/events/PacketContainer.html @@ -2,7 +2,7 @@ - + PacketContainer diff --git a/Javadoc/com/comphenix/protocol/events/PacketEvent.html b/Javadoc/com/comphenix/protocol/events/PacketEvent.html index da094ff5..1eaaa8fd 100644 --- a/Javadoc/com/comphenix/protocol/events/PacketEvent.html +++ b/Javadoc/com/comphenix/protocol/events/PacketEvent.html @@ -2,7 +2,7 @@ - + PacketEvent diff --git a/Javadoc/com/comphenix/protocol/events/PacketListener.html b/Javadoc/com/comphenix/protocol/events/PacketListener.html index fa7d11b0..fd8a77fb 100644 --- a/Javadoc/com/comphenix/protocol/events/PacketListener.html +++ b/Javadoc/com/comphenix/protocol/events/PacketListener.html @@ -2,7 +2,7 @@ - + PacketListener diff --git a/Javadoc/com/comphenix/protocol/events/class-use/ConnectionSide.html b/Javadoc/com/comphenix/protocol/events/class-use/ConnectionSide.html index 3fe26be4..fc80131c 100644 --- a/Javadoc/com/comphenix/protocol/events/class-use/ConnectionSide.html +++ b/Javadoc/com/comphenix/protocol/events/class-use/ConnectionSide.html @@ -2,7 +2,7 @@ - + Uses of Class com.comphenix.protocol.events.ConnectionSide diff --git a/Javadoc/com/comphenix/protocol/events/class-use/ListenerPriority.html b/Javadoc/com/comphenix/protocol/events/class-use/ListenerPriority.html index bcbb97d9..40e83477 100644 --- a/Javadoc/com/comphenix/protocol/events/class-use/ListenerPriority.html +++ b/Javadoc/com/comphenix/protocol/events/class-use/ListenerPriority.html @@ -2,7 +2,7 @@ - + Uses of Class com.comphenix.protocol.events.ListenerPriority diff --git a/Javadoc/com/comphenix/protocol/events/class-use/ListeningWhitelist.html b/Javadoc/com/comphenix/protocol/events/class-use/ListeningWhitelist.html index 523751a0..f4154220 100644 --- a/Javadoc/com/comphenix/protocol/events/class-use/ListeningWhitelist.html +++ b/Javadoc/com/comphenix/protocol/events/class-use/ListeningWhitelist.html @@ -2,7 +2,7 @@ - + Uses of Class com.comphenix.protocol.events.ListeningWhitelist diff --git a/Javadoc/com/comphenix/protocol/events/class-use/PacketAdapter.html b/Javadoc/com/comphenix/protocol/events/class-use/PacketAdapter.html index 4885f359..e6f9385c 100644 --- a/Javadoc/com/comphenix/protocol/events/class-use/PacketAdapter.html +++ b/Javadoc/com/comphenix/protocol/events/class-use/PacketAdapter.html @@ -2,7 +2,7 @@ - + Uses of Class com.comphenix.protocol.events.PacketAdapter diff --git a/Javadoc/com/comphenix/protocol/events/class-use/PacketContainer.html b/Javadoc/com/comphenix/protocol/events/class-use/PacketContainer.html index 8fe1a597..4d567a36 100644 --- a/Javadoc/com/comphenix/protocol/events/class-use/PacketContainer.html +++ b/Javadoc/com/comphenix/protocol/events/class-use/PacketContainer.html @@ -2,7 +2,7 @@ - + Uses of Class com.comphenix.protocol.events.PacketContainer diff --git a/Javadoc/com/comphenix/protocol/events/class-use/PacketEvent.html b/Javadoc/com/comphenix/protocol/events/class-use/PacketEvent.html index 15b19a15..cb9496f7 100644 --- a/Javadoc/com/comphenix/protocol/events/class-use/PacketEvent.html +++ b/Javadoc/com/comphenix/protocol/events/class-use/PacketEvent.html @@ -2,7 +2,7 @@ - + Uses of Class com.comphenix.protocol.events.PacketEvent diff --git a/Javadoc/com/comphenix/protocol/events/class-use/PacketListener.html b/Javadoc/com/comphenix/protocol/events/class-use/PacketListener.html index 0ea658bb..04592777 100644 --- a/Javadoc/com/comphenix/protocol/events/class-use/PacketListener.html +++ b/Javadoc/com/comphenix/protocol/events/class-use/PacketListener.html @@ -2,7 +2,7 @@ - + Uses of Interface com.comphenix.protocol.events.PacketListener diff --git a/Javadoc/com/comphenix/protocol/events/package-frame.html b/Javadoc/com/comphenix/protocol/events/package-frame.html index 4bf69df0..ae8d9ab2 100644 --- a/Javadoc/com/comphenix/protocol/events/package-frame.html +++ b/Javadoc/com/comphenix/protocol/events/package-frame.html @@ -2,7 +2,7 @@ - + com.comphenix.protocol.events diff --git a/Javadoc/com/comphenix/protocol/events/package-summary.html b/Javadoc/com/comphenix/protocol/events/package-summary.html index 43c8d43e..1045100d 100644 --- a/Javadoc/com/comphenix/protocol/events/package-summary.html +++ b/Javadoc/com/comphenix/protocol/events/package-summary.html @@ -2,7 +2,7 @@ - + com.comphenix.protocol.events diff --git a/Javadoc/com/comphenix/protocol/events/package-tree.html b/Javadoc/com/comphenix/protocol/events/package-tree.html index 5a4b5611..bb6d69ea 100644 --- a/Javadoc/com/comphenix/protocol/events/package-tree.html +++ b/Javadoc/com/comphenix/protocol/events/package-tree.html @@ -2,7 +2,7 @@ - + com.comphenix.protocol.events Class Hierarchy diff --git a/Javadoc/com/comphenix/protocol/events/package-use.html b/Javadoc/com/comphenix/protocol/events/package-use.html index d69ef608..9080b18f 100644 --- a/Javadoc/com/comphenix/protocol/events/package-use.html +++ b/Javadoc/com/comphenix/protocol/events/package-use.html @@ -2,7 +2,7 @@ - + Uses of Package com.comphenix.protocol.events diff --git a/Javadoc/com/comphenix/protocol/injector/ConcurrentListenerMultimap.html b/Javadoc/com/comphenix/protocol/injector/ConcurrentListenerMultimap.html index 303c558d..e06d1cae 100644 --- a/Javadoc/com/comphenix/protocol/injector/ConcurrentListenerMultimap.html +++ b/Javadoc/com/comphenix/protocol/injector/ConcurrentListenerMultimap.html @@ -2,7 +2,7 @@ - + ConcurrentListenerMultimap diff --git a/Javadoc/com/comphenix/protocol/injector/PacketConstructor.BukkitUnwrapper.html b/Javadoc/com/comphenix/protocol/injector/PacketConstructor.BukkitUnwrapper.html index 0449b50c..8cc04f5d 100644 --- a/Javadoc/com/comphenix/protocol/injector/PacketConstructor.BukkitUnwrapper.html +++ b/Javadoc/com/comphenix/protocol/injector/PacketConstructor.BukkitUnwrapper.html @@ -2,7 +2,7 @@ - + PacketConstructor.BukkitUnwrapper @@ -146,10 +146,6 @@ implements java.lang.Object unwrapItem(java.lang.Object wrappedObject)  - -java.lang.Class<?> -unwrapType(java.lang.Class<?> type)  -
    • @@ -192,7 +188,7 @@ implements -
        +
        • unwrapItem

          public java.lang.Object unwrapItem(java.lang.Object wrappedObject)
          @@ -202,19 +198,6 @@ implements - - -
        diff --git a/Javadoc/com/comphenix/protocol/injector/PacketConstructor.Unwrapper.html b/Javadoc/com/comphenix/protocol/injector/PacketConstructor.Unwrapper.html index 83c8804a..8d49771a 100644 --- a/Javadoc/com/comphenix/protocol/injector/PacketConstructor.Unwrapper.html +++ b/Javadoc/com/comphenix/protocol/injector/PacketConstructor.Unwrapper.html @@ -2,7 +2,7 @@ - + PacketConstructor.Unwrapper @@ -119,10 +119,6 @@ java.lang.Object unwrapItem(java.lang.Object wrappedObject)  - -java.lang.Class<?> -unwrapType(java.lang.Class<?> type)  -
      @@ -141,21 +137,12 @@ -
        +
        • unwrapItem

          java.lang.Object unwrapItem(java.lang.Object wrappedObject)
        - - - -
          -
        • -

          unwrapType

          -
          java.lang.Class<?> unwrapType(java.lang.Class<?> type)
          -
        • -
    • diff --git a/Javadoc/com/comphenix/protocol/injector/PacketConstructor.html b/Javadoc/com/comphenix/protocol/injector/PacketConstructor.html index ba2a167f..6330b600 100644 --- a/Javadoc/com/comphenix/protocol/injector/PacketConstructor.html +++ b/Javadoc/com/comphenix/protocol/injector/PacketConstructor.html @@ -2,7 +2,7 @@ - + PacketConstructor @@ -181,8 +181,8 @@ extends java.lang.Object PacketConstructor -withPacket(int id, - java.lang.Class<?>[] types) +withPacket(int id, + java.lang.Object[] values)
      Create a packet constructor that creates packets using the given types.
      @@ -266,14 +266,14 @@ extends java.lang.Object
      Returns:
      A constructor with a different set of unwrappers.
    - +
    • withPacket

      public PacketConstructor withPacket(int id,
      -                           java.lang.Class<?>[] types)
      + java.lang.Object[] values)
      Create a packet constructor that creates packets using the given types.
      Parameters:
      id - - packet ID.
      types - - types to create.
      Returns:
      A packet constructor with these types.
      diff --git a/Javadoc/com/comphenix/protocol/injector/PacketFilterManager.PlayerInjectHooks.html b/Javadoc/com/comphenix/protocol/injector/PacketFilterManager.PlayerInjectHooks.html index 6f338d5a..c8723fc3 100644 --- a/Javadoc/com/comphenix/protocol/injector/PacketFilterManager.PlayerInjectHooks.html +++ b/Javadoc/com/comphenix/protocol/injector/PacketFilterManager.PlayerInjectHooks.html @@ -2,7 +2,7 @@ - + PacketFilterManager.PlayerInjectHooks @@ -37,7 +37,7 @@
    diff --git a/Javadoc/com/comphenix/protocol/injector/package-use.html b/Javadoc/com/comphenix/protocol/injector/package-use.html index 9dd5360f..328d0be3 100644 --- a/Javadoc/com/comphenix/protocol/injector/package-use.html +++ b/Javadoc/com/comphenix/protocol/injector/package-use.html @@ -2,7 +2,7 @@ - + Uses of Package com.comphenix.protocol.injector diff --git a/Javadoc/com/comphenix/protocol/metrics/Statistics.html b/Javadoc/com/comphenix/protocol/metrics/Statistics.html index e1f3debc..f52d0b76 100644 --- a/Javadoc/com/comphenix/protocol/metrics/Statistics.html +++ b/Javadoc/com/comphenix/protocol/metrics/Statistics.html @@ -2,7 +2,7 @@ - + Statistics diff --git a/Javadoc/com/comphenix/protocol/metrics/class-use/Statistics.html b/Javadoc/com/comphenix/protocol/metrics/class-use/Statistics.html index 6d7e354d..63347052 100644 --- a/Javadoc/com/comphenix/protocol/metrics/class-use/Statistics.html +++ b/Javadoc/com/comphenix/protocol/metrics/class-use/Statistics.html @@ -2,7 +2,7 @@ - + Uses of Class com.comphenix.protocol.metrics.Statistics diff --git a/Javadoc/com/comphenix/protocol/metrics/package-frame.html b/Javadoc/com/comphenix/protocol/metrics/package-frame.html index 389e65c9..d2f75ba9 100644 --- a/Javadoc/com/comphenix/protocol/metrics/package-frame.html +++ b/Javadoc/com/comphenix/protocol/metrics/package-frame.html @@ -2,7 +2,7 @@ - + com.comphenix.protocol.metrics diff --git a/Javadoc/com/comphenix/protocol/metrics/package-summary.html b/Javadoc/com/comphenix/protocol/metrics/package-summary.html index a6c2297e..560478c6 100644 --- a/Javadoc/com/comphenix/protocol/metrics/package-summary.html +++ b/Javadoc/com/comphenix/protocol/metrics/package-summary.html @@ -2,7 +2,7 @@ - + com.comphenix.protocol.metrics diff --git a/Javadoc/com/comphenix/protocol/metrics/package-tree.html b/Javadoc/com/comphenix/protocol/metrics/package-tree.html index 8eef913a..3776681d 100644 --- a/Javadoc/com/comphenix/protocol/metrics/package-tree.html +++ b/Javadoc/com/comphenix/protocol/metrics/package-tree.html @@ -2,7 +2,7 @@ - + com.comphenix.protocol.metrics Class Hierarchy diff --git a/Javadoc/com/comphenix/protocol/metrics/package-use.html b/Javadoc/com/comphenix/protocol/metrics/package-use.html index ffa6ec76..975d5f34 100644 --- a/Javadoc/com/comphenix/protocol/metrics/package-use.html +++ b/Javadoc/com/comphenix/protocol/metrics/package-use.html @@ -2,7 +2,7 @@ - + Uses of Package com.comphenix.protocol.metrics diff --git a/Javadoc/com/comphenix/protocol/package-frame.html b/Javadoc/com/comphenix/protocol/package-frame.html index e1c826bf..796b61f7 100644 --- a/Javadoc/com/comphenix/protocol/package-frame.html +++ b/Javadoc/com/comphenix/protocol/package-frame.html @@ -2,7 +2,7 @@ - + com.comphenix.protocol diff --git a/Javadoc/com/comphenix/protocol/package-summary.html b/Javadoc/com/comphenix/protocol/package-summary.html index 930fa1e7..d84147c8 100644 --- a/Javadoc/com/comphenix/protocol/package-summary.html +++ b/Javadoc/com/comphenix/protocol/package-summary.html @@ -2,7 +2,7 @@ - + com.comphenix.protocol diff --git a/Javadoc/com/comphenix/protocol/package-tree.html b/Javadoc/com/comphenix/protocol/package-tree.html index 716338d8..e077b0be 100644 --- a/Javadoc/com/comphenix/protocol/package-tree.html +++ b/Javadoc/com/comphenix/protocol/package-tree.html @@ -2,7 +2,7 @@ - + com.comphenix.protocol Class Hierarchy diff --git a/Javadoc/com/comphenix/protocol/package-use.html b/Javadoc/com/comphenix/protocol/package-use.html index 155cc501..e32ea2bc 100644 --- a/Javadoc/com/comphenix/protocol/package-use.html +++ b/Javadoc/com/comphenix/protocol/package-use.html @@ -2,7 +2,7 @@ - + Uses of Package com.comphenix.protocol diff --git a/Javadoc/com/comphenix/protocol/reflect/EquivalentConverter.html b/Javadoc/com/comphenix/protocol/reflect/EquivalentConverter.html index f157c675..35e83ea0 100644 --- a/Javadoc/com/comphenix/protocol/reflect/EquivalentConverter.html +++ b/Javadoc/com/comphenix/protocol/reflect/EquivalentConverter.html @@ -2,7 +2,7 @@ - + EquivalentConverter diff --git a/Javadoc/com/comphenix/protocol/reflect/FieldAccessException.html b/Javadoc/com/comphenix/protocol/reflect/FieldAccessException.html index 8488a6fd..6ff8d2e4 100644 --- a/Javadoc/com/comphenix/protocol/reflect/FieldAccessException.html +++ b/Javadoc/com/comphenix/protocol/reflect/FieldAccessException.html @@ -2,7 +2,7 @@ - + FieldAccessException diff --git a/Javadoc/com/comphenix/protocol/reflect/FieldUtils.html b/Javadoc/com/comphenix/protocol/reflect/FieldUtils.html index 04a8756f..5fb47a4e 100644 --- a/Javadoc/com/comphenix/protocol/reflect/FieldUtils.html +++ b/Javadoc/com/comphenix/protocol/reflect/FieldUtils.html @@ -2,7 +2,7 @@ - + FieldUtils diff --git a/Javadoc/com/comphenix/protocol/reflect/FuzzyReflection.html b/Javadoc/com/comphenix/protocol/reflect/FuzzyReflection.html index 360dfde5..00670430 100644 --- a/Javadoc/com/comphenix/protocol/reflect/FuzzyReflection.html +++ b/Javadoc/com/comphenix/protocol/reflect/FuzzyReflection.html @@ -2,7 +2,7 @@ - + FuzzyReflection diff --git a/Javadoc/com/comphenix/protocol/reflect/IntEnum.html b/Javadoc/com/comphenix/protocol/reflect/IntEnum.html index 0da3a740..a6d40cb8 100644 --- a/Javadoc/com/comphenix/protocol/reflect/IntEnum.html +++ b/Javadoc/com/comphenix/protocol/reflect/IntEnum.html @@ -2,7 +2,7 @@ - + IntEnum diff --git a/Javadoc/com/comphenix/protocol/reflect/MethodUtils.html b/Javadoc/com/comphenix/protocol/reflect/MethodUtils.html index fadc526d..645e237b 100644 --- a/Javadoc/com/comphenix/protocol/reflect/MethodUtils.html +++ b/Javadoc/com/comphenix/protocol/reflect/MethodUtils.html @@ -2,7 +2,7 @@ - + MethodUtils diff --git a/Javadoc/com/comphenix/protocol/reflect/PrimitiveUtils.html b/Javadoc/com/comphenix/protocol/reflect/PrimitiveUtils.html index b43120e6..8f096b2a 100644 --- a/Javadoc/com/comphenix/protocol/reflect/PrimitiveUtils.html +++ b/Javadoc/com/comphenix/protocol/reflect/PrimitiveUtils.html @@ -2,7 +2,7 @@ - + PrimitiveUtils diff --git a/Javadoc/com/comphenix/protocol/reflect/StructureModifier.html b/Javadoc/com/comphenix/protocol/reflect/StructureModifier.html index 0e232066..00a0e987 100644 --- a/Javadoc/com/comphenix/protocol/reflect/StructureModifier.html +++ b/Javadoc/com/comphenix/protocol/reflect/StructureModifier.html @@ -2,7 +2,7 @@ - + StructureModifier @@ -37,7 +37,7 @@ + + + + + + diff --git a/Javadoc/com/comphenix/protocol/async/package-frame.html b/Javadoc/com/comphenix/protocol/async/package-frame.html index f712bc39..fc7cbc7e 100644 --- a/Javadoc/com/comphenix/protocol/async/package-frame.html +++ b/Javadoc/com/comphenix/protocol/async/package-frame.html @@ -2,14 +2,18 @@ - + com.comphenix.protocol.async - +

    com.comphenix.protocol.async

    +

    Interfaces

    +

    Classes

    diff --git a/Javadoc/com/comphenix/protocol/events/class-use/PacketEvent.html b/Javadoc/com/comphenix/protocol/events/class-use/PacketEvent.html index 1646807f..555d5dfa 100644 --- a/Javadoc/com/comphenix/protocol/events/class-use/PacketEvent.html +++ b/Javadoc/com/comphenix/protocol/events/class-use/PacketEvent.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.events.PacketEvent - + @@ -257,13 +257,21 @@ void -PacketFilterManager.invokePacketRecieving(PacketEvent event) -
    Invokes the given packet event for every registered listener.
    - +PacketFilterManager.invokePacketRecieving(PacketEvent event)  void -PacketFilterManager.invokePacketSending(PacketEvent event) +ListenerInvoker.invokePacketRecieving(PacketEvent event) +
    Invokes the given packet event for every registered listener.
    + + + +void +PacketFilterManager.invokePacketSending(PacketEvent event)  + + +void +ListenerInvoker.invokePacketSending(PacketEvent event)
    Invokes the given packet event for every registered listener.
    diff --git a/Javadoc/com/comphenix/protocol/events/class-use/PacketListener.html b/Javadoc/com/comphenix/protocol/events/class-use/PacketListener.html index 8c3488b5..bdd1f42b 100644 --- a/Javadoc/com/comphenix/protocol/events/class-use/PacketListener.html +++ b/Javadoc/com/comphenix/protocol/events/class-use/PacketListener.html @@ -2,9 +2,9 @@ - + Uses of Interface com.comphenix.protocol.events.PacketListener - + @@ -91,6 +91,10 @@ com.comphenix.protocol.injector   + +com.comphenix.protocol.injector.player +  + @@ -171,6 +175,13 @@ AsyncListenerHandler AsyncFilterManager.registerAsyncHandler(PacketListener listener)  + +AsyncListenerHandler +AsyncFilterManager.registerAsyncHandler(PacketListener listener, + boolean autoInject) +
    Registers an asynchronous packet handler.
    + + @@ -252,16 +263,6 @@ - - - - - - - - @@ -274,6 +275,45 @@
    voidNetworkServerInjector.checkListener(PacketListener listener) 
    voidPacketFilterManager.checkListener(PacketListener listener) -
    Determine if a listener is valid or not.
    -
    void PacketFilterManager.removePacketListener(PacketListener listener) 
    +
  • + + +

    Uses of PacketListener in com.comphenix.protocol.injector.player

    + + + + + + + + + + + + + + + + +
    Methods in com.comphenix.protocol.injector.player with parameters of type PacketListener 
    Modifier and TypeMethod and Description
    voidPlayerInjectionHandler.checkListener(PacketListener listener) +
    Determine if a listener is valid or not.
    +
    voidNetworkServerInjector.checkListener(PacketListener listener) 
    + + + + + + + + + + + + +
    Method parameters in com.comphenix.protocol.injector.player with type arguments of type PacketListener 
    Modifier and TypeMethod and Description
    voidPlayerInjectionHandler.checkListener(java.util.Set<PacketListener> listeners) +
    Determine if the given listeners are valid.
    +
    +
  • diff --git a/Javadoc/com/comphenix/protocol/events/package-frame.html b/Javadoc/com/comphenix/protocol/events/package-frame.html index b3a482ce..48663053 100644 --- a/Javadoc/com/comphenix/protocol/events/package-frame.html +++ b/Javadoc/com/comphenix/protocol/events/package-frame.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.events - + diff --git a/Javadoc/com/comphenix/protocol/events/package-summary.html b/Javadoc/com/comphenix/protocol/events/package-summary.html index aee4ffec..10c1ba76 100644 --- a/Javadoc/com/comphenix/protocol/events/package-summary.html +++ b/Javadoc/com/comphenix/protocol/events/package-summary.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.events - + diff --git a/Javadoc/com/comphenix/protocol/events/package-tree.html b/Javadoc/com/comphenix/protocol/events/package-tree.html index 1475047e..c61d0b56 100644 --- a/Javadoc/com/comphenix/protocol/events/package-tree.html +++ b/Javadoc/com/comphenix/protocol/events/package-tree.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.events Class Hierarchy - + diff --git a/Javadoc/com/comphenix/protocol/events/package-use.html b/Javadoc/com/comphenix/protocol/events/package-use.html index b3d30c63..97583022 100644 --- a/Javadoc/com/comphenix/protocol/events/package-use.html +++ b/Javadoc/com/comphenix/protocol/events/package-use.html @@ -2,9 +2,9 @@ - + Uses of Package com.comphenix.protocol.events - + @@ -95,6 +95,10 @@ com.comphenix.protocol.injector   + +com.comphenix.protocol.injector.player +  + @@ -235,6 +239,28 @@ +
  • + + + + + + + + + + + + + + + +
    Classes in com.comphenix.protocol.events used by com.comphenix.protocol.injector.player 
    Class and Description
    PacketContainer +
    Represents a Minecraft packet indirectly.
    +
    PacketListener +
    Represents a listener that recieves notifications when packets are sent or recieved.
    +
    +
  • diff --git a/Javadoc/com/comphenix/protocol/injector/ListenerInvoker.html b/Javadoc/com/comphenix/protocol/injector/ListenerInvoker.html new file mode 100644 index 00000000..925f24e8 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/injector/ListenerInvoker.html @@ -0,0 +1,249 @@ + + + + + +ListenerInvoker + + + + + + + + + + + +
    +
    com.comphenix.protocol.injector
    +

    Interface ListenerInvoker

    +
    +
    +
    +
      +
    • +
      +
      All Known Implementing Classes:
      +
      PacketFilterManager
      +
      +
      +
      +
      public interface ListenerInvoker
      +
    • +
    +
    +
    +
      +
    • + +
        +
      • + + +

        Method Summary

        + + + + + + + + + + + + + + + + + + +
        Methods 
        Modifier and TypeMethod and Description
        intgetPacketID(net.minecraft.server.Packet packet) +
        Retrieve the associated ID of a packet.
        +
        voidinvokePacketRecieving(PacketEvent event) +
        Invokes the given packet event for every registered listener.
        +
        voidinvokePacketSending(PacketEvent event) +
        Invokes the given packet event for every registered listener.
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + +
        +
      • + + +

        Method Detail

        + + + +
          +
        • +

          invokePacketRecieving

          +
          void invokePacketRecieving(PacketEvent event)
          +
          Invokes the given packet event for every registered listener.
          +
          Parameters:
          event - - the packet event to invoke.
          +
        • +
        + + + +
          +
        • +

          invokePacketSending

          +
          void invokePacketSending(PacketEvent event)
          +
          Invokes the given packet event for every registered listener.
          +
          Parameters:
          event - - the packet event to invoke.
          +
        • +
        + + + +
          +
        • +

          getPacketID

          +
          int getPacketID(net.minecraft.server.Packet packet)
          +
          Retrieve the associated ID of a packet.
          +
          Parameters:
          packet - - the packet.
          +
          Returns:
          The packet ID.
          +
        • +
        +
      • +
      +
    • +
    +
    +
    + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/injector/PacketConstructor.BukkitUnwrapper.html b/Javadoc/com/comphenix/protocol/injector/PacketConstructor.BukkitUnwrapper.html index 2d1eba09..1ae8c00d 100644 --- a/Javadoc/com/comphenix/protocol/injector/PacketConstructor.BukkitUnwrapper.html +++ b/Javadoc/com/comphenix/protocol/injector/PacketConstructor.BukkitUnwrapper.html @@ -2,9 +2,9 @@ - + PacketConstructor.BukkitUnwrapper - + diff --git a/Javadoc/com/comphenix/protocol/injector/PacketConstructor.Unwrapper.html b/Javadoc/com/comphenix/protocol/injector/PacketConstructor.Unwrapper.html index 836923fd..200fc5d5 100644 --- a/Javadoc/com/comphenix/protocol/injector/PacketConstructor.Unwrapper.html +++ b/Javadoc/com/comphenix/protocol/injector/PacketConstructor.Unwrapper.html @@ -2,9 +2,9 @@ - + PacketConstructor.Unwrapper - + diff --git a/Javadoc/com/comphenix/protocol/injector/PacketConstructor.html b/Javadoc/com/comphenix/protocol/injector/PacketConstructor.html index 46d394c8..8fbe5b32 100644 --- a/Javadoc/com/comphenix/protocol/injector/PacketConstructor.html +++ b/Javadoc/com/comphenix/protocol/injector/PacketConstructor.html @@ -2,9 +2,9 @@ - + PacketConstructor - + @@ -36,7 +36,7 @@ -protected com.comphenix.protocol.injector.PlayerInjector -PacketFilterManager.getHookInstance(org.bukkit.entity.Player player, - PacketFilterManager.PlayerInjectHooks hook) -
    Used to construct a player hook.
    - - - void PacketFilterManager.setPlayerHook(PacketFilterManager.PlayerInjectHooks playerHook)
    Sets how the server packets are read.
    @@ -139,6 +136,41 @@ the order they are declared. +
  • + + +

    Uses of PacketFilterManager.PlayerInjectHooks in com.comphenix.protocol.injector.player

    + + + + + + + + + + + + +
    Methods in com.comphenix.protocol.injector.player that return PacketFilterManager.PlayerInjectHooks 
    Modifier and TypeMethod and Description
    PacketFilterManager.PlayerInjectHooksPlayerInjectionHandler.getPlayerHook() +
    Retrieves how the server packets are read.
    +
    + + + + + + + + + + + + +
    Methods in com.comphenix.protocol.injector.player with parameters of type PacketFilterManager.PlayerInjectHooks 
    Modifier and TypeMethod and Description
    voidPlayerInjectionHandler.setPlayerHook(PacketFilterManager.PlayerInjectHooks playerHook) +
    Sets how the server packets are read.
    +
    +
  • @@ -154,7 +186,7 @@ the order they are declared.
  • Package
  • Class
  • -
  • Tree
  • +
  • Tree
  • Deprecated
  • Index
  • Help
  • diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/PacketFilterManager.html b/Javadoc/com/comphenix/protocol/injector/class-use/PacketFilterManager.html index 5c258453..b2fa7f6d 100644 --- a/Javadoc/com/comphenix/protocol/injector/class-use/PacketFilterManager.html +++ b/Javadoc/com/comphenix/protocol/injector/class-use/PacketFilterManager.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.injector.PacketFilterManager - + @@ -28,7 +28,7 @@
  • Package
  • Class
  • -
  • Tree
  • +
  • Tree
  • Deprecated
  • Index
  • Help
  • @@ -65,48 +65,7 @@

    Uses of Class
    com.comphenix.protocol.injector.PacketFilterManager

    -
    - -
    +
    No usage of com.comphenix.protocol.injector.PacketFilterManager
    @@ -118,7 +77,7 @@
  • Package
  • Class
  • -
  • Tree
  • +
  • Tree
  • Deprecated
  • Index
  • Help
  • diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/PlayerLoggedOutException.html b/Javadoc/com/comphenix/protocol/injector/class-use/PlayerLoggedOutException.html new file mode 100644 index 00000000..36a2df29 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/injector/class-use/PlayerLoggedOutException.html @@ -0,0 +1,158 @@ + + + + + +Uses of Class com.comphenix.protocol.injector.PlayerLoggedOutException + + + + + + + + + + +
    +

    Uses of Class
    com.comphenix.protocol.injector.PlayerLoggedOutException

    +
    +
    + +
    + + + + + + diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/PrioritizedListener.html b/Javadoc/com/comphenix/protocol/injector/class-use/PrioritizedListener.html index dc97b3b1..e1a1da05 100644 --- a/Javadoc/com/comphenix/protocol/injector/class-use/PrioritizedListener.html +++ b/Javadoc/com/comphenix/protocol/injector/class-use/PrioritizedListener.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.injector.PrioritizedListener - + @@ -28,7 +28,7 @@
  • Package
  • Class
  • -
  • Tree
  • +
  • Tree
  • Deprecated
  • Index
  • Help
  • @@ -76,14 +76,10 @@ -com.comphenix.protocol.async -  - - com.comphenix.protocol.concurrency   - + com.comphenix.protocol.injector   @@ -92,26 +88,6 @@
    • -
    • - - -

      Uses of PrioritizedListener in com.comphenix.protocol.async

      - - - - - - - - - - - - -
      Methods in com.comphenix.protocol.async that return types with arguments of type PrioritizedListener 
      Modifier and TypeMethod and Description
      java.util.Iterator<PrioritizedListener<AsyncListenerHandler>>AsyncMarker.getListenerTraversal() -
      Retrieve iterator for the next listener in line.
      -
      -
    • @@ -171,7 +147,7 @@
    • Package
    • Class
    • -
    • Tree
    • +
    • Tree
    • Deprecated
    • Index
    • Help
    • diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/SortedCopyOnWriteArrayTest.html b/Javadoc/com/comphenix/protocol/injector/class-use/SortedCopyOnWriteArrayTest.html index 752960f0..84fbeb13 100644 --- a/Javadoc/com/comphenix/protocol/injector/class-use/SortedCopyOnWriteArrayTest.html +++ b/Javadoc/com/comphenix/protocol/injector/class-use/SortedCopyOnWriteArrayTest.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.injector.SortedCopyOnWriteArrayTest - + diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/StructureCache.html b/Javadoc/com/comphenix/protocol/injector/class-use/StructureCache.html index 202d5d63..b62def18 100644 --- a/Javadoc/com/comphenix/protocol/injector/class-use/StructureCache.html +++ b/Javadoc/com/comphenix/protocol/injector/class-use/StructureCache.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.injector.StructureCache - + @@ -28,7 +28,7 @@
    • Package
    • Class
    • -
    • Tree
    • +
    • Tree
    • Deprecated
    • Index
    • Help
    • @@ -77,7 +77,7 @@
    • Package
    • Class
    • -
    • Tree
    • +
    • Tree
    • Deprecated
    • Index
    • Help
    • diff --git a/Javadoc/com/comphenix/protocol/injector/package-frame.html b/Javadoc/com/comphenix/protocol/injector/package-frame.html index 38c97602..0092f770 100644 --- a/Javadoc/com/comphenix/protocol/injector/package-frame.html +++ b/Javadoc/com/comphenix/protocol/injector/package-frame.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.injector - + @@ -12,21 +12,26 @@ diff --git a/Javadoc/com/comphenix/protocol/injector/package-summary.html b/Javadoc/com/comphenix/protocol/injector/package-summary.html index de910a85..9df7f2b9 100644 --- a/Javadoc/com/comphenix/protocol/injector/package-summary.html +++ b/Javadoc/com/comphenix/protocol/injector/package-summary.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.injector - + @@ -37,7 +37,7 @@ @@ -164,7 +183,7 @@

    Exceptions

    diff --git a/Javadoc/com/comphenix/protocol/reflect/package-summary.html b/Javadoc/com/comphenix/protocol/reflect/package-summary.html index 5f36f135..3f97a6ba 100644 --- a/Javadoc/com/comphenix/protocol/reflect/package-summary.html +++ b/Javadoc/com/comphenix/protocol/reflect/package-summary.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.reflect - + @@ -117,18 +117,28 @@ +ObjectCloner + +
    Can copy an object field by field.
    + + + PrimitiveUtils
    Contains static utility methods pertaining to primitive types and their corresponding wrapper types.
    - + StructureModifier<TField>
    Provides list-oriented access to the fields of a Minecraft packet.
    + +StructureModifierTest +  + VolatileField diff --git a/Javadoc/com/comphenix/protocol/reflect/package-tree.html b/Javadoc/com/comphenix/protocol/reflect/package-tree.html index bbcc29fe..652543bc 100644 --- a/Javadoc/com/comphenix/protocol/reflect/package-tree.html +++ b/Javadoc/com/comphenix/protocol/reflect/package-tree.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.reflect Class Hierarchy - + @@ -78,8 +78,10 @@
  • com.comphenix.protocol.reflect.FuzzyReflection
  • com.comphenix.protocol.reflect.IntEnum
  • com.comphenix.protocol.reflect.MethodUtils
  • +
  • com.comphenix.protocol.reflect.ObjectCloner
  • com.comphenix.protocol.reflect.PrimitiveUtils
  • com.comphenix.protocol.reflect.StructureModifier<TField>
  • +
  • com.comphenix.protocol.reflect.StructureModifierTest
  • java.lang.Throwable (implements java.io.Serializable)
    • java.lang.Exception diff --git a/Javadoc/com/comphenix/protocol/reflect/package-use.html b/Javadoc/com/comphenix/protocol/reflect/package-use.html index e740cf05..77e8f745 100644 --- a/Javadoc/com/comphenix/protocol/reflect/package-use.html +++ b/Javadoc/com/comphenix/protocol/reflect/package-use.html @@ -2,9 +2,9 @@ - + Uses of Package com.comphenix.protocol.reflect - + diff --git a/Javadoc/constant-values.html b/Javadoc/constant-values.html index f92ad2c7..538597d3 100644 --- a/Javadoc/constant-values.html +++ b/Javadoc/constant-values.html @@ -2,9 +2,9 @@ - + Constant Field Values - + diff --git a/Javadoc/deprecated-list.html b/Javadoc/deprecated-list.html index 1046a41f..204feb86 100644 --- a/Javadoc/deprecated-list.html +++ b/Javadoc/deprecated-list.html @@ -2,9 +2,9 @@ - + Deprecated List - + diff --git a/Javadoc/help-doc.html b/Javadoc/help-doc.html index 642653e6..88731e8d 100644 --- a/Javadoc/help-doc.html +++ b/Javadoc/help-doc.html @@ -2,9 +2,9 @@ - + API Help - + diff --git a/Javadoc/index-files/index-1.html b/Javadoc/index-files/index-1.html index 8380b9fe..9feb67ba 100644 --- a/Javadoc/index-files/index-1.html +++ b/Javadoc/index-files/index-1.html @@ -2,9 +2,9 @@ - + A-Index - + @@ -89,6 +89,10 @@
      Adds a listener to its requested list of packet recievers.
      +
      addPacketHandler(int) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
      +
      +
      Add an underlying packet handler of the given ID.
      +
      addPacketListener(PacketListener) - Method in class com.comphenix.protocol.injector.PacketFilterManager
       
      addPacketListener(PacketListener) - Method in interface com.comphenix.protocol.ProtocolManager
      @@ -123,6 +127,10 @@
      Contains information about the packet that is being processed by asynchronous listeners.
      +
      AsyncRunnable - Interface in com.comphenix.protocol.async
      +
      +
      A runnable representing a asynchronous event listener.
      +
      ATTACH_ENTITY - Static variable in class com.comphenix.protocol.Packets.Server
       
      diff --git a/Javadoc/index-files/index-10.html b/Javadoc/index-files/index-10.html index 60adcfad..f4c52f81 100644 --- a/Javadoc/index-files/index-10.html +++ b/Javadoc/index-files/index-10.html @@ -2,9 +2,9 @@ - + K-Index - + diff --git a/Javadoc/index-files/index-11.html b/Javadoc/index-files/index-11.html index 5f0c0f6d..4ec06253 100644 --- a/Javadoc/index-files/index-11.html +++ b/Javadoc/index-files/index-11.html @@ -2,9 +2,9 @@ - + L-Index - + @@ -67,6 +67,8 @@

      L

      +
      ListenerInvoker - Interface in com.comphenix.protocol.injector
      +
       
      ListenerPriority - Enum in com.comphenix.protocol.events
      Represents a packet event priority, similar to the Bukkit EventPriority.
      diff --git a/Javadoc/index-files/index-12.html b/Javadoc/index-files/index-12.html index f186e432..ce373db6 100644 --- a/Javadoc/index-files/index-12.html +++ b/Javadoc/index-files/index-12.html @@ -2,9 +2,9 @@ - + M-Index - + diff --git a/Javadoc/index-files/index-13.html b/Javadoc/index-files/index-13.html index 3f15bf35..a65da6ae 100644 --- a/Javadoc/index-files/index-13.html +++ b/Javadoc/index-files/index-13.html @@ -2,9 +2,9 @@ - + N-Index - + @@ -71,11 +71,11 @@
       
      NAMED_SOUND_EFFECT - Static variable in class com.comphenix.protocol.Packets.Server
       
      -
      NetworkServerInjector - Class in com.comphenix.protocol.injector
      +
      NetworkServerInjector - Class in com.comphenix.protocol.injector.player
      Represents a player hook into the NetServerHandler class.
      -
      NetworkServerInjector(Player, PacketFilterManager, Set<Integer>, InjectedServerConnection) - Constructor for class com.comphenix.protocol.injector.NetworkServerInjector
      +
      NetworkServerInjector(ClassLoader, Logger, Player, ListenerInvoker, Set<Integer>, InjectedServerConnection) - Constructor for class com.comphenix.protocol.injector.player.NetworkServerInjector
       
      newPacket(int) - Static method in class com.comphenix.protocol.injector.StructureCache
      diff --git a/Javadoc/index-files/index-14.html b/Javadoc/index-files/index-14.html index 8b4aeb6f..376dc427 100644 --- a/Javadoc/index-files/index-14.html +++ b/Javadoc/index-files/index-14.html @@ -2,9 +2,9 @@ - + O-Index - + @@ -67,6 +67,12 @@

      O

      +
      ObjectCloner - Class in com.comphenix.protocol.reflect
      +
      +
      Can copy an object field by field.
      +
      +
      ObjectCloner() - Constructor for class com.comphenix.protocol.reflect.ObjectCloner
      +
       
      onCompiled(StructureModifier<TKey>) - Method in interface com.comphenix.protocol.reflect.compiler.CompileListener
      Invoked when a structure modifier has been successfully compiled.
      diff --git a/Javadoc/index-files/index-15.html b/Javadoc/index-files/index-15.html index d1445458..092404f1 100644 --- a/Javadoc/index-files/index-15.html +++ b/Javadoc/index-files/index-15.html @@ -2,9 +2,9 @@ - + P-Index - + @@ -163,6 +163,24 @@
       
      PLAYER_POSITION - Static variable in class com.comphenix.protocol.Packets.Server
       
      +
      PlayerInjectionHandler - Class in com.comphenix.protocol.injector.player
      +
      +
      Responsible for injecting into a player's sendPacket method.
      +
      +
      PlayerInjectionHandler(ClassLoader, Logger, ListenerInvoker, Server) - Constructor for class com.comphenix.protocol.injector.player.PlayerInjectionHandler
      +
       
      +
      PlayerLoggedOutException - Exception in com.comphenix.protocol.injector
      +
      +
      Invoked when attempting to use a player that has already logged out.
      +
      +
      PlayerLoggedOutException() - Constructor for exception com.comphenix.protocol.injector.PlayerLoggedOutException
      +
       
      +
      PlayerLoggedOutException(String, Throwable) - Constructor for exception com.comphenix.protocol.injector.PlayerLoggedOutException
      +
       
      +
      PlayerLoggedOutException(String) - Constructor for exception com.comphenix.protocol.injector.PlayerLoggedOutException
      +
       
      +
      PlayerLoggedOutException(Throwable) - Constructor for exception com.comphenix.protocol.injector.PlayerLoggedOutException
      +
       
      plugin - Variable in class com.comphenix.protocol.events.PacketAdapter
       
      PrimitiveGenerator - Class in com.comphenix.protocol.reflect.instances
      @@ -182,6 +200,10 @@
      PrioritizedListener(TListener, ListenerPriority) - Constructor for class com.comphenix.protocol.injector.PrioritizedListener
       
      +
      processPacket(Player, Packet) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
      +
      +
      Process a packet as if it were sent by the given player.
      +
      ProtocolLibrary - Class in com.comphenix.protocol
       
      ProtocolLibrary() - Constructor for class com.comphenix.protocol.ProtocolLibrary
      diff --git a/Javadoc/index-files/index-16.html b/Javadoc/index-files/index-16.html index 05a4a884..9bb9a9e4 100644 --- a/Javadoc/index-files/index-16.html +++ b/Javadoc/index-files/index-16.html @@ -2,9 +2,9 @@ - + R-Index - + @@ -131,6 +131,10 @@
      registerAsyncHandler(PacketListener) - Method in class com.comphenix.protocol.async.AsyncFilterManager
       
      +
      registerAsyncHandler(PacketListener, boolean) - Method in class com.comphenix.protocol.async.AsyncFilterManager
      +
      +
      Registers an asynchronous packet handler.
      +
      registerAsyncHandler(PacketListener) - Method in interface com.comphenix.protocol.AsynchronousManager
      Registers an asynchronous packet handler.
      @@ -163,6 +167,10 @@
      Removes the given listener from the packet event list.
      +
      removePacketHandler(int) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
      +
      +
      Remove an underlying packet handler of ths ID.
      +
      removePacketListener(PacketListener) - Method in class com.comphenix.protocol.injector.PacketFilterManager
       
      removePacketListener(PacketListener) - Method in interface com.comphenix.protocol.ProtocolManager
      diff --git a/Javadoc/index-files/index-17.html b/Javadoc/index-files/index-17.html index 20d5fa77..c51f154e 100644 --- a/Javadoc/index-files/index-17.html +++ b/Javadoc/index-files/index-17.html @@ -2,9 +2,9 @@ - + S-Index - + @@ -93,12 +93,14 @@
      Send any due packets, or clean up packets that have expired.
      -
      sendServerPacket(Packet, boolean) - Method in class com.comphenix.protocol.injector.NetworkServerInjector
      -
       
      sendServerPacket(Player, PacketContainer) - Method in class com.comphenix.protocol.injector.PacketFilterManager
       
      sendServerPacket(Player, PacketContainer, boolean) - Method in class com.comphenix.protocol.injector.PacketFilterManager
       
      +
      sendServerPacket(Packet, boolean) - Method in class com.comphenix.protocol.injector.player.NetworkServerInjector
      +
       
      +
      sendServerPacket(Player, PacketContainer, boolean) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
      +
       
      sendServerPacket(Player, PacketContainer) - Method in interface com.comphenix.protocol.PacketStream
      Send a packet to the given player.
      @@ -152,10 +154,18 @@
      Sets the single background compiler we're using.
      +
      setMaximumRecursion(int) - Method in class com.comphenix.protocol.reflect.instances.DefaultInstances
      +
      +
      Set the maximum height of the hierachy of creates types.
      +
      setNewSendingIndex(long) - Method in class com.comphenix.protocol.async.AsyncMarker
      Sets the desired sending order after processing has completed.
      +
      setNonNull(boolean) - Method in class com.comphenix.protocol.reflect.instances.DefaultInstances
      +
      +
      Set whether or not the constructor's parameters must be non-null.
      +
      setPacket(PacketContainer) - Method in class com.comphenix.protocol.events.PacketEvent
      Replace the packet that will be sent to the player.
      @@ -168,6 +178,10 @@
      Sets how the server packets are read.
      +
      setPlayerHook(PacketFilterManager.PlayerInjectHooks) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
      +
      +
      Sets how the server packets are read.
      +
      setTimeout(long) - Method in class com.comphenix.protocol.async.AsyncMarker
      Set the time the packet will be forcefully rejected.
      @@ -176,6 +190,10 @@
      Sets the current value.
      +
      setWorkers(int) - Method in class com.comphenix.protocol.async.AsyncListenerHandler
      +
      +
      Set the current number of workers.
      +
      SHUTDOWN_DELAY_MS - Static variable in class com.comphenix.protocol.reflect.compiler.BackgroundCompiler
       
      shutdownAll() - Method in class com.comphenix.protocol.reflect.compiler.BackgroundCompiler
      @@ -218,11 +236,19 @@
      Create a sorted array from the given list.
      +
      SortedCopyOnWriteArrayTest - Class in com.comphenix.protocol.injector
      +
       
      +
      SortedCopyOnWriteArrayTest() - Constructor for class com.comphenix.protocol.injector.SortedCopyOnWriteArrayTest
      +
       
      SPAWN_POSITION - Static variable in class com.comphenix.protocol.Packets.Server
       
      start() - Method in class com.comphenix.protocol.async.AsyncListenerHandler
      -
      Start the asynchronous listener using the Bukkit scheduler.
      +
      Start a singler worker thread handling the asynchronous.
      +
      +
      start(int) - Method in class com.comphenix.protocol.async.AsyncListenerHandler
      +
      +
      Start multiple worker threads for this listener.
      STATISTIC - Static variable in class com.comphenix.protocol.Packets.Server
       
      @@ -230,6 +256,18 @@
       
      Statistics(Plugin) - Constructor for class com.comphenix.protocol.metrics.Statistics
       
      +
      stop() - Method in class com.comphenix.protocol.async.AsyncListenerHandler
      +
      +
      Stop a worker thread.
      +
      +
      stop(int) - Method in class com.comphenix.protocol.async.AsyncListenerHandler
      +
      +
      Stop the given amount of worker threads.
      +
      +
      stop() - Method in interface com.comphenix.protocol.async.AsyncRunnable
      +
      +
      Stop the given runnable.
      +
      STRING_DEFAULT - Static variable in class com.comphenix.protocol.reflect.instances.PrimitiveGenerator
      Default value for Strings.
      @@ -258,6 +296,10 @@
      Consumers of this method should call "initialize".
      +
      StructureModifierTest - Class in com.comphenix.protocol.reflect
      +
       
      +
      StructureModifierTest() - Constructor for class com.comphenix.protocol.reflect.StructureModifierTest
      +
       
      subtypeCache - Variable in class com.comphenix.protocol.reflect.StructureModifier
       
      diff --git a/Javadoc/index-files/index-18.html b/Javadoc/index-files/index-18.html index 38e9abb4..1cb66658 100644 --- a/Javadoc/index-files/index-18.html +++ b/Javadoc/index-files/index-18.html @@ -2,9 +2,9 @@ - + T-Index - + @@ -75,6 +75,12 @@
       
      targetType - Variable in class com.comphenix.protocol.reflect.StructureModifier
       
      +
      test() - Method in class com.comphenix.protocol.reflect.StructureModifierTest
      +
       
      +
      testInsertion() - Method in class com.comphenix.protocol.injector.SortedCopyOnWriteArrayTest
      +
       
      +
      testOrder() - Method in class com.comphenix.protocol.injector.SortedCopyOnWriteArrayTest
      +
       
      TILE_ENTITY_DATA - Static variable in class com.comphenix.protocol.Packets.Server
       
      toArray() - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
      diff --git a/Javadoc/index-files/index-19.html b/Javadoc/index-files/index-19.html index b0c3c590..fa4becb3 100644 --- a/Javadoc/index-files/index-19.html +++ b/Javadoc/index-files/index-19.html @@ -2,9 +2,9 @@ - + U-Index - + @@ -67,6 +67,10 @@

      U

      +
      uninjectPlayer(Player) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
      +
      +
      Unregisters the given player.
      +
      unregisterAsyncHandler(AsyncListenerHandler) - Method in class com.comphenix.protocol.async.AsyncFilterManager
       
      unregisterAsyncHandler(AsyncListenerHandler) - Method in interface com.comphenix.protocol.AsynchronousManager
      diff --git a/Javadoc/index-files/index-2.html b/Javadoc/index-files/index-2.html index d8e61819..26c83997 100644 --- a/Javadoc/index-files/index-2.html +++ b/Javadoc/index-files/index-2.html @@ -2,9 +2,9 @@ - + B-Index - + diff --git a/Javadoc/index-files/index-20.html b/Javadoc/index-files/index-20.html index 9700048e..b3fb8112 100644 --- a/Javadoc/index-files/index-20.html +++ b/Javadoc/index-files/index-20.html @@ -2,9 +2,9 @@ - + V-Index - + diff --git a/Javadoc/index-files/index-21.html b/Javadoc/index-files/index-21.html index 57c3de52..fb9b3534 100644 --- a/Javadoc/index-files/index-21.html +++ b/Javadoc/index-files/index-21.html @@ -2,9 +2,9 @@ - + W-Index - + diff --git a/Javadoc/index-files/index-3.html b/Javadoc/index-files/index-3.html index fdfd7ba1..8a4c012c 100644 --- a/Javadoc/index-files/index-3.html +++ b/Javadoc/index-files/index-3.html @@ -2,9 +2,9 @@ - + C-Index - + @@ -71,13 +71,19 @@
      Cancel the handler.
      +
      canInject() - Method in class com.comphenix.protocol.injector.player.NetworkServerInjector
      +
       
      CHAT - Static variable in class com.comphenix.protocol.Packets.Client
       
      CHAT - Static variable in class com.comphenix.protocol.Packets.Server
       
      -
      checkListener(PacketListener) - Method in class com.comphenix.protocol.injector.NetworkServerInjector
      +
      checkListener(PacketListener) - Method in class com.comphenix.protocol.injector.player.NetworkServerInjector
       
      -
      checkListener(PacketListener) - Method in class com.comphenix.protocol.injector.PacketFilterManager
      +
      checkListener(Set<PacketListener>) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
      +
      +
      Determine if the given listeners are valid.
      +
      +
      checkListener(PacketListener) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
      Determine if a listener is valid or not.
      @@ -89,7 +95,7 @@
      Remove listeners, close threads and transmit every delayed packet.
      -
      cleanupAll() - Method in class com.comphenix.protocol.injector.NetworkServerInjector
      +
      cleanupAll() - Method in class com.comphenix.protocol.injector.player.NetworkServerInjector
       
      clear() - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
       
      @@ -105,6 +111,8 @@
       
      close() - Method in class com.comphenix.protocol.injector.PacketFilterManager
       
      +
      close() - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
      +
       
      CLOSE_WINDOW - Static variable in class com.comphenix.protocol.Packets.Client
       
      CLOSE_WINDOW - Static variable in class com.comphenix.protocol.Packets.Server
      @@ -123,8 +131,14 @@
       
      com.comphenix.protocol.events - package com.comphenix.protocol.events
       
      +
      com.comphenix.protocol.injector - package com.comphenix.protocol.injector
      +
       
      +
      com.comphenix.protocol.injector.player - package com.comphenix.protocol.injector.player
      +
       
      com.comphenix.protocol.metrics - package com.comphenix.protocol.metrics
       
      +
      com.comphenix.protocol.reflect - package com.comphenix.protocol.reflect
      +
       
      com.comphenix.protocol.reflect.compiler - package com.comphenix.protocol.reflect.compiler
       
      com.comphenix.protocol.reflect.instances - package com.comphenix.protocol.reflect.instances
      @@ -167,6 +181,10 @@
      converter - Variable in class com.comphenix.protocol.reflect.StructureModifier
       
      +
      copyTo(Object, Object, Class<?>) - Static method in class com.comphenix.protocol.reflect.ObjectCloner
      +
      +
      Copy every field in object A to object B.
      +
      CRAFT_PROGRESS_BAR - Static variable in class com.comphenix.protocol.Packets.Server
       
      create(Class<?>) - Method in class com.comphenix.protocol.reflect.instances.CollectionGenerator
      diff --git a/Javadoc/index-files/index-4.html b/Javadoc/index-files/index-4.html index 2f06b059..dae98236 100644 --- a/Javadoc/index-files/index-4.html +++ b/Javadoc/index-files/index-4.html @@ -2,9 +2,9 @@ - + D-Index - + @@ -95,6 +95,10 @@
      Construct a default instance generator using the given instance providers.
      +
      DefaultInstances(DefaultInstances) - Constructor for class com.comphenix.protocol.reflect.instances.DefaultInstances
      +
      +
      Copy a given instance provider.
      +
      DefaultInstances(InstanceProvider...) - Constructor for class com.comphenix.protocol.reflect.instances.DefaultInstances
      Construct a default instance generator using the given instance providers.
      diff --git a/Javadoc/index-files/index-5.html b/Javadoc/index-files/index-5.html index 61aaec7b..7640bfa9 100644 --- a/Javadoc/index-files/index-5.html +++ b/Javadoc/index-files/index-5.html @@ -2,9 +2,9 @@ - + E-Index - + diff --git a/Javadoc/index-files/index-6.html b/Javadoc/index-files/index-6.html index 742253d0..c51369b4 100644 --- a/Javadoc/index-files/index-6.html +++ b/Javadoc/index-files/index-6.html @@ -2,9 +2,9 @@ - + F-Index - + @@ -117,6 +117,10 @@
      Creates an event representing a client packet transmission.
      +
      fromFormat(String, Object...) - Static method in exception com.comphenix.protocol.injector.PlayerLoggedOutException
      +
      +
      Construct an exception from a formatted message.
      +
      fromFormat(String, Object...) - Static method in exception com.comphenix.protocol.reflect.FieldAccessException
       
      fromObject(Object) - Static method in class com.comphenix.protocol.reflect.FuzzyReflection
      @@ -135,6 +139,10 @@
      Automatically create an instance provider from a objects public and private fields.
      +
      fromObjectFields(Object, Class<?>) - Static method in class com.comphenix.protocol.reflect.instances.ExistingGenerator
      +
      +
      Automatically create an instance provider from a objects public and private fields.
      +
      fromServer(Object, PacketContainer, Player) - Static method in class com.comphenix.protocol.events.PacketEvent
      Creates an event representing a server packet transmission.
      diff --git a/Javadoc/index-files/index-7.html b/Javadoc/index-files/index-7.html index 1097836a..c2187052 100644 --- a/Javadoc/index-files/index-7.html +++ b/Javadoc/index-files/index-7.html @@ -2,9 +2,9 @@ - + G-Index - + @@ -187,9 +187,9 @@
      Retrieves the underlying Minecraft packet.
      -
      getHookInstance(Player, PacketFilterManager.PlayerInjectHooks) - Method in class com.comphenix.protocol.injector.PacketFilterManager
      +
      getID() - Method in interface com.comphenix.protocol.async.AsyncRunnable
      -
      Used to construct a player hook.
      +
      Retrieve a unique worker ID.
      getID() - Method in class com.comphenix.protocol.events.PacketContainer
      @@ -219,13 +219,13 @@
      Retrieve the underlying listener.
      +
      getListenerHandler() - Method in class com.comphenix.protocol.async.AsyncMarker
      +
      +
      Retrieve the current asynchronous listener handler.
      +
      getListenerLoop() - Method in class com.comphenix.protocol.async.AsyncListenerHandler
      -
      Create a runnable that will initiate the listener loop.
      -
      -
      getListenerTraversal() - Method in class com.comphenix.protocol.async.AsyncMarker
      -
      -
      Retrieve iterator for the next listener in line.
      +
      Create a worker that will initiate the listener loop.
      getLogger() - Method in class com.comphenix.protocol.async.AsyncFilterManager
       
      @@ -235,10 +235,18 @@
      getLogger() - Method in class com.comphenix.protocol.injector.PacketFilterManager
       
      +
      getLogger() - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
      +
      +
      Retrieve the current logger.
      +
      getMatchingAccessibleMethod(Class, String, Class[]) - Static method in class com.comphenix.protocol.reflect.MethodUtils
      Find an accessible method that matches the given name and has compatible parameters.
      +
      getMaximumRecursion() - Method in class com.comphenix.protocol.reflect.instances.DefaultInstances
      +
      +
      Retrieve the the maximum height of the hierachy of creates types.
      +
      getMethodByName(String) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
      Retrieves a method by looking at its name.
      @@ -291,10 +299,16 @@
      Retrieves the packet ID.
      +
      getPacketID(Packet) - Method in interface com.comphenix.protocol.injector.ListenerInvoker
      +
      +
      Retrieve the associated ID of a packet.
      +
      getPacketID() - Method in class com.comphenix.protocol.injector.PacketConstructor
      Retrieve the id of the packets this constructor creates.
      +
      getPacketID(Packet) - Method in class com.comphenix.protocol.injector.PacketFilterManager
      +
       
      getPacketListeners() - Method in class com.comphenix.protocol.injector.PacketFilterManager
       
      getPacketListeners() - Method in interface com.comphenix.protocol.ProtocolManager
      @@ -315,10 +329,16 @@
      Retrieves the player that has sent the packet or is recieving it.
      +
      getPlayerByConnection(DataInputStream) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
      +
       
      getPlayerHook() - Method in class com.comphenix.protocol.injector.PacketFilterManager
      Retrieves how the server packets are read.
      +
      getPlayerHook() - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
      +
      +
      Retrieves how the server packets are read.
      +
      getPlugin() - Method in class com.comphenix.protocol.async.AsyncListenerHandler
      Retrieve the plugin associated with this async listener.
      @@ -393,6 +413,10 @@
      getSendingFilters() - Method in class com.comphenix.protocol.injector.PacketFilterManager
       
      +
      getSendingFilters() - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
      +
      +
      Retrieve the current list of registered sending listeners.
      +
      getSendingFilters() - Method in interface com.comphenix.protocol.ProtocolManager
      Retrieves a immutable set containing the ID of the sent server packets that will be observed by listeners.
      @@ -465,6 +489,14 @@
      Retrieves the list of packets that will be observed by the listeners.
      +
      getWorkerID() - Method in class com.comphenix.protocol.async.AsyncMarker
      +
      +
      Retrieve the current worker ID.
      +
      +
      getWorkers() - Method in class com.comphenix.protocol.async.AsyncListenerHandler
      +
      +
      Retrieve the current number of registered workers.
      +
      getWorldTypeModifier() - Method in class com.comphenix.protocol.events.PacketContainer
      Retrieves a read/write structure for the world type enum.
      diff --git a/Javadoc/index-files/index-8.html b/Javadoc/index-files/index-8.html index d75d16ca..222ee83f 100644 --- a/Javadoc/index-files/index-8.html +++ b/Javadoc/index-files/index-8.html @@ -2,9 +2,9 @@ - + H-Index - + @@ -89,6 +89,8 @@
       
      hashCode() - Method in class com.comphenix.protocol.injector.PrioritizedListener
       
      +
      hasListener(int) - Method in class com.comphenix.protocol.injector.player.NetworkServerInjector
      +
       
      hasMember(int) - Method in class com.comphenix.protocol.reflect.IntEnum
      Determines whether or not the given member exists.
      diff --git a/Javadoc/index-files/index-9.html b/Javadoc/index-files/index-9.html index 1668d422..3628a24e 100644 --- a/Javadoc/index-files/index-9.html +++ b/Javadoc/index-files/index-9.html @@ -2,9 +2,9 @@ - + I-Index - + @@ -69,7 +69,7 @@
      id - Variable in class com.comphenix.protocol.events.PacketContainer
       
      -
      initialize() - Method in class com.comphenix.protocol.injector.NetworkServerInjector
      +
      initialize() - Method in class com.comphenix.protocol.injector.player.NetworkServerInjector
       
      initialize(StructureModifier<TField>) - Method in class com.comphenix.protocol.reflect.StructureModifier
      @@ -83,9 +83,9 @@
      Initialize the packet injection for every player.
      -
      injectManager() - Method in class com.comphenix.protocol.injector.NetworkServerInjector
      +
      injectManager() - Method in class com.comphenix.protocol.injector.player.NetworkServerInjector
       
      -
      injectPlayer(Player) - Method in class com.comphenix.protocol.injector.PacketFilterManager
      +
      injectPlayer(Player) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
      Initialize a player hook, allowing us to read server packets.
      @@ -151,14 +151,18 @@
      Invoke a named method whose parameter type matches the object type.
      +
      invokePacketRecieving(PacketEvent) - Method in interface com.comphenix.protocol.injector.ListenerInvoker
      +
      +
      Invokes the given packet event for every registered listener.
      +
      invokePacketRecieving(PacketEvent) - Method in class com.comphenix.protocol.injector.PacketFilterManager
      +
       
      +
      invokePacketSending(PacketEvent) - Method in interface com.comphenix.protocol.injector.ListenerInvoker
      Invokes the given packet event for every registered listener.
      invokePacketSending(PacketEvent) - Method in class com.comphenix.protocol.injector.PacketFilterManager
      -
      -
      Invokes the given packet event for every registered listener.
      -
      +
       
      invokeStaticMethod(Class, String, Object) - Static method in class com.comphenix.protocol.reflect.MethodUtils
      Invoke a named static method whose parameter type matches the object type.
      @@ -209,6 +213,10 @@
      Retrieve whether or not the background compiler is enabled.
      +
      isFinished() - Method in interface com.comphenix.protocol.async.AsyncRunnable
      +
      +
      Determine if this runnable has already run its course.
      +
      isForceAccess() - Method in class com.comphenix.protocol.reflect.FuzzyReflection
      Retrieves whether or not not to override any scope restrictions.
      @@ -225,6 +233,10 @@
      Determine if Minecraft allows asynchronous processing of this packet.
      +
      isNonNull() - Method in class com.comphenix.protocol.reflect.instances.DefaultInstances
      +
      +
      Retrieve whether or not the constructor's parameters must be non-null.
      +
      isPrimitive(Type) - Static method in class com.comphenix.protocol.reflect.PrimitiveUtils
      Returns true if this type is a primitive.
      @@ -233,6 +245,10 @@
      Retrieve whether or not this packet has been processed by the async listeners.
      +
      isRunning() - Method in interface com.comphenix.protocol.async.AsyncRunnable
      +
      +
      Determine if we're running or not.
      +
      isServerPacket() - Method in class com.comphenix.protocol.events.PacketEvent
      Whether or not this packet was created by the server.
      diff --git a/Javadoc/index.html b/Javadoc/index.html index 15790a88..88f21462 100644 --- a/Javadoc/index.html +++ b/Javadoc/index.html @@ -2,7 +2,7 @@ - + Generated Documentation (Untitled) + + + + + + +
      +
      com.comphenix.protocol.injector
      +

      Class BukkitUnwrapper

      +
      +
      +
        +
      • java.lang.Object
      • +
      • +
          +
        • com.comphenix.protocol.injector.BukkitUnwrapper
        • +
        +
      • +
      +
      +
        +
      • +
        +
        All Implemented Interfaces:
        +
        PacketConstructor.Unwrapper
        +
        +
        +
        +
        public class BukkitUnwrapper
        +extends java.lang.Object
        +implements PacketConstructor.Unwrapper
        +
        Represents an object capable of converting wrapped Bukkit objects into NMS objects. +

        + Typical conversions include: +

          +
        • org.bukkit.entity.Player -> net.minecraft.server.EntityPlayer
        • +
        • org.bukkit.World -> net.minecraft.server.WorldServer
        • +
        +
        Author:
        +
        Kristian
        +
      • +
      +
      +
      +
        +
      • + +
          +
        • + + +

          Constructor Summary

          + + + + + + + + +
          Constructors 
          Constructor and Description
          BukkitUnwrapper() 
          +
        • +
        + +
          +
        • + + +

          Method Summary

          + + + + + + + + + + +
          Methods 
          Modifier and TypeMethod and Description
          java.lang.ObjectunwrapItem(java.lang.Object wrappedObject) +
          Convert the given wrapped object to the equivalent net.minecraft.server object.
          +
          +
            +
          • + + +

            Methods inherited from class java.lang.Object

            +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
          • +
          +
        • +
        +
      • +
      +
      +
      +
        +
      • + +
          +
        • + + +

          Constructor Detail

          + + + +
            +
          • +

            BukkitUnwrapper

            +
            public BukkitUnwrapper()
            +
          • +
          +
        • +
        + +
          +
        • + + +

          Method Detail

          + + + +
            +
          • +

            unwrapItem

            +
            public java.lang.Object unwrapItem(java.lang.Object wrappedObject)
            +
            Description copied from interface: PacketConstructor.Unwrapper
            +
            Convert the given wrapped object to the equivalent net.minecraft.server object.
            +
            +
            Specified by:
            +
            unwrapItem in interface PacketConstructor.Unwrapper
            +
            Parameters:
            wrappedObject - - wrapped object.
            +
            Returns:
            The net.minecraft.server object.
            +
          • +
          +
        • +
        +
      • +
      +
      +
      + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/injector/ListenerInvoker.html b/Javadoc/com/comphenix/protocol/injector/ListenerInvoker.html index 925f24e8..fee7abd7 100644 --- a/Javadoc/com/comphenix/protocol/injector/ListenerInvoker.html +++ b/Javadoc/com/comphenix/protocol/injector/ListenerInvoker.html @@ -2,9 +2,9 @@ - + ListenerInvoker - + @@ -36,7 +36,7 @@
  • @@ -204,7 +207,7 @@ @@ -117,7 +120,9 @@ java.lang.Object -unwrapItem(java.lang.Object wrappedObject)  +unwrapItem(java.lang.Object wrappedObject) +
    Convert the given wrapped object to the equivalent net.minecraft.server object.
    + @@ -141,6 +146,9 @@
  • unwrapItem

    java.lang.Object unwrapItem(java.lang.Object wrappedObject)
    +
    Convert the given wrapped object to the equivalent net.minecraft.server object.
    +
    Parameters:
    wrappedObject - - wrapped object.
    +
    Returns:
    The net.minecraft.server object.
  • @@ -169,7 +177,7 @@ + + + +
      +
    • +

      NETWORK_HANDLER_FIELDS

      +
      public static final PacketFilterManager.PlayerInjectHooks NETWORK_HANDLER_FIELDS
      +
      Override the packet queue lists in NetworkHandler. +

      + Cannot intercept MapChunk packets.

      +
    • +
    diff --git a/Javadoc/com/comphenix/protocol/injector/PacketFilterManager.html b/Javadoc/com/comphenix/protocol/injector/PacketFilterManager.html index 263b93f0..5558ee27 100644 --- a/Javadoc/com/comphenix/protocol/injector/PacketFilterManager.html +++ b/Javadoc/com/comphenix/protocol/injector/PacketFilterManager.html @@ -2,9 +2,9 @@ - + PacketFilterManager - + @@ -171,7 +171,9 @@ implements void -close()  +close() +
    Called when ProtocolLib is closing.
    + PacketContainer @@ -210,39 +212,51 @@ implements +static java.util.Set<java.lang.Integer> +getClientPackets() +
    Retrieve every known and supported client packet.
    + + + java.util.logging.Logger getLogger()  - + int getPacketID(net.minecraft.server.Packet packet)
    Retrieve the associated ID of a packet.
    - + com.google.common.collect.ImmutableSet<PacketListener> getPacketListeners()
    Retrieves a list of every registered packet listener.
    - + PacketFilterManager.PlayerInjectHooks getPlayerHook()
    Retrieves how the server packets are read.
    - + java.util.Set<java.lang.Integer> getReceivingFilters()
    Retrieves a immutable set containing the ID of the recieved client packets that will be observed by listeners.
    - + java.util.Set<java.lang.Integer> getSendingFilters()
    Retrieves a immutable set containing the ID of the sent server packets that will be observed by listeners.
    + +static java.util.Set<java.lang.Integer> +getServerPackets() +
    Retrieve every known and supported server packet.
    + + void initializePlayers(org.bukkit.entity.Player[] players) @@ -762,6 +776,34 @@ implements Returns:
    The packet ID.
    +
    + + +
      +
    • +

      getServerPackets

      +
      public static java.util.Set<java.lang.Integer> getServerPackets()
      +                                                         throws FieldAccessException
      +
      Retrieve every known and supported server packet.
      +
      Returns:
      An immutable set of every known server packet.
      +
      Throws:
      +
      FieldAccessException - If we're unable to retrieve the server packet data from Minecraft.
      +
    • +
    + + + +
      +
    • +

      getClientPackets

      +
      public static java.util.Set<java.lang.Integer> getClientPackets()
      +                                                         throws FieldAccessException
      +
      Retrieve every known and supported client packet.
      +
      Returns:
      An immutable set of every known client packet.
      +
      Throws:
      +
      FieldAccessException - If we're unable to retrieve the client packet data from Minecraft.
      +
    • +
    @@ -795,6 +837,7 @@ implements

    close

    public void close()
    +
    Called when ProtocolLib is closing.
    diff --git a/Javadoc/com/comphenix/protocol/injector/PlayerLoggedOutException.html b/Javadoc/com/comphenix/protocol/injector/PlayerLoggedOutException.html index 4cabf26e..d814fb16 100644 --- a/Javadoc/com/comphenix/protocol/injector/PlayerLoggedOutException.html +++ b/Javadoc/com/comphenix/protocol/injector/PlayerLoggedOutException.html @@ -2,9 +2,9 @@ - + PlayerLoggedOutException - + diff --git a/Javadoc/com/comphenix/protocol/injector/PrioritizedListener.html b/Javadoc/com/comphenix/protocol/injector/PrioritizedListener.html index 5a476a9f..a2f39f11 100644 --- a/Javadoc/com/comphenix/protocol/injector/PrioritizedListener.html +++ b/Javadoc/com/comphenix/protocol/injector/PrioritizedListener.html @@ -2,9 +2,9 @@ - + PrioritizedListener - + diff --git a/Javadoc/com/comphenix/protocol/injector/SortedCopyOnWriteArrayTest.html b/Javadoc/com/comphenix/protocol/injector/SortedCopyOnWriteArrayTest.html index fa9495e5..cbe5a855 100644 --- a/Javadoc/com/comphenix/protocol/injector/SortedCopyOnWriteArrayTest.html +++ b/Javadoc/com/comphenix/protocol/injector/SortedCopyOnWriteArrayTest.html @@ -2,9 +2,9 @@ - + SortedCopyOnWriteArrayTest - + diff --git a/Javadoc/com/comphenix/protocol/injector/StructureCache.html b/Javadoc/com/comphenix/protocol/injector/StructureCache.html index 9be45a33..dfe8a300 100644 --- a/Javadoc/com/comphenix/protocol/injector/StructureCache.html +++ b/Javadoc/com/comphenix/protocol/injector/StructureCache.html @@ -2,9 +2,9 @@ - + StructureCache - + diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/BukkitUnwrapper.html b/Javadoc/com/comphenix/protocol/injector/class-use/BukkitUnwrapper.html new file mode 100644 index 00000000..d239bef9 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/injector/class-use/BukkitUnwrapper.html @@ -0,0 +1,115 @@ + + + + + +Uses of Class com.comphenix.protocol.injector.BukkitUnwrapper + + + + + + + + + + +
    +

    Uses of Class
    com.comphenix.protocol.injector.BukkitUnwrapper

    +
    +
    No usage of com.comphenix.protocol.injector.BukkitUnwrapper
    + + + + + + diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/ListenerInvoker.html b/Javadoc/com/comphenix/protocol/injector/class-use/ListenerInvoker.html index e8e7f5b4..72e146cb 100644 --- a/Javadoc/com/comphenix/protocol/injector/class-use/ListenerInvoker.html +++ b/Javadoc/com/comphenix/protocol/injector/class-use/ListenerInvoker.html @@ -2,9 +2,9 @@ - + Uses of Interface com.comphenix.protocol.injector.ListenerInvoker - + diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/PacketConstructor.Unwrapper.html b/Javadoc/com/comphenix/protocol/injector/class-use/PacketConstructor.Unwrapper.html index 0a977ee2..a5d319be 100644 --- a/Javadoc/com/comphenix/protocol/injector/class-use/PacketConstructor.Unwrapper.html +++ b/Javadoc/com/comphenix/protocol/injector/class-use/PacketConstructor.Unwrapper.html @@ -2,9 +2,9 @@ - + Uses of Interface com.comphenix.protocol.injector.PacketConstructor.Unwrapper - + @@ -96,8 +96,10 @@ -static class  -PacketConstructor.BukkitUnwrapper  +class  +BukkitUnwrapper +
    Represents an object capable of converting wrapped Bukkit objects into NMS objects.
    + diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/PacketConstructor.html b/Javadoc/com/comphenix/protocol/injector/class-use/PacketConstructor.html index fef37d81..a896d09f 100644 --- a/Javadoc/com/comphenix/protocol/injector/class-use/PacketConstructor.html +++ b/Javadoc/com/comphenix/protocol/injector/class-use/PacketConstructor.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.injector.PacketConstructor - + diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/PacketFilterManager.PlayerInjectHooks.html b/Javadoc/com/comphenix/protocol/injector/class-use/PacketFilterManager.PlayerInjectHooks.html index 822d2ca8..7d064bcb 100644 --- a/Javadoc/com/comphenix/protocol/injector/class-use/PacketFilterManager.PlayerInjectHooks.html +++ b/Javadoc/com/comphenix/protocol/injector/class-use/PacketFilterManager.PlayerInjectHooks.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.injector.PacketFilterManager.PlayerInjectHooks - + diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/PacketFilterManager.html b/Javadoc/com/comphenix/protocol/injector/class-use/PacketFilterManager.html index b2fa7f6d..c46a29f9 100644 --- a/Javadoc/com/comphenix/protocol/injector/class-use/PacketFilterManager.html +++ b/Javadoc/com/comphenix/protocol/injector/class-use/PacketFilterManager.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.injector.PacketFilterManager - + diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/PlayerLoggedOutException.html b/Javadoc/com/comphenix/protocol/injector/class-use/PlayerLoggedOutException.html index 36a2df29..915e723a 100644 --- a/Javadoc/com/comphenix/protocol/injector/class-use/PlayerLoggedOutException.html +++ b/Javadoc/com/comphenix/protocol/injector/class-use/PlayerLoggedOutException.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.injector.PlayerLoggedOutException - + diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/PrioritizedListener.html b/Javadoc/com/comphenix/protocol/injector/class-use/PrioritizedListener.html index e1a1da05..41934127 100644 --- a/Javadoc/com/comphenix/protocol/injector/class-use/PrioritizedListener.html +++ b/Javadoc/com/comphenix/protocol/injector/class-use/PrioritizedListener.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.injector.PrioritizedListener - + diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/SortedCopyOnWriteArrayTest.html b/Javadoc/com/comphenix/protocol/injector/class-use/SortedCopyOnWriteArrayTest.html index 84fbeb13..ba162c20 100644 --- a/Javadoc/com/comphenix/protocol/injector/class-use/SortedCopyOnWriteArrayTest.html +++ b/Javadoc/com/comphenix/protocol/injector/class-use/SortedCopyOnWriteArrayTest.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.injector.SortedCopyOnWriteArrayTest - + diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/StructureCache.html b/Javadoc/com/comphenix/protocol/injector/class-use/StructureCache.html index b62def18..6a4dc157 100644 --- a/Javadoc/com/comphenix/protocol/injector/class-use/StructureCache.html +++ b/Javadoc/com/comphenix/protocol/injector/class-use/StructureCache.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.injector.StructureCache - + diff --git a/Javadoc/com/comphenix/protocol/injector/package-frame.html b/Javadoc/com/comphenix/protocol/injector/package-frame.html index 0092f770..63a15787 100644 --- a/Javadoc/com/comphenix/protocol/injector/package-frame.html +++ b/Javadoc/com/comphenix/protocol/injector/package-frame.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.injector - + @@ -17,8 +17,8 @@

    Classes

      +
    • BukkitUnwrapper
    • PacketConstructor
    • -
    • PacketConstructor.BukkitUnwrapper
    • PacketFilterManager
    • PrioritizedListener
    • SortedCopyOnWriteArrayTest
    • diff --git a/Javadoc/com/comphenix/protocol/injector/package-summary.html b/Javadoc/com/comphenix/protocol/injector/package-summary.html index 9df7f2b9..0d523767 100644 --- a/Javadoc/com/comphenix/protocol/injector/package-summary.html +++ b/Javadoc/com/comphenix/protocol/injector/package-summary.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.injector - + @@ -77,11 +77,15 @@ ListenerInvoker -  + +
      Represents an object that initiate the packet listeners.
      + PacketConstructor.Unwrapper -  + +
      Represents a unwrapper for a constructor parameter.
      + @@ -95,15 +99,17 @@ +BukkitUnwrapper + +
      Represents an object capable of converting wrapped Bukkit objects into NMS objects.
      + + + PacketConstructor
      A packet constructor that uses an internal Minecraft.
      - -PacketConstructor.BukkitUnwrapper -  - PacketFilterManager   diff --git a/Javadoc/com/comphenix/protocol/injector/package-tree.html b/Javadoc/com/comphenix/protocol/injector/package-tree.html index f725b64f..fe5b01db 100644 --- a/Javadoc/com/comphenix/protocol/injector/package-tree.html +++ b/Javadoc/com/comphenix/protocol/injector/package-tree.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.injector Class Hierarchy - + @@ -74,8 +74,8 @@
      • java.lang.Object
          +
        • com.comphenix.protocol.injector.BukkitUnwrapper (implements com.comphenix.protocol.injector.PacketConstructor.Unwrapper)
        • com.comphenix.protocol.injector.PacketConstructor
        • -
        • com.comphenix.protocol.injector.PacketConstructor.BukkitUnwrapper (implements com.comphenix.protocol.injector.PacketConstructor.Unwrapper)
        • com.comphenix.protocol.injector.PacketFilterManager (implements com.comphenix.protocol.injector.ListenerInvoker, com.comphenix.protocol.ProtocolManager)
        • com.comphenix.protocol.injector.PrioritizedListener<TListener> (implements java.lang.Comparable<T>)
        • com.comphenix.protocol.injector.SortedCopyOnWriteArrayTest
        • diff --git a/Javadoc/com/comphenix/protocol/injector/package-use.html b/Javadoc/com/comphenix/protocol/injector/package-use.html index b79145eb..75a4d158 100644 --- a/Javadoc/com/comphenix/protocol/injector/package-use.html +++ b/Javadoc/com/comphenix/protocol/injector/package-use.html @@ -2,9 +2,9 @@ - + Uses of Package com.comphenix.protocol.injector - + @@ -138,7 +138,9 @@ -ListenerInvoker  +ListenerInvoker +
          Represents an object that initiate the packet listeners.
          + PacketConstructor @@ -146,7 +148,9 @@ -PacketConstructor.Unwrapper  +PacketConstructor.Unwrapper +
          Represents a unwrapper for a constructor parameter.
          + PacketFilterManager.PlayerInjectHooks @@ -176,7 +180,9 @@ -ListenerInvoker  +ListenerInvoker +
          Represents an object that initiate the packet listeners.
          + PacketFilterManager.PlayerInjectHooks diff --git a/Javadoc/com/comphenix/protocol/injector/player/NetworkServerInjector.html b/Javadoc/com/comphenix/protocol/injector/player/NetworkServerInjector.html index f0182a44..e613c9c3 100644 --- a/Javadoc/com/comphenix/protocol/injector/player/NetworkServerInjector.html +++ b/Javadoc/com/comphenix/protocol/injector/player/NetworkServerInjector.html @@ -2,9 +2,9 @@ - + NetworkServerInjector - + diff --git a/Javadoc/com/comphenix/protocol/injector/player/PlayerInjectionHandler.html b/Javadoc/com/comphenix/protocol/injector/player/PlayerInjectionHandler.html index b7a63b1c..18762206 100644 --- a/Javadoc/com/comphenix/protocol/injector/player/PlayerInjectionHandler.html +++ b/Javadoc/com/comphenix/protocol/injector/player/PlayerInjectionHandler.html @@ -2,9 +2,9 @@ - + PlayerInjectionHandler - + diff --git a/Javadoc/com/comphenix/protocol/injector/player/class-use/NetworkServerInjector.html b/Javadoc/com/comphenix/protocol/injector/player/class-use/NetworkServerInjector.html index 30c1dcd1..f4844efd 100644 --- a/Javadoc/com/comphenix/protocol/injector/player/class-use/NetworkServerInjector.html +++ b/Javadoc/com/comphenix/protocol/injector/player/class-use/NetworkServerInjector.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.injector.player.NetworkServerInjector - + diff --git a/Javadoc/com/comphenix/protocol/injector/player/class-use/PlayerInjectionHandler.html b/Javadoc/com/comphenix/protocol/injector/player/class-use/PlayerInjectionHandler.html index 36612544..61e19610 100644 --- a/Javadoc/com/comphenix/protocol/injector/player/class-use/PlayerInjectionHandler.html +++ b/Javadoc/com/comphenix/protocol/injector/player/class-use/PlayerInjectionHandler.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.injector.player.PlayerInjectionHandler - + diff --git a/Javadoc/com/comphenix/protocol/injector/player/package-frame.html b/Javadoc/com/comphenix/protocol/injector/player/package-frame.html index d0227caf..89589912 100644 --- a/Javadoc/com/comphenix/protocol/injector/player/package-frame.html +++ b/Javadoc/com/comphenix/protocol/injector/player/package-frame.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.injector.player - + diff --git a/Javadoc/com/comphenix/protocol/injector/player/package-summary.html b/Javadoc/com/comphenix/protocol/injector/player/package-summary.html index 696bc6df..0c2ac043 100644 --- a/Javadoc/com/comphenix/protocol/injector/player/package-summary.html +++ b/Javadoc/com/comphenix/protocol/injector/player/package-summary.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.injector.player - + diff --git a/Javadoc/com/comphenix/protocol/injector/player/package-tree.html b/Javadoc/com/comphenix/protocol/injector/player/package-tree.html index 1f309295..c6eb76a9 100644 --- a/Javadoc/com/comphenix/protocol/injector/player/package-tree.html +++ b/Javadoc/com/comphenix/protocol/injector/player/package-tree.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.injector.player Class Hierarchy - + diff --git a/Javadoc/com/comphenix/protocol/injector/player/package-use.html b/Javadoc/com/comphenix/protocol/injector/player/package-use.html index c600d9a9..d0a40a71 100644 --- a/Javadoc/com/comphenix/protocol/injector/player/package-use.html +++ b/Javadoc/com/comphenix/protocol/injector/player/package-use.html @@ -2,9 +2,9 @@ - + Uses of Package com.comphenix.protocol.injector.player - + diff --git a/Javadoc/com/comphenix/protocol/metrics/Statistics.html b/Javadoc/com/comphenix/protocol/metrics/Statistics.html index 2fc66fc7..ec27a46d 100644 --- a/Javadoc/com/comphenix/protocol/metrics/Statistics.html +++ b/Javadoc/com/comphenix/protocol/metrics/Statistics.html @@ -2,9 +2,9 @@ - + Statistics - + diff --git a/Javadoc/com/comphenix/protocol/metrics/class-use/Statistics.html b/Javadoc/com/comphenix/protocol/metrics/class-use/Statistics.html index 54af4663..fa5ad2af 100644 --- a/Javadoc/com/comphenix/protocol/metrics/class-use/Statistics.html +++ b/Javadoc/com/comphenix/protocol/metrics/class-use/Statistics.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.metrics.Statistics - + diff --git a/Javadoc/com/comphenix/protocol/metrics/package-frame.html b/Javadoc/com/comphenix/protocol/metrics/package-frame.html index 03c87bd0..1052f7f5 100644 --- a/Javadoc/com/comphenix/protocol/metrics/package-frame.html +++ b/Javadoc/com/comphenix/protocol/metrics/package-frame.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.metrics - + diff --git a/Javadoc/com/comphenix/protocol/metrics/package-summary.html b/Javadoc/com/comphenix/protocol/metrics/package-summary.html index c4f7f2e8..69bd3515 100644 --- a/Javadoc/com/comphenix/protocol/metrics/package-summary.html +++ b/Javadoc/com/comphenix/protocol/metrics/package-summary.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.metrics - + diff --git a/Javadoc/com/comphenix/protocol/metrics/package-tree.html b/Javadoc/com/comphenix/protocol/metrics/package-tree.html index a87749df..2806a25b 100644 --- a/Javadoc/com/comphenix/protocol/metrics/package-tree.html +++ b/Javadoc/com/comphenix/protocol/metrics/package-tree.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.metrics Class Hierarchy - + diff --git a/Javadoc/com/comphenix/protocol/metrics/package-use.html b/Javadoc/com/comphenix/protocol/metrics/package-use.html index 40798d28..06be1530 100644 --- a/Javadoc/com/comphenix/protocol/metrics/package-use.html +++ b/Javadoc/com/comphenix/protocol/metrics/package-use.html @@ -2,9 +2,9 @@ - + Uses of Package com.comphenix.protocol.metrics - + diff --git a/Javadoc/com/comphenix/protocol/package-frame.html b/Javadoc/com/comphenix/protocol/package-frame.html index c414f463..81eb6576 100644 --- a/Javadoc/com/comphenix/protocol/package-frame.html +++ b/Javadoc/com/comphenix/protocol/package-frame.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol - + diff --git a/Javadoc/com/comphenix/protocol/package-summary.html b/Javadoc/com/comphenix/protocol/package-summary.html index 6e4c5ea9..2e4666ff 100644 --- a/Javadoc/com/comphenix/protocol/package-summary.html +++ b/Javadoc/com/comphenix/protocol/package-summary.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol - + @@ -106,7 +106,9 @@ Application -  + +
          Ignore this class.
          + Packets @@ -128,7 +130,9 @@ ProtocolLibrary -  + +
          The main entry point for ProtocolLib.
          + diff --git a/Javadoc/com/comphenix/protocol/package-tree.html b/Javadoc/com/comphenix/protocol/package-tree.html index abb57967..e765455c 100644 --- a/Javadoc/com/comphenix/protocol/package-tree.html +++ b/Javadoc/com/comphenix/protocol/package-tree.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol Class Hierarchy - + diff --git a/Javadoc/com/comphenix/protocol/package-use.html b/Javadoc/com/comphenix/protocol/package-use.html index 51650135..bbd54e25 100644 --- a/Javadoc/com/comphenix/protocol/package-use.html +++ b/Javadoc/com/comphenix/protocol/package-use.html @@ -2,9 +2,9 @@ - + Uses of Package com.comphenix.protocol - + diff --git a/Javadoc/com/comphenix/protocol/reflect/EquivalentConverter.html b/Javadoc/com/comphenix/protocol/reflect/EquivalentConverter.html index 662db323..8207e52b 100644 --- a/Javadoc/com/comphenix/protocol/reflect/EquivalentConverter.html +++ b/Javadoc/com/comphenix/protocol/reflect/EquivalentConverter.html @@ -2,9 +2,9 @@ - + EquivalentConverter - + diff --git a/Javadoc/com/comphenix/protocol/reflect/FieldAccessException.html b/Javadoc/com/comphenix/protocol/reflect/FieldAccessException.html index ae1d2205..b79df1ab 100644 --- a/Javadoc/com/comphenix/protocol/reflect/FieldAccessException.html +++ b/Javadoc/com/comphenix/protocol/reflect/FieldAccessException.html @@ -2,9 +2,9 @@ - + FieldAccessException - + diff --git a/Javadoc/com/comphenix/protocol/reflect/FieldUtils.html b/Javadoc/com/comphenix/protocol/reflect/FieldUtils.html index 726d8477..1d369fb6 100644 --- a/Javadoc/com/comphenix/protocol/reflect/FieldUtils.html +++ b/Javadoc/com/comphenix/protocol/reflect/FieldUtils.html @@ -2,9 +2,9 @@ - + FieldUtils - + diff --git a/Javadoc/com/comphenix/protocol/reflect/FuzzyReflection.html b/Javadoc/com/comphenix/protocol/reflect/FuzzyReflection.html index efde8881..656d844f 100644 --- a/Javadoc/com/comphenix/protocol/reflect/FuzzyReflection.html +++ b/Javadoc/com/comphenix/protocol/reflect/FuzzyReflection.html @@ -2,9 +2,9 @@ - + FuzzyReflection - + diff --git a/Javadoc/com/comphenix/protocol/reflect/IntEnum.html b/Javadoc/com/comphenix/protocol/reflect/IntEnum.html index 7a9d6c41..d4d8ed16 100644 --- a/Javadoc/com/comphenix/protocol/reflect/IntEnum.html +++ b/Javadoc/com/comphenix/protocol/reflect/IntEnum.html @@ -2,9 +2,9 @@ - + IntEnum - + @@ -192,6 +192,12 @@ extends java.lang.Object
          Retrieve the ID of the member with the given name.
          + +java.util.Set<java.lang.Integer> +values() +
          Retrieve the ID of every registered member.
          + +
          • @@ -298,7 +304,7 @@ extends java.lang.Object -
              +
              • getDeclaredName

                public java.lang.String getDeclaredName(java.lang.Integer id)
                @@ -307,6 +313,17 @@ extends java.lang.Object
                Returns:
                Declared name of the member, or NULL if not found.
              + + + +
                +
              • +

                values

                +
                public java.util.Set<java.lang.Integer> values()
                +
                Retrieve the ID of every registered member.
                +
                Returns:
                Enumeration of every value.
                +
              • +
          • diff --git a/Javadoc/com/comphenix/protocol/reflect/MethodUtils.html b/Javadoc/com/comphenix/protocol/reflect/MethodUtils.html index a25d2b60..3fb34c71 100644 --- a/Javadoc/com/comphenix/protocol/reflect/MethodUtils.html +++ b/Javadoc/com/comphenix/protocol/reflect/MethodUtils.html @@ -2,9 +2,9 @@ - + MethodUtils - + diff --git a/Javadoc/com/comphenix/protocol/reflect/ObjectCloner.html b/Javadoc/com/comphenix/protocol/reflect/ObjectCloner.html index 95c2f933..674a374f 100644 --- a/Javadoc/com/comphenix/protocol/reflect/ObjectCloner.html +++ b/Javadoc/com/comphenix/protocol/reflect/ObjectCloner.html @@ -2,9 +2,9 @@ - + ObjectCloner - + diff --git a/Javadoc/com/comphenix/protocol/reflect/PrimitiveUtils.html b/Javadoc/com/comphenix/protocol/reflect/PrimitiveUtils.html index 08af37a8..25720bfd 100644 --- a/Javadoc/com/comphenix/protocol/reflect/PrimitiveUtils.html +++ b/Javadoc/com/comphenix/protocol/reflect/PrimitiveUtils.html @@ -2,9 +2,9 @@ - + PrimitiveUtils - + diff --git a/Javadoc/com/comphenix/protocol/reflect/StructureModifier.html b/Javadoc/com/comphenix/protocol/reflect/StructureModifier.html index 5bcced78..f6460f9b 100644 --- a/Javadoc/com/comphenix/protocol/reflect/StructureModifier.html +++ b/Javadoc/com/comphenix/protocol/reflect/StructureModifier.html @@ -2,9 +2,9 @@ - + StructureModifier - + diff --git a/Javadoc/com/comphenix/protocol/reflect/StructureModifierTest.html b/Javadoc/com/comphenix/protocol/reflect/StructureModifierTest.html index b4049a8d..72ba1a5c 100644 --- a/Javadoc/com/comphenix/protocol/reflect/StructureModifierTest.html +++ b/Javadoc/com/comphenix/protocol/reflect/StructureModifierTest.html @@ -2,9 +2,9 @@ - + StructureModifierTest - + diff --git a/Javadoc/com/comphenix/protocol/reflect/VolatileField.html b/Javadoc/com/comphenix/protocol/reflect/VolatileField.html index c3354af1..27223cf6 100644 --- a/Javadoc/com/comphenix/protocol/reflect/VolatileField.html +++ b/Javadoc/com/comphenix/protocol/reflect/VolatileField.html @@ -2,9 +2,9 @@ - + VolatileField - + diff --git a/Javadoc/com/comphenix/protocol/reflect/class-use/EquivalentConverter.html b/Javadoc/com/comphenix/protocol/reflect/class-use/EquivalentConverter.html index 8607b14a..fb5160ce 100644 --- a/Javadoc/com/comphenix/protocol/reflect/class-use/EquivalentConverter.html +++ b/Javadoc/com/comphenix/protocol/reflect/class-use/EquivalentConverter.html @@ -2,9 +2,9 @@ - + Uses of Interface com.comphenix.protocol.reflect.EquivalentConverter - + diff --git a/Javadoc/com/comphenix/protocol/reflect/class-use/FieldAccessException.html b/Javadoc/com/comphenix/protocol/reflect/class-use/FieldAccessException.html index 2ad14af9..55dd7dc5 100644 --- a/Javadoc/com/comphenix/protocol/reflect/class-use/FieldAccessException.html +++ b/Javadoc/com/comphenix/protocol/reflect/class-use/FieldAccessException.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.reflect.FieldAccessException - + @@ -112,6 +112,30 @@ +static java.util.Set<java.lang.Integer> +Packets.Server.getSupported() +
            Retrieve every client packet the current version of Minecraft is aware of.
            + + + +static java.util.Set<java.lang.Integer> +Packets.Client.getSupported() +
            Retrieve every client packet the current version of Minecraft is aware of.
            + + + +static boolean +Packets.Server.isSupported(int packetID) +
            Determine if the given packet is a valid server packet in the current version of Minecraft.
            + + + +static boolean +Packets.Client.isSupported(int packetID) +
            Determine if the given packet is a valid client packet in the current version of Minecraft.
            + + + void ProtocolManager.updateEntity(org.bukkit.entity.Entity entity, java.util.List<org.bukkit.entity.Player> observers) @@ -159,6 +183,18 @@ +static java.util.Set<java.lang.Integer> +PacketFilterManager.getClientPackets() +
            Retrieve every known and supported client packet.
            + + + +static java.util.Set<java.lang.Integer> +PacketFilterManager.getServerPackets() +
            Retrieve every known and supported server packet.
            + + + void PacketFilterManager.updateEntity(org.bukkit.entity.Entity entity, java.util.List<org.bukkit.entity.Player> observers)  diff --git a/Javadoc/com/comphenix/protocol/reflect/class-use/FieldUtils.html b/Javadoc/com/comphenix/protocol/reflect/class-use/FieldUtils.html index f5987ee9..82ed8a41 100644 --- a/Javadoc/com/comphenix/protocol/reflect/class-use/FieldUtils.html +++ b/Javadoc/com/comphenix/protocol/reflect/class-use/FieldUtils.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.reflect.FieldUtils - + diff --git a/Javadoc/com/comphenix/protocol/reflect/class-use/FuzzyReflection.html b/Javadoc/com/comphenix/protocol/reflect/class-use/FuzzyReflection.html index 0b58e49a..747b9d68 100644 --- a/Javadoc/com/comphenix/protocol/reflect/class-use/FuzzyReflection.html +++ b/Javadoc/com/comphenix/protocol/reflect/class-use/FuzzyReflection.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.reflect.FuzzyReflection - + diff --git a/Javadoc/com/comphenix/protocol/reflect/class-use/IntEnum.html b/Javadoc/com/comphenix/protocol/reflect/class-use/IntEnum.html index 63ea9a43..ff59ceff 100644 --- a/Javadoc/com/comphenix/protocol/reflect/class-use/IntEnum.html +++ b/Javadoc/com/comphenix/protocol/reflect/class-use/IntEnum.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.reflect.IntEnum - + diff --git a/Javadoc/com/comphenix/protocol/reflect/class-use/MethodUtils.html b/Javadoc/com/comphenix/protocol/reflect/class-use/MethodUtils.html index ef1c343e..e8b5ea4f 100644 --- a/Javadoc/com/comphenix/protocol/reflect/class-use/MethodUtils.html +++ b/Javadoc/com/comphenix/protocol/reflect/class-use/MethodUtils.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.reflect.MethodUtils - + diff --git a/Javadoc/com/comphenix/protocol/reflect/class-use/ObjectCloner.html b/Javadoc/com/comphenix/protocol/reflect/class-use/ObjectCloner.html index cb9d3369..bc5ad8b3 100644 --- a/Javadoc/com/comphenix/protocol/reflect/class-use/ObjectCloner.html +++ b/Javadoc/com/comphenix/protocol/reflect/class-use/ObjectCloner.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.reflect.ObjectCloner - + diff --git a/Javadoc/com/comphenix/protocol/reflect/class-use/PrimitiveUtils.html b/Javadoc/com/comphenix/protocol/reflect/class-use/PrimitiveUtils.html index ad7ff02f..398d6e61 100644 --- a/Javadoc/com/comphenix/protocol/reflect/class-use/PrimitiveUtils.html +++ b/Javadoc/com/comphenix/protocol/reflect/class-use/PrimitiveUtils.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.reflect.PrimitiveUtils - + diff --git a/Javadoc/com/comphenix/protocol/reflect/class-use/StructureModifier.html b/Javadoc/com/comphenix/protocol/reflect/class-use/StructureModifier.html index ca87321e..c67b543e 100644 --- a/Javadoc/com/comphenix/protocol/reflect/class-use/StructureModifier.html +++ b/Javadoc/com/comphenix/protocol/reflect/class-use/StructureModifier.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.reflect.StructureModifier - + diff --git a/Javadoc/com/comphenix/protocol/reflect/class-use/StructureModifierTest.html b/Javadoc/com/comphenix/protocol/reflect/class-use/StructureModifierTest.html index 92c80e30..52c2aa67 100644 --- a/Javadoc/com/comphenix/protocol/reflect/class-use/StructureModifierTest.html +++ b/Javadoc/com/comphenix/protocol/reflect/class-use/StructureModifierTest.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.reflect.StructureModifierTest - + diff --git a/Javadoc/com/comphenix/protocol/reflect/class-use/VolatileField.html b/Javadoc/com/comphenix/protocol/reflect/class-use/VolatileField.html index 1cc5db1b..c5fe1f7b 100644 --- a/Javadoc/com/comphenix/protocol/reflect/class-use/VolatileField.html +++ b/Javadoc/com/comphenix/protocol/reflect/class-use/VolatileField.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.reflect.VolatileField - + diff --git a/Javadoc/com/comphenix/protocol/reflect/compiler/BackgroundCompiler.html b/Javadoc/com/comphenix/protocol/reflect/compiler/BackgroundCompiler.html index 6e6b164c..7d6709e1 100644 --- a/Javadoc/com/comphenix/protocol/reflect/compiler/BackgroundCompiler.html +++ b/Javadoc/com/comphenix/protocol/reflect/compiler/BackgroundCompiler.html @@ -2,9 +2,9 @@ - + BackgroundCompiler - + diff --git a/Javadoc/com/comphenix/protocol/reflect/compiler/CompileListener.html b/Javadoc/com/comphenix/protocol/reflect/compiler/CompileListener.html index 1b8b05ad..393b4cff 100644 --- a/Javadoc/com/comphenix/protocol/reflect/compiler/CompileListener.html +++ b/Javadoc/com/comphenix/protocol/reflect/compiler/CompileListener.html @@ -2,9 +2,9 @@ - + CompileListener - + diff --git a/Javadoc/com/comphenix/protocol/reflect/compiler/CompiledStructureModifier.html b/Javadoc/com/comphenix/protocol/reflect/compiler/CompiledStructureModifier.html index 2d93c738..da5ce6af 100644 --- a/Javadoc/com/comphenix/protocol/reflect/compiler/CompiledStructureModifier.html +++ b/Javadoc/com/comphenix/protocol/reflect/compiler/CompiledStructureModifier.html @@ -2,9 +2,9 @@ - + CompiledStructureModifier - + diff --git a/Javadoc/com/comphenix/protocol/reflect/compiler/StructureCompiler.html b/Javadoc/com/comphenix/protocol/reflect/compiler/StructureCompiler.html index 389a93e5..e0dfd04c 100644 --- a/Javadoc/com/comphenix/protocol/reflect/compiler/StructureCompiler.html +++ b/Javadoc/com/comphenix/protocol/reflect/compiler/StructureCompiler.html @@ -2,9 +2,9 @@ - + StructureCompiler - + diff --git a/Javadoc/com/comphenix/protocol/reflect/compiler/class-use/BackgroundCompiler.html b/Javadoc/com/comphenix/protocol/reflect/compiler/class-use/BackgroundCompiler.html index de6e79d0..8c784d8b 100644 --- a/Javadoc/com/comphenix/protocol/reflect/compiler/class-use/BackgroundCompiler.html +++ b/Javadoc/com/comphenix/protocol/reflect/compiler/class-use/BackgroundCompiler.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.reflect.compiler.BackgroundCompiler - + diff --git a/Javadoc/com/comphenix/protocol/reflect/compiler/class-use/CompileListener.html b/Javadoc/com/comphenix/protocol/reflect/compiler/class-use/CompileListener.html index 09626a83..6a5c0220 100644 --- a/Javadoc/com/comphenix/protocol/reflect/compiler/class-use/CompileListener.html +++ b/Javadoc/com/comphenix/protocol/reflect/compiler/class-use/CompileListener.html @@ -2,9 +2,9 @@ - + Uses of Interface com.comphenix.protocol.reflect.compiler.CompileListener - + diff --git a/Javadoc/com/comphenix/protocol/reflect/compiler/class-use/CompiledStructureModifier.html b/Javadoc/com/comphenix/protocol/reflect/compiler/class-use/CompiledStructureModifier.html index 89ba3ce0..f4ef3a08 100644 --- a/Javadoc/com/comphenix/protocol/reflect/compiler/class-use/CompiledStructureModifier.html +++ b/Javadoc/com/comphenix/protocol/reflect/compiler/class-use/CompiledStructureModifier.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.reflect.compiler.CompiledStructureModifier - + diff --git a/Javadoc/com/comphenix/protocol/reflect/compiler/class-use/StructureCompiler.html b/Javadoc/com/comphenix/protocol/reflect/compiler/class-use/StructureCompiler.html index e7800418..0e249f52 100644 --- a/Javadoc/com/comphenix/protocol/reflect/compiler/class-use/StructureCompiler.html +++ b/Javadoc/com/comphenix/protocol/reflect/compiler/class-use/StructureCompiler.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.reflect.compiler.StructureCompiler - + diff --git a/Javadoc/com/comphenix/protocol/reflect/compiler/package-frame.html b/Javadoc/com/comphenix/protocol/reflect/compiler/package-frame.html index 54152ccd..951238c4 100644 --- a/Javadoc/com/comphenix/protocol/reflect/compiler/package-frame.html +++ b/Javadoc/com/comphenix/protocol/reflect/compiler/package-frame.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.reflect.compiler - + diff --git a/Javadoc/com/comphenix/protocol/reflect/compiler/package-summary.html b/Javadoc/com/comphenix/protocol/reflect/compiler/package-summary.html index 137c1d46..1543a721 100644 --- a/Javadoc/com/comphenix/protocol/reflect/compiler/package-summary.html +++ b/Javadoc/com/comphenix/protocol/reflect/compiler/package-summary.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.reflect.compiler - + diff --git a/Javadoc/com/comphenix/protocol/reflect/compiler/package-tree.html b/Javadoc/com/comphenix/protocol/reflect/compiler/package-tree.html index 2563b530..a3e0ba48 100644 --- a/Javadoc/com/comphenix/protocol/reflect/compiler/package-tree.html +++ b/Javadoc/com/comphenix/protocol/reflect/compiler/package-tree.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.reflect.compiler Class Hierarchy - + diff --git a/Javadoc/com/comphenix/protocol/reflect/compiler/package-use.html b/Javadoc/com/comphenix/protocol/reflect/compiler/package-use.html index ab486acd..79b90fc6 100644 --- a/Javadoc/com/comphenix/protocol/reflect/compiler/package-use.html +++ b/Javadoc/com/comphenix/protocol/reflect/compiler/package-use.html @@ -2,9 +2,9 @@ - + Uses of Package com.comphenix.protocol.reflect.compiler - + diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/CollectionGenerator.html b/Javadoc/com/comphenix/protocol/reflect/instances/CollectionGenerator.html index 5d6ff66c..56e06f34 100644 --- a/Javadoc/com/comphenix/protocol/reflect/instances/CollectionGenerator.html +++ b/Javadoc/com/comphenix/protocol/reflect/instances/CollectionGenerator.html @@ -2,9 +2,9 @@ - + CollectionGenerator - + diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/DefaultInstances.html b/Javadoc/com/comphenix/protocol/reflect/instances/DefaultInstances.html index 6042e0b6..68f69bbe 100644 --- a/Javadoc/com/comphenix/protocol/reflect/instances/DefaultInstances.html +++ b/Javadoc/com/comphenix/protocol/reflect/instances/DefaultInstances.html @@ -2,9 +2,9 @@ - + DefaultInstances - + diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/ExistingGenerator.html b/Javadoc/com/comphenix/protocol/reflect/instances/ExistingGenerator.html index ed0cf6cb..2808f952 100644 --- a/Javadoc/com/comphenix/protocol/reflect/instances/ExistingGenerator.html +++ b/Javadoc/com/comphenix/protocol/reflect/instances/ExistingGenerator.html @@ -2,9 +2,9 @@ - + ExistingGenerator - + diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/InstanceProvider.html b/Javadoc/com/comphenix/protocol/reflect/instances/InstanceProvider.html index 8a022d64..cdca126b 100644 --- a/Javadoc/com/comphenix/protocol/reflect/instances/InstanceProvider.html +++ b/Javadoc/com/comphenix/protocol/reflect/instances/InstanceProvider.html @@ -2,9 +2,9 @@ - + InstanceProvider - + diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/PrimitiveGenerator.html b/Javadoc/com/comphenix/protocol/reflect/instances/PrimitiveGenerator.html index dc781523..41b6fd3c 100644 --- a/Javadoc/com/comphenix/protocol/reflect/instances/PrimitiveGenerator.html +++ b/Javadoc/com/comphenix/protocol/reflect/instances/PrimitiveGenerator.html @@ -2,9 +2,9 @@ - + PrimitiveGenerator - + diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/class-use/CollectionGenerator.html b/Javadoc/com/comphenix/protocol/reflect/instances/class-use/CollectionGenerator.html index 3fef2ee6..c997315d 100644 --- a/Javadoc/com/comphenix/protocol/reflect/instances/class-use/CollectionGenerator.html +++ b/Javadoc/com/comphenix/protocol/reflect/instances/class-use/CollectionGenerator.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.reflect.instances.CollectionGenerator - + diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/class-use/DefaultInstances.html b/Javadoc/com/comphenix/protocol/reflect/instances/class-use/DefaultInstances.html index 45d17ccb..aed131a3 100644 --- a/Javadoc/com/comphenix/protocol/reflect/instances/class-use/DefaultInstances.html +++ b/Javadoc/com/comphenix/protocol/reflect/instances/class-use/DefaultInstances.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.reflect.instances.DefaultInstances - + diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/class-use/ExistingGenerator.html b/Javadoc/com/comphenix/protocol/reflect/instances/class-use/ExistingGenerator.html index f4a51c5e..bd74f1de 100644 --- a/Javadoc/com/comphenix/protocol/reflect/instances/class-use/ExistingGenerator.html +++ b/Javadoc/com/comphenix/protocol/reflect/instances/class-use/ExistingGenerator.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.reflect.instances.ExistingGenerator - + diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/class-use/InstanceProvider.html b/Javadoc/com/comphenix/protocol/reflect/instances/class-use/InstanceProvider.html index e12f1387..7d10fe59 100644 --- a/Javadoc/com/comphenix/protocol/reflect/instances/class-use/InstanceProvider.html +++ b/Javadoc/com/comphenix/protocol/reflect/instances/class-use/InstanceProvider.html @@ -2,9 +2,9 @@ - + Uses of Interface com.comphenix.protocol.reflect.instances.InstanceProvider - + diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/class-use/PrimitiveGenerator.html b/Javadoc/com/comphenix/protocol/reflect/instances/class-use/PrimitiveGenerator.html index 2a1f6c60..cf88de5c 100644 --- a/Javadoc/com/comphenix/protocol/reflect/instances/class-use/PrimitiveGenerator.html +++ b/Javadoc/com/comphenix/protocol/reflect/instances/class-use/PrimitiveGenerator.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.reflect.instances.PrimitiveGenerator - + diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/package-frame.html b/Javadoc/com/comphenix/protocol/reflect/instances/package-frame.html index 5a3e33e8..262afbae 100644 --- a/Javadoc/com/comphenix/protocol/reflect/instances/package-frame.html +++ b/Javadoc/com/comphenix/protocol/reflect/instances/package-frame.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.reflect.instances - + diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/package-summary.html b/Javadoc/com/comphenix/protocol/reflect/instances/package-summary.html index 7193016d..fae2481d 100644 --- a/Javadoc/com/comphenix/protocol/reflect/instances/package-summary.html +++ b/Javadoc/com/comphenix/protocol/reflect/instances/package-summary.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.reflect.instances - + diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/package-tree.html b/Javadoc/com/comphenix/protocol/reflect/instances/package-tree.html index 49c3570c..5b9e36c5 100644 --- a/Javadoc/com/comphenix/protocol/reflect/instances/package-tree.html +++ b/Javadoc/com/comphenix/protocol/reflect/instances/package-tree.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.reflect.instances Class Hierarchy - + diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/package-use.html b/Javadoc/com/comphenix/protocol/reflect/instances/package-use.html index 13f5929f..5d56e20d 100644 --- a/Javadoc/com/comphenix/protocol/reflect/instances/package-use.html +++ b/Javadoc/com/comphenix/protocol/reflect/instances/package-use.html @@ -2,9 +2,9 @@ - + Uses of Package com.comphenix.protocol.reflect.instances - + diff --git a/Javadoc/com/comphenix/protocol/reflect/package-frame.html b/Javadoc/com/comphenix/protocol/reflect/package-frame.html index 9523d43c..f34bb062 100644 --- a/Javadoc/com/comphenix/protocol/reflect/package-frame.html +++ b/Javadoc/com/comphenix/protocol/reflect/package-frame.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.reflect - + diff --git a/Javadoc/com/comphenix/protocol/reflect/package-summary.html b/Javadoc/com/comphenix/protocol/reflect/package-summary.html index 3f97a6ba..69cf7769 100644 --- a/Javadoc/com/comphenix/protocol/reflect/package-summary.html +++ b/Javadoc/com/comphenix/protocol/reflect/package-summary.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.reflect - + diff --git a/Javadoc/com/comphenix/protocol/reflect/package-tree.html b/Javadoc/com/comphenix/protocol/reflect/package-tree.html index 652543bc..46613016 100644 --- a/Javadoc/com/comphenix/protocol/reflect/package-tree.html +++ b/Javadoc/com/comphenix/protocol/reflect/package-tree.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.reflect Class Hierarchy - + diff --git a/Javadoc/com/comphenix/protocol/reflect/package-use.html b/Javadoc/com/comphenix/protocol/reflect/package-use.html index 77e8f745..bd96d9b8 100644 --- a/Javadoc/com/comphenix/protocol/reflect/package-use.html +++ b/Javadoc/com/comphenix/protocol/reflect/package-use.html @@ -2,9 +2,9 @@ - + Uses of Package com.comphenix.protocol.reflect - + diff --git a/Javadoc/constant-values.html b/Javadoc/constant-values.html index 538597d3..9096a578 100644 --- a/Javadoc/constant-values.html +++ b/Javadoc/constant-values.html @@ -2,9 +2,9 @@ - + Constant Field Values - + diff --git a/Javadoc/deprecated-list.html b/Javadoc/deprecated-list.html index 204feb86..fb5a8bf6 100644 --- a/Javadoc/deprecated-list.html +++ b/Javadoc/deprecated-list.html @@ -2,9 +2,9 @@ - + Deprecated List - + diff --git a/Javadoc/help-doc.html b/Javadoc/help-doc.html index 88731e8d..cf1f2de2 100644 --- a/Javadoc/help-doc.html +++ b/Javadoc/help-doc.html @@ -2,9 +2,9 @@ - + API Help - + diff --git a/Javadoc/index-files/index-1.html b/Javadoc/index-files/index-1.html index 9feb67ba..6d805b54 100644 --- a/Javadoc/index-files/index-1.html +++ b/Javadoc/index-files/index-1.html @@ -2,9 +2,9 @@ - + A-Index - + @@ -100,7 +100,9 @@
            Adds a packet listener.
            Application - Class in com.comphenix.protocol
            -
             
            +
            +
            Ignore this class.
            +
            Application() - Constructor for class com.comphenix.protocol.Application
             
            ARM_ANIMATION - Static variable in class com.comphenix.protocol.Packets.Client
            diff --git a/Javadoc/index-files/index-10.html b/Javadoc/index-files/index-10.html index f4c52f81..5fb6cb2f 100644 --- a/Javadoc/index-files/index-10.html +++ b/Javadoc/index-files/index-10.html @@ -2,9 +2,9 @@ - + K-Index - + diff --git a/Javadoc/index-files/index-11.html b/Javadoc/index-files/index-11.html index 4ec06253..c4768eaf 100644 --- a/Javadoc/index-files/index-11.html +++ b/Javadoc/index-files/index-11.html @@ -2,9 +2,9 @@ - + L-Index - + @@ -68,7 +68,9 @@

            L

            ListenerInvoker - Interface in com.comphenix.protocol.injector
            -
             
            +
            +
            Represents an object that initiate the packet listeners.
            +
            ListenerPriority - Enum in com.comphenix.protocol.events
            Represents a packet event priority, similar to the Bukkit EventPriority.
            diff --git a/Javadoc/index-files/index-12.html b/Javadoc/index-files/index-12.html index ce373db6..80bb23a1 100644 --- a/Javadoc/index-files/index-12.html +++ b/Javadoc/index-files/index-12.html @@ -2,9 +2,9 @@ - + M-Index - + diff --git a/Javadoc/index-files/index-13.html b/Javadoc/index-files/index-13.html index a65da6ae..61687474 100644 --- a/Javadoc/index-files/index-13.html +++ b/Javadoc/index-files/index-13.html @@ -2,9 +2,9 @@ - + N-Index - + diff --git a/Javadoc/index-files/index-14.html b/Javadoc/index-files/index-14.html index 376dc427..c28a3628 100644 --- a/Javadoc/index-files/index-14.html +++ b/Javadoc/index-files/index-14.html @@ -2,9 +2,9 @@ - + O-Index - + diff --git a/Javadoc/index-files/index-15.html b/Javadoc/index-files/index-15.html index 092404f1..77a02744 100644 --- a/Javadoc/index-files/index-15.html +++ b/Javadoc/index-files/index-15.html @@ -2,9 +2,9 @@ - + P-Index - + @@ -83,12 +83,10 @@
            A packet constructor that uses an internal Minecraft.
            -
            PacketConstructor.BukkitUnwrapper - Class in com.comphenix.protocol.injector
            -
             
            -
            PacketConstructor.BukkitUnwrapper() - Constructor for class com.comphenix.protocol.injector.PacketConstructor.BukkitUnwrapper
            -
             
            PacketConstructor.Unwrapper - Interface in com.comphenix.protocol.injector
            -
             
            +
            +
            Represents a unwrapper for a constructor parameter.
            +
            PacketContainer - Class in com.comphenix.protocol.events
            Represents a Minecraft packet indirectly.
            @@ -205,7 +203,9 @@
            Process a packet as if it were sent by the given player.
            ProtocolLibrary - Class in com.comphenix.protocol
            -
             
            +
            +
            The main entry point for ProtocolLib.
            +
            ProtocolLibrary() - Constructor for class com.comphenix.protocol.ProtocolLibrary
             
            ProtocolManager - Interface in com.comphenix.protocol
            diff --git a/Javadoc/index-files/index-16.html b/Javadoc/index-files/index-16.html index 9bb9a9e4..e197bab2 100644 --- a/Javadoc/index-files/index-16.html +++ b/Javadoc/index-files/index-16.html @@ -2,9 +2,9 @@ - + R-Index - + diff --git a/Javadoc/index-files/index-17.html b/Javadoc/index-files/index-17.html index c51f154e..d81d2141 100644 --- a/Javadoc/index-files/index-17.html +++ b/Javadoc/index-files/index-17.html @@ -2,9 +2,9 @@ - + S-Index - + @@ -85,10 +85,6 @@
            sendingWhitelist - Variable in class com.comphenix.protocol.events.PacketAdapter
             
            -
            sendPacket(PacketEvent) - Method in class com.comphenix.protocol.async.AsyncMarker
            -
            -
            Transmit a given packet to the current packet stream.
            -
            sendProcessedPackets(int, boolean) - Method in class com.comphenix.protocol.async.AsyncFilterManager
            Send any due packets, or clean up packets that have expired.
            @@ -182,6 +178,8 @@
            Sets how the server packets are read.
            +
            setProcessingLock(Object) - Method in class com.comphenix.protocol.async.AsyncMarker
            +
             
            setTimeout(long) - Method in class com.comphenix.protocol.async.AsyncMarker
            Set the time the packet will be forcefully rejected.
            @@ -204,14 +202,16 @@
            Clean up after ourselves.
            -
            signalPacketUpdate(PacketEvent) - Method in class com.comphenix.protocol.async.AsyncFilterManager
            -
            -
            Signal that a packet is ready to be transmitted.
            -
            -
            signalProcessingDone(PacketEvent) - Method in class com.comphenix.protocol.async.AsyncFilterManager
            +
            signalFreeProcessingSlot(PacketEvent) - Method in class com.comphenix.protocol.async.AsyncFilterManager
            Signal that a packet has finished processing.
            +
            signalPacketTransmission(PacketEvent) - Method in class com.comphenix.protocol.async.AsyncFilterManager
            +
             
            +
            signalPacketTransmission(PacketEvent) - Method in interface com.comphenix.protocol.AsynchronousManager
            +
            +
            Signal that a packet is ready to be transmitted.
            +
            size() - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
            Retrieve the size of the list.
            @@ -244,7 +244,11 @@
             
            start() - Method in class com.comphenix.protocol.async.AsyncListenerHandler
            -
            Start a singler worker thread handling the asynchronous.
            +
            Start a singler worker thread handling the asynchronous listener.
            +
            +
            start(Function<AsyncRunnable, Void>) - Method in class com.comphenix.protocol.async.AsyncListenerHandler
            +
            +
            Start a singler worker thread handling the asynchronous listener.
            start(int) - Method in class com.comphenix.protocol.async.AsyncListenerHandler
            diff --git a/Javadoc/index-files/index-18.html b/Javadoc/index-files/index-18.html index 1cb66658..30dbb50f 100644 --- a/Javadoc/index-files/index-18.html +++ b/Javadoc/index-files/index-18.html @@ -2,9 +2,9 @@ - + T-Index - + diff --git a/Javadoc/index-files/index-19.html b/Javadoc/index-files/index-19.html index fa4becb3..e28d86df 100644 --- a/Javadoc/index-files/index-19.html +++ b/Javadoc/index-files/index-19.html @@ -2,9 +2,9 @@ - + U-Index - + @@ -88,10 +88,12 @@
            Returns the corresponding primitive type of type if it is a wrapper type; otherwise returns type itself.
            -
            unwrapItem(Object) - Method in class com.comphenix.protocol.injector.PacketConstructor.BukkitUnwrapper
            +
            unwrapItem(Object) - Method in class com.comphenix.protocol.injector.BukkitUnwrapper
             
            unwrapItem(Object) - Method in interface com.comphenix.protocol.injector.PacketConstructor.Unwrapper
            -
             
            +
            +
            Convert the given wrapped object to the equivalent net.minecraft.server object.
            +
            UPDATE_HEALTH - Static variable in class com.comphenix.protocol.Packets.Server
             
            UPDATE_SIGN - Static variable in class com.comphenix.protocol.Packets.Client
            diff --git a/Javadoc/index-files/index-2.html b/Javadoc/index-files/index-2.html index 26c83997..5a47ddde 100644 --- a/Javadoc/index-files/index-2.html +++ b/Javadoc/index-files/index-2.html @@ -2,9 +2,9 @@ - + B-Index - + @@ -89,6 +89,12 @@
             
            BLOCK_ITEM_SWITCH - Static variable in class com.comphenix.protocol.Packets.Client
             
            +
            BukkitUnwrapper - Class in com.comphenix.protocol.injector
            +
            +
            Represents an object capable of converting wrapped Bukkit objects into NMS objects.
            +
            +
            BukkitUnwrapper() - Constructor for class com.comphenix.protocol.injector.BukkitUnwrapper
            +
             
            BUTTON_CLICK - Static variable in class com.comphenix.protocol.Packets.Client
             
            diff --git a/Javadoc/index-files/index-20.html b/Javadoc/index-files/index-20.html index b3fb8112..f637b40b 100644 --- a/Javadoc/index-files/index-20.html +++ b/Javadoc/index-files/index-20.html @@ -2,9 +2,9 @@ - + V-Index - + @@ -106,6 +106,10 @@ the order they are declared.
            Returns an array containing the constants of this enum type, in the order they are declared.
            +
            values() - Method in class com.comphenix.protocol.reflect.IntEnum
            +
            +
            Retrieve the ID of every registered member.
            +
            VEHICLE_SPAWN - Static variable in class com.comphenix.protocol.Packets.Server
             
            verifyWhitelist(PacketListener, ListeningWhitelist) - Static method in class com.comphenix.protocol.injector.PacketFilterManager
            diff --git a/Javadoc/index-files/index-21.html b/Javadoc/index-files/index-21.html index fb9b3534..31d66508 100644 --- a/Javadoc/index-files/index-21.html +++ b/Javadoc/index-files/index-21.html @@ -2,9 +2,9 @@ - + W-Index - + diff --git a/Javadoc/index-files/index-3.html b/Javadoc/index-files/index-3.html index 8a4c012c..da10f024 100644 --- a/Javadoc/index-files/index-3.html +++ b/Javadoc/index-files/index-3.html @@ -2,9 +2,9 @@ - + C-Index - + @@ -110,7 +110,9 @@
            CLIENT_COMMAND - Static variable in class com.comphenix.protocol.Packets.Client
             
            close() - Method in class com.comphenix.protocol.injector.PacketFilterManager
            -
             
            +
            +
            Called when ProtocolLib is closing.
            +
            close() - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
             
            CLOSE_WINDOW - Static variable in class com.comphenix.protocol.Packets.Client
            diff --git a/Javadoc/index-files/index-4.html b/Javadoc/index-files/index-4.html index dae98236..4a307d63 100644 --- a/Javadoc/index-files/index-4.html +++ b/Javadoc/index-files/index-4.html @@ -2,9 +2,9 @@ - + D-Index - + diff --git a/Javadoc/index-files/index-5.html b/Javadoc/index-files/index-5.html index 7640bfa9..61935c39 100644 --- a/Javadoc/index-files/index-5.html +++ b/Javadoc/index-files/index-5.html @@ -2,9 +2,9 @@ - + E-Index - + diff --git a/Javadoc/index-files/index-6.html b/Javadoc/index-files/index-6.html index c51369b4..e653bd21 100644 --- a/Javadoc/index-files/index-6.html +++ b/Javadoc/index-files/index-6.html @@ -2,9 +2,9 @@ - + F-Index - + diff --git a/Javadoc/index-files/index-7.html b/Javadoc/index-files/index-7.html index c2187052..bdeb3cf5 100644 --- a/Javadoc/index-files/index-7.html +++ b/Javadoc/index-files/index-7.html @@ -2,9 +2,9 @@ - + G-Index - + @@ -104,6 +104,10 @@
            Retrieves the current plugin class loader.
            +
            getClientPackets() - Static method in class com.comphenix.protocol.injector.PacketFilterManager
            +
            +
            Retrieve every known and supported client packet.
            +
            getClientRegistry() - Static method in class com.comphenix.protocol.Packets
            A registry that parses between names and packet IDs.
            @@ -181,6 +185,10 @@
            Retrieves the common type of each field.
            +
            getFriendlyWorkerName(int) - Method in class com.comphenix.protocol.async.AsyncListenerHandler
            +
            +
            Create a friendly thread name using the following convention:
            +
            getGeneric(TType) - Method in interface com.comphenix.protocol.reflect.EquivalentConverter
             
            getHandle() - Method in class com.comphenix.protocol.events.PacketContainer
            @@ -369,10 +377,22 @@
            Retrieve the priority of this listener.
            +
            getProcessingDelay() - Method in class com.comphenix.protocol.async.AsyncMarker
            +
            +
            Retrieve the number of times a packet must be signalled to be done before it's sent.
            +
            +
            getProcessingLock() - Method in class com.comphenix.protocol.async.AsyncMarker
            +
            +
            Processing lock used to synchronize access to the parent PacketEvent and PacketContainer.
            +
            getProtocolManager() - Static method in class com.comphenix.protocol.ProtocolLibrary
            Retrieves the packet protocol manager.
            +
            getQueuedSendingIndex() - Method in class com.comphenix.protocol.async.AsyncMarker
            +
            +
            Retrieve the sending index when the packet was queued.
            +
            getReceivingFilters() - Method in class com.comphenix.protocol.async.AsyncFilterManager
             
            getReceivingFilters() - Method in interface com.comphenix.protocol.AsynchronousManager
            @@ -427,6 +447,10 @@
            Retrieve which packets sent by the server this listener will observe.
            +
            getServerPackets() - Static method in class com.comphenix.protocol.injector.PacketFilterManager
            +
            +
            Retrieve every known and supported server packet.
            +
            getServerRegistry() - Static method in class com.comphenix.protocol.Packets
            A registry that parses between names and packet IDs.
            @@ -463,6 +487,14 @@
            Retrieve a cached structure modifier for the given packet id.
            +
            getSupported() - Static method in class com.comphenix.protocol.Packets.Client
            +
            +
            Retrieve every client packet the current version of Minecraft is aware of.
            +
            +
            getSupported() - Static method in class com.comphenix.protocol.Packets.Server
            +
            +
            Retrieve every client packet the current version of Minecraft is aware of.
            +
            getTarget() - Method in class com.comphenix.protocol.reflect.StructureModifier
            Retrieves the object we're currently modifying.
            diff --git a/Javadoc/index-files/index-8.html b/Javadoc/index-files/index-8.html index 222ee83f..0a8edec6 100644 --- a/Javadoc/index-files/index-8.html +++ b/Javadoc/index-files/index-8.html @@ -2,9 +2,9 @@ - + H-Index - + diff --git a/Javadoc/index-files/index-9.html b/Javadoc/index-files/index-9.html index 3628a24e..112ecceb 100644 --- a/Javadoc/index-files/index-9.html +++ b/Javadoc/index-files/index-9.html @@ -2,9 +2,9 @@ - + I-Index - + @@ -69,6 +69,10 @@
            id - Variable in class com.comphenix.protocol.events.PacketContainer
             
            +
            incrementProcessingDelay() - Method in class com.comphenix.protocol.async.AsyncMarker
            +
            +
            Increment the number of times this packet must be signalled as done before its transmitted.
            +
            initialize() - Method in class com.comphenix.protocol.injector.player.NetworkServerInjector
             
            initialize(StructureModifier<TField>) - Method in class com.comphenix.protocol.reflect.StructureModifier
            @@ -245,6 +249,10 @@
            Retrieve whether or not this packet has been processed by the async listeners.
            +
            isQueued() - Method in class com.comphenix.protocol.async.AsyncMarker
            +
            +
            Whether or not this packet is or has been queued for processing.
            +
            isRunning() - Method in interface com.comphenix.protocol.async.AsyncRunnable
            Determine if we're running or not.
            @@ -253,6 +261,14 @@
            Whether or not this packet was created by the server.
            +
            isSupported(int) - Static method in class com.comphenix.protocol.Packets.Client
            +
            +
            Determine if the given packet is a valid client packet in the current version of Minecraft.
            +
            +
            isSupported(int) - Static method in class com.comphenix.protocol.Packets.Server
            +
            +
            Determine if the given packet is a valid server packet in the current version of Minecraft.
            +
            isTransmitted() - Method in class com.comphenix.protocol.async.AsyncMarker
            Retrieve whether or not this packet has already been sent.
            diff --git a/Javadoc/index.html b/Javadoc/index.html index 88f21462..8bf3bfe0 100644 --- a/Javadoc/index.html +++ b/Javadoc/index.html @@ -2,7 +2,7 @@ - + Generated Documentation (Untitled) - - - - - - -
            -
            com.comphenix.protocol
            -

            Class Application

            -
            -
            -
              -
            • java.lang.Object
            • -
            • -
                -
              • com.comphenix.protocol.Application
              • -
              -
            • -
            -
            -
              -
            • -
              -
              -
              public class Application
              -extends java.lang.Object
              -
              Ignore this class.
              -
              Author:
              -
              Kristian
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Constructor Summary

                - - - - - - - - -
                Constructors 
                Constructor and Description
                Application() 
                -
              • -
              - -
                -
              • - - -

                Method Summary

                - - - - - - - - - - -
                Methods 
                Modifier and TypeMethod and Description
                static voidmain(java.lang.String[] args) 
                -
                  -
                • - - -

                  Methods inherited from class java.lang.Object

                  -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
                • -
                -
              • -
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Constructor Detail

                - - - -
                  -
                • -

                  Application

                  -
                  public Application()
                  -
                • -
                -
              • -
              - -
                -
              • - - -

                Method Detail

                - - - -
                  -
                • -

                  main

                  -
                  public static void main(java.lang.String[] args)
                  -
                • -
                -
              • -
              -
            • -
            -
            -
            - - - - - - - + + + + + +Application + + + + + + + + + + + +
            +
            com.comphenix.protocol
            +

            Class Application

            +
            +
            +
              +
            • java.lang.Object
            • +
            • +
                +
              • com.comphenix.protocol.Application
              • +
              +
            • +
            +
            +
              +
            • +
              +
              +
              public class Application
              +extends java.lang.Object
              +
              Ignore this class.
              +
              Author:
              +
              Kristian
              +
            • +
            +
            +
            +
              +
            • + +
                +
              • + + +

                Constructor Summary

                + + + + + + + + +
                Constructors 
                Constructor and Description
                Application() 
                +
              • +
              + +
                +
              • + + +

                Method Summary

                + + + + + + + + + + +
                Methods 
                Modifier and TypeMethod and Description
                static voidmain(java.lang.String[] args) 
                +
                  +
                • + + +

                  Methods inherited from class java.lang.Object

                  +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
                • +
                +
              • +
              +
            • +
            +
            +
            +
              +
            • + +
                +
              • + + +

                Constructor Detail

                + + + +
                  +
                • +

                  Application

                  +
                  public Application()
                  +
                • +
                +
              • +
              + +
                +
              • + + +

                Method Detail

                + + + +
                  +
                • +

                  main

                  +
                  public static void main(java.lang.String[] args)
                  +
                • +
                +
              • +
              +
            • +
            +
            +
            + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/AsynchronousManager.html b/Javadoc/com/comphenix/protocol/AsynchronousManager.html index dfd2b78e..2052f43e 100644 --- a/Javadoc/com/comphenix/protocol/AsynchronousManager.html +++ b/Javadoc/com/comphenix/protocol/AsynchronousManager.html @@ -1,380 +1,380 @@ - - - - - -AsynchronousManager - - - - - - - - - - - -
            -
            com.comphenix.protocol
            -

            Interface AsynchronousManager

            -
            -
            -
            -
              -
            • -
              -
              All Known Implementing Classes:
              -
              AsyncFilterManager
              -
              -
              -
              -
              public interface AsynchronousManager
              -
              Represents a asynchronous packet handler.
              -
              Author:
              -
              Kristian
              -
            • -
            -
            -
            - -
            -
            -
              -
            • - -
                -
              • - - -

                Method Detail

                - - - -
                  -
                • -

                  registerAsyncHandler

                  -
                  AsyncListenerHandler registerAsyncHandler(PacketListener listener)
                  -
                  Registers an asynchronous packet handler. -

                  - To start listening asynchronously, pass the getListenerLoop() runnable to a different thread.

                  -
                  Parameters:
                  listener - - the packet listener that will recieve these asynchronous events.
                  -
                  Returns:
                  An asynchrouns handler.
                  -
                • -
                - - - -
                  -
                • -

                  unregisterAsyncHandler

                  -
                  void unregisterAsyncHandler(AsyncListenerHandler handler)
                  -
                  Unregisters and closes the given asynchronous handler.
                  -
                  Parameters:
                  handler - - asynchronous handler.
                  -
                • -
                - - - -
                  -
                • -

                  unregisterAsyncHandlers

                  -
                  void unregisterAsyncHandlers(org.bukkit.plugin.Plugin plugin)
                  -
                  Unregisters every asynchronous handler associated with this plugin.
                  -
                  Parameters:
                  plugin - - the original plugin.
                  -
                • -
                - - - -
                  -
                • -

                  getSendingFilters

                  -
                  java.util.Set<java.lang.Integer> getSendingFilters()
                  -
                  Retrieves a immutable set containing the ID of the sent server packets that will be - observed by the asynchronous listeners.
                  -
                  Returns:
                  Every filtered server packet.
                  -
                • -
                - - - -
                  -
                • -

                  getReceivingFilters

                  -
                  java.util.Set<java.lang.Integer> getReceivingFilters()
                  -
                  Retrieves a immutable set containing the ID of the recieved client packets that will be - observed by the asynchronous listeners.
                  -
                  Returns:
                  Every filtered client packet.
                  -
                • -
                - - - -
                  -
                • -

                  hasAsynchronousListeners

                  -
                  boolean hasAsynchronousListeners(PacketEvent packet)
                  -
                  Determine if a given synchronous packet has asynchronous listeners.
                  -
                  Parameters:
                  packet - - packet to test.
                  -
                  Returns:
                  TRUE if it does, FALSE otherwise.
                  -
                • -
                - - - -
                  -
                • -

                  getPacketStream

                  -
                  PacketStream getPacketStream()
                  -
                  Retrieve the default packet stream.
                  -
                  Returns:
                  Default packet stream.
                  -
                • -
                - - - -
                  -
                • -

                  getLogger

                  -
                  java.util.logging.Logger getLogger()
                  -
                  Retrieve the default error logger.
                  -
                  Returns:
                  Default logger.
                  -
                • -
                - - - -
                  -
                • -

                  cleanupAll

                  -
                  void cleanupAll()
                  -
                  Remove listeners, close threads and transmit every delayed packet.
                  -
                • -
                - - - -
                  -
                • -

                  signalPacketTransmission

                  -
                  void signalPacketTransmission(PacketEvent packet)
                  -
                  Signal that a packet is ready to be transmitted. -

                  - This should only be called if AsyncMarker.incrementProcessingDelay() - has been called previously.

                  -
                  Parameters:
                  packet - - packet to signal.
                  -
                • -
                -
              • -
              -
            • -
            -
            -
            - - - - - - - + + + + + +AsynchronousManager + + + + + + + + + + + +
            +
            com.comphenix.protocol
            +

            Interface AsynchronousManager

            +
            +
            +
            +
              +
            • +
              +
              All Known Implementing Classes:
              +
              AsyncFilterManager
              +
              +
              +
              +
              public interface AsynchronousManager
              +
              Represents a asynchronous packet handler.
              +
              Author:
              +
              Kristian
              +
            • +
            +
            +
            + +
            +
            +
              +
            • + +
                +
              • + + +

                Method Detail

                + + + +
                  +
                • +

                  registerAsyncHandler

                  +
                  AsyncListenerHandler registerAsyncHandler(PacketListener listener)
                  +
                  Registers an asynchronous packet handler. +

                  + To start listening asynchronously, pass the getListenerLoop() runnable to a different thread.

                  +
                  Parameters:
                  listener - - the packet listener that will recieve these asynchronous events.
                  +
                  Returns:
                  An asynchrouns handler.
                  +
                • +
                + + + +
                  +
                • +

                  unregisterAsyncHandler

                  +
                  void unregisterAsyncHandler(AsyncListenerHandler handler)
                  +
                  Unregisters and closes the given asynchronous handler.
                  +
                  Parameters:
                  handler - - asynchronous handler.
                  +
                • +
                + + + +
                  +
                • +

                  unregisterAsyncHandlers

                  +
                  void unregisterAsyncHandlers(org.bukkit.plugin.Plugin plugin)
                  +
                  Unregisters every asynchronous handler associated with this plugin.
                  +
                  Parameters:
                  plugin - - the original plugin.
                  +
                • +
                + + + +
                  +
                • +

                  getSendingFilters

                  +
                  java.util.Set<java.lang.Integer> getSendingFilters()
                  +
                  Retrieves a immutable set containing the ID of the sent server packets that will be + observed by the asynchronous listeners.
                  +
                  Returns:
                  Every filtered server packet.
                  +
                • +
                + + + +
                  +
                • +

                  getReceivingFilters

                  +
                  java.util.Set<java.lang.Integer> getReceivingFilters()
                  +
                  Retrieves a immutable set containing the ID of the recieved client packets that will be + observed by the asynchronous listeners.
                  +
                  Returns:
                  Every filtered client packet.
                  +
                • +
                + + + +
                  +
                • +

                  hasAsynchronousListeners

                  +
                  boolean hasAsynchronousListeners(PacketEvent packet)
                  +
                  Determine if a given synchronous packet has asynchronous listeners.
                  +
                  Parameters:
                  packet - - packet to test.
                  +
                  Returns:
                  TRUE if it does, FALSE otherwise.
                  +
                • +
                + + + +
                  +
                • +

                  getPacketStream

                  +
                  PacketStream getPacketStream()
                  +
                  Retrieve the default packet stream.
                  +
                  Returns:
                  Default packet stream.
                  +
                • +
                + + + +
                  +
                • +

                  getLogger

                  +
                  java.util.logging.Logger getLogger()
                  +
                  Retrieve the default error logger.
                  +
                  Returns:
                  Default logger.
                  +
                • +
                + + + +
                  +
                • +

                  cleanupAll

                  +
                  void cleanupAll()
                  +
                  Remove listeners, close threads and transmit every delayed packet.
                  +
                • +
                + + + +
                  +
                • +

                  signalPacketTransmission

                  +
                  void signalPacketTransmission(PacketEvent packet)
                  +
                  Signal that a packet is ready to be transmitted. +

                  + This should only be called if AsyncMarker.incrementProcessingDelay() + has been called previously.

                  +
                  Parameters:
                  packet - - packet to signal.
                  +
                • +
                +
              • +
              +
            • +
            +
            +
            + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/PacketStream.html b/Javadoc/com/comphenix/protocol/PacketStream.html index d57118af..40d57530 100644 --- a/Javadoc/com/comphenix/protocol/PacketStream.html +++ b/Javadoc/com/comphenix/protocol/PacketStream.html @@ -1,300 +1,300 @@ - - - - - -PacketStream - - - - - - - - - - - -
            -
            com.comphenix.protocol
            -

            Interface PacketStream

            -
            -
            -
            -
              -
            • -
              -
              All Known Subinterfaces:
              -
              ProtocolManager
              -
              -
              -
              All Known Implementing Classes:
              -
              PacketFilterManager
              -
              -
              -
              -
              public interface PacketStream
              -
              Represents a object capable of sending or receiving packets.
              -
              Author:
              -
              Kristian
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Method Summary

                - - - - - - - - - - - - - - - - - - - - - - -
                Methods 
                Modifier and TypeMethod and Description
                voidrecieveClientPacket(org.bukkit.entity.Player sender, - PacketContainer packet) -
                Simulate recieving a certain packet from a given player.
                -
                voidrecieveClientPacket(org.bukkit.entity.Player sender, - PacketContainer packet, - boolean filters) -
                Simulate recieving a certain packet from a given player.
                -
                voidsendServerPacket(org.bukkit.entity.Player reciever, - PacketContainer packet) -
                Send a packet to the given player.
                -
                voidsendServerPacket(org.bukkit.entity.Player reciever, - PacketContainer packet, - boolean filters) -
                Send a packet to the given player.
                -
                -
              • -
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Method Detail

                - - - -
                  -
                • -

                  sendServerPacket

                  -
                  void sendServerPacket(org.bukkit.entity.Player reciever,
                  -                    PacketContainer packet)
                  -                      throws java.lang.reflect.InvocationTargetException
                  -
                  Send a packet to the given player.
                  -
                  Parameters:
                  reciever - - the reciever.
                  packet - - packet to send.
                  -
                  Throws:
                  -
                  java.lang.reflect.InvocationTargetException - - if an error occured when sending the packet.
                  -
                • -
                - - - -
                  -
                • -

                  sendServerPacket

                  -
                  void sendServerPacket(org.bukkit.entity.Player reciever,
                  -                    PacketContainer packet,
                  -                    boolean filters)
                  -                      throws java.lang.reflect.InvocationTargetException
                  -
                  Send a packet to the given player.
                  -
                  Parameters:
                  reciever - - the reciever.
                  packet - - packet to send.
                  filters - - whether or not to invoke any packet filters.
                  -
                  Throws:
                  -
                  java.lang.reflect.InvocationTargetException - - if an error occured when sending the packet.
                  -
                • -
                - - - -
                  -
                • -

                  recieveClientPacket

                  -
                  void recieveClientPacket(org.bukkit.entity.Player sender,
                  -                       PacketContainer packet)
                  -                         throws java.lang.IllegalAccessException,
                  -                                java.lang.reflect.InvocationTargetException
                  -
                  Simulate recieving a certain packet from a given player.
                  -
                  Parameters:
                  sender - - the sender.
                  packet - - the packet that was sent.
                  -
                  Throws:
                  -
                  java.lang.reflect.InvocationTargetException - If the reflection machinery failed.
                  -
                  java.lang.IllegalAccessException - If the underlying method caused an error.
                  -
                • -
                - - - -
                  -
                • -

                  recieveClientPacket

                  -
                  void recieveClientPacket(org.bukkit.entity.Player sender,
                  -                       PacketContainer packet,
                  -                       boolean filters)
                  -                         throws java.lang.IllegalAccessException,
                  -                                java.lang.reflect.InvocationTargetException
                  -
                  Simulate recieving a certain packet from a given player.
                  -
                  Parameters:
                  sender - - the sender.
                  packet - - the packet that was sent.
                  filters - - whether or not to invoke any packet filters.
                  -
                  Throws:
                  -
                  java.lang.reflect.InvocationTargetException - If the reflection machinery failed.
                  -
                  java.lang.IllegalAccessException - If the underlying method caused an error.
                  -
                • -
                -
              • -
              -
            • -
            -
            -
            - - - - - - - + + + + + +PacketStream + + + + + + + + + + + +
            +
            com.comphenix.protocol
            +

            Interface PacketStream

            +
            +
            +
            +
              +
            • +
              +
              All Known Subinterfaces:
              +
              ProtocolManager
              +
              +
              +
              All Known Implementing Classes:
              +
              PacketFilterManager
              +
              +
              +
              +
              public interface PacketStream
              +
              Represents a object capable of sending or receiving packets.
              +
              Author:
              +
              Kristian
              +
            • +
            +
            +
            +
              +
            • + +
                +
              • + + +

                Method Summary

                + + + + + + + + + + + + + + + + + + + + + + +
                Methods 
                Modifier and TypeMethod and Description
                voidrecieveClientPacket(org.bukkit.entity.Player sender, + PacketContainer packet) +
                Simulate recieving a certain packet from a given player.
                +
                voidrecieveClientPacket(org.bukkit.entity.Player sender, + PacketContainer packet, + boolean filters) +
                Simulate recieving a certain packet from a given player.
                +
                voidsendServerPacket(org.bukkit.entity.Player reciever, + PacketContainer packet) +
                Send a packet to the given player.
                +
                voidsendServerPacket(org.bukkit.entity.Player reciever, + PacketContainer packet, + boolean filters) +
                Send a packet to the given player.
                +
                +
              • +
              +
            • +
            +
            +
            +
              +
            • + +
                +
              • + + +

                Method Detail

                + + + +
                  +
                • +

                  sendServerPacket

                  +
                  void sendServerPacket(org.bukkit.entity.Player reciever,
                  +                    PacketContainer packet)
                  +                      throws java.lang.reflect.InvocationTargetException
                  +
                  Send a packet to the given player.
                  +
                  Parameters:
                  reciever - - the reciever.
                  packet - - packet to send.
                  +
                  Throws:
                  +
                  java.lang.reflect.InvocationTargetException - - if an error occured when sending the packet.
                  +
                • +
                + + + +
                  +
                • +

                  sendServerPacket

                  +
                  void sendServerPacket(org.bukkit.entity.Player reciever,
                  +                    PacketContainer packet,
                  +                    boolean filters)
                  +                      throws java.lang.reflect.InvocationTargetException
                  +
                  Send a packet to the given player.
                  +
                  Parameters:
                  reciever - - the reciever.
                  packet - - packet to send.
                  filters - - whether or not to invoke any packet filters.
                  +
                  Throws:
                  +
                  java.lang.reflect.InvocationTargetException - - if an error occured when sending the packet.
                  +
                • +
                + + + +
                  +
                • +

                  recieveClientPacket

                  +
                  void recieveClientPacket(org.bukkit.entity.Player sender,
                  +                       PacketContainer packet)
                  +                         throws java.lang.IllegalAccessException,
                  +                                java.lang.reflect.InvocationTargetException
                  +
                  Simulate recieving a certain packet from a given player.
                  +
                  Parameters:
                  sender - - the sender.
                  packet - - the packet that was sent.
                  +
                  Throws:
                  +
                  java.lang.reflect.InvocationTargetException - If the reflection machinery failed.
                  +
                  java.lang.IllegalAccessException - If the underlying method caused an error.
                  +
                • +
                + + + +
                  +
                • +

                  recieveClientPacket

                  +
                  void recieveClientPacket(org.bukkit.entity.Player sender,
                  +                       PacketContainer packet,
                  +                       boolean filters)
                  +                         throws java.lang.IllegalAccessException,
                  +                                java.lang.reflect.InvocationTargetException
                  +
                  Simulate recieving a certain packet from a given player.
                  +
                  Parameters:
                  sender - - the sender.
                  packet - - the packet that was sent.
                  filters - - whether or not to invoke any packet filters.
                  +
                  Throws:
                  +
                  java.lang.reflect.InvocationTargetException - If the reflection machinery failed.
                  +
                  java.lang.IllegalAccessException - If the underlying method caused an error.
                  +
                • +
                +
              • +
              +
            • +
            +
            +
            + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/Packets.Client.html b/Javadoc/com/comphenix/protocol/Packets.Client.html index f906c567..043109fe 100644 --- a/Javadoc/com/comphenix/protocol/Packets.Client.html +++ b/Javadoc/com/comphenix/protocol/Packets.Client.html @@ -1,722 +1,722 @@ - - - - - -Packets.Client - - - - - - - - - - - -
            -
            com.comphenix.protocol
            -

            Class Packets.Client

            -
            -
            - -
            -
              -
            • -
              -
              Enclosing class:
              -
              Packets
              -
              -
              -
              -
              public static class Packets.Client
              -extends IntEnum
              -
              List of packets sent by the client.
              -
              Author:
              -
              Kristian
              -
            • -
            -
            -
            - -
            -
            - -
            -
            - - - - - - - + + + + + +Packets.Client + + + + + + + + + + + +
            +
            com.comphenix.protocol
            +

            Class Packets.Client

            +
            +
            + +
            +
              +
            • +
              +
              Enclosing class:
              +
              Packets
              +
              +
              +
              +
              public static class Packets.Client
              +extends IntEnum
              +
              List of packets sent by the client.
              +
              Author:
              +
              Kristian
              +
            • +
            +
            +
            + +
            +
            + +
            +
            + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/Packets.Server.html b/Javadoc/com/comphenix/protocol/Packets.Server.html index 4112578a..095270bf 100644 --- a/Javadoc/com/comphenix/protocol/Packets.Server.html +++ b/Javadoc/com/comphenix/protocol/Packets.Server.html @@ -1,1212 +1,1212 @@ - - - - - -Packets.Server - - - - - - - - - - - -
            -
            com.comphenix.protocol
            -

            Class Packets.Server

            -
            -
            - -
            -
              -
            • -
              -
              Enclosing class:
              -
              Packets
              -
              -
              -
              -
              public static final class Packets.Server
              -extends IntEnum
              -
              List of packets sent only by the server.
              -
              Author:
              -
              Kristian
              -
            • -
            -
            -
            - -
            -
            - -
            -
            - - - - - - - + + + + + +Packets.Server + + + + + + + + + + + +
            +
            com.comphenix.protocol
            +

            Class Packets.Server

            +
            +
            + +
            +
              +
            • +
              +
              Enclosing class:
              +
              Packets
              +
              +
              +
              +
              public static final class Packets.Server
              +extends IntEnum
              +
              List of packets sent only by the server.
              +
              Author:
              +
              Kristian
              +
            • +
            +
            +
            + +
            +
            + +
            +
            + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/Packets.html b/Javadoc/com/comphenix/protocol/Packets.html index 8e10b7cf..a4a0b57f 100644 --- a/Javadoc/com/comphenix/protocol/Packets.html +++ b/Javadoc/com/comphenix/protocol/Packets.html @@ -1,343 +1,343 @@ - - - - - -Packets - - - - - - - - - - - -
            -
            com.comphenix.protocol
            -

            Class Packets

            -
            -
            -
              -
            • java.lang.Object
            • -
            • -
                -
              • com.comphenix.protocol.Packets
              • -
              -
            • -
            -
            -
              -
            • -
              -
              -
              public final class Packets
              -extends java.lang.Object
              -
              List of known packet IDs since 1.3.2.
              -
              Author:
              -
              Kristian
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Nested Class Summary

                - - - - - - - - - - - - - - -
                Nested Classes 
                Modifier and TypeClass and Description
                static class Packets.Client -
                List of packets sent by the client.
                -
                static class Packets.Server -
                List of packets sent only by the server.
                -
                -
              • -
              - -
                -
              • - - -

                Constructor Summary

                - - - - - - - - -
                Constructors 
                Constructor and Description
                Packets() 
                -
              • -
              - -
                -
              • - - -

                Method Summary

                - - - - - - - - - - - - - - - - - - - - - - -
                Methods 
                Modifier and TypeMethod and Description
                static Packets.ClientgetClientRegistry() -
                A registry that parses between names and packet IDs.
                -
                static java.lang.StringgetDeclaredName(int packetID) -
                Retrieves the name of a packet.
                -
                static Packets.ServergetServerRegistry() -
                A registry that parses between names and packet IDs.
                -
                static intvalueOf(java.lang.String name) -
                Find a packet by name.
                -
                -
                  -
                • - - -

                  Methods inherited from class java.lang.Object

                  -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
                • -
                -
              • -
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Constructor Detail

                - - - -
                  -
                • -

                  Packets

                  -
                  public Packets()
                  -
                • -
                -
              • -
              - -
                -
              • - - -

                Method Detail

                - - - -
                  -
                • -

                  getServerRegistry

                  -
                  public static Packets.Server getServerRegistry()
                  -
                  A registry that parses between names and packet IDs.
                  -
                  Returns:
                  The current client registry.
                  -
                • -
                - - - -
                  -
                • -

                  getClientRegistry

                  -
                  public static Packets.Client getClientRegistry()
                  -
                  A registry that parses between names and packet IDs.
                  -
                  Returns:
                  The current server registry.
                  -
                • -
                - - - -
                  -
                • -

                  valueOf

                  -
                  public static int valueOf(java.lang.String name)
                  -
                  Find a packet by name. Must be capitalized and use underscores.
                  -
                  Parameters:
                  name - - name of packet to find.
                  -
                  Returns:
                  The packet ID found.
                  -
                • -
                - - - -
                  -
                • -

                  getDeclaredName

                  -
                  public static java.lang.String getDeclaredName(int packetID)
                  -
                  Retrieves the name of a packet.
                  -
                  Parameters:
                  packetID - - packet to retrieve name.
                  -
                  Returns:
                  The name, or NULL if unable to find such a packet.
                  -
                • -
                -
              • -
              -
            • -
            -
            -
            - - - - - - - + + + + + +Packets + + + + + + + + + + + +
            +
            com.comphenix.protocol
            +

            Class Packets

            +
            +
            +
              +
            • java.lang.Object
            • +
            • +
                +
              • com.comphenix.protocol.Packets
              • +
              +
            • +
            +
            +
              +
            • +
              +
              +
              public final class Packets
              +extends java.lang.Object
              +
              List of known packet IDs since 1.3.2.
              +
              Author:
              +
              Kristian
              +
            • +
            +
            +
            +
              +
            • + +
                +
              • + + +

                Nested Class Summary

                + + + + + + + + + + + + + + +
                Nested Classes 
                Modifier and TypeClass and Description
                static class Packets.Client +
                List of packets sent by the client.
                +
                static class Packets.Server +
                List of packets sent only by the server.
                +
                +
              • +
              + +
                +
              • + + +

                Constructor Summary

                + + + + + + + + +
                Constructors 
                Constructor and Description
                Packets() 
                +
              • +
              + +
                +
              • + + +

                Method Summary

                + + + + + + + + + + + + + + + + + + + + + + +
                Methods 
                Modifier and TypeMethod and Description
                static Packets.ClientgetClientRegistry() +
                A registry that parses between names and packet IDs.
                +
                static java.lang.StringgetDeclaredName(int packetID) +
                Retrieves the name of a packet.
                +
                static Packets.ServergetServerRegistry() +
                A registry that parses between names and packet IDs.
                +
                static intvalueOf(java.lang.String name) +
                Find a packet by name.
                +
                +
                  +
                • + + +

                  Methods inherited from class java.lang.Object

                  +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
                • +
                +
              • +
              +
            • +
            +
            +
            +
              +
            • + +
                +
              • + + +

                Constructor Detail

                + + + +
                  +
                • +

                  Packets

                  +
                  public Packets()
                  +
                • +
                +
              • +
              + +
                +
              • + + +

                Method Detail

                + + + +
                  +
                • +

                  getServerRegistry

                  +
                  public static Packets.Server getServerRegistry()
                  +
                  A registry that parses between names and packet IDs.
                  +
                  Returns:
                  The current client registry.
                  +
                • +
                + + + +
                  +
                • +

                  getClientRegistry

                  +
                  public static Packets.Client getClientRegistry()
                  +
                  A registry that parses between names and packet IDs.
                  +
                  Returns:
                  The current server registry.
                  +
                • +
                + + + +
                  +
                • +

                  valueOf

                  +
                  public static int valueOf(java.lang.String name)
                  +
                  Find a packet by name. Must be capitalized and use underscores.
                  +
                  Parameters:
                  name - - name of packet to find.
                  +
                  Returns:
                  The packet ID found.
                  +
                • +
                + + + +
                  +
                • +

                  getDeclaredName

                  +
                  public static java.lang.String getDeclaredName(int packetID)
                  +
                  Retrieves the name of a packet.
                  +
                  Parameters:
                  packetID - - packet to retrieve name.
                  +
                  Returns:
                  The name, or NULL if unable to find such a packet.
                  +
                • +
                +
              • +
              +
            • +
            +
            +
            + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/ProtocolLibrary.html b/Javadoc/com/comphenix/protocol/ProtocolLibrary.html index 4e8b949d..0fdc09e3 100644 --- a/Javadoc/com/comphenix/protocol/ProtocolLibrary.html +++ b/Javadoc/com/comphenix/protocol/ProtocolLibrary.html @@ -1,367 +1,367 @@ - - - - - -ProtocolLibrary - - - - - - - - - - - -
            -
            com.comphenix.protocol
            -

            Class ProtocolLibrary

            -
            -
            -
              -
            • java.lang.Object
            • -
            • -
                -
              • org.bukkit.plugin.PluginBase
              • -
              • -
                  -
                • org.bukkit.plugin.java.JavaPlugin
                • -
                • -
                    -
                  • com.comphenix.protocol.ProtocolLibrary
                  • -
                  -
                • -
                -
              • -
              -
            • -
            -
            -
              -
            • -
              -
              All Implemented Interfaces:
              -
              org.bukkit.command.CommandExecutor, org.bukkit.plugin.Plugin
              -
              -
              -
              -
              public class ProtocolLibrary
              -extends org.bukkit.plugin.java.JavaPlugin
              -
              The main entry point for ProtocolLib.
              -
              Author:
              -
              Kristian
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Constructor Summary

                - - - - - - - - -
                Constructors 
                Constructor and Description
                ProtocolLibrary() 
                -
              • -
              - -
                -
              • - - -

                Method Summary

                - - - - - - - - - - - - - - - - - - - - - - - - - - -
                Methods 
                Modifier and TypeMethod and Description
                static ProtocolManagergetProtocolManager() -
                Retrieves the packet protocol manager.
                -
                StatisticsgetStatistics() -
                Retrieve the metrics instance used to measure users of this library.
                -
                voidonDisable() 
                voidonEnable() 
                voidonLoad() 
                -
                  -
                • - - -

                  Methods inherited from class org.bukkit.plugin.java.JavaPlugin

                  -getClassLoader, getCommand, getConfig, getDatabase, getDatabaseClasses, getDataFolder, getDefaultWorldGenerator, getDescription, getFile, getLogger, getPluginLoader, getResource, getServer, initialize, installDDL, isEnabled, isInitialized, isNaggable, onCommand, reloadConfig, removeDDL, saveConfig, saveDefaultConfig, saveResource, setEnabled, setNaggable, toString
                • -
                -
                  -
                • - - -

                  Methods inherited from class org.bukkit.plugin.PluginBase

                  -equals, getName, hashCode
                • -
                -
                  -
                • - - -

                  Methods inherited from class java.lang.Object

                  -clone, finalize, getClass, notify, notifyAll, wait, wait, wait
                • -
                -
              • -
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Constructor Detail

                - - - -
                  -
                • -

                  ProtocolLibrary

                  -
                  public ProtocolLibrary()
                  -
                • -
                -
              • -
              - -
                -
              • - - -

                Method Detail

                - - - -
                  -
                • -

                  onLoad

                  -
                  public void onLoad()
                  -
                  -
                  Specified by:
                  -
                  onLoad in interface org.bukkit.plugin.Plugin
                  -
                  Overrides:
                  -
                  onLoad in class org.bukkit.plugin.java.JavaPlugin
                  -
                  -
                • -
                - - - -
                  -
                • -

                  onEnable

                  -
                  public void onEnable()
                  -
                  -
                  Specified by:
                  -
                  onEnable in interface org.bukkit.plugin.Plugin
                  -
                  Overrides:
                  -
                  onEnable in class org.bukkit.plugin.java.JavaPlugin
                  -
                  -
                • -
                - - - -
                  -
                • -

                  onDisable

                  -
                  public void onDisable()
                  -
                  -
                  Specified by:
                  -
                  onDisable in interface org.bukkit.plugin.Plugin
                  -
                  Overrides:
                  -
                  onDisable in class org.bukkit.plugin.java.JavaPlugin
                  -
                  -
                • -
                - - - -
                  -
                • -

                  getProtocolManager

                  -
                  public static ProtocolManager getProtocolManager()
                  -
                  Retrieves the packet protocol manager.
                  -
                  Returns:
                  Packet protocol manager, or NULL if it has been disabled.
                  -
                • -
                - - - -
                  -
                • -

                  getStatistics

                  -
                  public Statistics getStatistics()
                  -
                  Retrieve the metrics instance used to measure users of this library. -

                  - Note that this method may return NULL when the server is reloading or shutting down.

                  -
                  Returns:
                  Metrics instance container.
                  -
                • -
                -
              • -
              -
            • -
            -
            -
            - - - - - - - + + + + + +ProtocolLibrary + + + + + + + + + + + +
            +
            com.comphenix.protocol
            +

            Class ProtocolLibrary

            +
            +
            +
              +
            • java.lang.Object
            • +
            • +
                +
              • org.bukkit.plugin.PluginBase
              • +
              • +
                  +
                • org.bukkit.plugin.java.JavaPlugin
                • +
                • +
                    +
                  • com.comphenix.protocol.ProtocolLibrary
                  • +
                  +
                • +
                +
              • +
              +
            • +
            +
            +
              +
            • +
              +
              All Implemented Interfaces:
              +
              org.bukkit.command.CommandExecutor, org.bukkit.plugin.Plugin
              +
              +
              +
              +
              public class ProtocolLibrary
              +extends org.bukkit.plugin.java.JavaPlugin
              +
              The main entry point for ProtocolLib.
              +
              Author:
              +
              Kristian
              +
            • +
            +
            +
            +
              +
            • + +
                +
              • + + +

                Constructor Summary

                + + + + + + + + +
                Constructors 
                Constructor and Description
                ProtocolLibrary() 
                +
              • +
              + +
                +
              • + + +

                Method Summary

                + + + + + + + + + + + + + + + + + + + + + + + + + + +
                Methods 
                Modifier and TypeMethod and Description
                static ProtocolManagergetProtocolManager() +
                Retrieves the packet protocol manager.
                +
                StatisticsgetStatistics() +
                Retrieve the metrics instance used to measure users of this library.
                +
                voidonDisable() 
                voidonEnable() 
                voidonLoad() 
                +
                  +
                • + + +

                  Methods inherited from class org.bukkit.plugin.java.JavaPlugin

                  +getClassLoader, getCommand, getConfig, getDatabase, getDatabaseClasses, getDataFolder, getDefaultWorldGenerator, getDescription, getFile, getLogger, getPluginLoader, getResource, getServer, initialize, installDDL, isEnabled, isInitialized, isNaggable, onCommand, reloadConfig, removeDDL, saveConfig, saveDefaultConfig, saveResource, setEnabled, setNaggable, toString
                • +
                +
                  +
                • + + +

                  Methods inherited from class org.bukkit.plugin.PluginBase

                  +equals, getName, hashCode
                • +
                +
                  +
                • + + +

                  Methods inherited from class java.lang.Object

                  +clone, finalize, getClass, notify, notifyAll, wait, wait, wait
                • +
                +
              • +
              +
            • +
            +
            +
            +
              +
            • + +
                +
              • + + +

                Constructor Detail

                + + + +
                  +
                • +

                  ProtocolLibrary

                  +
                  public ProtocolLibrary()
                  +
                • +
                +
              • +
              + +
                +
              • + + +

                Method Detail

                + + + +
                  +
                • +

                  onLoad

                  +
                  public void onLoad()
                  +
                  +
                  Specified by:
                  +
                  onLoad in interface org.bukkit.plugin.Plugin
                  +
                  Overrides:
                  +
                  onLoad in class org.bukkit.plugin.java.JavaPlugin
                  +
                  +
                • +
                + + + +
                  +
                • +

                  onEnable

                  +
                  public void onEnable()
                  +
                  +
                  Specified by:
                  +
                  onEnable in interface org.bukkit.plugin.Plugin
                  +
                  Overrides:
                  +
                  onEnable in class org.bukkit.plugin.java.JavaPlugin
                  +
                  +
                • +
                + + + +
                  +
                • +

                  onDisable

                  +
                  public void onDisable()
                  +
                  +
                  Specified by:
                  +
                  onDisable in interface org.bukkit.plugin.Plugin
                  +
                  Overrides:
                  +
                  onDisable in class org.bukkit.plugin.java.JavaPlugin
                  +
                  +
                • +
                + + + +
                  +
                • +

                  getProtocolManager

                  +
                  public static ProtocolManager getProtocolManager()
                  +
                  Retrieves the packet protocol manager.
                  +
                  Returns:
                  Packet protocol manager, or NULL if it has been disabled.
                  +
                • +
                + + + +
                  +
                • +

                  getStatistics

                  +
                  public Statistics getStatistics()
                  +
                  Retrieve the metrics instance used to measure users of this library. +

                  + Note that this method may return NULL when the server is reloading or shutting down.

                  +
                  Returns:
                  Metrics instance container.
                  +
                • +
                +
              • +
              +
            • +
            +
            +
            + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/ProtocolManager.html b/Javadoc/com/comphenix/protocol/ProtocolManager.html index c3dcfed3..c56286be 100644 --- a/Javadoc/com/comphenix/protocol/ProtocolManager.html +++ b/Javadoc/com/comphenix/protocol/ProtocolManager.html @@ -1,442 +1,442 @@ - - - - - -ProtocolManager - - - - - - - - - - - -
            -
            com.comphenix.protocol
            -

            Interface ProtocolManager

            -
            -
            -
            -
              -
            • -
              -
              All Superinterfaces:
              -
              PacketStream
              -
              -
              -
              All Known Implementing Classes:
              -
              PacketFilterManager
              -
              -
              -
              -
              public interface ProtocolManager
              -extends PacketStream
              -
              Represents an API for accessing the Minecraft protocol.
              -
              Author:
              -
              Kristian
              -
            • -
            -
            -
            - -
            -
            -
              -
            • - -
                -
              • - - -

                Method Detail

                - - - -
                  -
                • -

                  getPacketListeners

                  -
                  com.google.common.collect.ImmutableSet<PacketListener> getPacketListeners()
                  -
                  Retrieves a list of every registered packet listener.
                  -
                  Returns:
                  Every registered packet listener.
                  -
                • -
                - - - -
                  -
                • -

                  addPacketListener

                  -
                  void addPacketListener(PacketListener listener)
                  -
                  Adds a packet listener. -

                  - Adding an already registered listener has no effect. If you need to change the packets - the current listener is observing, you must first remove the packet listener before you - can register it again.

                  -
                  Parameters:
                  listener - - new packet listener.
                  -
                • -
                - - - -
                  -
                • -

                  removePacketListener

                  -
                  void removePacketListener(PacketListener listener)
                  -
                  Removes a given packet listener. -

                  - Attempting to remove a listener that doesn't exist has no effect.

                  -
                  Parameters:
                  listener - - the packet listener to remove.
                  -
                • -
                - - - -
                  -
                • -

                  removePacketListeners

                  -
                  void removePacketListeners(org.bukkit.plugin.Plugin plugin)
                  -
                  Removes every listener associated with the given plugin.
                  -
                  Parameters:
                  plugin - - the plugin to unload.
                  -
                • -
                - - - -
                  -
                • -

                  createPacket

                  -
                  PacketContainer createPacket(int id)
                  -
                  Constructs a new encapsulated Minecraft packet with the given ID.
                  -
                  Parameters:
                  id - - packet ID.
                  -
                  Returns:
                  New encapsulated Minecraft packet.
                  -
                • -
                - - - -
                  -
                • -

                  createPacket

                  -
                  PacketContainer createPacket(int id,
                  -                           boolean forceDefaults)
                  -
                  Constructs a new encapsulated Minecraft packet with the given ID. -

                  - If set to true, the forceDefaults option will force the system to automatically - give non-primitive fields in the packet sensible default values. For instance, certain - packets - like Packet60Explosion - require a List or Set to be non-null. If the - forceDefaults option is true, the List or Set will be automatically created.

                  -
                  Parameters:
                  id - - packet ID.
                  forceDefaults - - TRUE to use sensible defaults in most fields, FALSE otherwise.
                  -
                  Returns:
                  New encapsulated Minecraft packet.
                  -
                • -
                - - - -
                  -
                • -

                  createPacketConstructor

                  -
                  PacketConstructor createPacketConstructor(int id,
                  -                                        java.lang.Object... arguments)
                  -
                  Construct a packet using the special builtin Minecraft constructors.
                  -
                  Parameters:
                  id - - the packet ID.
                  arguments - - arguments that will be passed to the constructor.
                  -
                  Returns:
                  The packet constructor.
                  -
                • -
                - - - -
                  -
                • -

                  updateEntity

                  -
                  void updateEntity(org.bukkit.entity.Entity entity,
                  -                java.util.List<org.bukkit.entity.Player> observers)
                  -                  throws FieldAccessException
                  -
                  Completely refresh all clients about an entity. -

                  - Note that this method is NOT thread safe. If you call this method from anything - but the main thread, it will throw an exception.

                  -
                  Parameters:
                  entity - - entity to refresh.
                  observers - - the clients to update.
                  -
                  Throws:
                  -
                  FieldAccessException
                  -
                • -
                - - - -
                  -
                • -

                  getSendingFilters

                  -
                  java.util.Set<java.lang.Integer> getSendingFilters()
                  -
                  Retrieves a immutable set containing the ID of the sent server packets that will be observed by listeners.
                  -
                  Returns:
                  Every filtered server packet.
                  -
                • -
                - - - -
                  -
                • -

                  getReceivingFilters

                  -
                  java.util.Set<java.lang.Integer> getReceivingFilters()
                  -
                  Retrieves a immutable set containing the ID of the recieved client packets that will be observed by listeners.
                  -
                  Returns:
                  Every filtered client packet.
                  -
                • -
                - - - -
                  -
                • -

                  isClosed

                  -
                  boolean isClosed()
                  -
                  Determines whether or not this protocol mananger has been disabled.
                  -
                  Returns:
                  TRUE if it has, FALSE otherwise.
                  -
                • -
                - - - -
                  -
                • -

                  getAsynchronousManager

                  -
                  AsynchronousManager getAsynchronousManager()
                  -
                  Retrieve the current asyncronous packet manager.
                  -
                  Returns:
                  Asyncronous packet manager.
                  -
                • -
                -
              • -
              -
            • -
            -
            -
            - - - - - - - + + + + + +ProtocolManager + + + + + + + + + + + +
            +
            com.comphenix.protocol
            +

            Interface ProtocolManager

            +
            +
            +
            +
              +
            • +
              +
              All Superinterfaces:
              +
              PacketStream
              +
              +
              +
              All Known Implementing Classes:
              +
              PacketFilterManager
              +
              +
              +
              +
              public interface ProtocolManager
              +extends PacketStream
              +
              Represents an API for accessing the Minecraft protocol.
              +
              Author:
              +
              Kristian
              +
            • +
            +
            +
            + +
            +
            +
              +
            • + +
                +
              • + + +

                Method Detail

                + + + +
                  +
                • +

                  getPacketListeners

                  +
                  com.google.common.collect.ImmutableSet<PacketListener> getPacketListeners()
                  +
                  Retrieves a list of every registered packet listener.
                  +
                  Returns:
                  Every registered packet listener.
                  +
                • +
                + + + +
                  +
                • +

                  addPacketListener

                  +
                  void addPacketListener(PacketListener listener)
                  +
                  Adds a packet listener. +

                  + Adding an already registered listener has no effect. If you need to change the packets + the current listener is observing, you must first remove the packet listener before you + can register it again.

                  +
                  Parameters:
                  listener - - new packet listener.
                  +
                • +
                + + + +
                  +
                • +

                  removePacketListener

                  +
                  void removePacketListener(PacketListener listener)
                  +
                  Removes a given packet listener. +

                  + Attempting to remove a listener that doesn't exist has no effect.

                  +
                  Parameters:
                  listener - - the packet listener to remove.
                  +
                • +
                + + + +
                  +
                • +

                  removePacketListeners

                  +
                  void removePacketListeners(org.bukkit.plugin.Plugin plugin)
                  +
                  Removes every listener associated with the given plugin.
                  +
                  Parameters:
                  plugin - - the plugin to unload.
                  +
                • +
                + + + +
                  +
                • +

                  createPacket

                  +
                  PacketContainer createPacket(int id)
                  +
                  Constructs a new encapsulated Minecraft packet with the given ID.
                  +
                  Parameters:
                  id - - packet ID.
                  +
                  Returns:
                  New encapsulated Minecraft packet.
                  +
                • +
                + + + +
                  +
                • +

                  createPacket

                  +
                  PacketContainer createPacket(int id,
                  +                           boolean forceDefaults)
                  +
                  Constructs a new encapsulated Minecraft packet with the given ID. +

                  + If set to true, the forceDefaults option will force the system to automatically + give non-primitive fields in the packet sensible default values. For instance, certain + packets - like Packet60Explosion - require a List or Set to be non-null. If the + forceDefaults option is true, the List or Set will be automatically created.

                  +
                  Parameters:
                  id - - packet ID.
                  forceDefaults - - TRUE to use sensible defaults in most fields, FALSE otherwise.
                  +
                  Returns:
                  New encapsulated Minecraft packet.
                  +
                • +
                + + + +
                  +
                • +

                  createPacketConstructor

                  +
                  PacketConstructor createPacketConstructor(int id,
                  +                                        java.lang.Object... arguments)
                  +
                  Construct a packet using the special builtin Minecraft constructors.
                  +
                  Parameters:
                  id - - the packet ID.
                  arguments - - arguments that will be passed to the constructor.
                  +
                  Returns:
                  The packet constructor.
                  +
                • +
                + + + +
                  +
                • +

                  updateEntity

                  +
                  void updateEntity(org.bukkit.entity.Entity entity,
                  +                java.util.List<org.bukkit.entity.Player> observers)
                  +                  throws FieldAccessException
                  +
                  Completely refresh all clients about an entity. +

                  + Note that this method is NOT thread safe. If you call this method from anything + but the main thread, it will throw an exception.

                  +
                  Parameters:
                  entity - - entity to refresh.
                  observers - - the clients to update.
                  +
                  Throws:
                  +
                  FieldAccessException
                  +
                • +
                + + + +
                  +
                • +

                  getSendingFilters

                  +
                  java.util.Set<java.lang.Integer> getSendingFilters()
                  +
                  Retrieves a immutable set containing the ID of the sent server packets that will be observed by listeners.
                  +
                  Returns:
                  Every filtered server packet.
                  +
                • +
                + + + +
                  +
                • +

                  getReceivingFilters

                  +
                  java.util.Set<java.lang.Integer> getReceivingFilters()
                  +
                  Retrieves a immutable set containing the ID of the recieved client packets that will be observed by listeners.
                  +
                  Returns:
                  Every filtered client packet.
                  +
                • +
                + + + +
                  +
                • +

                  isClosed

                  +
                  boolean isClosed()
                  +
                  Determines whether or not this protocol mananger has been disabled.
                  +
                  Returns:
                  TRUE if it has, FALSE otherwise.
                  +
                • +
                + + + +
                  +
                • +

                  getAsynchronousManager

                  +
                  AsynchronousManager getAsynchronousManager()
                  +
                  Retrieve the current asyncronous packet manager.
                  +
                  Returns:
                  Asyncronous packet manager.
                  +
                • +
                +
              • +
              +
            • +
            +
            +
            + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/async/AsyncFilterManager.html b/Javadoc/com/comphenix/protocol/async/AsyncFilterManager.html index 326c714e..da08eb31 100644 --- a/Javadoc/com/comphenix/protocol/async/AsyncFilterManager.html +++ b/Javadoc/com/comphenix/protocol/async/AsyncFilterManager.html @@ -1,611 +1,611 @@ - - - - - -AsyncFilterManager - - - - - - - - - - - -
            -
            com.comphenix.protocol.async
            -

            Class AsyncFilterManager

            -
            -
            -
              -
            • java.lang.Object
            • -
            • -
                -
              • com.comphenix.protocol.async.AsyncFilterManager
              • -
              -
            • -
            -
            -
              -
            • -
              -
              All Implemented Interfaces:
              -
              AsynchronousManager
              -
              -
              -
              -
              public class AsyncFilterManager
              -extends java.lang.Object
              -implements AsynchronousManager
              -
              Represents a filter manager for asynchronous packets.
              -
              Author:
              -
              Kristian
              -
            • -
            -
            -
            - -
            -
            -
              -
            • - -
                -
              • - - -

                Constructor Detail

                - - - -
                  -
                • -

                  AsyncFilterManager

                  -
                  public AsyncFilterManager(java.util.logging.Logger logger,
                  -                  org.bukkit.scheduler.BukkitScheduler scheduler,
                  -                  ProtocolManager manager)
                  -
                • -
                -
              • -
              - -
                -
              • - - -

                Method Detail

                - - - -
                  -
                • -

                  registerAsyncHandler

                  -
                  public AsyncListenerHandler registerAsyncHandler(PacketListener listener)
                  -
                  Description copied from interface: AsynchronousManager
                  -
                  Registers an asynchronous packet handler. -

                  - To start listening asynchronously, pass the getListenerLoop() runnable to a different thread.

                  -
                  -
                  Specified by:
                  -
                  registerAsyncHandler in interface AsynchronousManager
                  -
                  Parameters:
                  listener - - the packet listener that will recieve these asynchronous events.
                  -
                  Returns:
                  An asynchrouns handler.
                  -
                • -
                - - - -
                  -
                • -

                  registerAsyncHandler

                  -
                  public AsyncListenerHandler registerAsyncHandler(PacketListener listener,
                  -                                        boolean autoInject)
                  -
                  Registers an asynchronous packet handler. -

                  - To start listening asynchronously, pass the getListenerLoop() runnable to a different thread. -

                  - Asynchronous events will only be executed if a synchronous listener with the same packets is registered. - If you already have a synchronous event, call this method with autoInject set to FALSE.

                  -
                  Parameters:
                  listener - - the packet listener that will recieve these asynchronous events.
                  autoInject - - whether or not to automatically create the corresponding synchronous listener,
                  -
                  Returns:
                  An asynchrouns handler.
                  -
                • -
                - - - - - - - -
                  -
                • -

                  unregisterAsyncHandlers

                  -
                  public void unregisterAsyncHandlers(org.bukkit.plugin.Plugin plugin)
                  -
                  Description copied from interface: AsynchronousManager
                  -
                  Unregisters every asynchronous handler associated with this plugin.
                  -
                  -
                  Specified by:
                  -
                  unregisterAsyncHandlers in interface AsynchronousManager
                  -
                  Parameters:
                  plugin - - the original plugin.
                  -
                • -
                - - - -
                  -
                • -

                  enqueueSyncPacket

                  -
                  public void enqueueSyncPacket(PacketEvent syncPacket,
                  -                     AsyncMarker asyncMarker)
                  -
                  Enqueue a packet for asynchronous processing.
                  -
                  Parameters:
                  syncPacket - - synchronous packet event.
                  asyncMarker - - the asynchronous marker to use.
                  -
                • -
                - - - -
                  -
                • -

                  getSendingFilters

                  -
                  public java.util.Set<java.lang.Integer> getSendingFilters()
                  -
                  Description copied from interface: AsynchronousManager
                  -
                  Retrieves a immutable set containing the ID of the sent server packets that will be - observed by the asynchronous listeners.
                  -
                  -
                  Specified by:
                  -
                  getSendingFilters in interface AsynchronousManager
                  -
                  Returns:
                  Every filtered server packet.
                  -
                • -
                - - - -
                  -
                • -

                  getReceivingFilters

                  -
                  public java.util.Set<java.lang.Integer> getReceivingFilters()
                  -
                  Description copied from interface: AsynchronousManager
                  -
                  Retrieves a immutable set containing the ID of the recieved client packets that will be - observed by the asynchronous listeners.
                  -
                  -
                  Specified by:
                  -
                  getReceivingFilters in interface AsynchronousManager
                  -
                  Returns:
                  Every filtered client packet.
                  -
                • -
                - - - -
                  -
                • -

                  scheduleAsyncTask

                  -
                  public void scheduleAsyncTask(org.bukkit.plugin.Plugin plugin,
                  -                     java.lang.Runnable runnable)
                  -
                  Used to create a default asynchronous task.
                  -
                  Parameters:
                  plugin - - the calling plugin.
                  runnable - - the runnable.
                  -
                • -
                - - - -
                  -
                • -

                  hasAsynchronousListeners

                  -
                  public boolean hasAsynchronousListeners(PacketEvent packet)
                  -
                  Description copied from interface: AsynchronousManager
                  -
                  Determine if a given synchronous packet has asynchronous listeners.
                  -
                  -
                  Specified by:
                  -
                  hasAsynchronousListeners in interface AsynchronousManager
                  -
                  Parameters:
                  packet - - packet to test.
                  -
                  Returns:
                  TRUE if it does, FALSE otherwise.
                  -
                • -
                - - - -
                  -
                • -

                  createAsyncMarker

                  -
                  public AsyncMarker createAsyncMarker()
                  -
                  Construct a asynchronous marker with all the default values.
                  -
                  Returns:
                  Asynchronous marker.
                  -
                • -
                - - - -
                  -
                • -

                  createAsyncMarker

                  -
                  public AsyncMarker createAsyncMarker(long sendingDelta,
                  -                            long timeoutDelta)
                  -
                  Construct an async marker with the given sending priority delta and timeout delta.
                  -
                  Parameters:
                  sendingDelta - - how many packets we're willing to wait.
                  timeoutDelta - - how long (in ms) until the packet expire.
                  -
                  Returns:
                  An async marker.
                  -
                • -
                - - - - - - - -
                  -
                • -

                  getLogger

                  -
                  public java.util.logging.Logger getLogger()
                  -
                  Description copied from interface: AsynchronousManager
                  -
                  Retrieve the default error logger.
                  -
                  -
                  Specified by:
                  -
                  getLogger in interface AsynchronousManager
                  -
                  Returns:
                  Default logger.
                  -
                • -
                - - - - - - - - - - - -
                  -
                • -

                  signalFreeProcessingSlot

                  -
                  public void signalFreeProcessingSlot(PacketEvent packet)
                  -
                  Signal that a packet has finished processing.
                  -
                  Parameters:
                  packet - - packet to signal.
                  -
                • -
                - - - -
                  -
                • -

                  sendProcessedPackets

                  -
                  public void sendProcessedPackets(int tickCounter,
                  -                        boolean onMainThread)
                  -
                  Send any due packets, or clean up packets that have expired.
                  -
                • -
                -
              • -
              -
            • -
            -
            -
            - - - - - - - + + + + + +AsyncFilterManager + + + + + + + + + + + +
            +
            com.comphenix.protocol.async
            +

            Class AsyncFilterManager

            +
            +
            +
              +
            • java.lang.Object
            • +
            • +
                +
              • com.comphenix.protocol.async.AsyncFilterManager
              • +
              +
            • +
            +
            +
              +
            • +
              +
              All Implemented Interfaces:
              +
              AsynchronousManager
              +
              +
              +
              +
              public class AsyncFilterManager
              +extends java.lang.Object
              +implements AsynchronousManager
              +
              Represents a filter manager for asynchronous packets.
              +
              Author:
              +
              Kristian
              +
            • +
            +
            +
            + +
            +
            +
              +
            • + +
                +
              • + + +

                Constructor Detail

                + + + +
                  +
                • +

                  AsyncFilterManager

                  +
                  public AsyncFilterManager(java.util.logging.Logger logger,
                  +                  org.bukkit.scheduler.BukkitScheduler scheduler,
                  +                  ProtocolManager manager)
                  +
                • +
                +
              • +
              + +
                +
              • + + +

                Method Detail

                + + + +
                  +
                • +

                  registerAsyncHandler

                  +
                  public AsyncListenerHandler registerAsyncHandler(PacketListener listener)
                  +
                  Description copied from interface: AsynchronousManager
                  +
                  Registers an asynchronous packet handler. +

                  + To start listening asynchronously, pass the getListenerLoop() runnable to a different thread.

                  +
                  +
                  Specified by:
                  +
                  registerAsyncHandler in interface AsynchronousManager
                  +
                  Parameters:
                  listener - - the packet listener that will recieve these asynchronous events.
                  +
                  Returns:
                  An asynchrouns handler.
                  +
                • +
                + + + +
                  +
                • +

                  registerAsyncHandler

                  +
                  public AsyncListenerHandler registerAsyncHandler(PacketListener listener,
                  +                                        boolean autoInject)
                  +
                  Registers an asynchronous packet handler. +

                  + To start listening asynchronously, pass the getListenerLoop() runnable to a different thread. +

                  + Asynchronous events will only be executed if a synchronous listener with the same packets is registered. + If you already have a synchronous event, call this method with autoInject set to FALSE.

                  +
                  Parameters:
                  listener - - the packet listener that will recieve these asynchronous events.
                  autoInject - - whether or not to automatically create the corresponding synchronous listener,
                  +
                  Returns:
                  An asynchrouns handler.
                  +
                • +
                + + + + + + + +
                  +
                • +

                  unregisterAsyncHandlers

                  +
                  public void unregisterAsyncHandlers(org.bukkit.plugin.Plugin plugin)
                  +
                  Description copied from interface: AsynchronousManager
                  +
                  Unregisters every asynchronous handler associated with this plugin.
                  +
                  +
                  Specified by:
                  +
                  unregisterAsyncHandlers in interface AsynchronousManager
                  +
                  Parameters:
                  plugin - - the original plugin.
                  +
                • +
                + + + +
                  +
                • +

                  enqueueSyncPacket

                  +
                  public void enqueueSyncPacket(PacketEvent syncPacket,
                  +                     AsyncMarker asyncMarker)
                  +
                  Enqueue a packet for asynchronous processing.
                  +
                  Parameters:
                  syncPacket - - synchronous packet event.
                  asyncMarker - - the asynchronous marker to use.
                  +
                • +
                + + + +
                  +
                • +

                  getSendingFilters

                  +
                  public java.util.Set<java.lang.Integer> getSendingFilters()
                  +
                  Description copied from interface: AsynchronousManager
                  +
                  Retrieves a immutable set containing the ID of the sent server packets that will be + observed by the asynchronous listeners.
                  +
                  +
                  Specified by:
                  +
                  getSendingFilters in interface AsynchronousManager
                  +
                  Returns:
                  Every filtered server packet.
                  +
                • +
                + + + +
                  +
                • +

                  getReceivingFilters

                  +
                  public java.util.Set<java.lang.Integer> getReceivingFilters()
                  +
                  Description copied from interface: AsynchronousManager
                  +
                  Retrieves a immutable set containing the ID of the recieved client packets that will be + observed by the asynchronous listeners.
                  +
                  +
                  Specified by:
                  +
                  getReceivingFilters in interface AsynchronousManager
                  +
                  Returns:
                  Every filtered client packet.
                  +
                • +
                + + + +
                  +
                • +

                  scheduleAsyncTask

                  +
                  public void scheduleAsyncTask(org.bukkit.plugin.Plugin plugin,
                  +                     java.lang.Runnable runnable)
                  +
                  Used to create a default asynchronous task.
                  +
                  Parameters:
                  plugin - - the calling plugin.
                  runnable - - the runnable.
                  +
                • +
                + + + +
                  +
                • +

                  hasAsynchronousListeners

                  +
                  public boolean hasAsynchronousListeners(PacketEvent packet)
                  +
                  Description copied from interface: AsynchronousManager
                  +
                  Determine if a given synchronous packet has asynchronous listeners.
                  +
                  +
                  Specified by:
                  +
                  hasAsynchronousListeners in interface AsynchronousManager
                  +
                  Parameters:
                  packet - - packet to test.
                  +
                  Returns:
                  TRUE if it does, FALSE otherwise.
                  +
                • +
                + + + +
                  +
                • +

                  createAsyncMarker

                  +
                  public AsyncMarker createAsyncMarker()
                  +
                  Construct a asynchronous marker with all the default values.
                  +
                  Returns:
                  Asynchronous marker.
                  +
                • +
                + + + +
                  +
                • +

                  createAsyncMarker

                  +
                  public AsyncMarker createAsyncMarker(long sendingDelta,
                  +                            long timeoutDelta)
                  +
                  Construct an async marker with the given sending priority delta and timeout delta.
                  +
                  Parameters:
                  sendingDelta - - how many packets we're willing to wait.
                  timeoutDelta - - how long (in ms) until the packet expire.
                  +
                  Returns:
                  An async marker.
                  +
                • +
                + + + + + + + +
                  +
                • +

                  getLogger

                  +
                  public java.util.logging.Logger getLogger()
                  +
                  Description copied from interface: AsynchronousManager
                  +
                  Retrieve the default error logger.
                  +
                  +
                  Specified by:
                  +
                  getLogger in interface AsynchronousManager
                  +
                  Returns:
                  Default logger.
                  +
                • +
                + + + + + + + + + + + +
                  +
                • +

                  signalFreeProcessingSlot

                  +
                  public void signalFreeProcessingSlot(PacketEvent packet)
                  +
                  Signal that a packet has finished processing.
                  +
                  Parameters:
                  packet - - packet to signal.
                  +
                • +
                + + + +
                  +
                • +

                  sendProcessedPackets

                  +
                  public void sendProcessedPackets(int tickCounter,
                  +                        boolean onMainThread)
                  +
                  Send any due packets, or clean up packets that have expired.
                  +
                • +
                +
              • +
              +
            • +
            +
            +
            + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/async/AsyncListenerHandler.html b/Javadoc/com/comphenix/protocol/async/AsyncListenerHandler.html index 69fbfbd6..eb7e737d 100644 --- a/Javadoc/com/comphenix/protocol/async/AsyncListenerHandler.html +++ b/Javadoc/com/comphenix/protocol/async/AsyncListenerHandler.html @@ -1,508 +1,508 @@ - - - - - -AsyncListenerHandler - - - - - - - - - - - -
            -
            com.comphenix.protocol.async
            -

            Class AsyncListenerHandler

            -
            -
            -
              -
            • java.lang.Object
            • -
            • -
                -
              • com.comphenix.protocol.async.AsyncListenerHandler
              • -
              -
            • -
            -
            -
              -
            • -
              -
              -
              public class AsyncListenerHandler
              -extends java.lang.Object
              -
              Represents a handler for an asynchronous event.
              -
              Author:
              -
              Kristian
              -
            • -
            -
            -
            -
              -
            • - - - -
                -
              • - - -

                Method Summary

                - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                Methods 
                Modifier and TypeMethod and Description
                voidcancel() -
                Cancel the handler.
                -
                voidenqueuePacket(PacketEvent packet) -
                Queue a packet for processing.
                -
                PacketListenergetAsyncListener() 
                java.lang.StringgetFriendlyWorkerName(int id) -
                Create a friendly thread name using the following convention:
                -
                AsyncRunnablegetListenerLoop() -
                Create a worker that will initiate the listener loop.
                -
                org.bukkit.plugin.PlugingetPlugin() -
                Retrieve the plugin associated with this async listener.
                -
                intgetWorkers() -
                Retrieve the current number of registered workers.
                -
                booleanisCancelled() 
                voidsetWorkers(int count) -
                Set the current number of workers.
                -
                voidstart() -
                Start a singler worker thread handling the asynchronous listener.
                -
                voidstart(com.google.common.base.Function<AsyncRunnable,java.lang.Void> executor) -
                Start a singler worker thread handling the asynchronous listener.
                -
                voidstart(int count) -
                Start multiple worker threads for this listener.
                -
                voidstop() -
                Stop a worker thread.
                -
                voidstop(int count) -
                Stop the given amount of worker threads.
                -
                -
                  -
                • - - -

                  Methods inherited from class java.lang.Object

                  -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
                • -
                -
              • -
              -
            • -
            -
            -
            -
              -
            • - - - -
                -
              • - - -

                Method Detail

                - - - -
                  -
                • -

                  isCancelled

                  -
                  public boolean isCancelled()
                  -
                • -
                - - - - - - - -
                  -
                • -

                  getPlugin

                  -
                  public org.bukkit.plugin.Plugin getPlugin()
                  -
                  Retrieve the plugin associated with this async listener.
                  -
                  Returns:
                  The plugin.
                  -
                • -
                - - - -
                  -
                • -

                  cancel

                  -
                  public void cancel()
                  -
                  Cancel the handler.
                  -
                • -
                - - - -
                  -
                • -

                  enqueuePacket

                  -
                  public void enqueuePacket(PacketEvent packet)
                  -
                  Queue a packet for processing.
                  -
                  Parameters:
                  packet - - a packet for processing.
                  -
                  Throws:
                  -
                  java.lang.IllegalStateException - If the underlying packet queue is full.
                  -
                • -
                - - - -
                  -
                • -

                  getListenerLoop

                  -
                  public AsyncRunnable getListenerLoop()
                  -
                  Create a worker that will initiate the listener loop. Note that using stop() to - close a specific worker is less efficient than stopping an arbitrary worker. -

                  - Warning: Never call the run() method in the main thread.

                  -
                • -
                - - - -
                  -
                • -

                  start

                  -
                  public void start()
                  -
                  Start a singler worker thread handling the asynchronous listener.
                  -
                • -
                - - - -
                  -
                • -

                  start

                  -
                  public void start(com.google.common.base.Function<AsyncRunnable,java.lang.Void> executor)
                  -
                  Start a singler worker thread handling the asynchronous listener. -

                  - This method is intended to allow callers to customize the thread priority - before the worker loop is actually called. This is simpler than to - schedule the worker threads manually. -

                  
                  - listenerHandler.start(new Function<AsyncRunnable, Void>() {
                  -     @Override
                  -     public Void apply(@Nullable AsyncRunnable workerLoop) {
                  -         Thread thread = Thread.currentThread();
                  -         int prevPriority = thread.getPriority();
                  -               
                  -         thread.setPriority(Thread.MIN_PRIORITY);
                  -         workerLoop.run();
                  -         thread.setPriority(prevPriority);
                  -         return null;
                  -     }
                  -   });
                  - }
                  - 
                  -
                  Parameters:
                  executor - - a method that will execute the given listener loop.
                  -
                • -
                - - - -
                  -
                • -

                  getFriendlyWorkerName

                  -
                  public java.lang.String getFriendlyWorkerName(int id)
                  -
                  Create a friendly thread name using the following convention: -

                  -     Protocol Worker {id} - {plugin} - [recv: {packets}, send: {packets}] -

                  -
                  Parameters:
                  id - - the worker ID.
                  -
                  Returns:
                  A friendly thread name.
                  -
                • -
                - - - -
                  -
                • -

                  start

                  -
                  public void start(int count)
                  -
                  Start multiple worker threads for this listener.
                  -
                  Parameters:
                  count - - number of worker threads to start.
                  -
                • -
                - - - -
                  -
                • -

                  stop

                  -
                  public void stop()
                  -
                  Stop a worker thread.
                  -
                • -
                - - - -
                  -
                • -

                  stop

                  -
                  public void stop(int count)
                  -
                  Stop the given amount of worker threads.
                  -
                  Parameters:
                  count - - number of threads to stop.
                  -
                • -
                - - - -
                  -
                • -

                  setWorkers

                  -
                  public void setWorkers(int count)
                  -
                  Set the current number of workers. -

                  - This method can only be called with a count of zero when the listener is closing.

                  -
                  Parameters:
                  count - - new number of workers.
                  -
                • -
                - - - -
                  -
                • -

                  getWorkers

                  -
                  public int getWorkers()
                  -
                  Retrieve the current number of registered workers. -

                  - Note that the returned value may be out of data.

                  -
                  Returns:
                  Number of registered workers.
                  -
                • -
                -
              • -
              -
            • -
            -
            -
            - - - - - - - + + + + + +AsyncListenerHandler + + + + + + + + + + + +
            +
            com.comphenix.protocol.async
            +

            Class AsyncListenerHandler

            +
            +
            +
              +
            • java.lang.Object
            • +
            • +
                +
              • com.comphenix.protocol.async.AsyncListenerHandler
              • +
              +
            • +
            +
            +
              +
            • +
              +
              +
              public class AsyncListenerHandler
              +extends java.lang.Object
              +
              Represents a handler for an asynchronous event.
              +
              Author:
              +
              Kristian
              +
            • +
            +
            +
            +
              +
            • + + + +
                +
              • + + +

                Method Summary

                + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                Methods 
                Modifier and TypeMethod and Description
                voidcancel() +
                Cancel the handler.
                +
                voidenqueuePacket(PacketEvent packet) +
                Queue a packet for processing.
                +
                PacketListenergetAsyncListener() 
                java.lang.StringgetFriendlyWorkerName(int id) +
                Create a friendly thread name using the following convention:
                +
                AsyncRunnablegetListenerLoop() +
                Create a worker that will initiate the listener loop.
                +
                org.bukkit.plugin.PlugingetPlugin() +
                Retrieve the plugin associated with this async listener.
                +
                intgetWorkers() +
                Retrieve the current number of registered workers.
                +
                booleanisCancelled() 
                voidsetWorkers(int count) +
                Set the current number of workers.
                +
                voidstart() +
                Start a singler worker thread handling the asynchronous listener.
                +
                voidstart(com.google.common.base.Function<AsyncRunnable,java.lang.Void> executor) +
                Start a singler worker thread handling the asynchronous listener.
                +
                voidstart(int count) +
                Start multiple worker threads for this listener.
                +
                voidstop() +
                Stop a worker thread.
                +
                voidstop(int count) +
                Stop the given amount of worker threads.
                +
                +
                  +
                • + + +

                  Methods inherited from class java.lang.Object

                  +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
                • +
                +
              • +
              +
            • +
            +
            +
            +
              +
            • + + + +
                +
              • + + +

                Method Detail

                + + + +
                  +
                • +

                  isCancelled

                  +
                  public boolean isCancelled()
                  +
                • +
                + + + + + + + +
                  +
                • +

                  getPlugin

                  +
                  public org.bukkit.plugin.Plugin getPlugin()
                  +
                  Retrieve the plugin associated with this async listener.
                  +
                  Returns:
                  The plugin.
                  +
                • +
                + + + +
                  +
                • +

                  cancel

                  +
                  public void cancel()
                  +
                  Cancel the handler.
                  +
                • +
                + + + +
                  +
                • +

                  enqueuePacket

                  +
                  public void enqueuePacket(PacketEvent packet)
                  +
                  Queue a packet for processing.
                  +
                  Parameters:
                  packet - - a packet for processing.
                  +
                  Throws:
                  +
                  java.lang.IllegalStateException - If the underlying packet queue is full.
                  +
                • +
                + + + +
                  +
                • +

                  getListenerLoop

                  +
                  public AsyncRunnable getListenerLoop()
                  +
                  Create a worker that will initiate the listener loop. Note that using stop() to + close a specific worker is less efficient than stopping an arbitrary worker. +

                  + Warning: Never call the run() method in the main thread.

                  +
                • +
                + + + +
                  +
                • +

                  start

                  +
                  public void start()
                  +
                  Start a singler worker thread handling the asynchronous listener.
                  +
                • +
                + + + +
                  +
                • +

                  start

                  +
                  public void start(com.google.common.base.Function<AsyncRunnable,java.lang.Void> executor)
                  +
                  Start a singler worker thread handling the asynchronous listener. +

                  + This method is intended to allow callers to customize the thread priority + before the worker loop is actually called. This is simpler than to + schedule the worker threads manually. +

                  
                  + listenerHandler.start(new Function<AsyncRunnable, Void>() {
                  +     @Override
                  +     public Void apply(@Nullable AsyncRunnable workerLoop) {
                  +         Thread thread = Thread.currentThread();
                  +         int prevPriority = thread.getPriority();
                  +               
                  +         thread.setPriority(Thread.MIN_PRIORITY);
                  +         workerLoop.run();
                  +         thread.setPriority(prevPriority);
                  +         return null;
                  +     }
                  +   });
                  + }
                  + 
                  +
                  Parameters:
                  executor - - a method that will execute the given listener loop.
                  +
                • +
                + + + +
                  +
                • +

                  getFriendlyWorkerName

                  +
                  public java.lang.String getFriendlyWorkerName(int id)
                  +
                  Create a friendly thread name using the following convention: +

                  +     Protocol Worker {id} - {plugin} - [recv: {packets}, send: {packets}] +

                  +
                  Parameters:
                  id - - the worker ID.
                  +
                  Returns:
                  A friendly thread name.
                  +
                • +
                + + + +
                  +
                • +

                  start

                  +
                  public void start(int count)
                  +
                  Start multiple worker threads for this listener.
                  +
                  Parameters:
                  count - - number of worker threads to start.
                  +
                • +
                + + + +
                  +
                • +

                  stop

                  +
                  public void stop()
                  +
                  Stop a worker thread.
                  +
                • +
                + + + +
                  +
                • +

                  stop

                  +
                  public void stop(int count)
                  +
                  Stop the given amount of worker threads.
                  +
                  Parameters:
                  count - - number of threads to stop.
                  +
                • +
                + + + +
                  +
                • +

                  setWorkers

                  +
                  public void setWorkers(int count)
                  +
                  Set the current number of workers. +

                  + This method can only be called with a count of zero when the listener is closing.

                  +
                  Parameters:
                  count - - new number of workers.
                  +
                • +
                + + + +
                  +
                • +

                  getWorkers

                  +
                  public int getWorkers()
                  +
                  Retrieve the current number of registered workers. +

                  + Note that the returned value may be out of data.

                  +
                  Returns:
                  Number of registered workers.
                  +
                • +
                +
              • +
              +
            • +
            +
            +
            + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/async/AsyncMarker.html b/Javadoc/com/comphenix/protocol/async/AsyncMarker.html index 94923f54..ff1aa49c 100644 --- a/Javadoc/com/comphenix/protocol/async/AsyncMarker.html +++ b/Javadoc/com/comphenix/protocol/async/AsyncMarker.html @@ -1,706 +1,706 @@ - - - - - -AsyncMarker - - - - - - - - - - - -
            -
            com.comphenix.protocol.async
            -

            Class AsyncMarker

            -
            -
            -
              -
            • java.lang.Object
            • -
            • -
                -
              • com.comphenix.protocol.async.AsyncMarker
              • -
              -
            • -
            -
            -
              -
            • -
              -
              All Implemented Interfaces:
              -
              java.io.Serializable, java.lang.Comparable<AsyncMarker>
              -
              -
              -
              -
              public class AsyncMarker
              -extends java.lang.Object
              -implements java.io.Serializable, java.lang.Comparable<AsyncMarker>
              -
              Contains information about the packet that is being processed by asynchronous listeners. -

              - Asynchronous listeners can use this to set packet timeout or transmission order.

              -
              Author:
              -
              Kristian
              -
              See Also:
              Serialized Form
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Field Summary

                - - - - - - - - - - - - - - -
                Fields 
                Modifier and TypeField and Description
                static intDEFAULT_SENDING_DELTA -
                Default number of packets to skip.
                -
                static intDEFAULT_TIMEOUT_DELTA -
                Default number of milliseconds until a packet will rejected.
                -
                -
              • -
              - -
                -
              • - - -

                Method Summary

                - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                Methods 
                Modifier and TypeMethod and Description
                intcompareTo(AsyncMarker o) 
                longgetInitialTime() -
                Retrieve the time the packet was initially queued for asynchronous processing.
                -
                AsyncListenerHandlergetListenerHandler() -
                Retrieve the current asynchronous listener handler.
                -
                longgetNewSendingIndex() -
                Retrieve the desired sending order after processing has completed.
                -
                longgetOriginalSendingIndex() -
                Retrieve the order the packet was originally transmitted.
                -
                PacketStreamgetPacketStream() -
                Retrieve the packet stream responsible for transmitting this packet.
                -
                intgetProcessingDelay() -
                Retrieve the number of times a packet must be signalled to be done before it's sent.
                -
                java.lang.ObjectgetProcessingLock() -
                Processing lock used to synchronize access to the parent PacketEvent and PacketContainer.
                -
                longgetQueuedSendingIndex() -
                Retrieve the sending index when the packet was queued.
                -
                longgetTimeout() -
                Retrieve the time the packet will be forcefully rejected.
                -
                intgetWorkerID() -
                Retrieve the current worker ID.
                -
                booleanhasExpired() -
                Determine if this packet has expired.
                -
                booleanhasExpired(long currentTime) -
                Determine if this packet has expired given this time.
                -
                intincrementProcessingDelay() -
                Increment the number of times this packet must be signalled as done before its transmitted.
                -
                booleanisAsyncCancelled() -
                Determine if the asynchronous handling should be cancelled.
                -
                booleanisMinecraftAsync(PacketEvent event) -
                Determine if Minecraft allows asynchronous processing of this packet.
                -
                booleanisProcessed() -
                Retrieve whether or not this packet has been processed by the async listeners.
                -
                booleanisQueued() -
                Whether or not this packet is or has been queued for processing.
                -
                booleanisTransmitted() -
                Retrieve whether or not this packet has already been sent.
                -
                voidsetAsyncCancelled(boolean asyncCancelled) -
                Set whether or not the asynchronous handling should be cancelled.
                -
                voidsetNewSendingIndex(long newSendingIndex) -
                Sets the desired sending order after processing has completed.
                -
                voidsetPacketStream(PacketStream packetStream) -
                Sets the output packet stream responsible for transmitting this packet.
                -
                voidsetProcessingLock(java.lang.Object processingLock) 
                voidsetTimeout(long timeout) -
                Set the time the packet will be forcefully rejected.
                -
                -
                  -
                • - - -

                  Methods inherited from class java.lang.Object

                  -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
                • -
                -
              • -
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Field Detail

                - - - -
                  -
                • -

                  DEFAULT_TIMEOUT_DELTA

                  -
                  public static final int DEFAULT_TIMEOUT_DELTA
                  -
                  Default number of milliseconds until a packet will rejected.
                  -
                  See Also:
                  Constant Field Values
                  -
                • -
                - - - -
                  -
                • -

                  DEFAULT_SENDING_DELTA

                  -
                  public static final int DEFAULT_SENDING_DELTA
                  -
                  Default number of packets to skip.
                  -
                  See Also:
                  Constant Field Values
                  -
                • -
                -
              • -
              - -
                -
              • - - -

                Method Detail

                - - - -
                  -
                • -

                  getInitialTime

                  -
                  public long getInitialTime()
                  -
                  Retrieve the time the packet was initially queued for asynchronous processing.
                  -
                  Returns:
                  The initial time in number of milliseconds since 01.01.1970 00:00.
                  -
                • -
                - - - -
                  -
                • -

                  getTimeout

                  -
                  public long getTimeout()
                  -
                  Retrieve the time the packet will be forcefully rejected.
                  -
                  Returns:
                  The time to reject the packet, in milliseconds since 01.01.1970 00:00.
                  -
                • -
                - - - -
                  -
                • -

                  setTimeout

                  -
                  public void setTimeout(long timeout)
                  -
                  Set the time the packet will be forcefully rejected.
                  -
                  Parameters:
                  timeout - - time to reject the packet, in milliseconds since 01.01.1970 00:00.
                  -
                • -
                - - - -
                  -
                • -

                  getOriginalSendingIndex

                  -
                  public long getOriginalSendingIndex()
                  -
                  Retrieve the order the packet was originally transmitted.
                  -
                  Returns:
                  The original packet index.
                  -
                • -
                - - - -
                  -
                • -

                  getNewSendingIndex

                  -
                  public long getNewSendingIndex()
                  -
                  Retrieve the desired sending order after processing has completed. -

                  - Higher sending order means lower priority.

                  -
                  Returns:
                  Desired sending order.
                  -
                • -
                - - - -
                  -
                • -

                  setNewSendingIndex

                  -
                  public void setNewSendingIndex(long newSendingIndex)
                  -
                  Sets the desired sending order after processing has completed. -

                  - Higher sending order means lower priority.

                  -
                  Parameters:
                  newSendingIndex - - new packet send index.
                  -
                • -
                - - - -
                  -
                • -

                  getPacketStream

                  -
                  public PacketStream getPacketStream()
                  -
                  Retrieve the packet stream responsible for transmitting this packet.
                  -
                  Returns:
                  The packet stream.
                  -
                • -
                - - - -
                  -
                • -

                  setPacketStream

                  -
                  public void setPacketStream(PacketStream packetStream)
                  -
                  Sets the output packet stream responsible for transmitting this packet.
                  -
                  Parameters:
                  packetStream - - new output packet stream.
                  -
                • -
                - - - -
                  -
                • -

                  isProcessed

                  -
                  public boolean isProcessed()
                  -
                  Retrieve whether or not this packet has been processed by the async listeners.
                  -
                  Returns:
                  TRUE if it has been processed, FALSE otherwise.
                  -
                • -
                - - - -
                  -
                • -

                  incrementProcessingDelay

                  -
                  public int incrementProcessingDelay()
                  -
                  Increment the number of times this packet must be signalled as done before its transmitted. -

                  - This is useful if an asynchronous listener is waiting for further information before the - packet can be sent to the user. A packet listener MUST eventually call - AsyncFilterManager.signalPacketTransmission(PacketEvent), - even if the packet is cancelled, after this method is called. -

                  - It is recommended that processing outside a packet listener is wrapped in a synchronized block - using the getProcessingLock() method. -

                  - To decrement the processing delay, call signalPacketUpdate. A thread that calls this method - multiple times must call signalPacketUpdate at least that many times.

                  -
                  Returns:
                  The new processing delay.
                  -
                • -
                - - - -
                  -
                • -

                  getProcessingDelay

                  -
                  public int getProcessingDelay()
                  -
                  Retrieve the number of times a packet must be signalled to be done before it's sent.
                  -
                  Returns:
                  Number of processing delays.
                  -
                • -
                - - - -
                  -
                • -

                  isQueued

                  -
                  public boolean isQueued()
                  -
                  Whether or not this packet is or has been queued for processing.
                  -
                  Returns:
                  TRUE if it has, FALSE otherwise.
                  -
                • -
                - - - -
                  -
                • -

                  getQueuedSendingIndex

                  -
                  public long getQueuedSendingIndex()
                  -
                  Retrieve the sending index when the packet was queued.
                  -
                  Returns:
                  Queued sending index.
                  -
                • -
                - - - -
                  -
                • -

                  getProcessingLock

                  -
                  public java.lang.Object getProcessingLock()
                  -
                  Processing lock used to synchronize access to the parent PacketEvent and PacketContainer. -

                  - This lock is automatically acquired for every asynchronous packet listener. It should only be - used to synchronize access to a PacketEvent if it's processing has been delayed.

                  -
                  Returns:
                  A processing lock.
                  -
                • -
                - - - -
                  -
                • -

                  setProcessingLock

                  -
                  public void setProcessingLock(java.lang.Object processingLock)
                  -
                • -
                - - - -
                  -
                • -

                  isTransmitted

                  -
                  public boolean isTransmitted()
                  -
                  Retrieve whether or not this packet has already been sent.
                  -
                  Returns:
                  TRUE if it has been sent before, FALSE otherwise.
                  -
                • -
                - - - -
                  -
                • -

                  hasExpired

                  -
                  public boolean hasExpired()
                  -
                  Determine if this packet has expired.
                  -
                  Returns:
                  TRUE if it has, FALSE otherwise.
                  -
                • -
                - - - -
                  -
                • -

                  hasExpired

                  -
                  public boolean hasExpired(long currentTime)
                  -
                  Determine if this packet has expired given this time.
                  -
                  Parameters:
                  currentTime - - the current time in milliseconds since 01.01.1970 00:00.
                  -
                  Returns:
                  TRUE if it has, FALSE otherwise.
                  -
                • -
                - - - -
                  -
                • -

                  isAsyncCancelled

                  -
                  public boolean isAsyncCancelled()
                  -
                  Determine if the asynchronous handling should be cancelled.
                  -
                  Returns:
                  TRUE if it should, FALSE otherwise.
                  -
                • -
                - - - -
                  -
                • -

                  setAsyncCancelled

                  -
                  public void setAsyncCancelled(boolean asyncCancelled)
                  -
                  Set whether or not the asynchronous handling should be cancelled. -

                  - This is only relevant during the synchronous processing. Asynchronous - listeners should use the normal cancel-field to cancel a PacketEvent.

                  -
                  Parameters:
                  asyncCancelled - - TRUE to cancel it, FALSE otherwise.
                  -
                • -
                - - - -
                  -
                • -

                  getListenerHandler

                  -
                  public AsyncListenerHandler getListenerHandler()
                  -
                  Retrieve the current asynchronous listener handler.
                  -
                  Returns:
                  Asychronous listener handler, or NULL if this packet is not asynchronous.
                  -
                • -
                - - - -
                  -
                • -

                  getWorkerID

                  -
                  public int getWorkerID()
                  -
                  Retrieve the current worker ID.
                  -
                  Returns:
                  Current worker ID.
                  -
                • -
                - - - - - - - -
                  -
                • -

                  compareTo

                  -
                  public int compareTo(AsyncMarker o)
                  -
                  -
                  Specified by:
                  -
                  compareTo in interface java.lang.Comparable<AsyncMarker>
                  -
                  -
                • -
                -
              • -
              -
            • -
            -
            -
            - - - - - - - + + + + + +AsyncMarker + + + + + + + + + + + +
            +
            com.comphenix.protocol.async
            +

            Class AsyncMarker

            +
            +
            +
              +
            • java.lang.Object
            • +
            • +
                +
              • com.comphenix.protocol.async.AsyncMarker
              • +
              +
            • +
            +
            +
              +
            • +
              +
              All Implemented Interfaces:
              +
              java.io.Serializable, java.lang.Comparable<AsyncMarker>
              +
              +
              +
              +
              public class AsyncMarker
              +extends java.lang.Object
              +implements java.io.Serializable, java.lang.Comparable<AsyncMarker>
              +
              Contains information about the packet that is being processed by asynchronous listeners. +

              + Asynchronous listeners can use this to set packet timeout or transmission order.

              +
              Author:
              +
              Kristian
              +
              See Also:
              Serialized Form
              +
            • +
            +
            +
            +
              +
            • + +
                +
              • + + +

                Field Summary

                + + + + + + + + + + + + + + +
                Fields 
                Modifier and TypeField and Description
                static intDEFAULT_SENDING_DELTA +
                Default number of packets to skip.
                +
                static intDEFAULT_TIMEOUT_DELTA +
                Default number of milliseconds until a packet will rejected.
                +
                +
              • +
              + +
                +
              • + + +

                Method Summary

                + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                Methods 
                Modifier and TypeMethod and Description
                intcompareTo(AsyncMarker o) 
                longgetInitialTime() +
                Retrieve the time the packet was initially queued for asynchronous processing.
                +
                AsyncListenerHandlergetListenerHandler() +
                Retrieve the current asynchronous listener handler.
                +
                longgetNewSendingIndex() +
                Retrieve the desired sending order after processing has completed.
                +
                longgetOriginalSendingIndex() +
                Retrieve the order the packet was originally transmitted.
                +
                PacketStreamgetPacketStream() +
                Retrieve the packet stream responsible for transmitting this packet.
                +
                intgetProcessingDelay() +
                Retrieve the number of times a packet must be signalled to be done before it's sent.
                +
                java.lang.ObjectgetProcessingLock() +
                Processing lock used to synchronize access to the parent PacketEvent and PacketContainer.
                +
                longgetQueuedSendingIndex() +
                Retrieve the sending index when the packet was queued.
                +
                longgetTimeout() +
                Retrieve the time the packet will be forcefully rejected.
                +
                intgetWorkerID() +
                Retrieve the current worker ID.
                +
                booleanhasExpired() +
                Determine if this packet has expired.
                +
                booleanhasExpired(long currentTime) +
                Determine if this packet has expired given this time.
                +
                intincrementProcessingDelay() +
                Increment the number of times this packet must be signalled as done before its transmitted.
                +
                booleanisAsyncCancelled() +
                Determine if the asynchronous handling should be cancelled.
                +
                booleanisMinecraftAsync(PacketEvent event) +
                Determine if Minecraft allows asynchronous processing of this packet.
                +
                booleanisProcessed() +
                Retrieve whether or not this packet has been processed by the async listeners.
                +
                booleanisQueued() +
                Whether or not this packet is or has been queued for processing.
                +
                booleanisTransmitted() +
                Retrieve whether or not this packet has already been sent.
                +
                voidsetAsyncCancelled(boolean asyncCancelled) +
                Set whether or not the asynchronous handling should be cancelled.
                +
                voidsetNewSendingIndex(long newSendingIndex) +
                Sets the desired sending order after processing has completed.
                +
                voidsetPacketStream(PacketStream packetStream) +
                Sets the output packet stream responsible for transmitting this packet.
                +
                voidsetProcessingLock(java.lang.Object processingLock) 
                voidsetTimeout(long timeout) +
                Set the time the packet will be forcefully rejected.
                +
                +
                  +
                • + + +

                  Methods inherited from class java.lang.Object

                  +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
                • +
                +
              • +
              +
            • +
            +
            +
            +
              +
            • + +
                +
              • + + +

                Field Detail

                + + + +
                  +
                • +

                  DEFAULT_TIMEOUT_DELTA

                  +
                  public static final int DEFAULT_TIMEOUT_DELTA
                  +
                  Default number of milliseconds until a packet will rejected.
                  +
                  See Also:
                  Constant Field Values
                  +
                • +
                + + + +
                  +
                • +

                  DEFAULT_SENDING_DELTA

                  +
                  public static final int DEFAULT_SENDING_DELTA
                  +
                  Default number of packets to skip.
                  +
                  See Also:
                  Constant Field Values
                  +
                • +
                +
              • +
              + +
                +
              • + + +

                Method Detail

                + + + +
                  +
                • +

                  getInitialTime

                  +
                  public long getInitialTime()
                  +
                  Retrieve the time the packet was initially queued for asynchronous processing.
                  +
                  Returns:
                  The initial time in number of milliseconds since 01.01.1970 00:00.
                  +
                • +
                + + + +
                  +
                • +

                  getTimeout

                  +
                  public long getTimeout()
                  +
                  Retrieve the time the packet will be forcefully rejected.
                  +
                  Returns:
                  The time to reject the packet, in milliseconds since 01.01.1970 00:00.
                  +
                • +
                + + + +
                  +
                • +

                  setTimeout

                  +
                  public void setTimeout(long timeout)
                  +
                  Set the time the packet will be forcefully rejected.
                  +
                  Parameters:
                  timeout - - time to reject the packet, in milliseconds since 01.01.1970 00:00.
                  +
                • +
                + + + +
                  +
                • +

                  getOriginalSendingIndex

                  +
                  public long getOriginalSendingIndex()
                  +
                  Retrieve the order the packet was originally transmitted.
                  +
                  Returns:
                  The original packet index.
                  +
                • +
                + + + +
                  +
                • +

                  getNewSendingIndex

                  +
                  public long getNewSendingIndex()
                  +
                  Retrieve the desired sending order after processing has completed. +

                  + Higher sending order means lower priority.

                  +
                  Returns:
                  Desired sending order.
                  +
                • +
                + + + +
                  +
                • +

                  setNewSendingIndex

                  +
                  public void setNewSendingIndex(long newSendingIndex)
                  +
                  Sets the desired sending order after processing has completed. +

                  + Higher sending order means lower priority.

                  +
                  Parameters:
                  newSendingIndex - - new packet send index.
                  +
                • +
                + + + +
                  +
                • +

                  getPacketStream

                  +
                  public PacketStream getPacketStream()
                  +
                  Retrieve the packet stream responsible for transmitting this packet.
                  +
                  Returns:
                  The packet stream.
                  +
                • +
                + + + +
                  +
                • +

                  setPacketStream

                  +
                  public void setPacketStream(PacketStream packetStream)
                  +
                  Sets the output packet stream responsible for transmitting this packet.
                  +
                  Parameters:
                  packetStream - - new output packet stream.
                  +
                • +
                + + + +
                  +
                • +

                  isProcessed

                  +
                  public boolean isProcessed()
                  +
                  Retrieve whether or not this packet has been processed by the async listeners.
                  +
                  Returns:
                  TRUE if it has been processed, FALSE otherwise.
                  +
                • +
                + + + +
                  +
                • +

                  incrementProcessingDelay

                  +
                  public int incrementProcessingDelay()
                  +
                  Increment the number of times this packet must be signalled as done before its transmitted. +

                  + This is useful if an asynchronous listener is waiting for further information before the + packet can be sent to the user. A packet listener MUST eventually call + AsyncFilterManager.signalPacketTransmission(PacketEvent), + even if the packet is cancelled, after this method is called. +

                  + It is recommended that processing outside a packet listener is wrapped in a synchronized block + using the getProcessingLock() method. +

                  + To decrement the processing delay, call signalPacketUpdate. A thread that calls this method + multiple times must call signalPacketUpdate at least that many times.

                  +
                  Returns:
                  The new processing delay.
                  +
                • +
                + + + +
                  +
                • +

                  getProcessingDelay

                  +
                  public int getProcessingDelay()
                  +
                  Retrieve the number of times a packet must be signalled to be done before it's sent.
                  +
                  Returns:
                  Number of processing delays.
                  +
                • +
                + + + +
                  +
                • +

                  isQueued

                  +
                  public boolean isQueued()
                  +
                  Whether or not this packet is or has been queued for processing.
                  +
                  Returns:
                  TRUE if it has, FALSE otherwise.
                  +
                • +
                + + + +
                  +
                • +

                  getQueuedSendingIndex

                  +
                  public long getQueuedSendingIndex()
                  +
                  Retrieve the sending index when the packet was queued.
                  +
                  Returns:
                  Queued sending index.
                  +
                • +
                + + + +
                  +
                • +

                  getProcessingLock

                  +
                  public java.lang.Object getProcessingLock()
                  +
                  Processing lock used to synchronize access to the parent PacketEvent and PacketContainer. +

                  + This lock is automatically acquired for every asynchronous packet listener. It should only be + used to synchronize access to a PacketEvent if it's processing has been delayed.

                  +
                  Returns:
                  A processing lock.
                  +
                • +
                + + + +
                  +
                • +

                  setProcessingLock

                  +
                  public void setProcessingLock(java.lang.Object processingLock)
                  +
                • +
                + + + +
                  +
                • +

                  isTransmitted

                  +
                  public boolean isTransmitted()
                  +
                  Retrieve whether or not this packet has already been sent.
                  +
                  Returns:
                  TRUE if it has been sent before, FALSE otherwise.
                  +
                • +
                + + + +
                  +
                • +

                  hasExpired

                  +
                  public boolean hasExpired()
                  +
                  Determine if this packet has expired.
                  +
                  Returns:
                  TRUE if it has, FALSE otherwise.
                  +
                • +
                + + + +
                  +
                • +

                  hasExpired

                  +
                  public boolean hasExpired(long currentTime)
                  +
                  Determine if this packet has expired given this time.
                  +
                  Parameters:
                  currentTime - - the current time in milliseconds since 01.01.1970 00:00.
                  +
                  Returns:
                  TRUE if it has, FALSE otherwise.
                  +
                • +
                + + + +
                  +
                • +

                  isAsyncCancelled

                  +
                  public boolean isAsyncCancelled()
                  +
                  Determine if the asynchronous handling should be cancelled.
                  +
                  Returns:
                  TRUE if it should, FALSE otherwise.
                  +
                • +
                + + + +
                  +
                • +

                  setAsyncCancelled

                  +
                  public void setAsyncCancelled(boolean asyncCancelled)
                  +
                  Set whether or not the asynchronous handling should be cancelled. +

                  + This is only relevant during the synchronous processing. Asynchronous + listeners should use the normal cancel-field to cancel a PacketEvent.

                  +
                  Parameters:
                  asyncCancelled - - TRUE to cancel it, FALSE otherwise.
                  +
                • +
                + + + +
                  +
                • +

                  getListenerHandler

                  +
                  public AsyncListenerHandler getListenerHandler()
                  +
                  Retrieve the current asynchronous listener handler.
                  +
                  Returns:
                  Asychronous listener handler, or NULL if this packet is not asynchronous.
                  +
                • +
                + + + +
                  +
                • +

                  getWorkerID

                  +
                  public int getWorkerID()
                  +
                  Retrieve the current worker ID.
                  +
                  Returns:
                  Current worker ID.
                  +
                • +
                + + + + + + + +
                  +
                • +

                  compareTo

                  +
                  public int compareTo(AsyncMarker o)
                  +
                  +
                  Specified by:
                  +
                  compareTo in interface java.lang.Comparable<AsyncMarker>
                  +
                  +
                • +
                +
              • +
              +
            • +
            +
            +
            + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/async/AsyncRunnable.html b/Javadoc/com/comphenix/protocol/async/AsyncRunnable.html index 820f95cc..a16f8dd6 100644 --- a/Javadoc/com/comphenix/protocol/async/AsyncRunnable.html +++ b/Javadoc/com/comphenix/protocol/async/AsyncRunnable.html @@ -1,281 +1,281 @@ - - - - - -AsyncRunnable - - - - - - - - - - - -
            -
            com.comphenix.protocol.async
            -

            Interface AsyncRunnable

            -
            -
            -
            -
              -
            • -
              -
              All Superinterfaces:
              -
              java.lang.Runnable
              -
              -
              -
              -
              public interface AsyncRunnable
              -extends java.lang.Runnable
              -
              A runnable representing a asynchronous event listener.
              -
              Author:
              -
              Kristian
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Method Summary

                - - - - - - - - - - - - - - - - - - - - - - -
                Methods 
                Modifier and TypeMethod and Description
                intgetID() -
                Retrieve a unique worker ID.
                -
                booleanisFinished() -
                Determine if this runnable has already run its course.
                -
                booleanisRunning() -
                Determine if we're running or not.
                -
                booleanstop() -
                Stop the given runnable.
                -
                -
                  -
                • - - -

                  Methods inherited from interface java.lang.Runnable

                  -run
                • -
                -
              • -
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Method Detail

                - - - -
                  -
                • -

                  getID

                  -
                  int getID()
                  -
                  Retrieve a unique worker ID.
                  -
                  Returns:
                  Unique worker ID.
                  -
                • -
                - - - -
                  -
                • -

                  stop

                  -
                  boolean stop()
                  -             throws java.lang.InterruptedException
                  -
                  Stop the given runnable. -

                  - This may not occur right away.

                  -
                  Returns:
                  TRUE if the thread was stopped, FALSE if it was already stopped.
                  -
                  Throws:
                  -
                  java.lang.InterruptedException
                  -
                • -
                - - - -
                  -
                • -

                  isRunning

                  -
                  boolean isRunning()
                  -
                  Determine if we're running or not.
                  -
                  Returns:
                  TRUE if we're running, FALSE otherwise.
                  -
                • -
                - - - -
                  -
                • -

                  isFinished

                  -
                  boolean isFinished()
                  -
                  Determine if this runnable has already run its course.
                  -
                  Returns:
                  TRUE if it has been stopped, FALSE otherwise.
                  -
                • -
                -
              • -
              -
            • -
            -
            -
            - - - - - - - + + + + + +AsyncRunnable + + + + + + + + + + + +
            +
            com.comphenix.protocol.async
            +

            Interface AsyncRunnable

            +
            +
            +
            +
              +
            • +
              +
              All Superinterfaces:
              +
              java.lang.Runnable
              +
              +
              +
              +
              public interface AsyncRunnable
              +extends java.lang.Runnable
              +
              A runnable representing a asynchronous event listener.
              +
              Author:
              +
              Kristian
              +
            • +
            +
            +
            +
              +
            • + +
                +
              • + + +

                Method Summary

                + + + + + + + + + + + + + + + + + + + + + + +
                Methods 
                Modifier and TypeMethod and Description
                intgetID() +
                Retrieve a unique worker ID.
                +
                booleanisFinished() +
                Determine if this runnable has already run its course.
                +
                booleanisRunning() +
                Determine if we're running or not.
                +
                booleanstop() +
                Stop the given runnable.
                +
                +
                  +
                • + + +

                  Methods inherited from interface java.lang.Runnable

                  +run
                • +
                +
              • +
              +
            • +
            +
            +
            +
              +
            • + +
                +
              • + + +

                Method Detail

                + + + +
                  +
                • +

                  getID

                  +
                  int getID()
                  +
                  Retrieve a unique worker ID.
                  +
                  Returns:
                  Unique worker ID.
                  +
                • +
                + + + +
                  +
                • +

                  stop

                  +
                  boolean stop()
                  +             throws java.lang.InterruptedException
                  +
                  Stop the given runnable. +

                  + This may not occur right away.

                  +
                  Returns:
                  TRUE if the thread was stopped, FALSE if it was already stopped.
                  +
                  Throws:
                  +
                  java.lang.InterruptedException
                  +
                • +
                + + + +
                  +
                • +

                  isRunning

                  +
                  boolean isRunning()
                  +
                  Determine if we're running or not.
                  +
                  Returns:
                  TRUE if we're running, FALSE otherwise.
                  +
                • +
                + + + +
                  +
                • +

                  isFinished

                  +
                  boolean isFinished()
                  +
                  Determine if this runnable has already run its course.
                  +
                  Returns:
                  TRUE if it has been stopped, FALSE otherwise.
                  +
                • +
                +
              • +
              +
            • +
            +
            +
            + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/async/class-use/AsyncFilterManager.html b/Javadoc/com/comphenix/protocol/async/class-use/AsyncFilterManager.html index 272df962..bd6967f8 100644 --- a/Javadoc/com/comphenix/protocol/async/class-use/AsyncFilterManager.html +++ b/Javadoc/com/comphenix/protocol/async/class-use/AsyncFilterManager.html @@ -1,155 +1,155 @@ - - - - - -Uses of Class com.comphenix.protocol.async.AsyncFilterManager - - - - - - - - - - -
            -

            Uses of Class
            com.comphenix.protocol.async.AsyncFilterManager

            -
            -
            - -
            - - - - - - + + + + + +Uses of Class com.comphenix.protocol.async.AsyncFilterManager + + + + + + + + + + +
            +

            Uses of Class
            com.comphenix.protocol.async.AsyncFilterManager

            +
            +
            + +
            + + + + + + diff --git a/Javadoc/com/comphenix/protocol/async/class-use/AsyncListenerHandler.html b/Javadoc/com/comphenix/protocol/async/class-use/AsyncListenerHandler.html index f47e000f..dd7d2452 100644 --- a/Javadoc/com/comphenix/protocol/async/class-use/AsyncListenerHandler.html +++ b/Javadoc/com/comphenix/protocol/async/class-use/AsyncListenerHandler.html @@ -1,220 +1,220 @@ - - - - - -Uses of Class com.comphenix.protocol.async.AsyncListenerHandler - - - - - - - - - - -
            -

            Uses of Class
            com.comphenix.protocol.async.AsyncListenerHandler

            -
            -
            - -
            - - - - - - + + + + + +Uses of Class com.comphenix.protocol.async.AsyncListenerHandler + + + + + + + + + + +
            +

            Uses of Class
            com.comphenix.protocol.async.AsyncListenerHandler

            +
            +
            + +
            + + + + + + diff --git a/Javadoc/com/comphenix/protocol/async/class-use/AsyncMarker.html b/Javadoc/com/comphenix/protocol/async/class-use/AsyncMarker.html index 2a93a9bf..3118be15 100644 --- a/Javadoc/com/comphenix/protocol/async/class-use/AsyncMarker.html +++ b/Javadoc/com/comphenix/protocol/async/class-use/AsyncMarker.html @@ -1,230 +1,230 @@ - - - - - -Uses of Class com.comphenix.protocol.async.AsyncMarker - - - - - - - - - - -
            -

            Uses of Class
            com.comphenix.protocol.async.AsyncMarker

            -
            -
            - -
            - - - - - - + + + + + +Uses of Class com.comphenix.protocol.async.AsyncMarker + + + + + + + + + + +
            +

            Uses of Class
            com.comphenix.protocol.async.AsyncMarker

            +
            +
            + +
            + + + + + + diff --git a/Javadoc/com/comphenix/protocol/async/class-use/AsyncRunnable.html b/Javadoc/com/comphenix/protocol/async/class-use/AsyncRunnable.html index 7ade6eb9..c9d390bb 100644 --- a/Javadoc/com/comphenix/protocol/async/class-use/AsyncRunnable.html +++ b/Javadoc/com/comphenix/protocol/async/class-use/AsyncRunnable.html @@ -1,172 +1,172 @@ - - - - - -Uses of Interface com.comphenix.protocol.async.AsyncRunnable - - - - - - - - - - -
            -

            Uses of Interface
            com.comphenix.protocol.async.AsyncRunnable

            -
            -
            - -
            - - - - - - + + + + + +Uses of Interface com.comphenix.protocol.async.AsyncRunnable + + + + + + + + + + +
            +

            Uses of Interface
            com.comphenix.protocol.async.AsyncRunnable

            +
            +
            + +
            + + + + + + diff --git a/Javadoc/com/comphenix/protocol/async/package-frame.html b/Javadoc/com/comphenix/protocol/async/package-frame.html index 159f2b31..88c70ad9 100644 --- a/Javadoc/com/comphenix/protocol/async/package-frame.html +++ b/Javadoc/com/comphenix/protocol/async/package-frame.html @@ -1,25 +1,25 @@ - - - - - -com.comphenix.protocol.async - - - - -

            com.comphenix.protocol.async

            - - - + + + + + +com.comphenix.protocol.async + + + + +

            com.comphenix.protocol.async

            + + + diff --git a/Javadoc/com/comphenix/protocol/async/package-summary.html b/Javadoc/com/comphenix/protocol/async/package-summary.html index 188876d0..4c4861e1 100644 --- a/Javadoc/com/comphenix/protocol/async/package-summary.html +++ b/Javadoc/com/comphenix/protocol/async/package-summary.html @@ -1,164 +1,164 @@ - - - - - -com.comphenix.protocol.async - - - - - - - -
            - - - - - -
            - - -
            -

            Package com.comphenix.protocol.async

            -
            -
            -
              -
            • - - - - - - - - - - - - -
              Interface Summary 
              InterfaceDescription
              AsyncRunnable -
              A runnable representing a asynchronous event listener.
              -
              -
            • -
            • - - - - - - - - - - - - - - - - - - - - -
              Class Summary 
              ClassDescription
              AsyncFilterManager -
              Represents a filter manager for asynchronous packets.
              -
              AsyncListenerHandler -
              Represents a handler for an asynchronous event.
              -
              AsyncMarker -
              Contains information about the packet that is being processed by asynchronous listeners.
              -
              -
            • -
            -
            - -
            - - - - - -
            - - - - + + + + + +com.comphenix.protocol.async + + + + + + + +
            + + + + + +
            + + +
            +

            Package com.comphenix.protocol.async

            +
            +
            +
              +
            • + + + + + + + + + + + + +
              Interface Summary 
              InterfaceDescription
              AsyncRunnable +
              A runnable representing a asynchronous event listener.
              +
              +
            • +
            • + + + + + + + + + + + + + + + + + + + + +
              Class Summary 
              ClassDescription
              AsyncFilterManager +
              Represents a filter manager for asynchronous packets.
              +
              AsyncListenerHandler +
              Represents a handler for an asynchronous event.
              +
              AsyncMarker +
              Contains information about the packet that is being processed by asynchronous listeners.
              +
              +
            • +
            +
            + +
            + + + + + +
            + + + + diff --git a/Javadoc/com/comphenix/protocol/async/package-tree.html b/Javadoc/com/comphenix/protocol/async/package-tree.html index bc37abc2..36eab492 100644 --- a/Javadoc/com/comphenix/protocol/async/package-tree.html +++ b/Javadoc/com/comphenix/protocol/async/package-tree.html @@ -1,138 +1,138 @@ - - - - - -com.comphenix.protocol.async Class Hierarchy - - - - - - - -
            - - - - - -
            - - -
            -

            Hierarchy For Package com.comphenix.protocol.async

            -Package Hierarchies: - -
            -
            -

            Class Hierarchy

            - -

            Interface Hierarchy

            -
              -
            • java.lang.Runnable - -
            • -
            -
            - -
            - - - - - -
            - - - - + + + + + +com.comphenix.protocol.async Class Hierarchy + + + + + + + +
            + + + + + +
            + + +
            +

            Hierarchy For Package com.comphenix.protocol.async

            +Package Hierarchies: + +
            +
            +

            Class Hierarchy

            + +

            Interface Hierarchy

            +
              +
            • java.lang.Runnable + +
            • +
            +
            + +
            + + + + + +
            + + + + diff --git a/Javadoc/com/comphenix/protocol/async/package-use.html b/Javadoc/com/comphenix/protocol/async/package-use.html index a6992f3f..2d2aaa1b 100644 --- a/Javadoc/com/comphenix/protocol/async/package-use.html +++ b/Javadoc/com/comphenix/protocol/async/package-use.html @@ -1,207 +1,207 @@ - - - - - -Uses of Package com.comphenix.protocol.async - - - - - - - - - - -
            -

            Uses of Package
            com.comphenix.protocol.async

            -
            -
            - -
            - - - - - - + + + + + +Uses of Package com.comphenix.protocol.async + + + + + + + + + + +
            +

            Uses of Package
            com.comphenix.protocol.async

            +
            +
            + +
            + + + + + + diff --git a/Javadoc/com/comphenix/protocol/class-use/Application.html b/Javadoc/com/comphenix/protocol/class-use/Application.html index f7b9d435..cfeb32a6 100644 --- a/Javadoc/com/comphenix/protocol/class-use/Application.html +++ b/Javadoc/com/comphenix/protocol/class-use/Application.html @@ -1,115 +1,115 @@ - - - - - -Uses of Class com.comphenix.protocol.Application - - - - - - - - - - -
            -

            Uses of Class
            com.comphenix.protocol.Application

            -
            -
            No usage of com.comphenix.protocol.Application
            - - - - - - + + + + + +Uses of Class com.comphenix.protocol.Application + + + + + + + + + + +
            +

            Uses of Class
            com.comphenix.protocol.Application

            +
            +
            No usage of com.comphenix.protocol.Application
            + + + + + + diff --git a/Javadoc/com/comphenix/protocol/class-use/AsynchronousManager.html b/Javadoc/com/comphenix/protocol/class-use/AsynchronousManager.html index 910a77a6..6596869b 100644 --- a/Javadoc/com/comphenix/protocol/class-use/AsynchronousManager.html +++ b/Javadoc/com/comphenix/protocol/class-use/AsynchronousManager.html @@ -1,203 +1,203 @@ - - - - - -Uses of Interface com.comphenix.protocol.AsynchronousManager - - - - - - - - - - -
            -

            Uses of Interface
            com.comphenix.protocol.AsynchronousManager

            -
            -
            - -
            - - - - - - + + + + + +Uses of Interface com.comphenix.protocol.AsynchronousManager + + + + + + + + + + +
            +

            Uses of Interface
            com.comphenix.protocol.AsynchronousManager

            +
            +
            + +
            + + + + + + diff --git a/Javadoc/com/comphenix/protocol/class-use/PacketStream.html b/Javadoc/com/comphenix/protocol/class-use/PacketStream.html index 2ae4d337..e4eaa831 100644 --- a/Javadoc/com/comphenix/protocol/class-use/PacketStream.html +++ b/Javadoc/com/comphenix/protocol/class-use/PacketStream.html @@ -1,237 +1,237 @@ - - - - - -Uses of Interface com.comphenix.protocol.PacketStream - - - - - - - - - - -
            -

            Uses of Interface
            com.comphenix.protocol.PacketStream

            -
            -
            - -
            - - - - - - + + + + + +Uses of Interface com.comphenix.protocol.PacketStream + + + + + + + + + + +
            +

            Uses of Interface
            com.comphenix.protocol.PacketStream

            +
            +
            + +
            + + + + + + diff --git a/Javadoc/com/comphenix/protocol/class-use/Packets.Client.html b/Javadoc/com/comphenix/protocol/class-use/Packets.Client.html index 0f9d89cf..695d4ea8 100644 --- a/Javadoc/com/comphenix/protocol/class-use/Packets.Client.html +++ b/Javadoc/com/comphenix/protocol/class-use/Packets.Client.html @@ -1,163 +1,163 @@ - - - - - -Uses of Class com.comphenix.protocol.Packets.Client - - - - - - - - - - -
            -

            Uses of Class
            com.comphenix.protocol.Packets.Client

            -
            -
            - -
            - - - - - - + + + + + +Uses of Class com.comphenix.protocol.Packets.Client + + + + + + + + + + +
            +

            Uses of Class
            com.comphenix.protocol.Packets.Client

            +
            +
            + +
            + + + + + + diff --git a/Javadoc/com/comphenix/protocol/class-use/Packets.Server.html b/Javadoc/com/comphenix/protocol/class-use/Packets.Server.html index b24d34cc..4fa933f7 100644 --- a/Javadoc/com/comphenix/protocol/class-use/Packets.Server.html +++ b/Javadoc/com/comphenix/protocol/class-use/Packets.Server.html @@ -1,163 +1,163 @@ - - - - - -Uses of Class com.comphenix.protocol.Packets.Server - - - - - - - - - - -
            -

            Uses of Class
            com.comphenix.protocol.Packets.Server

            -
            -
            - -
            - - - - - - + + + + + +Uses of Class com.comphenix.protocol.Packets.Server + + + + + + + + + + +
            +

            Uses of Class
            com.comphenix.protocol.Packets.Server

            +
            +
            + +
            + + + + + + diff --git a/Javadoc/com/comphenix/protocol/class-use/Packets.html b/Javadoc/com/comphenix/protocol/class-use/Packets.html index 51842f2f..9a74e201 100644 --- a/Javadoc/com/comphenix/protocol/class-use/Packets.html +++ b/Javadoc/com/comphenix/protocol/class-use/Packets.html @@ -1,115 +1,115 @@ - - - - - -Uses of Class com.comphenix.protocol.Packets - - - - - - - - - - -
            -

            Uses of Class
            com.comphenix.protocol.Packets

            -
            -
            No usage of com.comphenix.protocol.Packets
            - - - - - - + + + + + +Uses of Class com.comphenix.protocol.Packets + + + + + + + + + + +
            +

            Uses of Class
            com.comphenix.protocol.Packets

            +
            +
            No usage of com.comphenix.protocol.Packets
            + + + + + + diff --git a/Javadoc/com/comphenix/protocol/class-use/ProtocolLibrary.html b/Javadoc/com/comphenix/protocol/class-use/ProtocolLibrary.html index 4d84e537..cc4a31bf 100644 --- a/Javadoc/com/comphenix/protocol/class-use/ProtocolLibrary.html +++ b/Javadoc/com/comphenix/protocol/class-use/ProtocolLibrary.html @@ -1,115 +1,115 @@ - - - - - -Uses of Class com.comphenix.protocol.ProtocolLibrary - - - - - - - - - - -
            -

            Uses of Class
            com.comphenix.protocol.ProtocolLibrary

            -
            -
            No usage of com.comphenix.protocol.ProtocolLibrary
            - - - - - - + + + + + +Uses of Class com.comphenix.protocol.ProtocolLibrary + + + + + + + + + + +
            +

            Uses of Class
            com.comphenix.protocol.ProtocolLibrary

            +
            +
            No usage of com.comphenix.protocol.ProtocolLibrary
            + + + + + + diff --git a/Javadoc/com/comphenix/protocol/class-use/ProtocolManager.html b/Javadoc/com/comphenix/protocol/class-use/ProtocolManager.html index cb6762f8..0f7f1043 100644 --- a/Javadoc/com/comphenix/protocol/class-use/ProtocolManager.html +++ b/Javadoc/com/comphenix/protocol/class-use/ProtocolManager.html @@ -1,201 +1,201 @@ - - - - - -Uses of Interface com.comphenix.protocol.ProtocolManager - - - - - - - - - - -
            -

            Uses of Interface
            com.comphenix.protocol.ProtocolManager

            -
            -
            - -
            - - - - - - + + + + + +Uses of Interface com.comphenix.protocol.ProtocolManager + + + + + + + + + + +
            +

            Uses of Interface
            com.comphenix.protocol.ProtocolManager

            +
            +
            + +
            + + + + + + diff --git a/Javadoc/com/comphenix/protocol/concurrency/AbstractConcurrentListenerMultimap.html b/Javadoc/com/comphenix/protocol/concurrency/AbstractConcurrentListenerMultimap.html index 4c516b0f..a9fb798a 100644 --- a/Javadoc/com/comphenix/protocol/concurrency/AbstractConcurrentListenerMultimap.html +++ b/Javadoc/com/comphenix/protocol/concurrency/AbstractConcurrentListenerMultimap.html @@ -1,359 +1,359 @@ - - - - - -AbstractConcurrentListenerMultimap - - - - - - - - - - - -
            -
            com.comphenix.protocol.concurrency
            -

            Class AbstractConcurrentListenerMultimap<TListener>

            -
            -
            -
              -
            • java.lang.Object
            • -
            • -
                -
              • com.comphenix.protocol.concurrency.AbstractConcurrentListenerMultimap<TListener>
              • -
              -
            • -
            -
            -
              -
            • -
              -
              -
              public abstract class AbstractConcurrentListenerMultimap<TListener>
              -extends java.lang.Object
              -
              A thread-safe implementation of a listener multimap.
              -
              Author:
              -
              Kristian
              -
            • -
            -
            -
            -
              -
            • - - - -
                -
              • - - -

                Method Summary

                - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                Methods 
                Modifier and TypeMethod and Description
                voidaddListener(TListener listener, - ListeningWhitelist whitelist) -
                Adds a listener to its requested list of packet recievers.
                -
                protected voidclearListeners() -
                Remove all packet listeners.
                -
                java.util.Collection<PrioritizedListener<TListener>>getListener(int packetID) -
                Retrieve the registered listeners, in order from the lowest to the highest priority.
                -
                java.util.Set<java.lang.Integer>keySet() -
                Retrieve every registered packet ID:
                -
                java.util.List<java.lang.Integer>removeListener(TListener listener, - ListeningWhitelist whitelist) -
                Removes the given listener from the packet event list.
                -
                java.lang.Iterable<PrioritizedListener<TListener>>values() -
                Retrieve every listener.
                -
                -
                  -
                • - - -

                  Methods inherited from class java.lang.Object

                  -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
                • -
                -
              • -
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Constructor Detail

                - - - -
                  -
                • -

                  AbstractConcurrentListenerMultimap

                  -
                  public AbstractConcurrentListenerMultimap()
                  -
                • -
                -
              • -
              - -
                -
              • - - -

                Method Detail

                - - - - - -
                  -
                • -

                  addListener

                  -
                  public void addListener(TListener listener,
                  -               ListeningWhitelist whitelist)
                  -
                  Adds a listener to its requested list of packet recievers.
                  -
                  Parameters:
                  listener - - listener with a list of packets to recieve notifcations for.
                  whitelist - - the packet whitelist to use.
                  -
                • -
                - - - - - -
                  -
                • -

                  removeListener

                  -
                  public java.util.List<java.lang.Integer> removeListener(TListener listener,
                  -                                               ListeningWhitelist whitelist)
                  -
                  Removes the given listener from the packet event list.
                  -
                  Parameters:
                  listener - - listener to remove.
                  whitelist - - the packet whitelist that was used.
                  -
                  Returns:
                  Every packet ID that was removed due to no listeners.
                  -
                • -
                - - - -
                  -
                • -

                  getListener

                  -
                  public java.util.Collection<PrioritizedListener<TListener>> getListener(int packetID)
                  -
                  Retrieve the registered listeners, in order from the lowest to the highest priority. -

                  - The returned list is thread-safe and doesn't require synchronization.

                  -
                  Parameters:
                  packetID - - packet ID.
                  -
                  Returns:
                  Registered listeners.
                  -
                • -
                - - - - - - - -
                  -
                • -

                  keySet

                  -
                  public java.util.Set<java.lang.Integer> keySet()
                  -
                  Retrieve every registered packet ID:
                  -
                  Returns:
                  Registered packet ID.
                  -
                • -
                - - - -
                  -
                • -

                  clearListeners

                  -
                  protected void clearListeners()
                  -
                  Remove all packet listeners.
                  -
                • -
                -
              • -
              -
            • -
            -
            -
            - - - - - - - + + + + + +AbstractConcurrentListenerMultimap + + + + + + + + + + + +
            +
            com.comphenix.protocol.concurrency
            +

            Class AbstractConcurrentListenerMultimap<TListener>

            +
            +
            +
              +
            • java.lang.Object
            • +
            • +
                +
              • com.comphenix.protocol.concurrency.AbstractConcurrentListenerMultimap<TListener>
              • +
              +
            • +
            +
            +
              +
            • +
              +
              +
              public abstract class AbstractConcurrentListenerMultimap<TListener>
              +extends java.lang.Object
              +
              A thread-safe implementation of a listener multimap.
              +
              Author:
              +
              Kristian
              +
            • +
            +
            +
            +
              +
            • + + + +
                +
              • + + +

                Method Summary

                + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                Methods 
                Modifier and TypeMethod and Description
                voidaddListener(TListener listener, + ListeningWhitelist whitelist) +
                Adds a listener to its requested list of packet recievers.
                +
                protected voidclearListeners() +
                Remove all packet listeners.
                +
                java.util.Collection<PrioritizedListener<TListener>>getListener(int packetID) +
                Retrieve the registered listeners, in order from the lowest to the highest priority.
                +
                java.util.Set<java.lang.Integer>keySet() +
                Retrieve every registered packet ID:
                +
                java.util.List<java.lang.Integer>removeListener(TListener listener, + ListeningWhitelist whitelist) +
                Removes the given listener from the packet event list.
                +
                java.lang.Iterable<PrioritizedListener<TListener>>values() +
                Retrieve every listener.
                +
                +
                  +
                • + + +

                  Methods inherited from class java.lang.Object

                  +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
                • +
                +
              • +
              +
            • +
            +
            +
            +
              +
            • + +
                +
              • + + +

                Constructor Detail

                + + + +
                  +
                • +

                  AbstractConcurrentListenerMultimap

                  +
                  public AbstractConcurrentListenerMultimap()
                  +
                • +
                +
              • +
              + +
                +
              • + + +

                Method Detail

                + + + + + +
                  +
                • +

                  addListener

                  +
                  public void addListener(TListener listener,
                  +               ListeningWhitelist whitelist)
                  +
                  Adds a listener to its requested list of packet recievers.
                  +
                  Parameters:
                  listener - - listener with a list of packets to recieve notifcations for.
                  whitelist - - the packet whitelist to use.
                  +
                • +
                + + + + + +
                  +
                • +

                  removeListener

                  +
                  public java.util.List<java.lang.Integer> removeListener(TListener listener,
                  +                                               ListeningWhitelist whitelist)
                  +
                  Removes the given listener from the packet event list.
                  +
                  Parameters:
                  listener - - listener to remove.
                  whitelist - - the packet whitelist that was used.
                  +
                  Returns:
                  Every packet ID that was removed due to no listeners.
                  +
                • +
                + + + +
                  +
                • +

                  getListener

                  +
                  public java.util.Collection<PrioritizedListener<TListener>> getListener(int packetID)
                  +
                  Retrieve the registered listeners, in order from the lowest to the highest priority. +

                  + The returned list is thread-safe and doesn't require synchronization.

                  +
                  Parameters:
                  packetID - - packet ID.
                  +
                  Returns:
                  Registered listeners.
                  +
                • +
                + + + + + + + +
                  +
                • +

                  keySet

                  +
                  public java.util.Set<java.lang.Integer> keySet()
                  +
                  Retrieve every registered packet ID:
                  +
                  Returns:
                  Registered packet ID.
                  +
                • +
                + + + +
                  +
                • +

                  clearListeners

                  +
                  protected void clearListeners()
                  +
                  Remove all packet listeners.
                  +
                • +
                +
              • +
              +
            • +
            +
            +
            + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html b/Javadoc/com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html index 310cb2ab..1d72225c 100644 --- a/Javadoc/com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html +++ b/Javadoc/com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html @@ -1,571 +1,571 @@ - - - - - -SortedCopyOnWriteArray - - - - - - - - - - - -
            -
            com.comphenix.protocol.concurrency
            -

            Class SortedCopyOnWriteArray<T extends java.lang.Comparable<T>>

            -
            -
            -
              -
            • java.lang.Object
            • -
            • -
                -
              • com.comphenix.protocol.concurrency.SortedCopyOnWriteArray<T>
              • -
              -
            • -
            -
            -
              -
            • -
              Type Parameters:
              T - - type of the elements in the list.
              -
              -
              All Implemented Interfaces:
              -
              java.lang.Iterable<T>, java.util.Collection<T>
              -
              -
              -
              -
              public class SortedCopyOnWriteArray<T extends java.lang.Comparable<T>>
              -extends java.lang.Object
              -implements java.lang.Iterable<T>, java.util.Collection<T>
              -
              An implicitly sorted array list that preserves insertion order and maintains duplicates.
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Constructor Summary

                - - - - - - - - - - - - - - -
                Constructors 
                Constructor and Description
                SortedCopyOnWriteArray() -
                Construct an empty sorted array.
                -
                SortedCopyOnWriteArray(java.util.Collection<T> wrapped) -
                Create a sorted array from the given list.
                -
                SortedCopyOnWriteArray(java.util.Collection<T> wrapped, - boolean sort) -
                Create a sorted array from the given list.
                -
                -
              • -
              - -
                -
              • - - -

                Method Summary

                - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                Methods 
                Modifier and TypeMethod and Description
                booleanadd(T value) -
                Inserts the given element in the proper location.
                -
                booleanaddAll(java.util.Collection<? extends T> values) 
                voidclear() 
                booleancontains(java.lang.Object value) 
                booleancontainsAll(java.util.Collection<?> values) 
                Tget(int index) -
                Retrieves an element by index.
                -
                booleanisEmpty() 
                java.util.Iterator<T>iterator() -
                Retrieves an iterator over the elements in the given list.
                -
                voidremove(int index) -
                Removes from the list by making a copy of every element except the one with the given index.
                -
                booleanremove(java.lang.Object value) -
                Removes from the list by making a new list with every element except the one given.
                -
                booleanremoveAll(java.util.Collection<?> values) 
                booleanretainAll(java.util.Collection<?> values) 
                intsize() -
                Retrieve the size of the list.
                -
                java.lang.Object[]toArray() 
                <T> T[]toArray(T[] a) 
                -
                  -
                • - - -

                  Methods inherited from class java.lang.Object

                  -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
                • -
                -
                  -
                • - - -

                  Methods inherited from interface java.util.Collection

                  -equals, hashCode
                • -
                -
              • -
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Constructor Detail

                - - - -
                  -
                • -

                  SortedCopyOnWriteArray

                  -
                  public SortedCopyOnWriteArray()
                  -
                  Construct an empty sorted array.
                  -
                • -
                - - - -
                  -
                • -

                  SortedCopyOnWriteArray

                  -
                  public SortedCopyOnWriteArray(java.util.Collection<T> wrapped)
                  -
                  Create a sorted array from the given list. The elements will be automatically sorted.
                  -
                  Parameters:
                  wrapped - - the collection whose elements are to be placed into the list.
                  -
                • -
                - - - -
                  -
                • -

                  SortedCopyOnWriteArray

                  -
                  public SortedCopyOnWriteArray(java.util.Collection<T> wrapped,
                  -                      boolean sort)
                  -
                  Create a sorted array from the given list.
                  -
                  Parameters:
                  wrapped - - the collection whose elements are to be placed into the list.
                  sort - - TRUE to automatically sort the collection, FALSE if it is already sorted.
                  -
                • -
                -
              • -
              - -
                -
              • - - -

                Method Detail

                - - - - - -
                  -
                • -

                  add

                  -
                  public boolean add(T value)
                  -
                  Inserts the given element in the proper location.
                  -
                  -
                  Specified by:
                  -
                  add in interface java.util.Collection<T extends java.lang.Comparable<T>>
                  -
                  Parameters:
                  value - - element to insert.
                  -
                • -
                - - - -
                  -
                • -

                  addAll

                  -
                  public boolean addAll(java.util.Collection<? extends T> values)
                  -
                  -
                  Specified by:
                  -
                  addAll in interface java.util.Collection<T extends java.lang.Comparable<T>>
                  -
                  -
                • -
                - - - -
                  -
                • -

                  remove

                  -
                  public boolean remove(java.lang.Object value)
                  -
                  Removes from the list by making a new list with every element except the one given. -

                  - Objects will be compared using the given objects equals() method.

                  -
                  -
                  Specified by:
                  -
                  remove in interface java.util.Collection<T extends java.lang.Comparable<T>>
                  -
                  Parameters:
                  value - - value to remove.
                  -
                • -
                - - - -
                  -
                • -

                  removeAll

                  -
                  public boolean removeAll(java.util.Collection<?> values)
                  -
                  -
                  Specified by:
                  -
                  removeAll in interface java.util.Collection<T extends java.lang.Comparable<T>>
                  -
                  -
                • -
                - - - -
                  -
                • -

                  retainAll

                  -
                  public boolean retainAll(java.util.Collection<?> values)
                  -
                  -
                  Specified by:
                  -
                  retainAll in interface java.util.Collection<T extends java.lang.Comparable<T>>
                  -
                  -
                • -
                - - - -
                  -
                • -

                  remove

                  -
                  public void remove(int index)
                  -
                  Removes from the list by making a copy of every element except the one with the given index.
                  -
                  Parameters:
                  index - - index of the element to remove.
                  -
                • -
                - - - -
                  -
                • -

                  get

                  -
                  public T get(int index)
                  -
                  Retrieves an element by index.
                  -
                  Parameters:
                  index - - index of element to retrieve.
                  -
                  Returns:
                  The element at the given location.
                  -
                • -
                - - - -
                  -
                • -

                  size

                  -
                  public int size()
                  -
                  Retrieve the size of the list.
                  -
                  -
                  Specified by:
                  -
                  size in interface java.util.Collection<T extends java.lang.Comparable<T>>
                  -
                  Returns:
                  Size of the list.
                  -
                • -
                - - - -
                  -
                • -

                  iterator

                  -
                  public java.util.Iterator<T> iterator()
                  -
                  Retrieves an iterator over the elements in the given list. - Warning: No not attempt to remove elements using the iterator.
                  -
                  -
                  Specified by:
                  -
                  iterator in interface java.lang.Iterable<T extends java.lang.Comparable<T>>
                  -
                  Specified by:
                  -
                  iterator in interface java.util.Collection<T extends java.lang.Comparable<T>>
                  -
                  -
                • -
                - - - -
                  -
                • -

                  clear

                  -
                  public void clear()
                  -
                  -
                  Specified by:
                  -
                  clear in interface java.util.Collection<T extends java.lang.Comparable<T>>
                  -
                  -
                • -
                - - - -
                  -
                • -

                  contains

                  -
                  public boolean contains(java.lang.Object value)
                  -
                  -
                  Specified by:
                  -
                  contains in interface java.util.Collection<T extends java.lang.Comparable<T>>
                  -
                  -
                • -
                - - - -
                  -
                • -

                  containsAll

                  -
                  public boolean containsAll(java.util.Collection<?> values)
                  -
                  -
                  Specified by:
                  -
                  containsAll in interface java.util.Collection<T extends java.lang.Comparable<T>>
                  -
                  -
                • -
                - - - -
                  -
                • -

                  isEmpty

                  -
                  public boolean isEmpty()
                  -
                  -
                  Specified by:
                  -
                  isEmpty in interface java.util.Collection<T extends java.lang.Comparable<T>>
                  -
                  -
                • -
                - - - -
                  -
                • -

                  toArray

                  -
                  public java.lang.Object[] toArray()
                  -
                  -
                  Specified by:
                  -
                  toArray in interface java.util.Collection<T extends java.lang.Comparable<T>>
                  -
                  -
                • -
                - - - - - -
                  -
                • -

                  toArray

                  -
                  public <T> T[] toArray(T[] a)
                  -
                  -
                  Specified by:
                  -
                  toArray in interface java.util.Collection<T extends java.lang.Comparable<T>>
                  -
                  -
                • -
                -
              • -
              -
            • -
            -
            -
            - - - - - - - + + + + + +SortedCopyOnWriteArray + + + + + + + + + + + +
            +
            com.comphenix.protocol.concurrency
            +

            Class SortedCopyOnWriteArray<T extends java.lang.Comparable<T>>

            +
            +
            +
              +
            • java.lang.Object
            • +
            • +
                +
              • com.comphenix.protocol.concurrency.SortedCopyOnWriteArray<T>
              • +
              +
            • +
            +
            +
              +
            • +
              Type Parameters:
              T - - type of the elements in the list.
              +
              +
              All Implemented Interfaces:
              +
              java.lang.Iterable<T>, java.util.Collection<T>
              +
              +
              +
              +
              public class SortedCopyOnWriteArray<T extends java.lang.Comparable<T>>
              +extends java.lang.Object
              +implements java.lang.Iterable<T>, java.util.Collection<T>
              +
              An implicitly sorted array list that preserves insertion order and maintains duplicates.
              +
            • +
            +
            +
            +
              +
            • + +
                +
              • + + +

                Constructor Summary

                + + + + + + + + + + + + + + +
                Constructors 
                Constructor and Description
                SortedCopyOnWriteArray() +
                Construct an empty sorted array.
                +
                SortedCopyOnWriteArray(java.util.Collection<T> wrapped) +
                Create a sorted array from the given list.
                +
                SortedCopyOnWriteArray(java.util.Collection<T> wrapped, + boolean sort) +
                Create a sorted array from the given list.
                +
                +
              • +
              + +
                +
              • + + +

                Method Summary

                + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                Methods 
                Modifier and TypeMethod and Description
                booleanadd(T value) +
                Inserts the given element in the proper location.
                +
                booleanaddAll(java.util.Collection<? extends T> values) 
                voidclear() 
                booleancontains(java.lang.Object value) 
                booleancontainsAll(java.util.Collection<?> values) 
                Tget(int index) +
                Retrieves an element by index.
                +
                booleanisEmpty() 
                java.util.Iterator<T>iterator() +
                Retrieves an iterator over the elements in the given list.
                +
                voidremove(int index) +
                Removes from the list by making a copy of every element except the one with the given index.
                +
                booleanremove(java.lang.Object value) +
                Removes from the list by making a new list with every element except the one given.
                +
                booleanremoveAll(java.util.Collection<?> values) 
                booleanretainAll(java.util.Collection<?> values) 
                intsize() +
                Retrieve the size of the list.
                +
                java.lang.Object[]toArray() 
                <T> T[]toArray(T[] a) 
                +
                  +
                • + + +

                  Methods inherited from class java.lang.Object

                  +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
                • +
                +
                  +
                • + + +

                  Methods inherited from interface java.util.Collection

                  +equals, hashCode
                • +
                +
              • +
              +
            • +
            +
            +
            +
              +
            • + +
                +
              • + + +

                Constructor Detail

                + + + +
                  +
                • +

                  SortedCopyOnWriteArray

                  +
                  public SortedCopyOnWriteArray()
                  +
                  Construct an empty sorted array.
                  +
                • +
                + + + +
                  +
                • +

                  SortedCopyOnWriteArray

                  +
                  public SortedCopyOnWriteArray(java.util.Collection<T> wrapped)
                  +
                  Create a sorted array from the given list. The elements will be automatically sorted.
                  +
                  Parameters:
                  wrapped - - the collection whose elements are to be placed into the list.
                  +
                • +
                + + + +
                  +
                • +

                  SortedCopyOnWriteArray

                  +
                  public SortedCopyOnWriteArray(java.util.Collection<T> wrapped,
                  +                      boolean sort)
                  +
                  Create a sorted array from the given list.
                  +
                  Parameters:
                  wrapped - - the collection whose elements are to be placed into the list.
                  sort - - TRUE to automatically sort the collection, FALSE if it is already sorted.
                  +
                • +
                +
              • +
              + +
                +
              • + + +

                Method Detail

                + + + + + +
                  +
                • +

                  add

                  +
                  public boolean add(T value)
                  +
                  Inserts the given element in the proper location.
                  +
                  +
                  Specified by:
                  +
                  add in interface java.util.Collection<T extends java.lang.Comparable<T>>
                  +
                  Parameters:
                  value - - element to insert.
                  +
                • +
                + + + +
                  +
                • +

                  addAll

                  +
                  public boolean addAll(java.util.Collection<? extends T> values)
                  +
                  +
                  Specified by:
                  +
                  addAll in interface java.util.Collection<T extends java.lang.Comparable<T>>
                  +
                  +
                • +
                + + + +
                  +
                • +

                  remove

                  +
                  public boolean remove(java.lang.Object value)
                  +
                  Removes from the list by making a new list with every element except the one given. +

                  + Objects will be compared using the given objects equals() method.

                  +
                  +
                  Specified by:
                  +
                  remove in interface java.util.Collection<T extends java.lang.Comparable<T>>
                  +
                  Parameters:
                  value - - value to remove.
                  +
                • +
                + + + +
                  +
                • +

                  removeAll

                  +
                  public boolean removeAll(java.util.Collection<?> values)
                  +
                  +
                  Specified by:
                  +
                  removeAll in interface java.util.Collection<T extends java.lang.Comparable<T>>
                  +
                  +
                • +
                + + + +
                  +
                • +

                  retainAll

                  +
                  public boolean retainAll(java.util.Collection<?> values)
                  +
                  +
                  Specified by:
                  +
                  retainAll in interface java.util.Collection<T extends java.lang.Comparable<T>>
                  +
                  +
                • +
                + + + +
                  +
                • +

                  remove

                  +
                  public void remove(int index)
                  +
                  Removes from the list by making a copy of every element except the one with the given index.
                  +
                  Parameters:
                  index - - index of the element to remove.
                  +
                • +
                + + + +
                  +
                • +

                  get

                  +
                  public T get(int index)
                  +
                  Retrieves an element by index.
                  +
                  Parameters:
                  index - - index of element to retrieve.
                  +
                  Returns:
                  The element at the given location.
                  +
                • +
                + + + +
                  +
                • +

                  size

                  +
                  public int size()
                  +
                  Retrieve the size of the list.
                  +
                  +
                  Specified by:
                  +
                  size in interface java.util.Collection<T extends java.lang.Comparable<T>>
                  +
                  Returns:
                  Size of the list.
                  +
                • +
                + + + +
                  +
                • +

                  iterator

                  +
                  public java.util.Iterator<T> iterator()
                  +
                  Retrieves an iterator over the elements in the given list. + Warning: No not attempt to remove elements using the iterator.
                  +
                  +
                  Specified by:
                  +
                  iterator in interface java.lang.Iterable<T extends java.lang.Comparable<T>>
                  +
                  Specified by:
                  +
                  iterator in interface java.util.Collection<T extends java.lang.Comparable<T>>
                  +
                  +
                • +
                + + + +
                  +
                • +

                  clear

                  +
                  public void clear()
                  +
                  +
                  Specified by:
                  +
                  clear in interface java.util.Collection<T extends java.lang.Comparable<T>>
                  +
                  +
                • +
                + + + +
                  +
                • +

                  contains

                  +
                  public boolean contains(java.lang.Object value)
                  +
                  +
                  Specified by:
                  +
                  contains in interface java.util.Collection<T extends java.lang.Comparable<T>>
                  +
                  +
                • +
                + + + +
                  +
                • +

                  containsAll

                  +
                  public boolean containsAll(java.util.Collection<?> values)
                  +
                  +
                  Specified by:
                  +
                  containsAll in interface java.util.Collection<T extends java.lang.Comparable<T>>
                  +
                  +
                • +
                + + + +
                  +
                • +

                  isEmpty

                  +
                  public boolean isEmpty()
                  +
                  +
                  Specified by:
                  +
                  isEmpty in interface java.util.Collection<T extends java.lang.Comparable<T>>
                  +
                  +
                • +
                + + + +
                  +
                • +

                  toArray

                  +
                  public java.lang.Object[] toArray()
                  +
                  +
                  Specified by:
                  +
                  toArray in interface java.util.Collection<T extends java.lang.Comparable<T>>
                  +
                  +
                • +
                + + + + + +
                  +
                • +

                  toArray

                  +
                  public <T> T[] toArray(T[] a)
                  +
                  +
                  Specified by:
                  +
                  toArray in interface java.util.Collection<T extends java.lang.Comparable<T>>
                  +
                  +
                • +
                +
              • +
              +
            • +
            +
            +
            + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/concurrency/class-use/AbstractConcurrentListenerMultimap.html b/Javadoc/com/comphenix/protocol/concurrency/class-use/AbstractConcurrentListenerMultimap.html index 0660bcb9..9b6d763d 100644 --- a/Javadoc/com/comphenix/protocol/concurrency/class-use/AbstractConcurrentListenerMultimap.html +++ b/Javadoc/com/comphenix/protocol/concurrency/class-use/AbstractConcurrentListenerMultimap.html @@ -1,115 +1,115 @@ - - - - - -Uses of Class com.comphenix.protocol.concurrency.AbstractConcurrentListenerMultimap - - - - - - - - - - -
            -

            Uses of Class
            com.comphenix.protocol.concurrency.AbstractConcurrentListenerMultimap

            -
            -
            No usage of com.comphenix.protocol.concurrency.AbstractConcurrentListenerMultimap
            - - - - - - + + + + + +Uses of Class com.comphenix.protocol.concurrency.AbstractConcurrentListenerMultimap + + + + + + + + + + +
            +

            Uses of Class
            com.comphenix.protocol.concurrency.AbstractConcurrentListenerMultimap

            +
            +
            No usage of com.comphenix.protocol.concurrency.AbstractConcurrentListenerMultimap
            + + + + + + diff --git a/Javadoc/com/comphenix/protocol/concurrency/class-use/SortedCopyOnWriteArray.html b/Javadoc/com/comphenix/protocol/concurrency/class-use/SortedCopyOnWriteArray.html index 49f61e9f..7fa392c4 100644 --- a/Javadoc/com/comphenix/protocol/concurrency/class-use/SortedCopyOnWriteArray.html +++ b/Javadoc/com/comphenix/protocol/concurrency/class-use/SortedCopyOnWriteArray.html @@ -1,115 +1,115 @@ - - - - - -Uses of Class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray - - - - - - - - - - -
            -

            Uses of Class
            com.comphenix.protocol.concurrency.SortedCopyOnWriteArray

            -
            -
            No usage of com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
            - - - - - - + + + + + +Uses of Class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray + + + + + + + + + + +
            +

            Uses of Class
            com.comphenix.protocol.concurrency.SortedCopyOnWriteArray

            +
            +
            No usage of com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
            + + + + + + diff --git a/Javadoc/com/comphenix/protocol/concurrency/package-frame.html b/Javadoc/com/comphenix/protocol/concurrency/package-frame.html index 7e9f2af6..59fecadf 100644 --- a/Javadoc/com/comphenix/protocol/concurrency/package-frame.html +++ b/Javadoc/com/comphenix/protocol/concurrency/package-frame.html @@ -1,20 +1,20 @@ - - - - - -com.comphenix.protocol.concurrency - - - - -

            com.comphenix.protocol.concurrency

            - - - + + + + + +com.comphenix.protocol.concurrency + + + + +

            com.comphenix.protocol.concurrency

            + + + diff --git a/Javadoc/com/comphenix/protocol/concurrency/package-summary.html b/Javadoc/com/comphenix/protocol/concurrency/package-summary.html index 65b4522e..2710a1fa 100644 --- a/Javadoc/com/comphenix/protocol/concurrency/package-summary.html +++ b/Javadoc/com/comphenix/protocol/concurrency/package-summary.html @@ -1,141 +1,141 @@ - - - - - -com.comphenix.protocol.concurrency - - - - - - - -
            - - - - - -
            - - -
            -

            Package com.comphenix.protocol.concurrency

            -
            -
            -
              -
            • - - - - - - - - - - - - - - - - -
              Class Summary 
              ClassDescription
              AbstractConcurrentListenerMultimap<TListener> -
              A thread-safe implementation of a listener multimap.
              -
              SortedCopyOnWriteArray<T extends java.lang.Comparable<T>> -
              An implicitly sorted array list that preserves insertion order and maintains duplicates.
              -
              -
            • -
            -
            - -
            - - - - - -
            - - - - + + + + + +com.comphenix.protocol.concurrency + + + + + + + +
            + + + + + +
            + + +
            +

            Package com.comphenix.protocol.concurrency

            +
            +
            +
              +
            • + + + + + + + + + + + + + + + + +
              Class Summary 
              ClassDescription
              AbstractConcurrentListenerMultimap<TListener> +
              A thread-safe implementation of a listener multimap.
              +
              SortedCopyOnWriteArray<T extends java.lang.Comparable<T>> +
              An implicitly sorted array list that preserves insertion order and maintains duplicates.
              +
              +
            • +
            +
            + +
            + + + + + +
            + + + + diff --git a/Javadoc/com/comphenix/protocol/concurrency/package-tree.html b/Javadoc/com/comphenix/protocol/concurrency/package-tree.html index 1b1bd651..83543168 100644 --- a/Javadoc/com/comphenix/protocol/concurrency/package-tree.html +++ b/Javadoc/com/comphenix/protocol/concurrency/package-tree.html @@ -1,129 +1,129 @@ - - - - - -com.comphenix.protocol.concurrency Class Hierarchy - - - - - - - -
            - - - - - -
            - - -
            -

            Hierarchy For Package com.comphenix.protocol.concurrency

            -Package Hierarchies: - -
            -
            -

            Class Hierarchy

            - -
            - -
            - - - - - -
            - - - - + + + + + +com.comphenix.protocol.concurrency Class Hierarchy + + + + + + + +
            + + + + + +
            + + +
            +

            Hierarchy For Package com.comphenix.protocol.concurrency

            +Package Hierarchies: + +
            +
            +

            Class Hierarchy

            + +
            + +
            + + + + + +
            + + + + diff --git a/Javadoc/com/comphenix/protocol/concurrency/package-use.html b/Javadoc/com/comphenix/protocol/concurrency/package-use.html index 0a528953..bd3d8b1d 100644 --- a/Javadoc/com/comphenix/protocol/concurrency/package-use.html +++ b/Javadoc/com/comphenix/protocol/concurrency/package-use.html @@ -1,115 +1,115 @@ - - - - - -Uses of Package com.comphenix.protocol.concurrency - - - - - - - - - - -
            -

            Uses of Package
            com.comphenix.protocol.concurrency

            -
            -
            No usage of com.comphenix.protocol.concurrency
            - - - - - - + + + + + +Uses of Package com.comphenix.protocol.concurrency + + + + + + + + + + +
            +

            Uses of Package
            com.comphenix.protocol.concurrency

            +
            +
            No usage of com.comphenix.protocol.concurrency
            + + + + + + diff --git a/Javadoc/com/comphenix/protocol/events/ConnectionSide.html b/Javadoc/com/comphenix/protocol/events/ConnectionSide.html index 30a78a6f..206b520f 100644 --- a/Javadoc/com/comphenix/protocol/events/ConnectionSide.html +++ b/Javadoc/com/comphenix/protocol/events/ConnectionSide.html @@ -1,371 +1,371 @@ - - - - - -ConnectionSide - - - - - - - - - - - -
            -
            com.comphenix.protocol.events
            -

            Enum ConnectionSide

            -
            -
            -
              -
            • java.lang.Object
            • -
            • -
                -
              • java.lang.Enum<ConnectionSide>
              • -
              • -
                  -
                • com.comphenix.protocol.events.ConnectionSide
                • -
                -
              • -
              -
            • -
            -
            -
              -
            • -
              -
              All Implemented Interfaces:
              -
              java.io.Serializable, java.lang.Comparable<ConnectionSide>
              -
              -
              -
              -
              public enum ConnectionSide
              -extends java.lang.Enum<ConnectionSide>
              -
              Used to set a packet filter.
              -
              Author:
              -
              Kristian
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Enum Constant Summary

                - - - - - - - - - - - - - - -
                Enum Constants 
                Enum Constant and Description
                BOTH -
                Listen for both client and server side packets.
                -
                CLIENT_SIDE -
                Listen for client side packets that will invoke onPacketReceiving().
                -
                SERVER_SIDE -
                Listen for server side packets that will invoke onPacketSending().
                -
                -
              • -
              - -
                -
              • - - -

                Method Summary

                - - - - - - - - - - - - - - - - - - - - - - -
                Methods 
                Modifier and TypeMethod and Description
                booleanisForClient() 
                booleanisForServer() 
                static ConnectionSidevalueOf(java.lang.String name) -
                Returns the enum constant of this type with the specified name.
                -
                static ConnectionSide[]values() -
                Returns an array containing the constants of this enum type, in -the order they are declared.
                -
                -
                  -
                • - - -

                  Methods inherited from class java.lang.Enum

                  -clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
                • -
                -
                  -
                • - - -

                  Methods inherited from class java.lang.Object

                  -getClass, notify, notifyAll, wait, wait, wait
                • -
                -
              • -
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Enum Constant Detail

                - - - -
                  -
                • -

                  SERVER_SIDE

                  -
                  public static final ConnectionSide SERVER_SIDE
                  -
                  Listen for server side packets that will invoke onPacketSending().
                  -
                • -
                - - - -
                  -
                • -

                  CLIENT_SIDE

                  -
                  public static final ConnectionSide CLIENT_SIDE
                  -
                  Listen for client side packets that will invoke onPacketReceiving().
                  -
                • -
                - - - -
                  -
                • -

                  BOTH

                  -
                  public static final ConnectionSide BOTH
                  -
                  Listen for both client and server side packets.
                  -
                • -
                -
              • -
              - -
                -
              • - - -

                Method Detail

                - - - -
                  -
                • -

                  values

                  -
                  public static ConnectionSide[] values()
                  -
                  Returns an array containing the constants of this enum type, in -the order they are declared. This method may be used to iterate -over the constants as follows: -
                  -for (ConnectionSide c : ConnectionSide.values())
                  -    System.out.println(c);
                  -
                  -
                  Returns:
                  an array containing the constants of this enum type, in -the order they are declared
                  -
                • -
                - - - -
                  -
                • -

                  valueOf

                  -
                  public static ConnectionSide valueOf(java.lang.String name)
                  -
                  Returns the enum constant of this type with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this type. (Extraneous whitespace characters are -not permitted.)
                  -
                  Parameters:
                  name - the name of the enum constant to be returned.
                  -
                  Returns:
                  the enum constant with the specified name
                  -
                  Throws:
                  -
                  java.lang.IllegalArgumentException - if this enum type has no constant -with the specified name
                  -
                  java.lang.NullPointerException - if the argument is null
                  -
                • -
                - - - -
                  -
                • -

                  isForClient

                  -
                  public boolean isForClient()
                  -
                • -
                - - - -
                  -
                • -

                  isForServer

                  -
                  public boolean isForServer()
                  -
                • -
                -
              • -
              -
            • -
            -
            -
            - - - - - - - + + + + + +ConnectionSide + + + + + + + + + + + +
            +
            com.comphenix.protocol.events
            +

            Enum ConnectionSide

            +
            +
            +
              +
            • java.lang.Object
            • +
            • +
                +
              • java.lang.Enum<ConnectionSide>
              • +
              • +
                  +
                • com.comphenix.protocol.events.ConnectionSide
                • +
                +
              • +
              +
            • +
            +
            +
              +
            • +
              +
              All Implemented Interfaces:
              +
              java.io.Serializable, java.lang.Comparable<ConnectionSide>
              +
              +
              +
              +
              public enum ConnectionSide
              +extends java.lang.Enum<ConnectionSide>
              +
              Used to set a packet filter.
              +
              Author:
              +
              Kristian
              +
            • +
            +
            +
            +
              +
            • + +
                +
              • + + +

                Enum Constant Summary

                + + + + + + + + + + + + + + +
                Enum Constants 
                Enum Constant and Description
                BOTH +
                Listen for both client and server side packets.
                +
                CLIENT_SIDE +
                Listen for client side packets that will invoke onPacketReceiving().
                +
                SERVER_SIDE +
                Listen for server side packets that will invoke onPacketSending().
                +
                +
              • +
              + +
                +
              • + + +

                Method Summary

                + + + + + + + + + + + + + + + + + + + + + + +
                Methods 
                Modifier and TypeMethod and Description
                booleanisForClient() 
                booleanisForServer() 
                static ConnectionSidevalueOf(java.lang.String name) +
                Returns the enum constant of this type with the specified name.
                +
                static ConnectionSide[]values() +
                Returns an array containing the constants of this enum type, in +the order they are declared.
                +
                +
                  +
                • + + +

                  Methods inherited from class java.lang.Enum

                  +clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
                • +
                +
                  +
                • + + +

                  Methods inherited from class java.lang.Object

                  +getClass, notify, notifyAll, wait, wait, wait
                • +
                +
              • +
              +
            • +
            +
            +
            +
              +
            • + +
                +
              • + + +

                Enum Constant Detail

                + + + +
                  +
                • +

                  SERVER_SIDE

                  +
                  public static final ConnectionSide SERVER_SIDE
                  +
                  Listen for server side packets that will invoke onPacketSending().
                  +
                • +
                + + + +
                  +
                • +

                  CLIENT_SIDE

                  +
                  public static final ConnectionSide CLIENT_SIDE
                  +
                  Listen for client side packets that will invoke onPacketReceiving().
                  +
                • +
                + + + +
                  +
                • +

                  BOTH

                  +
                  public static final ConnectionSide BOTH
                  +
                  Listen for both client and server side packets.
                  +
                • +
                +
              • +
              + +
                +
              • + + +

                Method Detail

                + + + +
                  +
                • +

                  values

                  +
                  public static ConnectionSide[] values()
                  +
                  Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
                  +for (ConnectionSide c : ConnectionSide.values())
                  +    System.out.println(c);
                  +
                  +
                  Returns:
                  an array containing the constants of this enum type, in +the order they are declared
                  +
                • +
                + + + +
                  +
                • +

                  valueOf

                  +
                  public static ConnectionSide valueOf(java.lang.String name)
                  +
                  Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
                  +
                  Parameters:
                  name - the name of the enum constant to be returned.
                  +
                  Returns:
                  the enum constant with the specified name
                  +
                  Throws:
                  +
                  java.lang.IllegalArgumentException - if this enum type has no constant +with the specified name
                  +
                  java.lang.NullPointerException - if the argument is null
                  +
                • +
                + + + +
                  +
                • +

                  isForClient

                  +
                  public boolean isForClient()
                  +
                • +
                + + + +
                  +
                • +

                  isForServer

                  +
                  public boolean isForServer()
                  +
                • +
                +
              • +
              +
            • +
            +
            +
            + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/events/ListenerPriority.html b/Javadoc/com/comphenix/protocol/events/ListenerPriority.html index 071d1bc6..8a32298f 100644 --- a/Javadoc/com/comphenix/protocol/events/ListenerPriority.html +++ b/Javadoc/com/comphenix/protocol/events/ListenerPriority.html @@ -1,413 +1,413 @@ - - - - - -ListenerPriority - - - - - - - - - - - -
            -
            com.comphenix.protocol.events
            -

            Enum ListenerPriority

            -
            -
            -
              -
            • java.lang.Object
            • -
            • -
                -
              • java.lang.Enum<ListenerPriority>
              • -
              • -
                  -
                • com.comphenix.protocol.events.ListenerPriority
                • -
                -
              • -
              -
            • -
            -
            -
              -
            • -
              -
              All Implemented Interfaces:
              -
              java.io.Serializable, java.lang.Comparable<ListenerPriority>
              -
              -
              -
              -
              public enum ListenerPriority
              -extends java.lang.Enum<ListenerPriority>
              -
              Represents a packet event priority, similar to the Bukkit EventPriority.
              -
              Author:
              -
              Kristian
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Enum Constant Summary

                - - - - - - - - - - - - - - - - - - - - - - - -
                Enum Constants 
                Enum Constant and Description
                HIGH -
                Event call is of high importance.
                -
                HIGHEST -
                Event call is critical and must have the final say in what happens to the - event.
                -
                LOW -
                Event call is of low importance.
                -
                LOWEST -
                Event call is of very low importance and should be ran first, to allow - other plugins to further customise the outcome.
                -
                MONITOR -
                Event is listened to purely for monitoring the outcome of an event.
                -
                NORMAL -
                Event call is neither important or unimportant, and may be ran normally.
                -
                -
              • -
              - -
                -
              • - - -

                Method Summary

                - - - - - - - - - - - - - - - - - - -
                Methods 
                Modifier and TypeMethod and Description
                intgetSlot() -
                A low slot represents a low priority.
                -
                static ListenerPriorityvalueOf(java.lang.String name) -
                Returns the enum constant of this type with the specified name.
                -
                static ListenerPriority[]values() -
                Returns an array containing the constants of this enum type, in -the order they are declared.
                -
                -
                  -
                • - - -

                  Methods inherited from class java.lang.Enum

                  -clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
                • -
                -
                  -
                • - - -

                  Methods inherited from class java.lang.Object

                  -getClass, notify, notifyAll, wait, wait, wait
                • -
                -
              • -
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Enum Constant Detail

                - - - -
                  -
                • -

                  LOWEST

                  -
                  public static final ListenerPriority LOWEST
                  -
                  Event call is of very low importance and should be ran first, to allow - other plugins to further customise the outcome.
                  -
                • -
                - - - -
                  -
                • -

                  LOW

                  -
                  public static final ListenerPriority LOW
                  -
                  Event call is of low importance.
                  -
                • -
                - - - -
                  -
                • -

                  NORMAL

                  -
                  public static final ListenerPriority NORMAL
                  -
                  Event call is neither important or unimportant, and may be ran normally.
                  -
                • -
                - - - -
                  -
                • -

                  HIGH

                  -
                  public static final ListenerPriority HIGH
                  -
                  Event call is of high importance.
                  -
                • -
                - - - -
                  -
                • -

                  HIGHEST

                  -
                  public static final ListenerPriority HIGHEST
                  -
                  Event call is critical and must have the final say in what happens to the - event.
                  -
                • -
                - - - -
                  -
                • -

                  MONITOR

                  -
                  public static final ListenerPriority MONITOR
                  -
                  Event is listened to purely for monitoring the outcome of an event. -

                  - No modifications to the event should be made under this priority.

                  -
                • -
                -
              • -
              - -
                -
              • - - -

                Method Detail

                - - - -
                  -
                • -

                  values

                  -
                  public static ListenerPriority[] values()
                  -
                  Returns an array containing the constants of this enum type, in -the order they are declared. This method may be used to iterate -over the constants as follows: -
                  -for (ListenerPriority c : ListenerPriority.values())
                  -    System.out.println(c);
                  -
                  -
                  Returns:
                  an array containing the constants of this enum type, in -the order they are declared
                  -
                • -
                - - - -
                  -
                • -

                  valueOf

                  -
                  public static ListenerPriority valueOf(java.lang.String name)
                  -
                  Returns the enum constant of this type with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this type. (Extraneous whitespace characters are -not permitted.)
                  -
                  Parameters:
                  name - the name of the enum constant to be returned.
                  -
                  Returns:
                  the enum constant with the specified name
                  -
                  Throws:
                  -
                  java.lang.IllegalArgumentException - if this enum type has no constant -with the specified name
                  -
                  java.lang.NullPointerException - if the argument is null
                  -
                • -
                - - - -
                  -
                • -

                  getSlot

                  -
                  public int getSlot()
                  -
                  A low slot represents a low priority.
                  -
                  Returns:
                  Integer representation of this priorty.
                  -
                • -
                -
              • -
              -
            • -
            -
            -
            - - - - - - - + + + + + +ListenerPriority + + + + + + + + + + + +
            +
            com.comphenix.protocol.events
            +

            Enum ListenerPriority

            +
            +
            +
              +
            • java.lang.Object
            • +
            • +
                +
              • java.lang.Enum<ListenerPriority>
              • +
              • +
                  +
                • com.comphenix.protocol.events.ListenerPriority
                • +
                +
              • +
              +
            • +
            +
            +
              +
            • +
              +
              All Implemented Interfaces:
              +
              java.io.Serializable, java.lang.Comparable<ListenerPriority>
              +
              +
              +
              +
              public enum ListenerPriority
              +extends java.lang.Enum<ListenerPriority>
              +
              Represents a packet event priority, similar to the Bukkit EventPriority.
              +
              Author:
              +
              Kristian
              +
            • +
            +
            +
            +
              +
            • + +
                +
              • + + +

                Enum Constant Summary

                + + + + + + + + + + + + + + + + + + + + + + + +
                Enum Constants 
                Enum Constant and Description
                HIGH +
                Event call is of high importance.
                +
                HIGHEST +
                Event call is critical and must have the final say in what happens to the + event.
                +
                LOW +
                Event call is of low importance.
                +
                LOWEST +
                Event call is of very low importance and should be ran first, to allow + other plugins to further customise the outcome.
                +
                MONITOR +
                Event is listened to purely for monitoring the outcome of an event.
                +
                NORMAL +
                Event call is neither important or unimportant, and may be ran normally.
                +
                +
              • +
              + +
                +
              • + + +

                Method Summary

                + + + + + + + + + + + + + + + + + + +
                Methods 
                Modifier and TypeMethod and Description
                intgetSlot() +
                A low slot represents a low priority.
                +
                static ListenerPriorityvalueOf(java.lang.String name) +
                Returns the enum constant of this type with the specified name.
                +
                static ListenerPriority[]values() +
                Returns an array containing the constants of this enum type, in +the order they are declared.
                +
                +
                  +
                • + + +

                  Methods inherited from class java.lang.Enum

                  +clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
                • +
                +
                  +
                • + + +

                  Methods inherited from class java.lang.Object

                  +getClass, notify, notifyAll, wait, wait, wait
                • +
                +
              • +
              +
            • +
            +
            +
            +
              +
            • + +
                +
              • + + +

                Enum Constant Detail

                + + + +
                  +
                • +

                  LOWEST

                  +
                  public static final ListenerPriority LOWEST
                  +
                  Event call is of very low importance and should be ran first, to allow + other plugins to further customise the outcome.
                  +
                • +
                + + + +
                  +
                • +

                  LOW

                  +
                  public static final ListenerPriority LOW
                  +
                  Event call is of low importance.
                  +
                • +
                + + + +
                  +
                • +

                  NORMAL

                  +
                  public static final ListenerPriority NORMAL
                  +
                  Event call is neither important or unimportant, and may be ran normally.
                  +
                • +
                + + + +
                  +
                • +

                  HIGH

                  +
                  public static final ListenerPriority HIGH
                  +
                  Event call is of high importance.
                  +
                • +
                + + + +
                  +
                • +

                  HIGHEST

                  +
                  public static final ListenerPriority HIGHEST
                  +
                  Event call is critical and must have the final say in what happens to the + event.
                  +
                • +
                + + + +
                  +
                • +

                  MONITOR

                  +
                  public static final ListenerPriority MONITOR
                  +
                  Event is listened to purely for monitoring the outcome of an event. +

                  + No modifications to the event should be made under this priority.

                  +
                • +
                +
              • +
              + +
                +
              • + + +

                Method Detail

                + + + +
                  +
                • +

                  values

                  +
                  public static ListenerPriority[] values()
                  +
                  Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
                  +for (ListenerPriority c : ListenerPriority.values())
                  +    System.out.println(c);
                  +
                  +
                  Returns:
                  an array containing the constants of this enum type, in +the order they are declared
                  +
                • +
                + + + +
                  +
                • +

                  valueOf

                  +
                  public static ListenerPriority valueOf(java.lang.String name)
                  +
                  Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
                  +
                  Parameters:
                  name - the name of the enum constant to be returned.
                  +
                  Returns:
                  the enum constant with the specified name
                  +
                  Throws:
                  +
                  java.lang.IllegalArgumentException - if this enum type has no constant +with the specified name
                  +
                  java.lang.NullPointerException - if the argument is null
                  +
                • +
                + + + +
                  +
                • +

                  getSlot

                  +
                  public int getSlot()
                  +
                  A low slot represents a low priority.
                  +
                  Returns:
                  Integer representation of this priorty.
                  +
                • +
                +
              • +
              +
            • +
            +
            +
            + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/events/ListeningWhitelist.html b/Javadoc/com/comphenix/protocol/events/ListeningWhitelist.html index 4af530b8..aa9e56d4 100644 --- a/Javadoc/com/comphenix/protocol/events/ListeningWhitelist.html +++ b/Javadoc/com/comphenix/protocol/events/ListeningWhitelist.html @@ -1,431 +1,488 @@ - - - - - -ListeningWhitelist - - - - - - - - - - - -
            -
            com.comphenix.protocol.events
            -

            Class ListeningWhitelist

            -
            -
            -
              -
            • java.lang.Object
            • -
            • -
                -
              • com.comphenix.protocol.events.ListeningWhitelist
              • -
              -
            • -
            -
            -
              -
            • -
              -
              -
              public class ListeningWhitelist
              -extends java.lang.Object
              -
              Determines which packets will be observed by a listener, and with what priority.
              -
              Author:
              -
              Kristian
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Field Summary

                - - - - - - - - - - -
                Fields 
                Modifier and TypeField and Description
                static ListeningWhitelistEMPTY_WHITELIST -
                A whitelist with no packets - indicates that the listener shouldn't observe any packets.
                -
                -
              • -
              - -
                -
              • - - -

                Constructor Summary

                - - - - - - - - - - - -
                Constructors 
                Constructor and Description
                ListeningWhitelist(ListenerPriority priority, - java.lang.Integer... whitelist) -
                Creates a packet whitelist of a given priority for a list of packets.
                -
                ListeningWhitelist(ListenerPriority priority, - java.util.Set<java.lang.Integer> whitelist) -
                Creates a packet whitelist for a given priority with a set of packet IDs.
                -
                -
              • -
              - -
                -
              • - - -

                Method Summary

                - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                Methods 
                Modifier and TypeMethod and Description
                static booleancontainsAny(ListeningWhitelist whitelist, - int... idList) -
                Determine if any of the given IDs can be found in the whitelist.
                -
                booleanequals(java.lang.Object obj) 
                ListenerPrioritygetPriority() -
                Retrieve the priority in the execution order of the packet listener.
                -
                java.util.Set<java.lang.Integer>getWhitelist() -
                Retrieves the list of packets that will be observed by the listeners.
                -
                inthashCode() 
                booleanisEnabled() -
                Whether or not this whitelist has any enabled packets.
                -
                java.lang.StringtoString() 
                -
                  -
                • - - -

                  Methods inherited from class java.lang.Object

                  -clone, finalize, getClass, notify, notifyAll, wait, wait, wait
                • -
                -
              • -
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Field Detail

                - - - -
                  -
                • -

                  EMPTY_WHITELIST

                  -
                  public static ListeningWhitelist EMPTY_WHITELIST
                  -
                  A whitelist with no packets - indicates that the listener shouldn't observe any packets.
                  -
                • -
                -
              • -
              - -
                -
              • - - -

                Constructor Detail

                - - - -
                  -
                • -

                  ListeningWhitelist

                  -
                  public ListeningWhitelist(ListenerPriority priority,
                  -                  java.util.Set<java.lang.Integer> whitelist)
                  -
                  Creates a packet whitelist for a given priority with a set of packet IDs.
                  -
                  Parameters:
                  priority - - the listener priority.
                  whitelist - - set of IDs to observe/enable.
                  -
                • -
                - - - -
                  -
                • -

                  ListeningWhitelist

                  -
                  public ListeningWhitelist(ListenerPriority priority,
                  -                  java.lang.Integer... whitelist)
                  -
                  Creates a packet whitelist of a given priority for a list of packets.
                  -
                  Parameters:
                  priority - - the listener priority.
                  whitelist - - list of packet IDs to observe/enable.
                  -
                • -
                -
              • -
              - -
                -
              • - - -

                Method Detail

                - - - -
                  -
                • -

                  isEnabled

                  -
                  public boolean isEnabled()
                  -
                  Whether or not this whitelist has any enabled packets.
                  -
                  Returns:
                  TRUE if there are any packets, FALSE otherwise.
                  -
                • -
                - - - -
                  -
                • -

                  getPriority

                  -
                  public ListenerPriority getPriority()
                  -
                  Retrieve the priority in the execution order of the packet listener. Highest priority will be executed last.
                  -
                  Returns:
                  Execution order in terms of priority.
                  -
                • -
                - - - -
                  -
                • -

                  getWhitelist

                  -
                  public java.util.Set<java.lang.Integer> getWhitelist()
                  -
                  Retrieves the list of packets that will be observed by the listeners.
                  -
                  Returns:
                  Packet whitelist.
                  -
                • -
                - - - -
                  -
                • -

                  hashCode

                  -
                  public int hashCode()
                  -
                  -
                  Overrides:
                  -
                  hashCode in class java.lang.Object
                  -
                  -
                • -
                - - - -
                  -
                • -

                  containsAny

                  -
                  public static boolean containsAny(ListeningWhitelist whitelist,
                  -                  int... idList)
                  -
                  Determine if any of the given IDs can be found in the whitelist.
                  -
                  Parameters:
                  whitelist - - whitelist to test.
                  idList - - list of packet IDs to find.
                  -
                  Returns:
                  TRUE if any of the packets in the list can be found in the whitelist, FALSE otherwise.
                  -
                • -
                - - - -
                  -
                • -

                  equals

                  -
                  public boolean equals(java.lang.Object obj)
                  -
                  -
                  Overrides:
                  -
                  equals in class java.lang.Object
                  -
                  -
                • -
                - - - -
                  -
                • -

                  toString

                  -
                  public java.lang.String toString()
                  -
                  -
                  Overrides:
                  -
                  toString in class java.lang.Object
                  -
                  -
                • -
                -
              • -
              -
            • -
            -
            -
            - - - - - - - + + + + + +ListeningWhitelist + + + + + + + + + + + +
            +
            com.comphenix.protocol.events
            +

            Class ListeningWhitelist

            +
            +
            +
              +
            • java.lang.Object
            • +
            • +
                +
              • com.comphenix.protocol.events.ListeningWhitelist
              • +
              +
            • +
            +
            +
              +
            • +
              +
              +
              public class ListeningWhitelist
              +extends java.lang.Object
              +
              Determines which packets will be observed by a listener, and with what priority.
              +
              Author:
              +
              Kristian
              +
            • +
            +
            +
            +
              +
            • + +
                +
              • + + +

                Field Summary

                + + + + + + + + + + +
                Fields 
                Modifier and TypeField and Description
                static ListeningWhitelistEMPTY_WHITELIST +
                A whitelist with no packets - indicates that the listener shouldn't observe any packets.
                +
                +
              • +
              + +
                +
              • + + +

                Constructor Summary

                + + + + + + + + + + + + + + + + + +
                Constructors 
                Constructor and Description
                ListeningWhitelist(ListenerPriority priority, + java.lang.Integer... whitelist) +
                Creates a packet whitelist of a given priority for a list of packets.
                +
                ListeningWhitelist(ListenerPriority priority, + java.lang.Integer[] whitelist, + GamePhase gamePhase) +
                Creates a packet whitelist for a given priority with a set of packet IDs.
                +
                ListeningWhitelist(ListenerPriority priority, + java.util.Set<java.lang.Integer> whitelist) +
                Creates a packet whitelist for a given priority with a set of packet IDs.
                +
                ListeningWhitelist(ListenerPriority priority, + java.util.Set<java.lang.Integer> whitelist, + GamePhase gamePhase) +
                Creates a packet whitelist for a given priority with a set of packet IDs.
                +
                +
              • +
              + +
                +
              • + + +

                Method Summary

                + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                Methods 
                Modifier and TypeMethod and Description
                static booleancontainsAny(ListeningWhitelist whitelist, + int... idList) +
                Determine if any of the given IDs can be found in the whitelist.
                +
                booleanequals(java.lang.Object obj) 
                GamePhasegetGamePhase() +
                Retrieve which game phase this listener is active under.
                +
                ListenerPrioritygetPriority() +
                Retrieve the priority in the execution order of the packet listener.
                +
                java.util.Set<java.lang.Integer>getWhitelist() +
                Retrieves the list of packets that will be observed by the listeners.
                +
                inthashCode() 
                booleanisEnabled() +
                Whether or not this whitelist has any enabled packets.
                +
                java.lang.StringtoString() 
                +
                  +
                • + + +

                  Methods inherited from class java.lang.Object

                  +clone, finalize, getClass, notify, notifyAll, wait, wait, wait
                • +
                +
              • +
              +
            • +
            +
            +
            +
              +
            • + +
                +
              • + + +

                Field Detail

                + + + +
                  +
                • +

                  EMPTY_WHITELIST

                  +
                  public static final ListeningWhitelist EMPTY_WHITELIST
                  +
                  A whitelist with no packets - indicates that the listener shouldn't observe any packets.
                  +
                • +
                +
              • +
              + +
                +
              • + + +

                Constructor Detail

                + + + +
                  +
                • +

                  ListeningWhitelist

                  +
                  public ListeningWhitelist(ListenerPriority priority,
                  +                  java.util.Set<java.lang.Integer> whitelist)
                  +
                  Creates a packet whitelist for a given priority with a set of packet IDs.
                  +
                  Parameters:
                  priority - - the listener priority.
                  whitelist - - set of IDs to observe/enable.
                  +
                • +
                + + + +
                  +
                • +

                  ListeningWhitelist

                  +
                  public ListeningWhitelist(ListenerPriority priority,
                  +                  java.util.Set<java.lang.Integer> whitelist,
                  +                  GamePhase gamePhase)
                  +
                  Creates a packet whitelist for a given priority with a set of packet IDs.
                  +
                  Parameters:
                  priority - - the listener priority.
                  whitelist - - set of IDs to observe/enable.
                  gamePhase - - which game phase to receieve notifications on.
                  +
                • +
                + + + +
                  +
                • +

                  ListeningWhitelist

                  +
                  public ListeningWhitelist(ListenerPriority priority,
                  +                  java.lang.Integer... whitelist)
                  +
                  Creates a packet whitelist of a given priority for a list of packets.
                  +
                  Parameters:
                  priority - - the listener priority.
                  whitelist - - list of packet IDs to observe/enable.
                  +
                • +
                + + + +
                  +
                • +

                  ListeningWhitelist

                  +
                  public ListeningWhitelist(ListenerPriority priority,
                  +                  java.lang.Integer[] whitelist,
                  +                  GamePhase gamePhase)
                  +
                  Creates a packet whitelist for a given priority with a set of packet IDs.
                  +
                  Parameters:
                  priority - - the listener priority.
                  whitelist - - list of packet IDs to observe/enable.
                  gamePhase - - which game phase to receieve notifications on.
                  +
                • +
                +
              • +
              + +
                +
              • + + +

                Method Detail

                + + + +
                  +
                • +

                  isEnabled

                  +
                  public boolean isEnabled()
                  +
                  Whether or not this whitelist has any enabled packets.
                  +
                  Returns:
                  TRUE if there are any packets, FALSE otherwise.
                  +
                • +
                + + + +
                  +
                • +

                  getPriority

                  +
                  public ListenerPriority getPriority()
                  +
                  Retrieve the priority in the execution order of the packet listener. Highest priority will be executed last.
                  +
                  Returns:
                  Execution order in terms of priority.
                  +
                • +
                + + + +
                  +
                • +

                  getWhitelist

                  +
                  public java.util.Set<java.lang.Integer> getWhitelist()
                  +
                  Retrieves the list of packets that will be observed by the listeners.
                  +
                  Returns:
                  Packet whitelist.
                  +
                • +
                + + + +
                  +
                • +

                  getGamePhase

                  +
                  public GamePhase getGamePhase()
                  +
                  Retrieve which game phase this listener is active under.
                  +
                  Returns:
                  The active game phase.
                  +
                • +
                + + + +
                  +
                • +

                  hashCode

                  +
                  public int hashCode()
                  +
                  +
                  Overrides:
                  +
                  hashCode in class java.lang.Object
                  +
                  +
                • +
                + + + +
                  +
                • +

                  containsAny

                  +
                  public static boolean containsAny(ListeningWhitelist whitelist,
                  +                  int... idList)
                  +
                  Determine if any of the given IDs can be found in the whitelist.
                  +
                  Parameters:
                  whitelist - - whitelist to test.
                  idList - - list of packet IDs to find.
                  +
                  Returns:
                  TRUE if any of the packets in the list can be found in the whitelist, FALSE otherwise.
                  +
                • +
                + + + +
                  +
                • +

                  equals

                  +
                  public boolean equals(java.lang.Object obj)
                  +
                  +
                  Overrides:
                  +
                  equals in class java.lang.Object
                  +
                  +
                • +
                + + + +
                  +
                • +

                  toString

                  +
                  public java.lang.String toString()
                  +
                  +
                  Overrides:
                  +
                  toString in class java.lang.Object
                  +
                  +
                • +
                +
              • +
              +
            • +
            +
            +
            + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/events/PacketAdapter.html b/Javadoc/com/comphenix/protocol/events/PacketAdapter.html index deb1dd88..a6afd709 100644 --- a/Javadoc/com/comphenix/protocol/events/PacketAdapter.html +++ b/Javadoc/com/comphenix/protocol/events/PacketAdapter.html @@ -1,504 +1,626 @@ - - - - - -PacketAdapter - - - - - - - - - - - -
            -
            com.comphenix.protocol.events
            -

            Class PacketAdapter

            -
            -
            -
              -
            • java.lang.Object
            • -
            • -
                -
              • com.comphenix.protocol.events.PacketAdapter
              • -
              -
            • -
            -
            -
              -
            • -
              -
              All Implemented Interfaces:
              -
              PacketListener
              -
              -
              -
              -
              public abstract class PacketAdapter
              -extends java.lang.Object
              -implements PacketListener
              -
              Represents a packet listener with useful constructors.
              -
              Author:
              -
              Kristian
              -
            • -
            -
            -
            - -
            -
            -
              -
            • - - - -
                -
              • - - -

                Constructor Detail

                - - - -
                  -
                • -

                  PacketAdapter

                  -
                  public PacketAdapter(org.bukkit.plugin.Plugin plugin,
                  -             ConnectionSide connectionSide,
                  -             java.lang.Integer... packets)
                  -
                  Initialize a packet listener with default priority.
                  -
                  Parameters:
                  plugin - - the plugin that spawned this listener.
                  connectionSide - - the packet type the listener is looking for.
                  packets - - the packet IDs the listener is looking for.
                  -
                • -
                - - - -
                  -
                • -

                  PacketAdapter

                  -
                  public PacketAdapter(org.bukkit.plugin.Plugin plugin,
                  -             ConnectionSide connectionSide,
                  -             ListenerPriority listenerPriority,
                  -             java.lang.Integer... packets)
                  -
                  Initialize a packet listener for a single connection side.
                  -
                  Parameters:
                  plugin - - the plugin that spawned this listener.
                  connectionSide - - the packet type the listener is looking for.
                  listenerPriority - - the event priority.
                  packets - - the packet IDs the listener is looking for.
                  -
                • -
                -
              • -
              - -
                -
              • - - -

                Method Detail

                - - - -
                  -
                • -

                  onPacketReceiving

                  -
                  public void onPacketReceiving(PacketEvent event)
                  -
                  Description copied from interface: PacketListener
                  -
                  Invoked right before a recieved packet from a client is being processed. -

                  - WARNING:
                  - This method will be called asynchronously! You should synchronize with the main - thread using scheduleSyncDelayedTask - if you need to call the Bukkit API.

                  -
                  -
                  Specified by:
                  -
                  onPacketReceiving in interface PacketListener
                  -
                  Parameters:
                  event - - the packet that has been recieved.
                  -
                • -
                - - - -
                  -
                • -

                  onPacketSending

                  -
                  public void onPacketSending(PacketEvent event)
                  -
                  Description copied from interface: PacketListener
                  -
                  Invoked right before a packet is transmitted from the server to the client. -

                  - Note that the packet may be replaced, if needed. -

                  - This method is executed on the main thread, and thus the Bukkit API is safe to use.

                  -
                  -
                  Specified by:
                  -
                  onPacketSending in interface PacketListener
                  -
                  Parameters:
                  event - - the packet that should be sent.
                  -
                • -
                - - - -
                  -
                • -

                  getReceivingWhitelist

                  -
                  public ListeningWhitelist getReceivingWhitelist()
                  -
                  Description copied from interface: PacketListener
                  -
                  Retrieve which packets sent by the client this listener will observe.
                  -
                  -
                  Specified by:
                  -
                  getReceivingWhitelist in interface PacketListener
                  -
                  Returns:
                  List of server packets to observe, along with the priority.
                  -
                • -
                - - - -
                  -
                • -

                  getSendingWhitelist

                  -
                  public ListeningWhitelist getSendingWhitelist()
                  -
                  Description copied from interface: PacketListener
                  -
                  Retrieve which packets sent by the server this listener will observe.
                  -
                  -
                  Specified by:
                  -
                  getSendingWhitelist in interface PacketListener
                  -
                  Returns:
                  List of server packets to observe, along with the priority.
                  -
                • -
                - - - -
                  -
                • -

                  getPlugin

                  -
                  public org.bukkit.plugin.Plugin getPlugin()
                  -
                  Description copied from interface: PacketListener
                  -
                  Retrieve the plugin that created list packet listener.
                  -
                  -
                  Specified by:
                  -
                  getPlugin in interface PacketListener
                  -
                  Returns:
                  The plugin, or NULL if not available.
                  -
                • -
                - - - -
                  -
                • -

                  getPluginName

                  -
                  public static java.lang.String getPluginName(PacketListener listener)
                  -
                  Retrieves the name of the plugin that has been associated with the listener.
                  -
                  Returns:
                  Name of the associated plugin.
                  -
                • -
                - - - -
                  -
                • -

                  toString

                  -
                  public java.lang.String toString()
                  -
                  -
                  Overrides:
                  -
                  toString in class java.lang.Object
                  -
                  -
                • -
                -
              • -
              -
            • -
            -
            -
            - - - - - - - + + + + + +PacketAdapter + + + + + + + + + + + +
            +
            com.comphenix.protocol.events
            +

            Class PacketAdapter

            +
            +
            +
              +
            • java.lang.Object
            • +
            • +
                +
              • com.comphenix.protocol.events.PacketAdapter
              • +
              +
            • +
            +
            +
              +
            • +
              +
              All Implemented Interfaces:
              +
              PacketListener
              +
              +
              +
              +
              public abstract class PacketAdapter
              +extends java.lang.Object
              +implements PacketListener
              +
              Represents a packet listener with useful constructors. +

              + Remember to override onPacketReceiving() and onPacketSending(), depending on the ConnectionSide.

              +
              Author:
              +
              Kristian
              +
            • +
            +
            +
            +
              +
            • + + + +
                +
              • + + +

                Constructor Summary

                + + + + + + + + + + + + + + + + + + + + + + + + + + +
                Constructors 
                Constructor and Description
                PacketAdapter(org.bukkit.plugin.Plugin plugin, + ConnectionSide connectionSide, + GamePhase gamePhase, + java.lang.Integer... packets) +
                Initialize a packet listener for a single connection side.
                +
                PacketAdapter(org.bukkit.plugin.Plugin plugin, + ConnectionSide connectionSide, + GamePhase gamePhase, + java.util.Set<java.lang.Integer> packets) +
                Initialize a packet listener for a single connection side.
                +
                PacketAdapter(org.bukkit.plugin.Plugin plugin, + ConnectionSide connectionSide, + java.lang.Integer... packets) +
                Initialize a packet listener with default priority.
                +
                PacketAdapter(org.bukkit.plugin.Plugin plugin, + ConnectionSide connectionSide, + ListenerPriority listenerPriority, + GamePhase gamePhase, + java.lang.Integer... packets) +
                Initialize a packet listener for a single connection side.
                +
                PacketAdapter(org.bukkit.plugin.Plugin plugin, + ConnectionSide connectionSide, + ListenerPriority listenerPriority, + GamePhase gamePhase, + java.util.Set<java.lang.Integer> packets) +
                Initialize a packet listener for a single connection side.
                +
                PacketAdapter(org.bukkit.plugin.Plugin plugin, + ConnectionSide connectionSide, + ListenerPriority listenerPriority, + java.lang.Integer... packets) +
                Initialize a packet listener for a single connection side.
                +
                PacketAdapter(org.bukkit.plugin.Plugin plugin, + ConnectionSide connectionSide, + ListenerPriority listenerPriority, + java.util.Set<java.lang.Integer> packets) +
                Initialize a packet listener for a single connection side.
                +
                +
              • +
              + +
                +
              • + + +

                Method Summary

                + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                Methods 
                Modifier and TypeMethod and Description
                org.bukkit.plugin.PlugingetPlugin() +
                Retrieve the plugin that created list packet listener.
                +
                static java.lang.StringgetPluginName(PacketListener listener) +
                Retrieves the name of the plugin that has been associated with the listener.
                +
                ListeningWhitelistgetReceivingWhitelist() +
                Retrieve which packets sent by the client this listener will observe.
                +
                ListeningWhitelistgetSendingWhitelist() +
                Retrieve which packets sent by the server this listener will observe.
                +
                voidonPacketReceiving(PacketEvent event) +
                Invoked right before a recieved packet from a client is being processed.
                +
                voidonPacketSending(PacketEvent event) +
                Invoked right before a packet is transmitted from the server to the client.
                +
                java.lang.StringtoString() 
                +
                  +
                • + + +

                  Methods inherited from class java.lang.Object

                  +clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
                • +
                +
              • +
              +
            • +
            +
            +
            +
              +
            • + + + +
                +
              • + + +

                Constructor Detail

                + + + +
                  +
                • +

                  PacketAdapter

                  +
                  public PacketAdapter(org.bukkit.plugin.Plugin plugin,
                  +             ConnectionSide connectionSide,
                  +             java.lang.Integer... packets)
                  +
                  Initialize a packet listener with default priority.
                  +
                  Parameters:
                  plugin - - the plugin that spawned this listener.
                  connectionSide - - the packet type the listener is looking for.
                  packets - - the packet IDs the listener is looking for.
                  +
                • +
                + + + +
                  +
                • +

                  PacketAdapter

                  +
                  public PacketAdapter(org.bukkit.plugin.Plugin plugin,
                  +             ConnectionSide connectionSide,
                  +             ListenerPriority listenerPriority,
                  +             java.util.Set<java.lang.Integer> packets)
                  +
                  Initialize a packet listener for a single connection side.
                  +
                  Parameters:
                  plugin - - the plugin that spawned this listener.
                  connectionSide - - the packet type the listener is looking for.
                  listenerPriority - - the event priority.
                  packets - - the packet IDs the listener is looking for.
                  +
                • +
                + + + +
                  +
                • +

                  PacketAdapter

                  +
                  public PacketAdapter(org.bukkit.plugin.Plugin plugin,
                  +             ConnectionSide connectionSide,
                  +             GamePhase gamePhase,
                  +             java.util.Set<java.lang.Integer> packets)
                  +
                  Initialize a packet listener for a single connection side. +

                  + The game phase is used to optmize performance. A listener should only choose BOTH or LOGIN if it's absolutely necessary.

                  +
                  Parameters:
                  plugin - - the plugin that spawned this listener.
                  connectionSide - - the packet type the listener is looking for.
                  gamePhase - - which game phase this listener is active under.
                  packets - - the packet IDs the listener is looking for.
                  +
                • +
                + + + +
                  +
                • +

                  PacketAdapter

                  +
                  public PacketAdapter(org.bukkit.plugin.Plugin plugin,
                  +             ConnectionSide connectionSide,
                  +             ListenerPriority listenerPriority,
                  +             GamePhase gamePhase,
                  +             java.util.Set<java.lang.Integer> packets)
                  +
                  Initialize a packet listener for a single connection side. +

                  + The game phase is used to optmize performance. A listener should only choose BOTH or LOGIN if it's absolutely necessary.

                  +
                  Parameters:
                  plugin - - the plugin that spawned this listener.
                  connectionSide - - the packet type the listener is looking for.
                  listenerPriority - - the event priority.
                  gamePhase - - which game phase this listener is active under.
                  packets - - the packet IDs the listener is looking for.
                  +
                • +
                + + + +
                  +
                • +

                  PacketAdapter

                  +
                  public PacketAdapter(org.bukkit.plugin.Plugin plugin,
                  +             ConnectionSide connectionSide,
                  +             ListenerPriority listenerPriority,
                  +             java.lang.Integer... packets)
                  +
                  Initialize a packet listener for a single connection side.
                  +
                  Parameters:
                  plugin - - the plugin that spawned this listener.
                  connectionSide - - the packet type the listener is looking for.
                  listenerPriority - - the event priority.
                  packets - - the packet IDs the listener is looking for.
                  +
                • +
                + + + +
                  +
                • +

                  PacketAdapter

                  +
                  public PacketAdapter(org.bukkit.plugin.Plugin plugin,
                  +             ConnectionSide connectionSide,
                  +             GamePhase gamePhase,
                  +             java.lang.Integer... packets)
                  +
                  Initialize a packet listener for a single connection side.
                  +
                  Parameters:
                  plugin - - the plugin that spawned this listener.
                  connectionSide - - the packet type the listener is looking for.
                  listenerPriority - - the event priority.
                  gamePhase - - which game phase this listener is active under.
                  packets - - the packet IDs the listener is looking for.
                  +
                • +
                + + + +
                  +
                • +

                  PacketAdapter

                  +
                  public PacketAdapter(org.bukkit.plugin.Plugin plugin,
                  +             ConnectionSide connectionSide,
                  +             ListenerPriority listenerPriority,
                  +             GamePhase gamePhase,
                  +             java.lang.Integer... packets)
                  +
                  Initialize a packet listener for a single connection side. +

                  + The game phase is used to optmize performance. A listener should only choose BOTH or LOGIN if it's absolutely necessary.

                  +
                  Parameters:
                  plugin - - the plugin that spawned this listener.
                  connectionSide - - the packet type the listener is looking for.
                  listenerPriority - - the event priority.
                  gamePhase - - which game phase this listener is active under.
                  packets - - the packet IDs the listener is looking for.
                  +
                • +
                +
              • +
              + +
                +
              • + + +

                Method Detail

                + + + +
                  +
                • +

                  onPacketReceiving

                  +
                  public void onPacketReceiving(PacketEvent event)
                  +
                  Description copied from interface: PacketListener
                  +
                  Invoked right before a recieved packet from a client is being processed. +

                  + WARNING:
                  + This method will be called asynchronously! You should synchronize with the main + thread using scheduleSyncDelayedTask + if you need to call the Bukkit API.

                  +
                  +
                  Specified by:
                  +
                  onPacketReceiving in interface PacketListener
                  +
                  Parameters:
                  event - - the packet that has been recieved.
                  +
                • +
                + + + +
                  +
                • +

                  onPacketSending

                  +
                  public void onPacketSending(PacketEvent event)
                  +
                  Description copied from interface: PacketListener
                  +
                  Invoked right before a packet is transmitted from the server to the client. +

                  + Note that the packet may be replaced, if needed. +

                  + This method is executed on the main thread, and thus the Bukkit API is safe to use.

                  +
                  +
                  Specified by:
                  +
                  onPacketSending in interface PacketListener
                  +
                  Parameters:
                  event - - the packet that should be sent.
                  +
                • +
                + + + +
                  +
                • +

                  getReceivingWhitelist

                  +
                  public ListeningWhitelist getReceivingWhitelist()
                  +
                  Description copied from interface: PacketListener
                  +
                  Retrieve which packets sent by the client this listener will observe.
                  +
                  +
                  Specified by:
                  +
                  getReceivingWhitelist in interface PacketListener
                  +
                  Returns:
                  List of server packets to observe, along with the priority.
                  +
                • +
                + + + +
                  +
                • +

                  getSendingWhitelist

                  +
                  public ListeningWhitelist getSendingWhitelist()
                  +
                  Description copied from interface: PacketListener
                  +
                  Retrieve which packets sent by the server this listener will observe.
                  +
                  +
                  Specified by:
                  +
                  getSendingWhitelist in interface PacketListener
                  +
                  Returns:
                  List of server packets to observe, along with the priority.
                  +
                • +
                + + + +
                  +
                • +

                  getPlugin

                  +
                  public org.bukkit.plugin.Plugin getPlugin()
                  +
                  Description copied from interface: PacketListener
                  +
                  Retrieve the plugin that created list packet listener.
                  +
                  +
                  Specified by:
                  +
                  getPlugin in interface PacketListener
                  +
                  Returns:
                  The plugin, or NULL if not available.
                  +
                • +
                + + + +
                  +
                • +

                  getPluginName

                  +
                  public static java.lang.String getPluginName(PacketListener listener)
                  +
                  Retrieves the name of the plugin that has been associated with the listener.
                  +
                  Returns:
                  Name of the associated plugin.
                  +
                • +
                + + + +
                  +
                • +

                  toString

                  +
                  public java.lang.String toString()
                  +
                  +
                  Overrides:
                  +
                  toString in class java.lang.Object
                  +
                  +
                • +
                +
              • +
              +
            • +
            +
            +
            + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/events/PacketContainer.html b/Javadoc/com/comphenix/protocol/events/PacketContainer.html index 33d7e548..96f8461d 100644 --- a/Javadoc/com/comphenix/protocol/events/PacketContainer.html +++ b/Javadoc/com/comphenix/protocol/events/PacketContainer.html @@ -1,507 +1,507 @@ - - - - - -PacketContainer - - - - - - - - - - - -
            -
            com.comphenix.protocol.events
            -

            Class PacketContainer

            -
            -
            -
              -
            • java.lang.Object
            • -
            • -
                -
              • com.comphenix.protocol.events.PacketContainer
              • -
              -
            • -
            -
            -
              -
            • -
              -
              All Implemented Interfaces:
              -
              java.io.Serializable
              -
              -
              -
              -
              public class PacketContainer
              -extends java.lang.Object
              -implements java.io.Serializable
              -
              Represents a Minecraft packet indirectly.
              -
              Author:
              -
              Kristian
              -
              See Also:
              Serialized Form
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Field Summary

                - - - - - - - - - - - - - - - - - - -
                Fields 
                Modifier and TypeField and Description
                protected net.minecraft.server.Packethandle 
                protected intid 
                protected StructureModifier<java.lang.Object>structureModifier 
                -
              • -
              - -
                -
              • - - -

                Constructor Summary

                - - - - - - - - - - - - - - -
                Constructors 
                Constructor and Description
                PacketContainer(int id) -
                Creates a packet container for a new packet.
                -
                PacketContainer(int id, - net.minecraft.server.Packet handle) -
                Creates a packet container for an existing packet.
                -
                PacketContainer(int id, - net.minecraft.server.Packet handle, - StructureModifier<java.lang.Object> structure) -
                Creates a packet container for an existing packet.
                -
                -
              • -
              - -
                -
              • - - -

                Method Summary

                - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                Methods 
                Modifier and TypeMethod and Description
                StructureModifier<org.bukkit.entity.Entity>getEntityModifier(org.bukkit.World world) -
                Retrieves a read/write structure for entity objects.
                -
                net.minecraft.server.PacketgetHandle() -
                Retrieves the underlying Minecraft packet.
                -
                intgetID() -
                Retrieves the ID of this packet.
                -
                StructureModifier<org.bukkit.inventory.ItemStack[]>getItemArrayModifier() -
                Retrieves a read/write structure for arrays of ItemStacks.
                -
                StructureModifier<org.bukkit.inventory.ItemStack>getItemModifier() -
                Retrieves a read/write structure for ItemStack.
                -
                StructureModifier<java.lang.Object>getModifier() -
                Retrieves the generic structure modifier for this packet.
                -
                <T> StructureModifier<T>getSpecificModifier(java.lang.Class<T> primitiveType) -
                Retrieves a read/write structure for every field with the given type.
                -
                StructureModifier<org.bukkit.WorldType>getWorldTypeModifier() -
                Retrieves a read/write structure for the world type enum.
                -
                -
                  -
                • - - -

                  Methods inherited from class java.lang.Object

                  -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
                • -
                -
              • -
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Field Detail

                - - - -
                  -
                • -

                  id

                  -
                  protected int id
                  -
                • -
                - - - -
                  -
                • -

                  handle

                  -
                  protected transient net.minecraft.server.Packet handle
                  -
                • -
                - - - -
                  -
                • -

                  structureModifier

                  -
                  protected transient StructureModifier<java.lang.Object> structureModifier
                  -
                • -
                -
              • -
              - -
                -
              • - - -

                Constructor Detail

                - - - -
                  -
                • -

                  PacketContainer

                  -
                  public PacketContainer(int id)
                  -
                  Creates a packet container for a new packet.
                  -
                  Parameters:
                  id - - ID of the packet to create.
                  -
                • -
                - - - -
                  -
                • -

                  PacketContainer

                  -
                  public PacketContainer(int id,
                  -               net.minecraft.server.Packet handle)
                  -
                  Creates a packet container for an existing packet.
                  -
                  Parameters:
                  id - - ID of the given packet.
                  handle - - contained packet.
                  -
                • -
                - - - -
                  -
                • -

                  PacketContainer

                  -
                  public PacketContainer(int id,
                  -               net.minecraft.server.Packet handle,
                  -               StructureModifier<java.lang.Object> structure)
                  -
                  Creates a packet container for an existing packet.
                  -
                  Parameters:
                  id - - ID of the given packet.
                  handle - - contained packet.
                  structure - - structure modifier.
                  -
                • -
                -
              • -
              - -
                -
              • - - -

                Method Detail

                - - - -
                  -
                • -

                  getHandle

                  -
                  public net.minecraft.server.Packet getHandle()
                  -
                  Retrieves the underlying Minecraft packet.
                  -
                  Returns:
                  Underlying Minecraft packet.
                  -
                • -
                - - - -
                  -
                • -

                  getModifier

                  -
                  public StructureModifier<java.lang.Object> getModifier()
                  -
                  Retrieves the generic structure modifier for this packet.
                  -
                  Returns:
                  Structure modifier.
                  -
                • -
                - - - -
                  -
                • -

                  getSpecificModifier

                  -
                  public <T> StructureModifier<T> getSpecificModifier(java.lang.Class<T> primitiveType)
                  -
                  Retrieves a read/write structure for every field with the given type.
                  -
                  Parameters:
                  primitiveType - - the type to find.
                  -
                  Returns:
                  A modifier for this specific type.
                  -
                • -
                - - - -
                  -
                • -

                  getItemModifier

                  -
                  public StructureModifier<org.bukkit.inventory.ItemStack> getItemModifier()
                  -
                  Retrieves a read/write structure for ItemStack. -

                  - This modifier will automatically marshall between the Bukkit ItemStack and the - internal Minecraft ItemStack.

                  -
                  Returns:
                  A modifier for ItemStack fields.
                  -
                • -
                - - - -
                  -
                • -

                  getItemArrayModifier

                  -
                  public StructureModifier<org.bukkit.inventory.ItemStack[]> getItemArrayModifier()
                  -
                  Retrieves a read/write structure for arrays of ItemStacks. -

                  - This modifier will automatically marshall between the Bukkit ItemStack and the - internal Minecraft ItemStack.

                  -
                  Returns:
                  A modifier for ItemStack array fields.
                  -
                • -
                - - - -
                  -
                • -

                  getWorldTypeModifier

                  -
                  public StructureModifier<org.bukkit.WorldType> getWorldTypeModifier()
                  -
                  Retrieves a read/write structure for the world type enum. -

                  - This modifier will automatically marshall between the Bukkit world type and the - internal Minecraft world type.

                  -
                  Returns:
                  A modifier for world type fields.
                  -
                • -
                - - - -
                  -
                • -

                  getEntityModifier

                  -
                  public StructureModifier<org.bukkit.entity.Entity> getEntityModifier(org.bukkit.World world)
                  -
                  Retrieves a read/write structure for entity objects. -

                  - Note that entities are transmitted by integer ID, and the type may not be enough - to distinguish between entities and other values. Thus, this structure modifier - MAY return null or invalid entities for certain fields. Using the correct index - is essential.

                  -
                  Returns:
                  A modifier entity types.
                  -
                • -
                - - - -
                  -
                • -

                  getID

                  -
                  public int getID()
                  -
                  Retrieves the ID of this packet.
                  -
                  Returns:
                  Packet ID.
                  -
                • -
                -
              • -
              -
            • -
            -
            -
            - - - - - - - + + + + + +PacketContainer + + + + + + + + + + + +
            +
            com.comphenix.protocol.events
            +

            Class PacketContainer

            +
            +
            +
              +
            • java.lang.Object
            • +
            • +
                +
              • com.comphenix.protocol.events.PacketContainer
              • +
              +
            • +
            +
            +
              +
            • +
              +
              All Implemented Interfaces:
              +
              java.io.Serializable
              +
              +
              +
              +
              public class PacketContainer
              +extends java.lang.Object
              +implements java.io.Serializable
              +
              Represents a Minecraft packet indirectly.
              +
              Author:
              +
              Kristian
              +
              See Also:
              Serialized Form
              +
            • +
            +
            +
            +
              +
            • + +
                +
              • + + +

                Field Summary

                + + + + + + + + + + + + + + + + + + +
                Fields 
                Modifier and TypeField and Description
                protected net.minecraft.server.Packethandle 
                protected intid 
                protected StructureModifier<java.lang.Object>structureModifier 
                +
              • +
              + +
                +
              • + + +

                Constructor Summary

                + + + + + + + + + + + + + + +
                Constructors 
                Constructor and Description
                PacketContainer(int id) +
                Creates a packet container for a new packet.
                +
                PacketContainer(int id, + net.minecraft.server.Packet handle) +
                Creates a packet container for an existing packet.
                +
                PacketContainer(int id, + net.minecraft.server.Packet handle, + StructureModifier<java.lang.Object> structure) +
                Creates a packet container for an existing packet.
                +
                +
              • +
              + +
                +
              • + + +

                Method Summary

                + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                Methods 
                Modifier and TypeMethod and Description
                StructureModifier<org.bukkit.entity.Entity>getEntityModifier(org.bukkit.World world) +
                Retrieves a read/write structure for entity objects.
                +
                net.minecraft.server.PacketgetHandle() +
                Retrieves the underlying Minecraft packet.
                +
                intgetID() +
                Retrieves the ID of this packet.
                +
                StructureModifier<org.bukkit.inventory.ItemStack[]>getItemArrayModifier() +
                Retrieves a read/write structure for arrays of ItemStacks.
                +
                StructureModifier<org.bukkit.inventory.ItemStack>getItemModifier() +
                Retrieves a read/write structure for ItemStack.
                +
                StructureModifier<java.lang.Object>getModifier() +
                Retrieves the generic structure modifier for this packet.
                +
                <T> StructureModifier<T>getSpecificModifier(java.lang.Class<T> primitiveType) +
                Retrieves a read/write structure for every field with the given type.
                +
                StructureModifier<org.bukkit.WorldType>getWorldTypeModifier() +
                Retrieves a read/write structure for the world type enum.
                +
                +
                  +
                • + + +

                  Methods inherited from class java.lang.Object

                  +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
                • +
                +
              • +
              +
            • +
            +
            +
            +
              +
            • + +
                +
              • + + +

                Field Detail

                + + + +
                  +
                • +

                  id

                  +
                  protected int id
                  +
                • +
                + + + +
                  +
                • +

                  handle

                  +
                  protected transient net.minecraft.server.Packet handle
                  +
                • +
                + + + +
                  +
                • +

                  structureModifier

                  +
                  protected transient StructureModifier<java.lang.Object> structureModifier
                  +
                • +
                +
              • +
              + +
                +
              • + + +

                Constructor Detail

                + + + +
                  +
                • +

                  PacketContainer

                  +
                  public PacketContainer(int id)
                  +
                  Creates a packet container for a new packet.
                  +
                  Parameters:
                  id - - ID of the packet to create.
                  +
                • +
                + + + +
                  +
                • +

                  PacketContainer

                  +
                  public PacketContainer(int id,
                  +               net.minecraft.server.Packet handle)
                  +
                  Creates a packet container for an existing packet.
                  +
                  Parameters:
                  id - - ID of the given packet.
                  handle - - contained packet.
                  +
                • +
                + + + +
                  +
                • +

                  PacketContainer

                  +
                  public PacketContainer(int id,
                  +               net.minecraft.server.Packet handle,
                  +               StructureModifier<java.lang.Object> structure)
                  +
                  Creates a packet container for an existing packet.
                  +
                  Parameters:
                  id - - ID of the given packet.
                  handle - - contained packet.
                  structure - - structure modifier.
                  +
                • +
                +
              • +
              + +
                +
              • + + +

                Method Detail

                + + + +
                  +
                • +

                  getHandle

                  +
                  public net.minecraft.server.Packet getHandle()
                  +
                  Retrieves the underlying Minecraft packet.
                  +
                  Returns:
                  Underlying Minecraft packet.
                  +
                • +
                + + + +
                  +
                • +

                  getModifier

                  +
                  public StructureModifier<java.lang.Object> getModifier()
                  +
                  Retrieves the generic structure modifier for this packet.
                  +
                  Returns:
                  Structure modifier.
                  +
                • +
                + + + +
                  +
                • +

                  getSpecificModifier

                  +
                  public <T> StructureModifier<T> getSpecificModifier(java.lang.Class<T> primitiveType)
                  +
                  Retrieves a read/write structure for every field with the given type.
                  +
                  Parameters:
                  primitiveType - - the type to find.
                  +
                  Returns:
                  A modifier for this specific type.
                  +
                • +
                + + + +
                  +
                • +

                  getItemModifier

                  +
                  public StructureModifier<org.bukkit.inventory.ItemStack> getItemModifier()
                  +
                  Retrieves a read/write structure for ItemStack. +

                  + This modifier will automatically marshall between the Bukkit ItemStack and the + internal Minecraft ItemStack.

                  +
                  Returns:
                  A modifier for ItemStack fields.
                  +
                • +
                + + + +
                  +
                • +

                  getItemArrayModifier

                  +
                  public StructureModifier<org.bukkit.inventory.ItemStack[]> getItemArrayModifier()
                  +
                  Retrieves a read/write structure for arrays of ItemStacks. +

                  + This modifier will automatically marshall between the Bukkit ItemStack and the + internal Minecraft ItemStack.

                  +
                  Returns:
                  A modifier for ItemStack array fields.
                  +
                • +
                + + + +
                  +
                • +

                  getWorldTypeModifier

                  +
                  public StructureModifier<org.bukkit.WorldType> getWorldTypeModifier()
                  +
                  Retrieves a read/write structure for the world type enum. +

                  + This modifier will automatically marshall between the Bukkit world type and the + internal Minecraft world type.

                  +
                  Returns:
                  A modifier for world type fields.
                  +
                • +
                + + + +
                  +
                • +

                  getEntityModifier

                  +
                  public StructureModifier<org.bukkit.entity.Entity> getEntityModifier(org.bukkit.World world)
                  +
                  Retrieves a read/write structure for entity objects. +

                  + Note that entities are transmitted by integer ID, and the type may not be enough + to distinguish between entities and other values. Thus, this structure modifier + MAY return null or invalid entities for certain fields. Using the correct index + is essential.

                  +
                  Returns:
                  A modifier entity types.
                  +
                • +
                + + + +
                  +
                • +

                  getID

                  +
                  public int getID()
                  +
                  Retrieves the ID of this packet.
                  +
                  Returns:
                  Packet ID.
                  +
                • +
                +
              • +
              +
            • +
            +
            +
            + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/events/PacketEvent.html b/Javadoc/com/comphenix/protocol/events/PacketEvent.html index 8e9317a7..72c8e70f 100644 --- a/Javadoc/com/comphenix/protocol/events/PacketEvent.html +++ b/Javadoc/com/comphenix/protocol/events/PacketEvent.html @@ -1,534 +1,534 @@ - - - - - -PacketEvent - - - - - - - - - - - -
            -
            com.comphenix.protocol.events
            -

            Class PacketEvent

            -
            -
            -
              -
            • java.lang.Object
            • -
            • -
                -
              • java.util.EventObject
              • -
              • -
                  -
                • com.comphenix.protocol.events.PacketEvent
                • -
                -
              • -
              -
            • -
            -
            -
              -
            • -
              -
              All Implemented Interfaces:
              -
              java.io.Serializable, org.bukkit.event.Cancellable
              -
              -
              -
              -
              public class PacketEvent
              -extends java.util.EventObject
              -implements org.bukkit.event.Cancellable
              -
              See Also:
              Serialized Form
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Field Summary

                -
                  -
                • - - -

                  Fields inherited from class java.util.EventObject

                  -source
                • -
                -
              • -
              - -
                -
              • - - -

                Constructor Summary

                - - - - - - - - -
                Constructors 
                Constructor and Description
                PacketEvent(java.lang.Object source) -
                Use the static constructors to create instances of this event.
                -
                -
              • -
              - -
                -
              • - - -

                Method Summary

                - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                Methods 
                Modifier and TypeMethod and Description
                static PacketEventfromClient(java.lang.Object source, - PacketContainer packet, - org.bukkit.entity.Player client) -
                Creates an event representing a client packet transmission.
                -
                static PacketEventfromServer(java.lang.Object source, - PacketContainer packet, - org.bukkit.entity.Player recipient) -
                Creates an event representing a server packet transmission.
                -
                static PacketEventfromSynchronous(PacketEvent event, - AsyncMarker marker) -
                Create an asynchronous packet event from a synchronous event and a async marker.
                -
                AsyncMarkergetAsyncMarker() -
                Retrieve the asynchronous marker.
                -
                PacketContainergetPacket() -
                Retrieves the packet that will be sent to the player.
                -
                intgetPacketID() -
                Retrieves the packet ID.
                -
                org.bukkit.entity.PlayergetPlayer() -
                Retrieves the player that has sent the packet or is recieving it.
                -
                booleanisAsynchronous() -
                Determine if the packet event has been executed asynchronously or not.
                -
                booleanisCancelled() -
                Retrieves whether or not the packet should be cancelled.
                -
                booleanisServerPacket() -
                Whether or not this packet was created by the server.
                -
                voidsetAsyncMarker(AsyncMarker asyncMarker) -
                Set the asynchronous marker.
                -
                voidsetCancelled(boolean cancel) -
                Sets whether or not the packet should be cancelled.
                -
                voidsetPacket(PacketContainer packet) -
                Replace the packet that will be sent to the player.
                -
                -
                  -
                • - - -

                  Methods inherited from class java.util.EventObject

                  -getSource, toString
                • -
                -
                  -
                • - - -

                  Methods inherited from class java.lang.Object

                  -clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
                • -
                -
              • -
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Constructor Detail

                - - - -
                  -
                • -

                  PacketEvent

                  -
                  public PacketEvent(java.lang.Object source)
                  -
                  Use the static constructors to create instances of this event.
                  -
                  Parameters:
                  source - - the event source.
                  -
                • -
                -
              • -
              - -
                -
              • - - -

                Method Detail

                - - - -
                  -
                • -

                  fromClient

                  -
                  public static PacketEvent fromClient(java.lang.Object source,
                  -                     PacketContainer packet,
                  -                     org.bukkit.entity.Player client)
                  -
                  Creates an event representing a client packet transmission.
                  -
                  Parameters:
                  source - - the event source.
                  packet - - the packet.
                  client - - the client that sent the packet.
                  -
                  Returns:
                  The event.
                  -
                • -
                - - - -
                  -
                • -

                  fromServer

                  -
                  public static PacketEvent fromServer(java.lang.Object source,
                  -                     PacketContainer packet,
                  -                     org.bukkit.entity.Player recipient)
                  -
                  Creates an event representing a server packet transmission.
                  -
                  Parameters:
                  source - - the event source.
                  packet - - the packet.
                  recipient - - the client that will receieve the packet.
                  -
                  Returns:
                  The event.
                  -
                • -
                - - - -
                  -
                • -

                  fromSynchronous

                  -
                  public static PacketEvent fromSynchronous(PacketEvent event,
                  -                          AsyncMarker marker)
                  -
                  Create an asynchronous packet event from a synchronous event and a async marker.
                  -
                  Parameters:
                  event - - the original synchronous event.
                  marker - - the asynchronous marker.
                  -
                  Returns:
                  The new packet event.
                  -
                • -
                - - - -
                  -
                • -

                  getPacket

                  -
                  public PacketContainer getPacket()
                  -
                  Retrieves the packet that will be sent to the player.
                  -
                  Returns:
                  Packet to send to the player.
                  -
                • -
                - - - -
                  -
                • -

                  setPacket

                  -
                  public void setPacket(PacketContainer packet)
                  -
                  Replace the packet that will be sent to the player.
                  -
                  Parameters:
                  packet - - the packet that will be sent instead.
                  -
                • -
                - - - -
                  -
                • -

                  getPacketID

                  -
                  public int getPacketID()
                  -
                  Retrieves the packet ID.
                  -
                  Returns:
                  The current packet ID.
                  -
                • -
                - - - -
                  -
                • -

                  isCancelled

                  -
                  public boolean isCancelled()
                  -
                  Retrieves whether or not the packet should be cancelled.
                  -
                  -
                  Specified by:
                  -
                  isCancelled in interface org.bukkit.event.Cancellable
                  -
                  Returns:
                  TRUE if it should be cancelled, FALSE otherwise.
                  -
                • -
                - - - -
                  -
                • -

                  setCancelled

                  -
                  public void setCancelled(boolean cancel)
                  -
                  Sets whether or not the packet should be cancelled.
                  -
                  -
                  Specified by:
                  -
                  setCancelled in interface org.bukkit.event.Cancellable
                  -
                  Parameters:
                  cancel - - TRUE if it should be cancelled, FALSE otherwise.
                  -
                • -
                - - - -
                  -
                • -

                  getPlayer

                  -
                  public org.bukkit.entity.Player getPlayer()
                  -
                  Retrieves the player that has sent the packet or is recieving it.
                  -
                  Returns:
                  The player associated with this event.
                  -
                • -
                - - - -
                  -
                • -

                  isServerPacket

                  -
                  public boolean isServerPacket()
                  -
                  Whether or not this packet was created by the server. -

                  - Most listeners can deduce this by noting which listener method was invoked.

                  -
                  Returns:
                  TRUE if the packet was created by the server, FALSE if it was created by a client.
                  -
                • -
                - - - -
                  -
                • -

                  getAsyncMarker

                  -
                  public AsyncMarker getAsyncMarker()
                  -
                  Retrieve the asynchronous marker. -

                  - If the packet is synchronous, this marker will be used to schedule an asynchronous event. In the following - asynchronous event, the marker is used to correctly pass the packet around to the different threads. -

                  - Note that if there are no asynchronous events that can receive this packet, the marker is NULL.

                  -
                  Returns:
                  The current asynchronous marker, or NULL.
                  -
                • -
                - - - -
                  -
                • -

                  setAsyncMarker

                  -
                  public void setAsyncMarker(AsyncMarker asyncMarker)
                  -
                  Set the asynchronous marker. -

                  - If the marker is non-null at the end of an synchronous event processing, the packet will be scheduled - to be processed asynchronously with the given settings. -

                  - Note that if there are no asynchronous events that can receive this packet, the marker should be NULL.

                  -
                  Parameters:
                  asyncMarker - - the new asynchronous marker, or NULL.
                  -
                  Throws:
                  -
                  java.lang.IllegalStateException - If the current event is asynchronous.
                  -
                • -
                - - - -
                  -
                • -

                  isAsynchronous

                  -
                  public boolean isAsynchronous()
                  -
                  Determine if the packet event has been executed asynchronously or not.
                  -
                  Returns:
                  TRUE if this packet event is asynchronous, FALSE otherwise.
                  -
                • -
                -
              • -
              -
            • -
            -
            -
            - - - - - - - + + + + + +PacketEvent + + + + + + + + + + + +
            +
            com.comphenix.protocol.events
            +

            Class PacketEvent

            +
            +
            +
              +
            • java.lang.Object
            • +
            • +
                +
              • java.util.EventObject
              • +
              • +
                  +
                • com.comphenix.protocol.events.PacketEvent
                • +
                +
              • +
              +
            • +
            +
            +
              +
            • +
              +
              All Implemented Interfaces:
              +
              java.io.Serializable, org.bukkit.event.Cancellable
              +
              +
              +
              +
              public class PacketEvent
              +extends java.util.EventObject
              +implements org.bukkit.event.Cancellable
              +
              See Also:
              Serialized Form
              +
            • +
            +
            +
            +
              +
            • + +
                +
              • + + +

                Field Summary

                +
                  +
                • + + +

                  Fields inherited from class java.util.EventObject

                  +source
                • +
                +
              • +
              + +
                +
              • + + +

                Constructor Summary

                + + + + + + + + +
                Constructors 
                Constructor and Description
                PacketEvent(java.lang.Object source) +
                Use the static constructors to create instances of this event.
                +
                +
              • +
              + +
                +
              • + + +

                Method Summary

                + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                Methods 
                Modifier and TypeMethod and Description
                static PacketEventfromClient(java.lang.Object source, + PacketContainer packet, + org.bukkit.entity.Player client) +
                Creates an event representing a client packet transmission.
                +
                static PacketEventfromServer(java.lang.Object source, + PacketContainer packet, + org.bukkit.entity.Player recipient) +
                Creates an event representing a server packet transmission.
                +
                static PacketEventfromSynchronous(PacketEvent event, + AsyncMarker marker) +
                Create an asynchronous packet event from a synchronous event and a async marker.
                +
                AsyncMarkergetAsyncMarker() +
                Retrieve the asynchronous marker.
                +
                PacketContainergetPacket() +
                Retrieves the packet that will be sent to the player.
                +
                intgetPacketID() +
                Retrieves the packet ID.
                +
                org.bukkit.entity.PlayergetPlayer() +
                Retrieves the player that has sent the packet or is recieving it.
                +
                booleanisAsynchronous() +
                Determine if the packet event has been executed asynchronously or not.
                +
                booleanisCancelled() +
                Retrieves whether or not the packet should be cancelled.
                +
                booleanisServerPacket() +
                Whether or not this packet was created by the server.
                +
                voidsetAsyncMarker(AsyncMarker asyncMarker) +
                Set the asynchronous marker.
                +
                voidsetCancelled(boolean cancel) +
                Sets whether or not the packet should be cancelled.
                +
                voidsetPacket(PacketContainer packet) +
                Replace the packet that will be sent to the player.
                +
                +
                  +
                • + + +

                  Methods inherited from class java.util.EventObject

                  +getSource, toString
                • +
                +
                  +
                • + + +

                  Methods inherited from class java.lang.Object

                  +clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
                • +
                +
              • +
              +
            • +
            +
            +
            +
              +
            • + +
                +
              • + + +

                Constructor Detail

                + + + +
                  +
                • +

                  PacketEvent

                  +
                  public PacketEvent(java.lang.Object source)
                  +
                  Use the static constructors to create instances of this event.
                  +
                  Parameters:
                  source - - the event source.
                  +
                • +
                +
              • +
              + +
                +
              • + + +

                Method Detail

                + + + +
                  +
                • +

                  fromClient

                  +
                  public static PacketEvent fromClient(java.lang.Object source,
                  +                     PacketContainer packet,
                  +                     org.bukkit.entity.Player client)
                  +
                  Creates an event representing a client packet transmission.
                  +
                  Parameters:
                  source - - the event source.
                  packet - - the packet.
                  client - - the client that sent the packet.
                  +
                  Returns:
                  The event.
                  +
                • +
                + + + +
                  +
                • +

                  fromServer

                  +
                  public static PacketEvent fromServer(java.lang.Object source,
                  +                     PacketContainer packet,
                  +                     org.bukkit.entity.Player recipient)
                  +
                  Creates an event representing a server packet transmission.
                  +
                  Parameters:
                  source - - the event source.
                  packet - - the packet.
                  recipient - - the client that will receieve the packet.
                  +
                  Returns:
                  The event.
                  +
                • +
                + + + +
                  +
                • +

                  fromSynchronous

                  +
                  public static PacketEvent fromSynchronous(PacketEvent event,
                  +                          AsyncMarker marker)
                  +
                  Create an asynchronous packet event from a synchronous event and a async marker.
                  +
                  Parameters:
                  event - - the original synchronous event.
                  marker - - the asynchronous marker.
                  +
                  Returns:
                  The new packet event.
                  +
                • +
                + + + +
                  +
                • +

                  getPacket

                  +
                  public PacketContainer getPacket()
                  +
                  Retrieves the packet that will be sent to the player.
                  +
                  Returns:
                  Packet to send to the player.
                  +
                • +
                + + + +
                  +
                • +

                  setPacket

                  +
                  public void setPacket(PacketContainer packet)
                  +
                  Replace the packet that will be sent to the player.
                  +
                  Parameters:
                  packet - - the packet that will be sent instead.
                  +
                • +
                + + + +
                  +
                • +

                  getPacketID

                  +
                  public int getPacketID()
                  +
                  Retrieves the packet ID.
                  +
                  Returns:
                  The current packet ID.
                  +
                • +
                + + + +
                  +
                • +

                  isCancelled

                  +
                  public boolean isCancelled()
                  +
                  Retrieves whether or not the packet should be cancelled.
                  +
                  +
                  Specified by:
                  +
                  isCancelled in interface org.bukkit.event.Cancellable
                  +
                  Returns:
                  TRUE if it should be cancelled, FALSE otherwise.
                  +
                • +
                + + + +
                  +
                • +

                  setCancelled

                  +
                  public void setCancelled(boolean cancel)
                  +
                  Sets whether or not the packet should be cancelled.
                  +
                  +
                  Specified by:
                  +
                  setCancelled in interface org.bukkit.event.Cancellable
                  +
                  Parameters:
                  cancel - - TRUE if it should be cancelled, FALSE otherwise.
                  +
                • +
                + + + +
                  +
                • +

                  getPlayer

                  +
                  public org.bukkit.entity.Player getPlayer()
                  +
                  Retrieves the player that has sent the packet or is recieving it.
                  +
                  Returns:
                  The player associated with this event.
                  +
                • +
                + + + +
                  +
                • +

                  isServerPacket

                  +
                  public boolean isServerPacket()
                  +
                  Whether or not this packet was created by the server. +

                  + Most listeners can deduce this by noting which listener method was invoked.

                  +
                  Returns:
                  TRUE if the packet was created by the server, FALSE if it was created by a client.
                  +
                • +
                + + + +
                  +
                • +

                  getAsyncMarker

                  +
                  public AsyncMarker getAsyncMarker()
                  +
                  Retrieve the asynchronous marker. +

                  + If the packet is synchronous, this marker will be used to schedule an asynchronous event. In the following + asynchronous event, the marker is used to correctly pass the packet around to the different threads. +

                  + Note that if there are no asynchronous events that can receive this packet, the marker is NULL.

                  +
                  Returns:
                  The current asynchronous marker, or NULL.
                  +
                • +
                + + + +
                  +
                • +

                  setAsyncMarker

                  +
                  public void setAsyncMarker(AsyncMarker asyncMarker)
                  +
                  Set the asynchronous marker. +

                  + If the marker is non-null at the end of an synchronous event processing, the packet will be scheduled + to be processed asynchronously with the given settings. +

                  + Note that if there are no asynchronous events that can receive this packet, the marker should be NULL.

                  +
                  Parameters:
                  asyncMarker - - the new asynchronous marker, or NULL.
                  +
                  Throws:
                  +
                  java.lang.IllegalStateException - If the current event is asynchronous.
                  +
                • +
                + + + +
                  +
                • +

                  isAsynchronous

                  +
                  public boolean isAsynchronous()
                  +
                  Determine if the packet event has been executed asynchronously or not.
                  +
                  Returns:
                  TRUE if this packet event is asynchronous, FALSE otherwise.
                  +
                • +
                +
              • +
              +
            • +
            +
            +
            + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/events/PacketListener.html b/Javadoc/com/comphenix/protocol/events/PacketListener.html index d7ce8574..2fc605ae 100644 --- a/Javadoc/com/comphenix/protocol/events/PacketListener.html +++ b/Javadoc/com/comphenix/protocol/events/PacketListener.html @@ -1,296 +1,296 @@ - - - - - -PacketListener - - - - - - - - - - - -
            -
            com.comphenix.protocol.events
            -

            Interface PacketListener

            -
            -
            -
            -
              -
            • -
              -
              All Known Implementing Classes:
              -
              PacketAdapter
              -
              -
              -
              -
              public interface PacketListener
              -
              Represents a listener that recieves notifications when packets are sent or recieved. -

              - Use PacketAdapter for a simple wrapper around this interface.

              -
              Author:
              -
              Kristian
              -
            • -
            -
            -
            - -
            -
            -
              -
            • - -
                -
              • - - -

                Method Detail

                - - - -
                  -
                • -

                  onPacketSending

                  -
                  void onPacketSending(PacketEvent event)
                  -
                  Invoked right before a packet is transmitted from the server to the client. -

                  - Note that the packet may be replaced, if needed. -

                  - This method is executed on the main thread, and thus the Bukkit API is safe to use.

                  -
                  Parameters:
                  event - - the packet that should be sent.
                  -
                • -
                - - - -
                  -
                • -

                  onPacketReceiving

                  -
                  void onPacketReceiving(PacketEvent event)
                  -
                  Invoked right before a recieved packet from a client is being processed. -

                  - WARNING:
                  - This method will be called asynchronously! You should synchronize with the main - thread using scheduleSyncDelayedTask - if you need to call the Bukkit API.

                  -
                  Parameters:
                  event - - the packet that has been recieved.
                  -
                • -
                - - - -
                  -
                • -

                  getSendingWhitelist

                  -
                  ListeningWhitelist getSendingWhitelist()
                  -
                  Retrieve which packets sent by the server this listener will observe.
                  -
                  Returns:
                  List of server packets to observe, along with the priority.
                  -
                • -
                - - - -
                  -
                • -

                  getReceivingWhitelist

                  -
                  ListeningWhitelist getReceivingWhitelist()
                  -
                  Retrieve which packets sent by the client this listener will observe.
                  -
                  Returns:
                  List of server packets to observe, along with the priority.
                  -
                • -
                - - - -
                  -
                • -

                  getPlugin

                  -
                  org.bukkit.plugin.Plugin getPlugin()
                  -
                  Retrieve the plugin that created list packet listener.
                  -
                  Returns:
                  The plugin, or NULL if not available.
                  -
                • -
                -
              • -
              -
            • -
            -
            -
            - - - - - - - + + + + + +PacketListener + + + + + + + + + + + +
            +
            com.comphenix.protocol.events
            +

            Interface PacketListener

            +
            +
            +
            +
              +
            • +
              +
              All Known Implementing Classes:
              +
              MonitorAdapter, PacketAdapter
              +
              +
              +
              +
              public interface PacketListener
              +
              Represents a listener that recieves notifications when packets are sent or recieved. +

              + Use PacketAdapter for a simple wrapper around this interface.

              +
              Author:
              +
              Kristian
              +
            • +
            +
            +
            + +
            +
            +
              +
            • + +
                +
              • + + +

                Method Detail

                + + + +
                  +
                • +

                  onPacketSending

                  +
                  void onPacketSending(PacketEvent event)
                  +
                  Invoked right before a packet is transmitted from the server to the client. +

                  + Note that the packet may be replaced, if needed. +

                  + This method is executed on the main thread, and thus the Bukkit API is safe to use.

                  +
                  Parameters:
                  event - - the packet that should be sent.
                  +
                • +
                + + + +
                  +
                • +

                  onPacketReceiving

                  +
                  void onPacketReceiving(PacketEvent event)
                  +
                  Invoked right before a recieved packet from a client is being processed. +

                  + WARNING:
                  + This method will be called asynchronously! You should synchronize with the main + thread using scheduleSyncDelayedTask + if you need to call the Bukkit API.

                  +
                  Parameters:
                  event - - the packet that has been recieved.
                  +
                • +
                + + + +
                  +
                • +

                  getSendingWhitelist

                  +
                  ListeningWhitelist getSendingWhitelist()
                  +
                  Retrieve which packets sent by the server this listener will observe.
                  +
                  Returns:
                  List of server packets to observe, along with the priority.
                  +
                • +
                + + + +
                  +
                • +

                  getReceivingWhitelist

                  +
                  ListeningWhitelist getReceivingWhitelist()
                  +
                  Retrieve which packets sent by the client this listener will observe.
                  +
                  Returns:
                  List of server packets to observe, along with the priority.
                  +
                • +
                + + + +
                  +
                • +

                  getPlugin

                  +
                  org.bukkit.plugin.Plugin getPlugin()
                  +
                  Retrieve the plugin that created list packet listener.
                  +
                  Returns:
                  The plugin, or NULL if not available.
                  +
                • +
                +
              • +
              +
            • +
            +
            +
            + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/events/class-use/ConnectionSide.html b/Javadoc/com/comphenix/protocol/events/class-use/ConnectionSide.html index 8c65beb4..b6d05e7e 100644 --- a/Javadoc/com/comphenix/protocol/events/class-use/ConnectionSide.html +++ b/Javadoc/com/comphenix/protocol/events/class-use/ConnectionSide.html @@ -1,200 +1,251 @@ - - - - - -Uses of Class com.comphenix.protocol.events.ConnectionSide - - - - - - - - - - -
            -

            Uses of Class
            com.comphenix.protocol.events.ConnectionSide

            -
            -
            - -
            - - - - - - + + + + + +Uses of Class com.comphenix.protocol.events.ConnectionSide + + + + + + + + + + +
            +

            Uses of Class
            com.comphenix.protocol.events.ConnectionSide

            +
            +
            + +
            + + + + + + diff --git a/Javadoc/com/comphenix/protocol/events/class-use/ListenerPriority.html b/Javadoc/com/comphenix/protocol/events/class-use/ListenerPriority.html index a20f4cdc..17de192e 100644 --- a/Javadoc/com/comphenix/protocol/events/class-use/ListenerPriority.html +++ b/Javadoc/com/comphenix/protocol/events/class-use/ListenerPriority.html @@ -1,234 +1,274 @@ - - - - - -Uses of Class com.comphenix.protocol.events.ListenerPriority - - - - - - - - - - -
            -

            Uses of Class
            com.comphenix.protocol.events.ListenerPriority

            -
            -
            - -
            - - - - - - + + + + + +Uses of Class com.comphenix.protocol.events.ListenerPriority + + + + + + + + + + +
            +

            Uses of Class
            com.comphenix.protocol.events.ListenerPriority

            +
            +
            + +
            + + + + + + diff --git a/Javadoc/com/comphenix/protocol/events/class-use/ListeningWhitelist.html b/Javadoc/com/comphenix/protocol/events/class-use/ListeningWhitelist.html index 119c0651..6f562b51 100644 --- a/Javadoc/com/comphenix/protocol/events/class-use/ListeningWhitelist.html +++ b/Javadoc/com/comphenix/protocol/events/class-use/ListeningWhitelist.html @@ -1,267 +1,275 @@ - - - - - -Uses of Class com.comphenix.protocol.events.ListeningWhitelist - - - - - - - - - - -
            -

            Uses of Class
            com.comphenix.protocol.events.ListeningWhitelist

            -
            -
            - -
            - - - - - - + + + + + +Uses of Class com.comphenix.protocol.events.ListeningWhitelist + + + + + + + + + + +
            +

            Uses of Class
            com.comphenix.protocol.events.ListeningWhitelist

            +
            +
            + +
            + + + + + + diff --git a/Javadoc/com/comphenix/protocol/events/class-use/PacketAdapter.html b/Javadoc/com/comphenix/protocol/events/class-use/PacketAdapter.html index e8338459..2f9818b5 100644 --- a/Javadoc/com/comphenix/protocol/events/class-use/PacketAdapter.html +++ b/Javadoc/com/comphenix/protocol/events/class-use/PacketAdapter.html @@ -1,115 +1,115 @@ - - - - - -Uses of Class com.comphenix.protocol.events.PacketAdapter - - - - - - - - - - -
            -

            Uses of Class
            com.comphenix.protocol.events.PacketAdapter

            -
            -
            No usage of com.comphenix.protocol.events.PacketAdapter
            - - - - - - + + + + + +Uses of Class com.comphenix.protocol.events.PacketAdapter + + + + + + + + + + +
            +

            Uses of Class
            com.comphenix.protocol.events.PacketAdapter

            +
            +
            No usage of com.comphenix.protocol.events.PacketAdapter
            + + + + + + diff --git a/Javadoc/com/comphenix/protocol/events/class-use/PacketContainer.html b/Javadoc/com/comphenix/protocol/events/class-use/PacketContainer.html index b3f38f8b..583c361d 100644 --- a/Javadoc/com/comphenix/protocol/events/class-use/PacketContainer.html +++ b/Javadoc/com/comphenix/protocol/events/class-use/PacketContainer.html @@ -1,346 +1,348 @@ - - - - - -Uses of Class com.comphenix.protocol.events.PacketContainer - - - - - - - - - - -
            -

            Uses of Class
            com.comphenix.protocol.events.PacketContainer

            -
            -
            - -
            - - - - - - + + + + + +Uses of Class com.comphenix.protocol.events.PacketContainer + + + + + + + + + + +
            +

            Uses of Class
            com.comphenix.protocol.events.PacketContainer

            +
            +
            + +
            + + + + + + diff --git a/Javadoc/com/comphenix/protocol/events/class-use/PacketEvent.html b/Javadoc/com/comphenix/protocol/events/class-use/PacketEvent.html index 72926065..bbc64c59 100644 --- a/Javadoc/com/comphenix/protocol/events/class-use/PacketEvent.html +++ b/Javadoc/com/comphenix/protocol/events/class-use/PacketEvent.html @@ -1,329 +1,329 @@ - - - - - -Uses of Class com.comphenix.protocol.events.PacketEvent - - - - - - - - - - -
            -

            Uses of Class
            com.comphenix.protocol.events.PacketEvent

            -
            -
            - -
            - - - - - - + + + + + +Uses of Class com.comphenix.protocol.events.PacketEvent + + + + + + + + + + +
            +

            Uses of Class
            com.comphenix.protocol.events.PacketEvent

            +
            +
            + +
            + + + + + + diff --git a/Javadoc/com/comphenix/protocol/events/class-use/PacketListener.html b/Javadoc/com/comphenix/protocol/events/class-use/PacketListener.html index a0c761ae..a7c2df24 100644 --- a/Javadoc/com/comphenix/protocol/events/class-use/PacketListener.html +++ b/Javadoc/com/comphenix/protocol/events/class-use/PacketListener.html @@ -1,367 +1,373 @@ - - - - - -Uses of Interface com.comphenix.protocol.events.PacketListener - - - - - - - - - - -
            -

            Uses of Interface
            com.comphenix.protocol.events.PacketListener

            -
            -
            - -
            - - - - - - + + + + + +Uses of Interface com.comphenix.protocol.events.PacketListener + + + + + + + + + + +
            +

            Uses of Interface
            com.comphenix.protocol.events.PacketListener

            +
            +
            + +
            + + + + + + diff --git a/Javadoc/com/comphenix/protocol/events/package-frame.html b/Javadoc/com/comphenix/protocol/events/package-frame.html index d161bb0f..bffc5a74 100644 --- a/Javadoc/com/comphenix/protocol/events/package-frame.html +++ b/Javadoc/com/comphenix/protocol/events/package-frame.html @@ -1,31 +1,32 @@ - - - - - -com.comphenix.protocol.events - - - - -

            com.comphenix.protocol.events

            - - - + + + + + +com.comphenix.protocol.events + + + + +

            com.comphenix.protocol.events

            + + + diff --git a/Javadoc/com/comphenix/protocol/events/package-summary.html b/Javadoc/com/comphenix/protocol/events/package-summary.html index 0a48c6e3..e5921fff 100644 --- a/Javadoc/com/comphenix/protocol/events/package-summary.html +++ b/Javadoc/com/comphenix/protocol/events/package-summary.html @@ -1,191 +1,197 @@ - - - - - -com.comphenix.protocol.events - - - - - - - -
            - - - - - -
            - - -
            -

            Package com.comphenix.protocol.events

            -
            -
            -
              -
            • - - - - - - - - - - - - -
              Interface Summary 
              InterfaceDescription
              PacketListener -
              Represents a listener that recieves notifications when packets are sent or recieved.
              -
              -
            • -
            • - - - - - - - - - - - - - - - - - - - - - - - - -
              Class Summary 
              ClassDescription
              ListeningWhitelist -
              Determines which packets will be observed by a listener, and with what priority.
              -
              PacketAdapter -
              Represents a packet listener with useful constructors.
              -
              PacketContainer -
              Represents a Minecraft packet indirectly.
              -
              PacketEvent 
              -
            • -
            • - - - - - - - - - - - - - - - - -
              Enum Summary 
              EnumDescription
              ConnectionSide -
              Used to set a packet filter.
              -
              ListenerPriority -
              Represents a packet event priority, similar to the Bukkit EventPriority.
              -
              -
            • -
            -
            - -
            - - - - - -
            - - - - + + + + + +com.comphenix.protocol.events + + + + + + + +
            + + + + + +
            + + +
            +

            Package com.comphenix.protocol.events

            +
            +
            +
              +
            • + + + + + + + + + + + + +
              Interface Summary 
              InterfaceDescription
              PacketListener +
              Represents a listener that recieves notifications when packets are sent or recieved.
              +
              +
            • +
            • + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              Class Summary 
              ClassDescription
              ListeningWhitelist +
              Determines which packets will be observed by a listener, and with what priority.
              +
              MonitorAdapter +
              Represents a listener that is notified of every sent and recieved packet.
              +
              PacketAdapter +
              Represents a packet listener with useful constructors.
              +
              PacketContainer +
              Represents a Minecraft packet indirectly.
              +
              PacketEvent 
              +
            • +
            • + + + + + + + + + + + + + + + + +
              Enum Summary 
              EnumDescription
              ConnectionSide +
              Used to set a packet filter.
              +
              ListenerPriority +
              Represents a packet event priority, similar to the Bukkit EventPriority.
              +
              +
            • +
            +
            + +
            + + + + + +
            + + + + diff --git a/Javadoc/com/comphenix/protocol/events/package-tree.html b/Javadoc/com/comphenix/protocol/events/package-tree.html index d7673518..0e6cab31 100644 --- a/Javadoc/com/comphenix/protocol/events/package-tree.html +++ b/Javadoc/com/comphenix/protocol/events/package-tree.html @@ -1,152 +1,153 @@ - - - - - -com.comphenix.protocol.events Class Hierarchy - - - - - - - -
            - - - - - -
            - - -
            -

            Hierarchy For Package com.comphenix.protocol.events

            -Package Hierarchies: - -
            -
            -

            Class Hierarchy

            -
              -
            • java.lang.Object -
                -
              • java.util.EventObject (implements java.io.Serializable) -
                  -
                • com.comphenix.protocol.events.PacketEvent (implements org.bukkit.event.Cancellable)
                • -
                -
              • -
              • com.comphenix.protocol.events.ListeningWhitelist
              • -
              • com.comphenix.protocol.events.PacketAdapter (implements com.comphenix.protocol.events.PacketListener)
              • -
              • com.comphenix.protocol.events.PacketContainer (implements java.io.Serializable)
              • -
              -
            • -
            -

            Interface Hierarchy

            - -

            Enum Hierarchy

            -
              -
            • java.lang.Object -
                -
              • java.lang.Enum<E> (implements java.lang.Comparable<T>, java.io.Serializable) - -
              • -
              -
            • -
            -
            - -
            - - - - - -
            - - - - + + + + + +com.comphenix.protocol.events Class Hierarchy + + + + + + + +
            + + + + + +
            + + +
            +

            Hierarchy For Package com.comphenix.protocol.events

            +Package Hierarchies: + +
            +
            +

            Class Hierarchy

            +
              +
            • java.lang.Object + +
            • +
            +

            Interface Hierarchy

            + +

            Enum Hierarchy

            +
              +
            • java.lang.Object +
                +
              • java.lang.Enum<E> (implements java.lang.Comparable<T>, java.io.Serializable) + +
              • +
              +
            • +
            +
            + +
            + + + + + +
            + + + + diff --git a/Javadoc/com/comphenix/protocol/events/package-use.html b/Javadoc/com/comphenix/protocol/events/package-use.html index edbc7320..d9125660 100644 --- a/Javadoc/com/comphenix/protocol/events/package-use.html +++ b/Javadoc/com/comphenix/protocol/events/package-use.html @@ -1,312 +1,312 @@ - - - - - -Uses of Package com.comphenix.protocol.events - - - - - - - - - - -
            -

            Uses of Package
            com.comphenix.protocol.events

            -
            -
            - -
            - - - - - - + + + + + +Uses of Package com.comphenix.protocol.events + + + + + + + + + + +
            +

            Uses of Package
            com.comphenix.protocol.events

            +
            +
            + +
            + + + + + + diff --git a/Javadoc/com/comphenix/protocol/injector/BukkitUnwrapper.html b/Javadoc/com/comphenix/protocol/injector/BukkitUnwrapper.html index b5059294..922a21c0 100644 --- a/Javadoc/com/comphenix/protocol/injector/BukkitUnwrapper.html +++ b/Javadoc/com/comphenix/protocol/injector/BukkitUnwrapper.html @@ -1,279 +1,279 @@ - - - - - -BukkitUnwrapper - - - - - - - - - - - -
            -
            com.comphenix.protocol.injector
            -

            Class BukkitUnwrapper

            -
            -
            -
              -
            • java.lang.Object
            • -
            • -
                -
              • com.comphenix.protocol.injector.BukkitUnwrapper
              • -
              -
            • -
            -
            -
              -
            • -
              -
              All Implemented Interfaces:
              -
              PacketConstructor.Unwrapper
              -
              -
              -
              -
              public class BukkitUnwrapper
              -extends java.lang.Object
              -implements PacketConstructor.Unwrapper
              -
              Represents an object capable of converting wrapped Bukkit objects into NMS objects. -

              - Typical conversions include: -

                -
              • org.bukkit.entity.Player -> net.minecraft.server.EntityPlayer
              • -
              • org.bukkit.World -> net.minecraft.server.WorldServer
              • -
              -
              Author:
              -
              Kristian
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Constructor Summary

                - - - - - - - - -
                Constructors 
                Constructor and Description
                BukkitUnwrapper() 
                -
              • -
              - -
                -
              • - - -

                Method Summary

                - - - - - - - - - - -
                Methods 
                Modifier and TypeMethod and Description
                java.lang.ObjectunwrapItem(java.lang.Object wrappedObject) -
                Convert the given wrapped object to the equivalent net.minecraft.server object.
                -
                -
                  -
                • - - -

                  Methods inherited from class java.lang.Object

                  -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
                • -
                -
              • -
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Constructor Detail

                - - - -
                  -
                • -

                  BukkitUnwrapper

                  -
                  public BukkitUnwrapper()
                  -
                • -
                -
              • -
              - -
                -
              • - - -

                Method Detail

                - - - -
                  -
                • -

                  unwrapItem

                  -
                  public java.lang.Object unwrapItem(java.lang.Object wrappedObject)
                  -
                  Description copied from interface: PacketConstructor.Unwrapper
                  -
                  Convert the given wrapped object to the equivalent net.minecraft.server object.
                  -
                  -
                  Specified by:
                  -
                  unwrapItem in interface PacketConstructor.Unwrapper
                  -
                  Parameters:
                  wrappedObject - - wrapped object.
                  -
                  Returns:
                  The net.minecraft.server object.
                  -
                • -
                -
              • -
              -
            • -
            -
            -
            - - - - - - - + + + + + +BukkitUnwrapper + + + + + + + + + + + +
            +
            com.comphenix.protocol.injector
            +

            Class BukkitUnwrapper

            +
            +
            +
              +
            • java.lang.Object
            • +
            • +
                +
              • com.comphenix.protocol.injector.BukkitUnwrapper
              • +
              +
            • +
            +
            +
              +
            • +
              +
              All Implemented Interfaces:
              +
              PacketConstructor.Unwrapper
              +
              +
              +
              +
              public class BukkitUnwrapper
              +extends java.lang.Object
              +implements PacketConstructor.Unwrapper
              +
              Represents an object capable of converting wrapped Bukkit objects into NMS objects. +

              + Typical conversions include: +

                +
              • org.bukkit.entity.Player -> net.minecraft.server.EntityPlayer
              • +
              • org.bukkit.World -> net.minecraft.server.WorldServer
              • +
              +
              Author:
              +
              Kristian
              +
            • +
            +
            +
            +
              +
            • + +
                +
              • + + +

                Constructor Summary

                + + + + + + + + +
                Constructors 
                Constructor and Description
                BukkitUnwrapper() 
                +
              • +
              + +
                +
              • + + +

                Method Summary

                + + + + + + + + + + +
                Methods 
                Modifier and TypeMethod and Description
                java.lang.ObjectunwrapItem(java.lang.Object wrappedObject) +
                Convert the given wrapped object to the equivalent net.minecraft.server object.
                +
                +
                  +
                • + + +

                  Methods inherited from class java.lang.Object

                  +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
                • +
                +
              • +
              +
            • +
            +
            +
            +
              +
            • + +
                +
              • + + +

                Constructor Detail

                + + + +
                  +
                • +

                  BukkitUnwrapper

                  +
                  public BukkitUnwrapper()
                  +
                • +
                +
              • +
              + +
                +
              • + + +

                Method Detail

                + + + +
                  +
                • +

                  unwrapItem

                  +
                  public java.lang.Object unwrapItem(java.lang.Object wrappedObject)
                  +
                  Description copied from interface: PacketConstructor.Unwrapper
                  +
                  Convert the given wrapped object to the equivalent net.minecraft.server object.
                  +
                  +
                  Specified by:
                  +
                  unwrapItem in interface PacketConstructor.Unwrapper
                  +
                  Parameters:
                  wrappedObject - - wrapped object.
                  +
                  Returns:
                  The net.minecraft.server object.
                  +
                • +
                +
              • +
              +
            • +
            +
            +
            + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/injector/ListenerInvoker.html b/Javadoc/com/comphenix/protocol/injector/ListenerInvoker.html index fee7abd7..c96a3cf4 100644 --- a/Javadoc/com/comphenix/protocol/injector/ListenerInvoker.html +++ b/Javadoc/com/comphenix/protocol/injector/ListenerInvoker.html @@ -1,252 +1,252 @@ - - - - - -ListenerInvoker - - - - - - - - - - - -
            -
            com.comphenix.protocol.injector
            -

            Interface ListenerInvoker

            -
            -
            -
            -
              -
            • -
              -
              All Known Implementing Classes:
              -
              PacketFilterManager
              -
              -
              -
              -
              public interface ListenerInvoker
              -
              Represents an object that initiate the packet listeners.
              -
              Author:
              -
              Kristian
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Method Summary

                - - - - - - - - - - - - - - - - - - -
                Methods 
                Modifier and TypeMethod and Description
                intgetPacketID(net.minecraft.server.Packet packet) -
                Retrieve the associated ID of a packet.
                -
                voidinvokePacketRecieving(PacketEvent event) -
                Invokes the given packet event for every registered listener.
                -
                voidinvokePacketSending(PacketEvent event) -
                Invokes the given packet event for every registered listener.
                -
                -
              • -
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Method Detail

                - - - -
                  -
                • -

                  invokePacketRecieving

                  -
                  void invokePacketRecieving(PacketEvent event)
                  -
                  Invokes the given packet event for every registered listener.
                  -
                  Parameters:
                  event - - the packet event to invoke.
                  -
                • -
                - - - -
                  -
                • -

                  invokePacketSending

                  -
                  void invokePacketSending(PacketEvent event)
                  -
                  Invokes the given packet event for every registered listener.
                  -
                  Parameters:
                  event - - the packet event to invoke.
                  -
                • -
                - - - -
                  -
                • -

                  getPacketID

                  -
                  int getPacketID(net.minecraft.server.Packet packet)
                  -
                  Retrieve the associated ID of a packet.
                  -
                  Parameters:
                  packet - - the packet.
                  -
                  Returns:
                  The packet ID.
                  -
                • -
                -
              • -
              -
            • -
            -
            -
            - - - - - - - + + + + + +ListenerInvoker + + + + + + + + + + + +
            +
            com.comphenix.protocol.injector
            +

            Interface ListenerInvoker

            +
            +
            +
            +
              +
            • +
              +
              All Known Implementing Classes:
              +
              PacketFilterManager
              +
              +
              +
              +
              public interface ListenerInvoker
              +
              Represents an object that initiate the packet listeners.
              +
              Author:
              +
              Kristian
              +
            • +
            +
            +
            +
              +
            • + +
                +
              • + + +

                Method Summary

                + + + + + + + + + + + + + + + + + + +
                Methods 
                Modifier and TypeMethod and Description
                intgetPacketID(net.minecraft.server.Packet packet) +
                Retrieve the associated ID of a packet.
                +
                voidinvokePacketRecieving(PacketEvent event) +
                Invokes the given packet event for every registered listener.
                +
                voidinvokePacketSending(PacketEvent event) +
                Invokes the given packet event for every registered listener.
                +
                +
              • +
              +
            • +
            +
            +
            +
              +
            • + +
                +
              • + + +

                Method Detail

                + + + +
                  +
                • +

                  invokePacketRecieving

                  +
                  void invokePacketRecieving(PacketEvent event)
                  +
                  Invokes the given packet event for every registered listener.
                  +
                  Parameters:
                  event - - the packet event to invoke.
                  +
                • +
                + + + +
                  +
                • +

                  invokePacketSending

                  +
                  void invokePacketSending(PacketEvent event)
                  +
                  Invokes the given packet event for every registered listener.
                  +
                  Parameters:
                  event - - the packet event to invoke.
                  +
                • +
                + + + +
                  +
                • +

                  getPacketID

                  +
                  int getPacketID(net.minecraft.server.Packet packet)
                  +
                  Retrieve the associated ID of a packet.
                  +
                  Parameters:
                  packet - - the packet.
                  +
                  Returns:
                  The packet ID.
                  +
                • +
                +
              • +
              +
            • +
            +
            +
            + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/injector/PacketConstructor.Unwrapper.html b/Javadoc/com/comphenix/protocol/injector/PacketConstructor.Unwrapper.html index 1407e9ba..3ae750f0 100644 --- a/Javadoc/com/comphenix/protocol/injector/PacketConstructor.Unwrapper.html +++ b/Javadoc/com/comphenix/protocol/injector/PacketConstructor.Unwrapper.html @@ -1,222 +1,222 @@ - - - - - -PacketConstructor.Unwrapper - - - - - - - - - - - -
            -
            com.comphenix.protocol.injector
            -

            Interface PacketConstructor.Unwrapper

            -
            -
            -
            -
              -
            • -
              -
              All Known Implementing Classes:
              -
              BukkitUnwrapper
              -
              -
              -
              Enclosing class:
              -
              PacketConstructor
              -
              -
              -
              -
              public static interface PacketConstructor.Unwrapper
              -
              Represents a unwrapper for a constructor parameter.
              -
              Author:
              -
              Kristian
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Method Summary

                - - - - - - - - - - -
                Methods 
                Modifier and TypeMethod and Description
                java.lang.ObjectunwrapItem(java.lang.Object wrappedObject) -
                Convert the given wrapped object to the equivalent net.minecraft.server object.
                -
                -
              • -
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Method Detail

                - - - -
                  -
                • -

                  unwrapItem

                  -
                  java.lang.Object unwrapItem(java.lang.Object wrappedObject)
                  -
                  Convert the given wrapped object to the equivalent net.minecraft.server object.
                  -
                  Parameters:
                  wrappedObject - - wrapped object.
                  -
                  Returns:
                  The net.minecraft.server object.
                  -
                • -
                -
              • -
              -
            • -
            -
            -
            - - - - - - - + + + + + +PacketConstructor.Unwrapper + + + + + + + + + + + +
            +
            com.comphenix.protocol.injector
            +

            Interface PacketConstructor.Unwrapper

            +
            +
            +
            +
              +
            • +
              +
              All Known Implementing Classes:
              +
              BukkitUnwrapper
              +
              +
              +
              Enclosing class:
              +
              PacketConstructor
              +
              +
              +
              +
              public static interface PacketConstructor.Unwrapper
              +
              Represents a unwrapper for a constructor parameter.
              +
              Author:
              +
              Kristian
              +
            • +
            +
            +
            +
              +
            • + +
                +
              • + + +

                Method Summary

                + + + + + + + + + + +
                Methods 
                Modifier and TypeMethod and Description
                java.lang.ObjectunwrapItem(java.lang.Object wrappedObject) +
                Convert the given wrapped object to the equivalent net.minecraft.server object.
                +
                +
              • +
              +
            • +
            +
            +
            +
              +
            • + +
                +
              • + + +

                Method Detail

                + + + +
                  +
                • +

                  unwrapItem

                  +
                  java.lang.Object unwrapItem(java.lang.Object wrappedObject)
                  +
                  Convert the given wrapped object to the equivalent net.minecraft.server object.
                  +
                  Parameters:
                  wrappedObject - - wrapped object.
                  +
                  Returns:
                  The net.minecraft.server object.
                  +
                • +
                +
              • +
              +
            • +
            +
            +
            + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/injector/PacketConstructor.html b/Javadoc/com/comphenix/protocol/injector/PacketConstructor.html index 9e38f538..7a47f374 100644 --- a/Javadoc/com/comphenix/protocol/injector/PacketConstructor.html +++ b/Javadoc/com/comphenix/protocol/injector/PacketConstructor.html @@ -1,367 +1,367 @@ - - - - - -PacketConstructor - - - - - - - - - - - -
            -
            com.comphenix.protocol.injector
            -

            Class PacketConstructor

            -
            -
            -
              -
            • java.lang.Object
            • -
            • -
                -
              • com.comphenix.protocol.injector.PacketConstructor
              • -
              -
            • -
            -
            -
              -
            • -
              -
              -
              public class PacketConstructor
              -extends java.lang.Object
              -
              A packet constructor that uses an internal Minecraft.
              -
              Author:
              -
              Kristian
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Nested Class Summary

                - - - - - - - - - - -
                Nested Classes 
                Modifier and TypeClass and Description
                static interface PacketConstructor.Unwrapper -
                Represents a unwrapper for a constructor parameter.
                -
                -
              • -
              - -
                -
              • - - -

                Field Summary

                - - - - - - - - - - -
                Fields 
                Modifier and TypeField and Description
                static PacketConstructorDEFAULT -
                A packet constructor that automatically converts Bukkit types to their NMS conterpart.
                -
                -
              • -
              - -
                -
              • - - -

                Method Summary

                - - - - - - - - - - - - - - - - - - - - - - - - - - -
                Methods 
                Modifier and TypeMethod and Description
                PacketContainercreatePacket(java.lang.Object... values) -
                Construct a packet using the special builtin Minecraft constructors.
                -
                intgetPacketID() -
                Retrieve the id of the packets this constructor creates.
                -
                com.google.common.collect.ImmutableList<PacketConstructor.Unwrapper>getUnwrappers() 
                PacketConstructorwithPacket(int id, - java.lang.Object[] values) -
                Create a packet constructor that creates packets using the given types.
                -
                PacketConstructorwithUnwrappers(java.util.List<PacketConstructor.Unwrapper> unwrappers) -
                Return a copy of the current constructor with a different list of unwrappers.
                -
                -
                  -
                • - - -

                  Methods inherited from class java.lang.Object

                  -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
                • -
                -
              • -
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Field Detail

                - - - -
                  -
                • -

                  DEFAULT

                  -
                  public static PacketConstructor DEFAULT
                  -
                  A packet constructor that automatically converts Bukkit types to their NMS conterpart. -

                  - Remember to call withPacket().

                  -
                • -
                -
              • -
              - -
                -
              • - - -

                Method Detail

                - - - - - - - -
                  -
                • -

                  getPacketID

                  -
                  public int getPacketID()
                  -
                  Retrieve the id of the packets this constructor creates.
                  -
                  Returns:
                  The ID of the packets this constructor will create.
                  -
                • -
                - - - -
                  -
                • -

                  withUnwrappers

                  -
                  public PacketConstructor withUnwrappers(java.util.List<PacketConstructor.Unwrapper> unwrappers)
                  -
                  Return a copy of the current constructor with a different list of unwrappers.
                  -
                  Parameters:
                  unwrappers - - list of unwrappers that convert Bukkit wrappers into the equivalent NMS classes.
                  -
                  Returns:
                  A constructor with a different set of unwrappers.
                  -
                • -
                - - - -
                  -
                • -

                  withPacket

                  -
                  public PacketConstructor withPacket(int id,
                  -                           java.lang.Object[] values)
                  -
                  Create a packet constructor that creates packets using the given types.
                  -
                  Parameters:
                  id - - packet ID.
                  values - - types to create.
                  -
                  Returns:
                  A packet constructor with these types.
                  -
                  Throws:
                  -
                  java.lang.IllegalArgumentException - If no packet constructor could be created with these types.
                  -
                • -
                - - - -
                  -
                • -

                  createPacket

                  -
                  public PacketContainer createPacket(java.lang.Object... values)
                  -                             throws FieldAccessException
                  -
                  Construct a packet using the special builtin Minecraft constructors.
                  -
                  Parameters:
                  values - - values containing Bukkit wrapped items to pass to Minecraft.
                  -
                  Returns:
                  The created packet.
                  -
                  Throws:
                  -
                  FieldAccessException - Failure due to a security limitation.
                  -
                  java.lang.IllegalArgumentException - Arguments doesn't match the constructor.
                  -
                  java.lang.RuntimeException - Minecraft threw an exception.
                  -
                • -
                -
              • -
              -
            • -
            -
            -
            - - - - - - - + + + + + +PacketConstructor + + + + + + + + + + + +
            +
            com.comphenix.protocol.injector
            +

            Class PacketConstructor

            +
            +
            +
              +
            • java.lang.Object
            • +
            • +
                +
              • com.comphenix.protocol.injector.PacketConstructor
              • +
              +
            • +
            +
            +
              +
            • +
              +
              +
              public class PacketConstructor
              +extends java.lang.Object
              +
              A packet constructor that uses an internal Minecraft.
              +
              Author:
              +
              Kristian
              +
            • +
            +
            +
            +
              +
            • + +
                +
              • + + +

                Nested Class Summary

                + + + + + + + + + + +
                Nested Classes 
                Modifier and TypeClass and Description
                static interface PacketConstructor.Unwrapper +
                Represents a unwrapper for a constructor parameter.
                +
                +
              • +
              + +
                +
              • + + +

                Field Summary

                + + + + + + + + + + +
                Fields 
                Modifier and TypeField and Description
                static PacketConstructorDEFAULT +
                A packet constructor that automatically converts Bukkit types to their NMS conterpart.
                +
                +
              • +
              + +
                +
              • + + +

                Method Summary

                + + + + + + + + + + + + + + + + + + + + + + + + + + +
                Methods 
                Modifier and TypeMethod and Description
                PacketContainercreatePacket(java.lang.Object... values) +
                Construct a packet using the special builtin Minecraft constructors.
                +
                intgetPacketID() +
                Retrieve the id of the packets this constructor creates.
                +
                com.google.common.collect.ImmutableList<PacketConstructor.Unwrapper>getUnwrappers() 
                PacketConstructorwithPacket(int id, + java.lang.Object[] values) +
                Create a packet constructor that creates packets using the given types.
                +
                PacketConstructorwithUnwrappers(java.util.List<PacketConstructor.Unwrapper> unwrappers) +
                Return a copy of the current constructor with a different list of unwrappers.
                +
                +
                  +
                • + + +

                  Methods inherited from class java.lang.Object

                  +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
                • +
                +
              • +
              +
            • +
            +
            +
            +
              +
            • + +
                +
              • + + +

                Field Detail

                + + + +
                  +
                • +

                  DEFAULT

                  +
                  public static final PacketConstructor DEFAULT
                  +
                  A packet constructor that automatically converts Bukkit types to their NMS conterpart. +

                  + Remember to call withPacket().

                  +
                • +
                +
              • +
              + +
                +
              • + + +

                Method Detail

                + + + + + + + +
                  +
                • +

                  getPacketID

                  +
                  public int getPacketID()
                  +
                  Retrieve the id of the packets this constructor creates.
                  +
                  Returns:
                  The ID of the packets this constructor will create.
                  +
                • +
                + + + +
                  +
                • +

                  withUnwrappers

                  +
                  public PacketConstructor withUnwrappers(java.util.List<PacketConstructor.Unwrapper> unwrappers)
                  +
                  Return a copy of the current constructor with a different list of unwrappers.
                  +
                  Parameters:
                  unwrappers - - list of unwrappers that convert Bukkit wrappers into the equivalent NMS classes.
                  +
                  Returns:
                  A constructor with a different set of unwrappers.
                  +
                • +
                + + + +
                  +
                • +

                  withPacket

                  +
                  public PacketConstructor withPacket(int id,
                  +                           java.lang.Object[] values)
                  +
                  Create a packet constructor that creates packets using the given types.
                  +
                  Parameters:
                  id - - packet ID.
                  values - - types to create.
                  +
                  Returns:
                  A packet constructor with these types.
                  +
                  Throws:
                  +
                  java.lang.IllegalArgumentException - If no packet constructor could be created with these types.
                  +
                • +
                + + + +
                  +
                • +

                  createPacket

                  +
                  public PacketContainer createPacket(java.lang.Object... values)
                  +                             throws FieldAccessException
                  +
                  Construct a packet using the special builtin Minecraft constructors.
                  +
                  Parameters:
                  values - - values containing Bukkit wrapped items to pass to Minecraft.
                  +
                  Returns:
                  The created packet.
                  +
                  Throws:
                  +
                  FieldAccessException - Failure due to a security limitation.
                  +
                  java.lang.IllegalArgumentException - Arguments doesn't match the constructor.
                  +
                  java.lang.RuntimeException - Minecraft threw an exception.
                  +
                • +
                +
              • +
              +
            • +
            +
            +
            + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/injector/PacketFilterManager.PlayerInjectHooks.html b/Javadoc/com/comphenix/protocol/injector/PacketFilterManager.PlayerInjectHooks.html index 0260d62e..55955a34 100644 --- a/Javadoc/com/comphenix/protocol/injector/PacketFilterManager.PlayerInjectHooks.html +++ b/Javadoc/com/comphenix/protocol/injector/PacketFilterManager.PlayerInjectHooks.html @@ -1,353 +1,368 @@ - - - - - -PacketFilterManager.PlayerInjectHooks - - - - - - - - - - - -
            -
            com.comphenix.protocol.injector
            -

            Enum PacketFilterManager.PlayerInjectHooks

            -
            -
            - -
            - -
            -
            -
              -
            • - - - -
                -
              • - - -

                Method Summary

                - - - - - - - - - - - - - - -
                Methods 
                Modifier and TypeMethod and Description
                static PacketFilterManager.PlayerInjectHooksvalueOf(java.lang.String name) -
                Returns the enum constant of this type with the specified name.
                -
                static PacketFilterManager.PlayerInjectHooks[]values() -
                Returns an array containing the constants of this enum type, in -the order they are declared.
                -
                -
                  -
                • - - -

                  Methods inherited from class java.lang.Enum

                  -clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
                • -
                -
                  -
                • - - -

                  Methods inherited from class java.lang.Object

                  -getClass, notify, notifyAll, wait, wait, wait
                • -
                -
              • -
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Enum Constant Detail

                - - - -
                  -
                • -

                  NETWORK_MANAGER_OBJECT

                  -
                  public static final PacketFilterManager.PlayerInjectHooks NETWORK_MANAGER_OBJECT
                  -
                  Override the network handler object itself. Only works in 1.3. -

                  - Cannot intercept MapChunk packets.

                  -
                • -
                - - - -
                  -
                • -

                  NETWORK_HANDLER_FIELDS

                  -
                  public static final PacketFilterManager.PlayerInjectHooks NETWORK_HANDLER_FIELDS
                  -
                  Override the packet queue lists in NetworkHandler. -

                  - Cannot intercept MapChunk packets.

                  -
                • -
                - - - - -
              • -
              - -
                -
              • - - -

                Method Detail

                - - - -
                  -
                • -

                  values

                  -
                  public static PacketFilterManager.PlayerInjectHooks[] values()
                  -
                  Returns an array containing the constants of this enum type, in -the order they are declared. This method may be used to iterate -over the constants as follows: -
                  -for (PacketFilterManager.PlayerInjectHooks c : PacketFilterManager.PlayerInjectHooks.values())
                  -    System.out.println(c);
                  -
                  -
                  Returns:
                  an array containing the constants of this enum type, in -the order they are declared
                  -
                • -
                - - - -
                  -
                • -

                  valueOf

                  -
                  public static PacketFilterManager.PlayerInjectHooks valueOf(java.lang.String name)
                  -
                  Returns the enum constant of this type with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this type. (Extraneous whitespace characters are -not permitted.)
                  -
                  Parameters:
                  name - the name of the enum constant to be returned.
                  -
                  Returns:
                  the enum constant with the specified name
                  -
                  Throws:
                  -
                  java.lang.IllegalArgumentException - if this enum type has no constant -with the specified name
                  -
                  java.lang.NullPointerException - if the argument is null
                  -
                • -
                -
              • -
              -
            • -
            -
            -
            - - - - - - - + + + + + +PacketFilterManager.PlayerInjectHooks + + + + + + + + + + + +
            +
            com.comphenix.protocol.injector
            +

            Enum PacketFilterManager.PlayerInjectHooks

            +
            +
            + +
            + +
            +
            +
              +
            • + + + +
                +
              • + + +

                Method Summary

                + + + + + + + + + + + + + + +
                Methods 
                Modifier and TypeMethod and Description
                static PacketFilterManager.PlayerInjectHooksvalueOf(java.lang.String name) +
                Returns the enum constant of this type with the specified name.
                +
                static PacketFilterManager.PlayerInjectHooks[]values() +
                Returns an array containing the constants of this enum type, in +the order they are declared.
                +
                +
                  +
                • + + +

                  Methods inherited from class java.lang.Enum

                  +clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
                • +
                +
                  +
                • + + +

                  Methods inherited from class java.lang.Object

                  +getClass, notify, notifyAll, wait, wait, wait
                • +
                +
              • +
              +
            • +
            +
            +
            +
              +
            • + + + +
                +
              • + + +

                Method Detail

                + + + +
                  +
                • +

                  values

                  +
                  public static PacketFilterManager.PlayerInjectHooks[] values()
                  +
                  Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
                  +for (PacketFilterManager.PlayerInjectHooks c : PacketFilterManager.PlayerInjectHooks.values())
                  +    System.out.println(c);
                  +
                  +
                  Returns:
                  an array containing the constants of this enum type, in +the order they are declared
                  +
                • +
                + + + +
                  +
                • +

                  valueOf

                  +
                  public static PacketFilterManager.PlayerInjectHooks valueOf(java.lang.String name)
                  +
                  Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
                  +
                  Parameters:
                  name - the name of the enum constant to be returned.
                  +
                  Returns:
                  the enum constant with the specified name
                  +
                  Throws:
                  +
                  java.lang.IllegalArgumentException - if this enum type has no constant +with the specified name
                  +
                  java.lang.NullPointerException - if the argument is null
                  +
                • +
                +
              • +
              +
            • +
            +
            +
            + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/injector/PacketFilterManager.html b/Javadoc/com/comphenix/protocol/injector/PacketFilterManager.html index 7ea904be..2209b46f 100644 --- a/Javadoc/com/comphenix/protocol/injector/PacketFilterManager.html +++ b/Javadoc/com/comphenix/protocol/injector/PacketFilterManager.html @@ -1,926 +1,946 @@ - - - - - -PacketFilterManager - - - - - - - - - - - -
            -
            com.comphenix.protocol.injector
            -

            Class PacketFilterManager

            -
            -
            -
              -
            • java.lang.Object
            • -
            • -
                -
              • com.comphenix.protocol.injector.PacketFilterManager
              • -
              -
            • -
            -
            - -
            -
            -
              -
            • - - - -
                -
              • - - -

                Constructor Summary

                - - - - - - - - -
                Constructors 
                Constructor and Description
                PacketFilterManager(java.lang.ClassLoader classLoader, - org.bukkit.Server server, - java.util.logging.Logger logger) -
                Only create instances of this class if protocol lib is disabled.
                -
                -
              • -
              - -
                -
              • - - -

                Method Summary

                - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                Methods 
                Modifier and TypeMethod and Description
                voidaddPacketListener(PacketListener listener) -
                Adds a packet listener.
                -
                voidclose() -
                Called when ProtocolLib is closing.
                -
                PacketContainercreatePacket(int id) -
                Constructs a new encapsulated Minecraft packet with the given ID.
                -
                PacketContainercreatePacket(int id, - boolean forceDefaults) -
                Constructs a new encapsulated Minecraft packet with the given ID.
                -
                PacketConstructorcreatePacketConstructor(int id, - java.lang.Object... arguments) -
                Construct a packet using the special builtin Minecraft constructors.
                -
                protected voidfinalize() 
                AsynchronousManagergetAsynchronousManager() -
                Retrieve the current asyncronous packet manager.
                -
                java.lang.ClassLoadergetClassLoader() -
                Retrieves the current plugin class loader.
                -
                static java.util.Set<java.lang.Integer>getClientPackets() -
                Retrieve every known and supported client packet.
                -
                java.util.logging.LoggergetLogger() 
                intgetPacketID(net.minecraft.server.Packet packet) -
                Retrieve the associated ID of a packet.
                -
                com.google.common.collect.ImmutableSet<PacketListener>getPacketListeners() -
                Retrieves a list of every registered packet listener.
                -
                PacketFilterManager.PlayerInjectHooksgetPlayerHook() -
                Retrieves how the server packets are read.
                -
                java.util.Set<java.lang.Integer>getReceivingFilters() -
                Retrieves a immutable set containing the ID of the recieved client packets that will be observed by listeners.
                -
                java.util.Set<java.lang.Integer>getSendingFilters() -
                Retrieves a immutable set containing the ID of the sent server packets that will be observed by listeners.
                -
                static java.util.Set<java.lang.Integer>getServerPackets() -
                Retrieve every known and supported server packet.
                -
                voidinitializePlayers(org.bukkit.entity.Player[] players) -
                Initialize the packet injection for every player.
                -
                voidinvokePacketRecieving(PacketEvent event) -
                Invokes the given packet event for every registered listener.
                -
                voidinvokePacketSending(PacketEvent event) -
                Invokes the given packet event for every registered listener.
                -
                booleanisClosed() -
                Determines whether or not this protocol mananger has been disabled.
                -
                voidrecieveClientPacket(org.bukkit.entity.Player sender, - PacketContainer packet) -
                Simulate recieving a certain packet from a given player.
                -
                voidrecieveClientPacket(org.bukkit.entity.Player sender, - PacketContainer packet, - boolean filters) -
                Simulate recieving a certain packet from a given player.
                -
                voidregisterEvents(org.bukkit.plugin.PluginManager manager, - org.bukkit.plugin.Plugin plugin) -
                Register this protocol manager on Bukkit.
                -
                voidremovePacketListener(PacketListener listener) -
                Removes a given packet listener.
                -
                voidremovePacketListeners(org.bukkit.plugin.Plugin plugin) -
                Removes every listener associated with the given plugin.
                -
                voidsendServerPacket(org.bukkit.entity.Player reciever, - PacketContainer packet) -
                Send a packet to the given player.
                -
                voidsendServerPacket(org.bukkit.entity.Player reciever, - PacketContainer packet, - boolean filters) -
                Send a packet to the given player.
                -
                voidsetPlayerHook(PacketFilterManager.PlayerInjectHooks playerHook) -
                Sets how the server packets are read.
                -
                voidupdateEntity(org.bukkit.entity.Entity entity, - java.util.List<org.bukkit.entity.Player> observers) -
                Completely refresh all clients about an entity.
                -
                static voidverifyWhitelist(PacketListener listener, - ListeningWhitelist whitelist) -
                Determine if the packet IDs in a whitelist is valid.
                -
                -
                  -
                • - - -

                  Methods inherited from class java.lang.Object

                  -clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
                • -
                -
              • -
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Constructor Detail

                - - - -
                  -
                • -

                  PacketFilterManager

                  -
                  public PacketFilterManager(java.lang.ClassLoader classLoader,
                  -                   org.bukkit.Server server,
                  -                   java.util.logging.Logger logger)
                  -
                  Only create instances of this class if protocol lib is disabled.
                  -
                • -
                -
              • -
              - -
                -
              • - - -

                Method Detail

                - - - - - - - - - - - -
                  -
                • -

                  setPlayerHook

                  -
                  public void setPlayerHook(PacketFilterManager.PlayerInjectHooks playerHook)
                  -
                  Sets how the server packets are read.
                  -
                  Parameters:
                  playerHook - - the new injection method for reading server packets.
                  -
                • -
                - - - -
                  -
                • -

                  getLogger

                  -
                  public java.util.logging.Logger getLogger()
                  -
                • -
                - - - -
                  -
                • -

                  getPacketListeners

                  -
                  public com.google.common.collect.ImmutableSet<PacketListener> getPacketListeners()
                  -
                  Description copied from interface: ProtocolManager
                  -
                  Retrieves a list of every registered packet listener.
                  -
                  -
                  Specified by:
                  -
                  getPacketListeners in interface ProtocolManager
                  -
                  Returns:
                  Every registered packet listener.
                  -
                • -
                - - - -
                  -
                • -

                  addPacketListener

                  -
                  public void addPacketListener(PacketListener listener)
                  -
                  Description copied from interface: ProtocolManager
                  -
                  Adds a packet listener. -

                  - Adding an already registered listener has no effect. If you need to change the packets - the current listener is observing, you must first remove the packet listener before you - can register it again.

                  -
                  -
                  Specified by:
                  -
                  addPacketListener in interface ProtocolManager
                  -
                  Parameters:
                  listener - - new packet listener.
                  -
                • -
                - - - -
                  -
                • -

                  verifyWhitelist

                  -
                  public static void verifyWhitelist(PacketListener listener,
                  -                   ListeningWhitelist whitelist)
                  -
                  Determine if the packet IDs in a whitelist is valid.
                  -
                  Parameters:
                  listener - - the listener that will be mentioned in the error.
                  whitelist - - whitelist of packet IDs.
                  -
                  Throws:
                  -
                  java.lang.IllegalArgumentException - If the whitelist is illegal.
                  -
                • -
                - - - -
                  -
                • -

                  removePacketListener

                  -
                  public void removePacketListener(PacketListener listener)
                  -
                  Description copied from interface: ProtocolManager
                  -
                  Removes a given packet listener. -

                  - Attempting to remove a listener that doesn't exist has no effect.

                  -
                  -
                  Specified by:
                  -
                  removePacketListener in interface ProtocolManager
                  -
                  Parameters:
                  listener - - the packet listener to remove.
                  -
                • -
                - - - -
                  -
                • -

                  removePacketListeners

                  -
                  public void removePacketListeners(org.bukkit.plugin.Plugin plugin)
                  -
                  Description copied from interface: ProtocolManager
                  -
                  Removes every listener associated with the given plugin.
                  -
                  -
                  Specified by:
                  -
                  removePacketListeners in interface ProtocolManager
                  -
                  Parameters:
                  plugin - - the plugin to unload.
                  -
                • -
                - - - -
                  -
                • -

                  invokePacketRecieving

                  -
                  public void invokePacketRecieving(PacketEvent event)
                  -
                  Description copied from interface: ListenerInvoker
                  -
                  Invokes the given packet event for every registered listener.
                  -
                  -
                  Specified by:
                  -
                  invokePacketRecieving in interface ListenerInvoker
                  -
                  Parameters:
                  event - - the packet event to invoke.
                  -
                • -
                - - - -
                  -
                • -

                  invokePacketSending

                  -
                  public void invokePacketSending(PacketEvent event)
                  -
                  Description copied from interface: ListenerInvoker
                  -
                  Invokes the given packet event for every registered listener.
                  -
                  -
                  Specified by:
                  -
                  invokePacketSending in interface ListenerInvoker
                  -
                  Parameters:
                  event - - the packet event to invoke.
                  -
                • -
                - - - -
                  -
                • -

                  sendServerPacket

                  -
                  public void sendServerPacket(org.bukkit.entity.Player reciever,
                  -                    PacketContainer packet)
                  -                      throws java.lang.reflect.InvocationTargetException
                  -
                  Description copied from interface: PacketStream
                  -
                  Send a packet to the given player.
                  -
                  -
                  Specified by:
                  -
                  sendServerPacket in interface PacketStream
                  -
                  Parameters:
                  reciever - - the reciever.
                  packet - - packet to send.
                  -
                  Throws:
                  -
                  java.lang.reflect.InvocationTargetException - - if an error occured when sending the packet.
                  -
                • -
                - - - -
                  -
                • -

                  sendServerPacket

                  -
                  public void sendServerPacket(org.bukkit.entity.Player reciever,
                  -                    PacketContainer packet,
                  -                    boolean filters)
                  -                      throws java.lang.reflect.InvocationTargetException
                  -
                  Description copied from interface: PacketStream
                  -
                  Send a packet to the given player.
                  -
                  -
                  Specified by:
                  -
                  sendServerPacket in interface PacketStream
                  -
                  Parameters:
                  reciever - - the reciever.
                  packet - - packet to send.
                  filters - - whether or not to invoke any packet filters.
                  -
                  Throws:
                  -
                  java.lang.reflect.InvocationTargetException - - if an error occured when sending the packet.
                  -
                • -
                - - - -
                  -
                • -

                  recieveClientPacket

                  -
                  public void recieveClientPacket(org.bukkit.entity.Player sender,
                  -                       PacketContainer packet)
                  -                         throws java.lang.IllegalAccessException,
                  -                                java.lang.reflect.InvocationTargetException
                  -
                  Description copied from interface: PacketStream
                  -
                  Simulate recieving a certain packet from a given player.
                  -
                  -
                  Specified by:
                  -
                  recieveClientPacket in interface PacketStream
                  -
                  Parameters:
                  sender - - the sender.
                  packet - - the packet that was sent.
                  -
                  Throws:
                  -
                  java.lang.IllegalAccessException - If the underlying method caused an error.
                  -
                  java.lang.reflect.InvocationTargetException - If the reflection machinery failed.
                  -
                • -
                - - - -
                  -
                • -

                  recieveClientPacket

                  -
                  public void recieveClientPacket(org.bukkit.entity.Player sender,
                  -                       PacketContainer packet,
                  -                       boolean filters)
                  -                         throws java.lang.IllegalAccessException,
                  -                                java.lang.reflect.InvocationTargetException
                  -
                  Description copied from interface: PacketStream
                  -
                  Simulate recieving a certain packet from a given player.
                  -
                  -
                  Specified by:
                  -
                  recieveClientPacket in interface PacketStream
                  -
                  Parameters:
                  sender - - the sender.
                  packet - - the packet that was sent.
                  filters - - whether or not to invoke any packet filters.
                  -
                  Throws:
                  -
                  java.lang.IllegalAccessException - If the underlying method caused an error.
                  -
                  java.lang.reflect.InvocationTargetException - If the reflection machinery failed.
                  -
                • -
                - - - -
                  -
                • -

                  createPacket

                  -
                  public PacketContainer createPacket(int id)
                  -
                  Description copied from interface: ProtocolManager
                  -
                  Constructs a new encapsulated Minecraft packet with the given ID.
                  -
                  -
                  Specified by:
                  -
                  createPacket in interface ProtocolManager
                  -
                  Parameters:
                  id - - packet ID.
                  -
                  Returns:
                  New encapsulated Minecraft packet.
                  -
                • -
                - - - -
                  -
                • -

                  createPacket

                  -
                  public PacketContainer createPacket(int id,
                  -                           boolean forceDefaults)
                  -
                  Description copied from interface: ProtocolManager
                  -
                  Constructs a new encapsulated Minecraft packet with the given ID. -

                  - If set to true, the forceDefaults option will force the system to automatically - give non-primitive fields in the packet sensible default values. For instance, certain - packets - like Packet60Explosion - require a List or Set to be non-null. If the - forceDefaults option is true, the List or Set will be automatically created.

                  -
                  -
                  Specified by:
                  -
                  createPacket in interface ProtocolManager
                  -
                  Parameters:
                  id - - packet ID.
                  forceDefaults - - TRUE to use sensible defaults in most fields, FALSE otherwise.
                  -
                  Returns:
                  New encapsulated Minecraft packet.
                  -
                • -
                - - - -
                  -
                • -

                  createPacketConstructor

                  -
                  public PacketConstructor createPacketConstructor(int id,
                  -                                        java.lang.Object... arguments)
                  -
                  Description copied from interface: ProtocolManager
                  -
                  Construct a packet using the special builtin Minecraft constructors.
                  -
                  -
                  Specified by:
                  -
                  createPacketConstructor in interface ProtocolManager
                  -
                  Parameters:
                  id - - the packet ID.
                  arguments - - arguments that will be passed to the constructor.
                  -
                  Returns:
                  The packet constructor.
                  -
                • -
                - - - -
                  -
                • -

                  getSendingFilters

                  -
                  public java.util.Set<java.lang.Integer> getSendingFilters()
                  -
                  Description copied from interface: ProtocolManager
                  -
                  Retrieves a immutable set containing the ID of the sent server packets that will be observed by listeners.
                  -
                  -
                  Specified by:
                  -
                  getSendingFilters in interface ProtocolManager
                  -
                  Returns:
                  Every filtered server packet.
                  -
                • -
                - - - -
                  -
                • -

                  getReceivingFilters

                  -
                  public java.util.Set<java.lang.Integer> getReceivingFilters()
                  -
                  Description copied from interface: ProtocolManager
                  -
                  Retrieves a immutable set containing the ID of the recieved client packets that will be observed by listeners.
                  -
                  -
                  Specified by:
                  -
                  getReceivingFilters in interface ProtocolManager
                  -
                  Returns:
                  Every filtered client packet.
                  -
                • -
                - - - -
                  -
                • -

                  updateEntity

                  -
                  public void updateEntity(org.bukkit.entity.Entity entity,
                  -                java.util.List<org.bukkit.entity.Player> observers)
                  -                  throws FieldAccessException
                  -
                  Description copied from interface: ProtocolManager
                  -
                  Completely refresh all clients about an entity. -

                  - Note that this method is NOT thread safe. If you call this method from anything - but the main thread, it will throw an exception.

                  -
                  -
                  Specified by:
                  -
                  updateEntity in interface ProtocolManager
                  -
                  Parameters:
                  entity - - entity to refresh.
                  observers - - the clients to update.
                  -
                  Throws:
                  -
                  FieldAccessException
                  -
                • -
                - - - -
                  -
                • -

                  initializePlayers

                  -
                  public void initializePlayers(org.bukkit.entity.Player[] players)
                  -
                  Initialize the packet injection for every player.
                  -
                  Parameters:
                  players - - list of players to inject.
                  -
                • -
                - - - -
                  -
                • -

                  registerEvents

                  -
                  public void registerEvents(org.bukkit.plugin.PluginManager manager,
                  -                  org.bukkit.plugin.Plugin plugin)
                  -
                  Register this protocol manager on Bukkit.
                  -
                  Parameters:
                  manager - - Bukkit plugin manager that provides player join/leave events.
                  plugin - - the parent plugin.
                  -
                • -
                - - - -
                  -
                • -

                  getPacketID

                  -
                  public int getPacketID(net.minecraft.server.Packet packet)
                  -
                  Description copied from interface: ListenerInvoker
                  -
                  Retrieve the associated ID of a packet.
                  -
                  -
                  Specified by:
                  -
                  getPacketID in interface ListenerInvoker
                  -
                  Parameters:
                  packet - - the packet.
                  -
                  Returns:
                  The packet ID.
                  -
                • -
                - - - -
                  -
                • -

                  getServerPackets

                  -
                  public static java.util.Set<java.lang.Integer> getServerPackets()
                  -                                                         throws FieldAccessException
                  -
                  Retrieve every known and supported server packet.
                  -
                  Returns:
                  An immutable set of every known server packet.
                  -
                  Throws:
                  -
                  FieldAccessException - If we're unable to retrieve the server packet data from Minecraft.
                  -
                • -
                - - - -
                  -
                • -

                  getClientPackets

                  -
                  public static java.util.Set<java.lang.Integer> getClientPackets()
                  -                                                         throws FieldAccessException
                  -
                  Retrieve every known and supported client packet.
                  -
                  Returns:
                  An immutable set of every known client packet.
                  -
                  Throws:
                  -
                  FieldAccessException - If we're unable to retrieve the client packet data from Minecraft.
                  -
                • -
                - - - -
                  -
                • -

                  getClassLoader

                  -
                  public java.lang.ClassLoader getClassLoader()
                  -
                  Retrieves the current plugin class loader.
                  -
                  Returns:
                  Class loader.
                  -
                • -
                - - - -
                  -
                • -

                  isClosed

                  -
                  public boolean isClosed()
                  -
                  Description copied from interface: ProtocolManager
                  -
                  Determines whether or not this protocol mananger has been disabled.
                  -
                  -
                  Specified by:
                  -
                  isClosed in interface ProtocolManager
                  -
                  Returns:
                  TRUE if it has, FALSE otherwise.
                  -
                • -
                - - - -
                  -
                • -

                  close

                  -
                  public void close()
                  -
                  Called when ProtocolLib is closing.
                  -
                • -
                - - - -
                  -
                • -

                  finalize

                  -
                  protected void finalize()
                  -                 throws java.lang.Throwable
                  -
                  -
                  Overrides:
                  -
                  finalize in class java.lang.Object
                  -
                  Throws:
                  -
                  java.lang.Throwable
                  -
                • -
                -
              • -
              -
            • -
            -
            -
            - - - - - - - + + + + + +PacketFilterManager + + + + + + + + + + + +
            +
            com.comphenix.protocol.injector
            +

            Class PacketFilterManager

            +
            +
            +
              +
            • java.lang.Object
            • +
            • +
                +
              • com.comphenix.protocol.injector.PacketFilterManager
              • +
              +
            • +
            +
            + +
            +
            +
              +
            • + + + +
                +
              • + + +

                Constructor Summary

                + + + + + + + + +
                Constructors 
                Constructor and Description
                PacketFilterManager(java.lang.ClassLoader classLoader, + org.bukkit.Server server, + DelayedSingleTask unhookTask, + java.util.logging.Logger logger) +
                Only create instances of this class if protocol lib is disabled.
                +
                +
              • +
              + +
                +
              • + + +

                Method Summary

                + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                Methods 
                Modifier and TypeMethod and Description
                voidaddPacketListener(PacketListener listener) +
                Adds a packet listener.
                +
                voidclose() +
                Called when ProtocolLib is closing.
                +
                PacketContainercreatePacket(int id) +
                Constructs a new encapsulated Minecraft packet with the given ID.
                +
                PacketContainercreatePacket(int id, + boolean forceDefaults) +
                Constructs a new encapsulated Minecraft packet with the given ID.
                +
                PacketConstructorcreatePacketConstructor(int id, + java.lang.Object... arguments) +
                Construct a packet using the special builtin Minecraft constructors.
                +
                protected voidfinalize() 
                AsynchronousManagergetAsynchronousManager() +
                Retrieve the current asyncronous packet manager.
                +
                java.lang.ClassLoadergetClassLoader() +
                Retrieves the current plugin class loader.
                +
                static java.util.Set<java.lang.Integer>getClientPackets() +
                Retrieve every known and supported client packet.
                +
                java.util.logging.LoggergetLogger() 
                intgetPacketID(net.minecraft.server.Packet packet) +
                Retrieve the associated ID of a packet.
                +
                com.google.common.collect.ImmutableSet<PacketListener>getPacketListeners() +
                Retrieves a list of every registered packet listener.
                +
                PacketFilterManager.PlayerInjectHooksgetPlayerHook() +
                Retrieves how the server packets are read.
                +
                java.util.Set<java.lang.Integer>getReceivingFilters() +
                Retrieves a immutable set containing the ID of the recieved client packets that will be observed by listeners.
                +
                java.util.Set<java.lang.Integer>getSendingFilters() +
                Retrieves a immutable set containing the ID of the sent server packets that will be observed by listeners.
                +
                static java.util.Set<java.lang.Integer>getServerPackets() +
                Retrieve every known and supported server packet.
                +
                voidinitializePlayers(org.bukkit.entity.Player[] players) +
                Initialize the packet injection for every player.
                +
                voidinvokePacketRecieving(PacketEvent event) +
                Invokes the given packet event for every registered listener.
                +
                voidinvokePacketSending(PacketEvent event) +
                Invokes the given packet event for every registered listener.
                +
                booleanisClosed() +
                Determines whether or not this protocol mananger has been disabled.
                +
                voidrecieveClientPacket(org.bukkit.entity.Player sender, + PacketContainer packet) +
                Simulate recieving a certain packet from a given player.
                +
                voidrecieveClientPacket(org.bukkit.entity.Player sender, + PacketContainer packet, + boolean filters) +
                Simulate recieving a certain packet from a given player.
                +
                voidregisterEvents(org.bukkit.plugin.PluginManager manager, + org.bukkit.plugin.Plugin plugin) +
                Register this protocol manager on Bukkit.
                +
                voidremovePacketListener(PacketListener listener) +
                Removes a given packet listener.
                +
                voidremovePacketListeners(org.bukkit.plugin.Plugin plugin) +
                Removes every listener associated with the given plugin.
                +
                voidsendServerPacket(org.bukkit.entity.Player reciever, + PacketContainer packet) +
                Send a packet to the given player.
                +
                voidsendServerPacket(org.bukkit.entity.Player reciever, + PacketContainer packet, + boolean filters) +
                Send a packet to the given player.
                +
                voidsetPlayerHook(PacketFilterManager.PlayerInjectHooks playerHook) +
                Sets how the server packets are read.
                +
                voiduninitializePlayers(org.bukkit.entity.Player[] players) +
                Uninitialize the packet injection of every player.
                +
                voidupdateEntity(org.bukkit.entity.Entity entity, + java.util.List<org.bukkit.entity.Player> observers) +
                Completely refresh all clients about an entity.
                +
                static voidverifyWhitelist(PacketListener listener, + ListeningWhitelist whitelist) +
                Determine if the packet IDs in a whitelist is valid.
                +
                +
                  +
                • + + +

                  Methods inherited from class java.lang.Object

                  +clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
                • +
                +
              • +
              +
            • +
            +
            +
            +
              +
            • + +
                +
              • + + +

                Constructor Detail

                + + + +
                  +
                • +

                  PacketFilterManager

                  +
                  public PacketFilterManager(java.lang.ClassLoader classLoader,
                  +                   org.bukkit.Server server,
                  +                   DelayedSingleTask unhookTask,
                  +                   java.util.logging.Logger logger)
                  +
                  Only create instances of this class if protocol lib is disabled.
                  +
                  Parameters:
                  unhookTask -
                  +
                • +
                +
              • +
              + +
                +
              • + + +

                Method Detail

                + + + + + + + + + + + +
                  +
                • +

                  setPlayerHook

                  +
                  public void setPlayerHook(PacketFilterManager.PlayerInjectHooks playerHook)
                  +
                  Sets how the server packets are read.
                  +
                  Parameters:
                  playerHook - - the new injection method for reading server packets.
                  +
                • +
                + + + +
                  +
                • +

                  getLogger

                  +
                  public java.util.logging.Logger getLogger()
                  +
                • +
                + + + +
                  +
                • +

                  getPacketListeners

                  +
                  public com.google.common.collect.ImmutableSet<PacketListener> getPacketListeners()
                  +
                  Description copied from interface: ProtocolManager
                  +
                  Retrieves a list of every registered packet listener.
                  +
                  +
                  Specified by:
                  +
                  getPacketListeners in interface ProtocolManager
                  +
                  Returns:
                  Every registered packet listener.
                  +
                • +
                + + + +
                  +
                • +

                  addPacketListener

                  +
                  public void addPacketListener(PacketListener listener)
                  +
                  Description copied from interface: ProtocolManager
                  +
                  Adds a packet listener. +

                  + Adding an already registered listener has no effect. If you need to change the packets + the current listener is observing, you must first remove the packet listener before you + can register it again.

                  +
                  +
                  Specified by:
                  +
                  addPacketListener in interface ProtocolManager
                  +
                  Parameters:
                  listener - - new packet listener.
                  +
                • +
                + + + +
                  +
                • +

                  verifyWhitelist

                  +
                  public static void verifyWhitelist(PacketListener listener,
                  +                   ListeningWhitelist whitelist)
                  +
                  Determine if the packet IDs in a whitelist is valid.
                  +
                  Parameters:
                  listener - - the listener that will be mentioned in the error.
                  whitelist - - whitelist of packet IDs.
                  +
                  Throws:
                  +
                  java.lang.IllegalArgumentException - If the whitelist is illegal.
                  +
                • +
                + + + +
                  +
                • +

                  removePacketListener

                  +
                  public void removePacketListener(PacketListener listener)
                  +
                  Description copied from interface: ProtocolManager
                  +
                  Removes a given packet listener. +

                  + Attempting to remove a listener that doesn't exist has no effect.

                  +
                  +
                  Specified by:
                  +
                  removePacketListener in interface ProtocolManager
                  +
                  Parameters:
                  listener - - the packet listener to remove.
                  +
                • +
                + + + +
                  +
                • +

                  removePacketListeners

                  +
                  public void removePacketListeners(org.bukkit.plugin.Plugin plugin)
                  +
                  Description copied from interface: ProtocolManager
                  +
                  Removes every listener associated with the given plugin.
                  +
                  +
                  Specified by:
                  +
                  removePacketListeners in interface ProtocolManager
                  +
                  Parameters:
                  plugin - - the plugin to unload.
                  +
                • +
                + + + +
                  +
                • +

                  invokePacketRecieving

                  +
                  public void invokePacketRecieving(PacketEvent event)
                  +
                  Description copied from interface: ListenerInvoker
                  +
                  Invokes the given packet event for every registered listener.
                  +
                  +
                  Specified by:
                  +
                  invokePacketRecieving in interface ListenerInvoker
                  +
                  Parameters:
                  event - - the packet event to invoke.
                  +
                • +
                + + + +
                  +
                • +

                  invokePacketSending

                  +
                  public void invokePacketSending(PacketEvent event)
                  +
                  Description copied from interface: ListenerInvoker
                  +
                  Invokes the given packet event for every registered listener.
                  +
                  +
                  Specified by:
                  +
                  invokePacketSending in interface ListenerInvoker
                  +
                  Parameters:
                  event - - the packet event to invoke.
                  +
                • +
                + + + +
                  +
                • +

                  sendServerPacket

                  +
                  public void sendServerPacket(org.bukkit.entity.Player reciever,
                  +                    PacketContainer packet)
                  +                      throws java.lang.reflect.InvocationTargetException
                  +
                  Description copied from interface: PacketStream
                  +
                  Send a packet to the given player.
                  +
                  +
                  Specified by:
                  +
                  sendServerPacket in interface PacketStream
                  +
                  Parameters:
                  reciever - - the reciever.
                  packet - - packet to send.
                  +
                  Throws:
                  +
                  java.lang.reflect.InvocationTargetException - - if an error occured when sending the packet.
                  +
                • +
                + + + +
                  +
                • +

                  sendServerPacket

                  +
                  public void sendServerPacket(org.bukkit.entity.Player reciever,
                  +                    PacketContainer packet,
                  +                    boolean filters)
                  +                      throws java.lang.reflect.InvocationTargetException
                  +
                  Description copied from interface: PacketStream
                  +
                  Send a packet to the given player.
                  +
                  +
                  Specified by:
                  +
                  sendServerPacket in interface PacketStream
                  +
                  Parameters:
                  reciever - - the reciever.
                  packet - - packet to send.
                  filters - - whether or not to invoke any packet filters.
                  +
                  Throws:
                  +
                  java.lang.reflect.InvocationTargetException - - if an error occured when sending the packet.
                  +
                • +
                + + + +
                  +
                • +

                  recieveClientPacket

                  +
                  public void recieveClientPacket(org.bukkit.entity.Player sender,
                  +                       PacketContainer packet)
                  +                         throws java.lang.IllegalAccessException,
                  +                                java.lang.reflect.InvocationTargetException
                  +
                  Description copied from interface: PacketStream
                  +
                  Simulate recieving a certain packet from a given player.
                  +
                  +
                  Specified by:
                  +
                  recieveClientPacket in interface PacketStream
                  +
                  Parameters:
                  sender - - the sender.
                  packet - - the packet that was sent.
                  +
                  Throws:
                  +
                  java.lang.IllegalAccessException - If the underlying method caused an error.
                  +
                  java.lang.reflect.InvocationTargetException - If the reflection machinery failed.
                  +
                • +
                + + + +
                  +
                • +

                  recieveClientPacket

                  +
                  public void recieveClientPacket(org.bukkit.entity.Player sender,
                  +                       PacketContainer packet,
                  +                       boolean filters)
                  +                         throws java.lang.IllegalAccessException,
                  +                                java.lang.reflect.InvocationTargetException
                  +
                  Description copied from interface: PacketStream
                  +
                  Simulate recieving a certain packet from a given player.
                  +
                  +
                  Specified by:
                  +
                  recieveClientPacket in interface PacketStream
                  +
                  Parameters:
                  sender - - the sender.
                  packet - - the packet that was sent.
                  filters - - whether or not to invoke any packet filters.
                  +
                  Throws:
                  +
                  java.lang.IllegalAccessException - If the underlying method caused an error.
                  +
                  java.lang.reflect.InvocationTargetException - If the reflection machinery failed.
                  +
                • +
                + + + +
                  +
                • +

                  createPacket

                  +
                  public PacketContainer createPacket(int id)
                  +
                  Description copied from interface: ProtocolManager
                  +
                  Constructs a new encapsulated Minecraft packet with the given ID.
                  +
                  +
                  Specified by:
                  +
                  createPacket in interface ProtocolManager
                  +
                  Parameters:
                  id - - packet ID.
                  +
                  Returns:
                  New encapsulated Minecraft packet.
                  +
                • +
                + + + +
                  +
                • +

                  createPacket

                  +
                  public PacketContainer createPacket(int id,
                  +                           boolean forceDefaults)
                  +
                  Description copied from interface: ProtocolManager
                  +
                  Constructs a new encapsulated Minecraft packet with the given ID. +

                  + If set to true, the forceDefaults option will force the system to automatically + give non-primitive fields in the packet sensible default values. For instance, certain + packets - like Packet60Explosion - require a List or Set to be non-null. If the + forceDefaults option is true, the List or Set will be automatically created.

                  +
                  +
                  Specified by:
                  +
                  createPacket in interface ProtocolManager
                  +
                  Parameters:
                  id - - packet ID.
                  forceDefaults - - TRUE to use sensible defaults in most fields, FALSE otherwise.
                  +
                  Returns:
                  New encapsulated Minecraft packet.
                  +
                • +
                + + + +
                  +
                • +

                  createPacketConstructor

                  +
                  public PacketConstructor createPacketConstructor(int id,
                  +                                        java.lang.Object... arguments)
                  +
                  Description copied from interface: ProtocolManager
                  +
                  Construct a packet using the special builtin Minecraft constructors.
                  +
                  +
                  Specified by:
                  +
                  createPacketConstructor in interface ProtocolManager
                  +
                  Parameters:
                  id - - the packet ID.
                  arguments - - arguments that will be passed to the constructor.
                  +
                  Returns:
                  The packet constructor.
                  +
                • +
                + + + +
                  +
                • +

                  getSendingFilters

                  +
                  public java.util.Set<java.lang.Integer> getSendingFilters()
                  +
                  Description copied from interface: ProtocolManager
                  +
                  Retrieves a immutable set containing the ID of the sent server packets that will be observed by listeners.
                  +
                  +
                  Specified by:
                  +
                  getSendingFilters in interface ProtocolManager
                  +
                  Returns:
                  Every filtered server packet.
                  +
                • +
                + + + +
                  +
                • +

                  getReceivingFilters

                  +
                  public java.util.Set<java.lang.Integer> getReceivingFilters()
                  +
                  Description copied from interface: ProtocolManager
                  +
                  Retrieves a immutable set containing the ID of the recieved client packets that will be observed by listeners.
                  +
                  +
                  Specified by:
                  +
                  getReceivingFilters in interface ProtocolManager
                  +
                  Returns:
                  Every filtered client packet.
                  +
                • +
                + + + +
                  +
                • +

                  updateEntity

                  +
                  public void updateEntity(org.bukkit.entity.Entity entity,
                  +                java.util.List<org.bukkit.entity.Player> observers)
                  +                  throws FieldAccessException
                  +
                  Description copied from interface: ProtocolManager
                  +
                  Completely refresh all clients about an entity. +

                  + Note that this method is NOT thread safe. If you call this method from anything + but the main thread, it will throw an exception.

                  +
                  +
                  Specified by:
                  +
                  updateEntity in interface ProtocolManager
                  +
                  Parameters:
                  entity - - entity to refresh.
                  observers - - the clients to update.
                  +
                  Throws:
                  +
                  FieldAccessException
                  +
                • +
                + + + +
                  +
                • +

                  initializePlayers

                  +
                  public void initializePlayers(org.bukkit.entity.Player[] players)
                  +
                  Initialize the packet injection for every player.
                  +
                  Parameters:
                  players - - list of players to inject.
                  +
                • +
                + + + +
                  +
                • +

                  uninitializePlayers

                  +
                  public void uninitializePlayers(org.bukkit.entity.Player[] players)
                  +
                  Uninitialize the packet injection of every player.
                  +
                  Parameters:
                  players - - list of players to uninject.
                  +
                • +
                + + + +
                  +
                • +

                  registerEvents

                  +
                  public void registerEvents(org.bukkit.plugin.PluginManager manager,
                  +                  org.bukkit.plugin.Plugin plugin)
                  +
                  Register this protocol manager on Bukkit.
                  +
                  Parameters:
                  manager - - Bukkit plugin manager that provides player join/leave events.
                  plugin - - the parent plugin.
                  +
                • +
                + + + +
                  +
                • +

                  getPacketID

                  +
                  public int getPacketID(net.minecraft.server.Packet packet)
                  +
                  Description copied from interface: ListenerInvoker
                  +
                  Retrieve the associated ID of a packet.
                  +
                  +
                  Specified by:
                  +
                  getPacketID in interface ListenerInvoker
                  +
                  Parameters:
                  packet - - the packet.
                  +
                  Returns:
                  The packet ID.
                  +
                • +
                + + + +
                  +
                • +

                  getServerPackets

                  +
                  public static java.util.Set<java.lang.Integer> getServerPackets()
                  +                                                         throws FieldAccessException
                  +
                  Retrieve every known and supported server packet.
                  +
                  Returns:
                  An immutable set of every known server packet.
                  +
                  Throws:
                  +
                  FieldAccessException - If we're unable to retrieve the server packet data from Minecraft.
                  +
                • +
                + + + +
                  +
                • +

                  getClientPackets

                  +
                  public static java.util.Set<java.lang.Integer> getClientPackets()
                  +                                                         throws FieldAccessException
                  +
                  Retrieve every known and supported client packet.
                  +
                  Returns:
                  An immutable set of every known client packet.
                  +
                  Throws:
                  +
                  FieldAccessException - If we're unable to retrieve the client packet data from Minecraft.
                  +
                • +
                + + + +
                  +
                • +

                  getClassLoader

                  +
                  public java.lang.ClassLoader getClassLoader()
                  +
                  Retrieves the current plugin class loader.
                  +
                  Returns:
                  Class loader.
                  +
                • +
                + + + +
                  +
                • +

                  isClosed

                  +
                  public boolean isClosed()
                  +
                  Description copied from interface: ProtocolManager
                  +
                  Determines whether or not this protocol mananger has been disabled.
                  +
                  +
                  Specified by:
                  +
                  isClosed in interface ProtocolManager
                  +
                  Returns:
                  TRUE if it has, FALSE otherwise.
                  +
                • +
                + + + +
                  +
                • +

                  close

                  +
                  public void close()
                  +
                  Called when ProtocolLib is closing.
                  +
                • +
                + + + +
                  +
                • +

                  finalize

                  +
                  protected void finalize()
                  +                 throws java.lang.Throwable
                  +
                  +
                  Overrides:
                  +
                  finalize in class java.lang.Object
                  +
                  Throws:
                  +
                  java.lang.Throwable
                  +
                • +
                +
              • +
              +
            • +
            +
            +
            + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/injector/PlayerLoggedOutException.html b/Javadoc/com/comphenix/protocol/injector/PlayerLoggedOutException.html index d814fb16..7e88e4a0 100644 --- a/Javadoc/com/comphenix/protocol/injector/PlayerLoggedOutException.html +++ b/Javadoc/com/comphenix/protocol/injector/PlayerLoggedOutException.html @@ -1,331 +1,331 @@ - - - - - -PlayerLoggedOutException - - - - - - - - - - - -
            -
            com.comphenix.protocol.injector
            -

            Class PlayerLoggedOutException

            -
            -
            -
              -
            • java.lang.Object
            • -
            • -
                -
              • java.lang.Throwable
              • -
              • -
                  -
                • java.lang.Exception
                • -
                • -
                    -
                  • java.lang.RuntimeException
                  • -
                  • -
                      -
                    • com.comphenix.protocol.injector.PlayerLoggedOutException
                    • -
                    -
                  • -
                  -
                • -
                -
              • -
              -
            • -
            -
            -
              -
            • -
              -
              All Implemented Interfaces:
              -
              java.io.Serializable
              -
              -
              -
              -
              public class PlayerLoggedOutException
              -extends java.lang.RuntimeException
              -
              Invoked when attempting to use a player that has already logged out.
              -
              Author:
              -
              Kristian
              -
              See Also:
              Serialized Form
              -
            • -
            -
            -
            -
              -
            • - - - -
                -
              • - - -

                Method Summary

                - - - - - - - - - - -
                Methods 
                Modifier and TypeMethod and Description
                static PlayerLoggedOutExceptionfromFormat(java.lang.String message, - java.lang.Object... params) -
                Construct an exception from a formatted message.
                -
                -
                  -
                • - - -

                  Methods inherited from class java.lang.Throwable

                  -addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
                • -
                -
                  -
                • - - -

                  Methods inherited from class java.lang.Object

                  -clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
                • -
                -
              • -
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Constructor Detail

                - - - -
                  -
                • -

                  PlayerLoggedOutException

                  -
                  public PlayerLoggedOutException()
                  -
                • -
                - - - -
                  -
                • -

                  PlayerLoggedOutException

                  -
                  public PlayerLoggedOutException(java.lang.String message,
                  -                        java.lang.Throwable cause)
                  -
                • -
                - - - -
                  -
                • -

                  PlayerLoggedOutException

                  -
                  public PlayerLoggedOutException(java.lang.String message)
                  -
                • -
                - - - -
                  -
                • -

                  PlayerLoggedOutException

                  -
                  public PlayerLoggedOutException(java.lang.Throwable cause)
                  -
                • -
                -
              • -
              - -
                -
              • - - -

                Method Detail

                - - - -
                  -
                • -

                  fromFormat

                  -
                  public static PlayerLoggedOutException fromFormat(java.lang.String message,
                  -                                  java.lang.Object... params)
                  -
                  Construct an exception from a formatted message.
                  -
                  Parameters:
                  message - - the message to format.
                  params - - parameters.
                  -
                  Returns:
                  The formated exception
                  -
                • -
                -
              • -
              -
            • -
            -
            -
            - - - - - - - + + + + + +PlayerLoggedOutException + + + + + + + + + + + +
            +
            com.comphenix.protocol.injector
            +

            Class PlayerLoggedOutException

            +
            +
            +
              +
            • java.lang.Object
            • +
            • +
                +
              • java.lang.Throwable
              • +
              • +
                  +
                • java.lang.Exception
                • +
                • +
                    +
                  • java.lang.RuntimeException
                  • +
                  • +
                      +
                    • com.comphenix.protocol.injector.PlayerLoggedOutException
                    • +
                    +
                  • +
                  +
                • +
                +
              • +
              +
            • +
            +
            +
              +
            • +
              +
              All Implemented Interfaces:
              +
              java.io.Serializable
              +
              +
              +
              +
              public class PlayerLoggedOutException
              +extends java.lang.RuntimeException
              +
              Invoked when attempting to use a player that has already logged out.
              +
              Author:
              +
              Kristian
              +
              See Also:
              Serialized Form
              +
            • +
            +
            +
            +
              +
            • + + + +
                +
              • + + +

                Method Summary

                + + + + + + + + + + +
                Methods 
                Modifier and TypeMethod and Description
                static PlayerLoggedOutExceptionfromFormat(java.lang.String message, + java.lang.Object... params) +
                Construct an exception from a formatted message.
                +
                +
                  +
                • + + +

                  Methods inherited from class java.lang.Throwable

                  +addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
                • +
                +
                  +
                • + + +

                  Methods inherited from class java.lang.Object

                  +clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
                • +
                +
              • +
              +
            • +
            +
            +
            +
              +
            • + +
                +
              • + + +

                Constructor Detail

                + + + +
                  +
                • +

                  PlayerLoggedOutException

                  +
                  public PlayerLoggedOutException()
                  +
                • +
                + + + +
                  +
                • +

                  PlayerLoggedOutException

                  +
                  public PlayerLoggedOutException(java.lang.String message,
                  +                        java.lang.Throwable cause)
                  +
                • +
                + + + +
                  +
                • +

                  PlayerLoggedOutException

                  +
                  public PlayerLoggedOutException(java.lang.String message)
                  +
                • +
                + + + +
                  +
                • +

                  PlayerLoggedOutException

                  +
                  public PlayerLoggedOutException(java.lang.Throwable cause)
                  +
                • +
                +
              • +
              + +
                +
              • + + +

                Method Detail

                + + + +
                  +
                • +

                  fromFormat

                  +
                  public static PlayerLoggedOutException fromFormat(java.lang.String message,
                  +                                  java.lang.Object... params)
                  +
                  Construct an exception from a formatted message.
                  +
                  Parameters:
                  message - - the message to format.
                  params - - parameters.
                  +
                  Returns:
                  The formated exception
                  +
                • +
                +
              • +
              +
            • +
            +
            +
            + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/injector/PrioritizedListener.html b/Javadoc/com/comphenix/protocol/injector/PrioritizedListener.html index a2f39f11..06ce1855 100644 --- a/Javadoc/com/comphenix/protocol/injector/PrioritizedListener.html +++ b/Javadoc/com/comphenix/protocol/injector/PrioritizedListener.html @@ -1,340 +1,340 @@ - - - - - -PrioritizedListener - - - - - - - - - - - -
            -
            com.comphenix.protocol.injector
            -

            Class PrioritizedListener<TListener>

            -
            -
            -
              -
            • java.lang.Object
            • -
            • -
                -
              • com.comphenix.protocol.injector.PrioritizedListener<TListener>
              • -
              -
            • -
            -
            -
              -
            • -
              -
              All Implemented Interfaces:
              -
              java.lang.Comparable<PrioritizedListener<TListener>>
              -
              -
              -
              -
              public class PrioritizedListener<TListener>
              -extends java.lang.Object
              -implements java.lang.Comparable<PrioritizedListener<TListener>>
              -
              Represents a listener with a priority.
              -
              Author:
              -
              Kristian
              -
            • -
            -
            -
            - -
            -
            -
              -
            • - - - -
                -
              • - - -

                Method Detail

                - - - - - - - -
                  -
                • -

                  equals

                  -
                  public boolean equals(java.lang.Object obj)
                  -
                  -
                  Overrides:
                  -
                  equals in class java.lang.Object
                  -
                  -
                • -
                - - - -
                  -
                • -

                  hashCode

                  -
                  public int hashCode()
                  -
                  -
                  Overrides:
                  -
                  hashCode in class java.lang.Object
                  -
                  -
                • -
                - - - -
                  -
                • -

                  getListener

                  -
                  public TListener getListener()
                  -
                  Retrieve the underlying listener.
                  -
                  Returns:
                  Underlying listener.
                  -
                • -
                - - - -
                  -
                • -

                  getPriority

                  -
                  public ListenerPriority getPriority()
                  -
                  Retrieve the priority of this listener.
                  -
                  Returns:
                  Listener priority.
                  -
                • -
                -
              • -
              -
            • -
            -
            -
            - - - - - - - + + + + + +PrioritizedListener + + + + + + + + + + + +
            +
            com.comphenix.protocol.injector
            +

            Class PrioritizedListener<TListener>

            +
            +
            +
              +
            • java.lang.Object
            • +
            • +
                +
              • com.comphenix.protocol.injector.PrioritizedListener<TListener>
              • +
              +
            • +
            +
            +
              +
            • +
              +
              All Implemented Interfaces:
              +
              java.lang.Comparable<PrioritizedListener<TListener>>
              +
              +
              +
              +
              public class PrioritizedListener<TListener>
              +extends java.lang.Object
              +implements java.lang.Comparable<PrioritizedListener<TListener>>
              +
              Represents a listener with a priority.
              +
              Author:
              +
              Kristian
              +
            • +
            +
            +
            + +
            +
            +
              +
            • + + + +
                +
              • + + +

                Method Detail

                + + + + + + + +
                  +
                • +

                  equals

                  +
                  public boolean equals(java.lang.Object obj)
                  +
                  +
                  Overrides:
                  +
                  equals in class java.lang.Object
                  +
                  +
                • +
                + + + +
                  +
                • +

                  hashCode

                  +
                  public int hashCode()
                  +
                  +
                  Overrides:
                  +
                  hashCode in class java.lang.Object
                  +
                  +
                • +
                + + + +
                  +
                • +

                  getListener

                  +
                  public TListener getListener()
                  +
                  Retrieve the underlying listener.
                  +
                  Returns:
                  Underlying listener.
                  +
                • +
                + + + +
                  +
                • +

                  getPriority

                  +
                  public ListenerPriority getPriority()
                  +
                  Retrieve the priority of this listener.
                  +
                  Returns:
                  Listener priority.
                  +
                • +
                +
              • +
              +
            • +
            +
            +
            + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/injector/SortedCopyOnWriteArrayTest.html b/Javadoc/com/comphenix/protocol/injector/SortedCopyOnWriteArrayTest.html index cbe5a855..87f3f058 100644 --- a/Javadoc/com/comphenix/protocol/injector/SortedCopyOnWriteArrayTest.html +++ b/Javadoc/com/comphenix/protocol/injector/SortedCopyOnWriteArrayTest.html @@ -1,269 +1,269 @@ - - - - - -SortedCopyOnWriteArrayTest - - - - - - - - - - - -
            -
            com.comphenix.protocol.injector
            -

            Class SortedCopyOnWriteArrayTest

            -
            -
            -
              -
            • java.lang.Object
            • -
            • -
                -
              • com.comphenix.protocol.injector.SortedCopyOnWriteArrayTest
              • -
              -
            • -
            -
            -
              -
            • -
              -
              -
              public class SortedCopyOnWriteArrayTest
              -extends java.lang.Object
              -
            • -
            -
            -
            -
              -
            • - - - -
                -
              • - - -

                Method Summary

                - - - - - - - - - - - - - - -
                Methods 
                Modifier and TypeMethod and Description
                voidtestInsertion() 
                voidtestOrder() 
                -
                  -
                • - - -

                  Methods inherited from class java.lang.Object

                  -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
                • -
                -
              • -
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Constructor Detail

                - - - -
                  -
                • -

                  SortedCopyOnWriteArrayTest

                  -
                  public SortedCopyOnWriteArrayTest()
                  -
                • -
                -
              • -
              - -
                -
              • - - -

                Method Detail

                - - - -
                  -
                • -

                  testInsertion

                  -
                  public void testInsertion()
                  -
                • -
                - - - -
                  -
                • -

                  testOrder

                  -
                  public void testOrder()
                  -
                • -
                -
              • -
              -
            • -
            -
            -
            - - - - - - - + + + + + +SortedCopyOnWriteArrayTest + + + + + + + + + + + +
            +
            com.comphenix.protocol.injector
            +

            Class SortedCopyOnWriteArrayTest

            +
            +
            +
              +
            • java.lang.Object
            • +
            • +
                +
              • com.comphenix.protocol.injector.SortedCopyOnWriteArrayTest
              • +
              +
            • +
            +
            +
              +
            • +
              +
              +
              public class SortedCopyOnWriteArrayTest
              +extends java.lang.Object
              +
            • +
            +
            +
            +
              +
            • + + + +
                +
              • + + +

                Method Summary

                + + + + + + + + + + + + + + +
                Methods 
                Modifier and TypeMethod and Description
                voidtestInsertion() 
                voidtestOrder() 
                +
                  +
                • + + +

                  Methods inherited from class java.lang.Object

                  +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
                • +
                +
              • +
              +
            • +
            +
            +
            +
              +
            • + +
                +
              • + + +

                Constructor Detail

                + + + +
                  +
                • +

                  SortedCopyOnWriteArrayTest

                  +
                  public SortedCopyOnWriteArrayTest()
                  +
                • +
                +
              • +
              + +
                +
              • + + +

                Method Detail

                + + + +
                  +
                • +

                  testInsertion

                  +
                  public void testInsertion()
                  +
                • +
                + + + +
                  +
                • +

                  testOrder

                  +
                  public void testOrder()
                  +
                • +
                +
              • +
              +
            • +
            +
            +
            + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/injector/StructureCache.html b/Javadoc/com/comphenix/protocol/injector/StructureCache.html index dfe8a300..deac0da9 100644 --- a/Javadoc/com/comphenix/protocol/injector/StructureCache.html +++ b/Javadoc/com/comphenix/protocol/injector/StructureCache.html @@ -1,302 +1,302 @@ - - - - - -StructureCache - - - - - - - - - - - -
            -
            com.comphenix.protocol.injector
            -

            Class StructureCache

            -
            -
            -
              -
            • java.lang.Object
            • -
            • -
                -
              • com.comphenix.protocol.injector.StructureCache
              • -
              -
            • -
            -
            -
              -
            • -
              -
              -
              public class StructureCache
              -extends java.lang.Object
              -
              Caches structure modifiers.
              -
              Author:
              -
              Kristian
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Constructor Summary

                - - - - - - - - -
                Constructors 
                Constructor and Description
                StructureCache() 
                -
              • -
              - -
                -
              • - - -

                Method Summary

                - - - - - - - - - - - - - - - - - - -
                Methods 
                Modifier and TypeMethod and Description
                static StructureModifier<java.lang.Object>getStructure(int id) -
                Retrieve a cached structure modifier for the given packet id.
                -
                static StructureModifier<java.lang.Object>getStructure(int id, - boolean compile) -
                Retrieve a cached structure modifier for the given packet id.
                -
                static net.minecraft.server.PacketnewPacket(int id) -
                Creates an empty Minecraft packet of the given ID.
                -
                -
                  -
                • - - -

                  Methods inherited from class java.lang.Object

                  -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
                • -
                -
              • -
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Constructor Detail

                - - - -
                  -
                • -

                  StructureCache

                  -
                  public StructureCache()
                  -
                • -
                -
              • -
              - -
                -
              • - - -

                Method Detail

                - - - -
                  -
                • -

                  newPacket

                  -
                  public static net.minecraft.server.Packet newPacket(int id)
                  -
                  Creates an empty Minecraft packet of the given ID.
                  -
                  Parameters:
                  id - - packet ID.
                  -
                  Returns:
                  Created packet.
                  -
                • -
                - - - -
                  -
                • -

                  getStructure

                  -
                  public static StructureModifier<java.lang.Object> getStructure(int id)
                  -
                  Retrieve a cached structure modifier for the given packet id.
                  -
                  Parameters:
                  id - - packet ID.
                  -
                  Returns:
                  A structure modifier.
                  -
                • -
                - - - -
                  -
                • -

                  getStructure

                  -
                  public static StructureModifier<java.lang.Object> getStructure(int id,
                  -                                               boolean compile)
                  -
                  Retrieve a cached structure modifier for the given packet id.
                  -
                  Parameters:
                  id - - packet ID.
                  compile - - whether or not to asynchronously compile the structure modifier.
                  -
                  Returns:
                  A structure modifier.
                  -
                • -
                -
              • -
              -
            • -
            -
            -
            - - - - - - - + + + + + +StructureCache + + + + + + + + + + + +
            +
            com.comphenix.protocol.injector
            +

            Class StructureCache

            +
            +
            +
              +
            • java.lang.Object
            • +
            • +
                +
              • com.comphenix.protocol.injector.StructureCache
              • +
              +
            • +
            +
            +
              +
            • +
              +
              +
              public class StructureCache
              +extends java.lang.Object
              +
              Caches structure modifiers.
              +
              Author:
              +
              Kristian
              +
            • +
            +
            +
            +
              +
            • + +
                +
              • + + +

                Constructor Summary

                + + + + + + + + +
                Constructors 
                Constructor and Description
                StructureCache() 
                +
              • +
              + +
                +
              • + + +

                Method Summary

                + + + + + + + + + + + + + + + + + + +
                Methods 
                Modifier and TypeMethod and Description
                static StructureModifier<java.lang.Object>getStructure(int id) +
                Retrieve a cached structure modifier for the given packet id.
                +
                static StructureModifier<java.lang.Object>getStructure(int id, + boolean compile) +
                Retrieve a cached structure modifier for the given packet id.
                +
                static net.minecraft.server.PacketnewPacket(int id) +
                Creates an empty Minecraft packet of the given ID.
                +
                +
                  +
                • + + +

                  Methods inherited from class java.lang.Object

                  +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
                • +
                +
              • +
              +
            • +
            +
            +
            +
              +
            • + +
                +
              • + + +

                Constructor Detail

                + + + +
                  +
                • +

                  StructureCache

                  +
                  public StructureCache()
                  +
                • +
                +
              • +
              + +
                +
              • + + +

                Method Detail

                + + + +
                  +
                • +

                  newPacket

                  +
                  public static net.minecraft.server.Packet newPacket(int id)
                  +
                  Creates an empty Minecraft packet of the given ID.
                  +
                  Parameters:
                  id - - packet ID.
                  +
                  Returns:
                  Created packet.
                  +
                • +
                + + + +
                  +
                • +

                  getStructure

                  +
                  public static StructureModifier<java.lang.Object> getStructure(int id)
                  +
                  Retrieve a cached structure modifier for the given packet id.
                  +
                  Parameters:
                  id - - packet ID.
                  +
                  Returns:
                  A structure modifier.
                  +
                • +
                + + + +
                  +
                • +

                  getStructure

                  +
                  public static StructureModifier<java.lang.Object> getStructure(int id,
                  +                                               boolean compile)
                  +
                  Retrieve a cached structure modifier for the given packet id.
                  +
                  Parameters:
                  id - - packet ID.
                  compile - - whether or not to asynchronously compile the structure modifier.
                  +
                  Returns:
                  A structure modifier.
                  +
                • +
                +
              • +
              +
            • +
            +
            +
            + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/BukkitUnwrapper.html b/Javadoc/com/comphenix/protocol/injector/class-use/BukkitUnwrapper.html index d239bef9..f090b295 100644 --- a/Javadoc/com/comphenix/protocol/injector/class-use/BukkitUnwrapper.html +++ b/Javadoc/com/comphenix/protocol/injector/class-use/BukkitUnwrapper.html @@ -1,115 +1,115 @@ - - - - - -Uses of Class com.comphenix.protocol.injector.BukkitUnwrapper - - - - - - - - - - -
            -

            Uses of Class
            com.comphenix.protocol.injector.BukkitUnwrapper

            -
            -
            No usage of com.comphenix.protocol.injector.BukkitUnwrapper
            - - - - - - + + + + + +Uses of Class com.comphenix.protocol.injector.BukkitUnwrapper + + + + + + + + + + +
            +

            Uses of Class
            com.comphenix.protocol.injector.BukkitUnwrapper

            +
            +
            No usage of com.comphenix.protocol.injector.BukkitUnwrapper
            + + + + + + diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/ListenerInvoker.html b/Javadoc/com/comphenix/protocol/injector/class-use/ListenerInvoker.html index 72e146cb..abeef7ce 100644 --- a/Javadoc/com/comphenix/protocol/injector/class-use/ListenerInvoker.html +++ b/Javadoc/com/comphenix/protocol/injector/class-use/ListenerInvoker.html @@ -1,186 +1,187 @@ - - - - - -Uses of Interface com.comphenix.protocol.injector.ListenerInvoker - - - - - - - - - - -
            -

            Uses of Interface
            com.comphenix.protocol.injector.ListenerInvoker

            -
            -
            - -
            - - - - - - + + + + + +Uses of Interface com.comphenix.protocol.injector.ListenerInvoker + + + + + + + + + + +
            +

            Uses of Interface
            com.comphenix.protocol.injector.ListenerInvoker

            +
            +
            + +
            + + + + + + diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/PacketConstructor.Unwrapper.html b/Javadoc/com/comphenix/protocol/injector/class-use/PacketConstructor.Unwrapper.html index a5d319be..e2be3e94 100644 --- a/Javadoc/com/comphenix/protocol/injector/class-use/PacketConstructor.Unwrapper.html +++ b/Javadoc/com/comphenix/protocol/injector/class-use/PacketConstructor.Unwrapper.html @@ -1,185 +1,185 @@ - - - - - -Uses of Interface com.comphenix.protocol.injector.PacketConstructor.Unwrapper - - - - - - - - - - -
            -

            Uses of Interface
            com.comphenix.protocol.injector.PacketConstructor.Unwrapper

            -
            -
            - -
            - - - - - - + + + + + +Uses of Interface com.comphenix.protocol.injector.PacketConstructor.Unwrapper + + + + + + + + + + +
            +

            Uses of Interface
            com.comphenix.protocol.injector.PacketConstructor.Unwrapper

            +
            +
            + +
            + + + + + + diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/PacketConstructor.html b/Javadoc/com/comphenix/protocol/injector/class-use/PacketConstructor.html index a896d09f..d0db5c03 100644 --- a/Javadoc/com/comphenix/protocol/injector/class-use/PacketConstructor.html +++ b/Javadoc/com/comphenix/protocol/injector/class-use/PacketConstructor.html @@ -1,209 +1,209 @@ - - - - - -Uses of Class com.comphenix.protocol.injector.PacketConstructor - - - - - - - - - - -
            -

            Uses of Class
            com.comphenix.protocol.injector.PacketConstructor

            -
            -
            - -
            - - - - - - + + + + + +Uses of Class com.comphenix.protocol.injector.PacketConstructor + + + + + + + + + + +
            +

            Uses of Class
            com.comphenix.protocol.injector.PacketConstructor

            +
            +
            + +
            + + + + + + diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/PacketFilterManager.PlayerInjectHooks.html b/Javadoc/com/comphenix/protocol/injector/class-use/PacketFilterManager.PlayerInjectHooks.html index 6cd37a31..6dc5e303 100644 --- a/Javadoc/com/comphenix/protocol/injector/class-use/PacketFilterManager.PlayerInjectHooks.html +++ b/Javadoc/com/comphenix/protocol/injector/class-use/PacketFilterManager.PlayerInjectHooks.html @@ -1,224 +1,241 @@ - - - - - -Uses of Class com.comphenix.protocol.injector.PacketFilterManager.PlayerInjectHooks - - - - - - - - - - -
            -

            Uses of Class
            com.comphenix.protocol.injector.PacketFilterManager.PlayerInjectHooks

            -
            -
            - -
            - - - - - - + + + + + +Uses of Class com.comphenix.protocol.injector.PacketFilterManager.PlayerInjectHooks + + + + + + + + + + +
            +

            Uses of Class
            com.comphenix.protocol.injector.PacketFilterManager.PlayerInjectHooks

            +
            +
            + +
            + + + + + + diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/PacketFilterManager.html b/Javadoc/com/comphenix/protocol/injector/class-use/PacketFilterManager.html index c46a29f9..c7511e5b 100644 --- a/Javadoc/com/comphenix/protocol/injector/class-use/PacketFilterManager.html +++ b/Javadoc/com/comphenix/protocol/injector/class-use/PacketFilterManager.html @@ -1,115 +1,115 @@ - - - - - -Uses of Class com.comphenix.protocol.injector.PacketFilterManager - - - - - - - - - - -
            -

            Uses of Class
            com.comphenix.protocol.injector.PacketFilterManager

            -
            -
            No usage of com.comphenix.protocol.injector.PacketFilterManager
            - - - - - - + + + + + +Uses of Class com.comphenix.protocol.injector.PacketFilterManager + + + + + + + + + + +
            +

            Uses of Class
            com.comphenix.protocol.injector.PacketFilterManager

            +
            +
            No usage of com.comphenix.protocol.injector.PacketFilterManager
            + + + + + + diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/PlayerLoggedOutException.html b/Javadoc/com/comphenix/protocol/injector/class-use/PlayerLoggedOutException.html index 915e723a..b38b99e7 100644 --- a/Javadoc/com/comphenix/protocol/injector/class-use/PlayerLoggedOutException.html +++ b/Javadoc/com/comphenix/protocol/injector/class-use/PlayerLoggedOutException.html @@ -1,158 +1,158 @@ - - - - - -Uses of Class com.comphenix.protocol.injector.PlayerLoggedOutException - - - - - - - - - - -
            -

            Uses of Class
            com.comphenix.protocol.injector.PlayerLoggedOutException

            -
            -
            - -
            - - - - - - + + + + + +Uses of Class com.comphenix.protocol.injector.PlayerLoggedOutException + + + + + + + + + + +
            +

            Uses of Class
            com.comphenix.protocol.injector.PlayerLoggedOutException

            +
            +
            + +
            + + + + + + diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/PrioritizedListener.html b/Javadoc/com/comphenix/protocol/injector/class-use/PrioritizedListener.html index 41934127..eb1c817d 100644 --- a/Javadoc/com/comphenix/protocol/injector/class-use/PrioritizedListener.html +++ b/Javadoc/com/comphenix/protocol/injector/class-use/PrioritizedListener.html @@ -1,185 +1,185 @@ - - - - - -Uses of Class com.comphenix.protocol.injector.PrioritizedListener - - - - - - - - - - -
            -

            Uses of Class
            com.comphenix.protocol.injector.PrioritizedListener

            -
            -
            - -
            - - - - - - + + + + + +Uses of Class com.comphenix.protocol.injector.PrioritizedListener + + + + + + + + + + +
            +

            Uses of Class
            com.comphenix.protocol.injector.PrioritizedListener

            +
            +
            + +
            + + + + + + diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/SortedCopyOnWriteArrayTest.html b/Javadoc/com/comphenix/protocol/injector/class-use/SortedCopyOnWriteArrayTest.html index ba162c20..f910576e 100644 --- a/Javadoc/com/comphenix/protocol/injector/class-use/SortedCopyOnWriteArrayTest.html +++ b/Javadoc/com/comphenix/protocol/injector/class-use/SortedCopyOnWriteArrayTest.html @@ -1,115 +1,115 @@ - - - - - -Uses of Class com.comphenix.protocol.injector.SortedCopyOnWriteArrayTest - - - - - - - - - - -
            -

            Uses of Class
            com.comphenix.protocol.injector.SortedCopyOnWriteArrayTest

            -
            -
            No usage of com.comphenix.protocol.injector.SortedCopyOnWriteArrayTest
            - - - - - - + + + + + +Uses of Class com.comphenix.protocol.injector.SortedCopyOnWriteArrayTest + + + + + + + + + + +
            +

            Uses of Class
            com.comphenix.protocol.injector.SortedCopyOnWriteArrayTest

            +
            +
            No usage of com.comphenix.protocol.injector.SortedCopyOnWriteArrayTest
            + + + + + + diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/StructureCache.html b/Javadoc/com/comphenix/protocol/injector/class-use/StructureCache.html index 6a4dc157..38c14632 100644 --- a/Javadoc/com/comphenix/protocol/injector/class-use/StructureCache.html +++ b/Javadoc/com/comphenix/protocol/injector/class-use/StructureCache.html @@ -1,115 +1,115 @@ - - - - - -Uses of Class com.comphenix.protocol.injector.StructureCache - - - - - - - - - - -
            -

            Uses of Class
            com.comphenix.protocol.injector.StructureCache

            -
            -
            No usage of com.comphenix.protocol.injector.StructureCache
            - - - - - - + + + + + +Uses of Class com.comphenix.protocol.injector.StructureCache + + + + + + + + + + +
            +

            Uses of Class
            com.comphenix.protocol.injector.StructureCache

            +
            +
            No usage of com.comphenix.protocol.injector.StructureCache
            + + + + + + diff --git a/Javadoc/com/comphenix/protocol/injector/package-frame.html b/Javadoc/com/comphenix/protocol/injector/package-frame.html index 63a15787..bb83a183 100644 --- a/Javadoc/com/comphenix/protocol/injector/package-frame.html +++ b/Javadoc/com/comphenix/protocol/injector/package-frame.html @@ -1,37 +1,39 @@ - - - - - -com.comphenix.protocol.injector - - - - -

            com.comphenix.protocol.injector

            - - - + + + + + +com.comphenix.protocol.injector + + + + +

            com.comphenix.protocol.injector

            + + + diff --git a/Javadoc/com/comphenix/protocol/injector/package-summary.html b/Javadoc/com/comphenix/protocol/injector/package-summary.html index 0d523767..9bc58617 100644 --- a/Javadoc/com/comphenix/protocol/injector/package-summary.html +++ b/Javadoc/com/comphenix/protocol/injector/package-summary.html @@ -1,218 +1,230 @@ - - - - - -com.comphenix.protocol.injector - - - - - - - -
            - - - - - -
            - - -
            -

            Package com.comphenix.protocol.injector

            -
            -
            - -
            - -
            - - - - - -
            - - - - + + + + + +com.comphenix.protocol.injector + + + + + + + +
            + + + + + +
            + + +
            +

            Package com.comphenix.protocol.injector

            +
            +
            + +
            + +
            + + + + + +
            + + + + diff --git a/Javadoc/com/comphenix/protocol/injector/package-tree.html b/Javadoc/com/comphenix/protocol/injector/package-tree.html index fe5b01db..7eed6fa9 100644 --- a/Javadoc/com/comphenix/protocol/injector/package-tree.html +++ b/Javadoc/com/comphenix/protocol/injector/package-tree.html @@ -1,163 +1,165 @@ - - - - - -com.comphenix.protocol.injector Class Hierarchy - - - - - - - -
            - - - - - -
            - - -
            -

            Hierarchy For Package com.comphenix.protocol.injector

            -Package Hierarchies: - -
            -
            -

            Class Hierarchy

            - -

            Interface Hierarchy

            - -

            Enum Hierarchy

            - -
            - -
            - - - - - -
            - - - - + + + + + +com.comphenix.protocol.injector Class Hierarchy + + + + + + + +
            + + + + + +
            + + +
            +

            Hierarchy For Package com.comphenix.protocol.injector

            +Package Hierarchies: + +
            +
            +

            Class Hierarchy

            + +

            Interface Hierarchy

            + +

            Enum Hierarchy

            + +
            + +
            + + + + + +
            + + + + diff --git a/Javadoc/com/comphenix/protocol/injector/package-use.html b/Javadoc/com/comphenix/protocol/injector/package-use.html index 75a4d158..72b18ead 100644 --- a/Javadoc/com/comphenix/protocol/injector/package-use.html +++ b/Javadoc/com/comphenix/protocol/injector/package-use.html @@ -1,243 +1,279 @@ - - - - - -Uses of Package com.comphenix.protocol.injector - - - - - - - - - - -
            -

            Uses of Package
            com.comphenix.protocol.injector

            -
            -
            - -
            - - - - - - + + + + + +Uses of Package com.comphenix.protocol.injector + + + + + + + + + + +
            +

            Uses of Package
            com.comphenix.protocol.injector

            +
            +
            + +
            + + + + + + diff --git a/Javadoc/com/comphenix/protocol/injector/player/NetworkServerInjector.html b/Javadoc/com/comphenix/protocol/injector/player/NetworkServerInjector.html index 08ebe8c0..dcbaff96 100644 --- a/Javadoc/com/comphenix/protocol/injector/player/NetworkServerInjector.html +++ b/Javadoc/com/comphenix/protocol/injector/player/NetworkServerInjector.html @@ -1,755 +1,985 @@ - - - - - -NetworkServerInjector - - - - - - - - - - - -
            -
            com.comphenix.protocol.injector.player
            -

            Class NetworkServerInjector

            -
            -
            -
              -
            • java.lang.Object
            • -
            • -
                -
              • com.comphenix.protocol.injector.player.NetworkServerInjector
              • -
              -
            • -
            -
            -
              -
            • -
              -
              -
              public class NetworkServerInjector
              -extends java.lang.Object
              -
              Represents a player hook into the NetServerHandler class.
              -
              Author:
              -
              Kristian
              -
            • -
            -
            -
            -
              -
            • - - - -
                -
              • - - -

                Constructor Summary

                - - - - - - - - -
                Constructors 
                Constructor and Description
                NetworkServerInjector(java.lang.ClassLoader classLoader, - java.util.logging.Logger logger, - org.bukkit.entity.Player player, - ListenerInvoker invoker, - java.util.Set<java.lang.Integer> sendingFilters, - com.comphenix.protocol.injector.player.InjectedServerConnection serverInjection) 
                -
              • -
              - -
                -
              • - - -

                Method Summary

                - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                Methods 
                Modifier and TypeMethod and Description
                booleancanInject() -
                Determine if this inject method can even be attempted.
                -
                voidcheckListener(PacketListener listener) -
                Invoked before a new listener is registered.
                -
                voidcleanupAll() -
                Remove all hooks and modifications.
                -
                protected net.minecraft.server.EntityPlayergetEntityPlayer() -
                Retrieve the notch (NMS) entity player object.
                -
                java.io.DataInputStreamgetInputStream(boolean cache) -
                Retrieve the current player's input stream.
                -
                protected java.lang.ObjectgetNetHandler() -
                Retrieves the current net handler for this player.
                -
                net.minecraft.server.PackethandlePacketRecieved(net.minecraft.server.Packet packet) -
                Allows a packet to be recieved by the listeners.
                -
                protected booleanhasListener(int packetID) -
                Determine if the given injector is listening for this packet ID.
                -
                protected booleanhasProxyServerHandler() -
                Retrieve whether or not the server handler is a proxy object.
                -
                voidinitialize() -
                Initialize all fields for this player injector, if it hasn't already.
                -
                voidinjectManager() -
                Inject a hook to catch packets sent to the current player.
                -
                voidprocessPacket(net.minecraft.server.Packet packet) -
                Processes the given packet as if it was transmitted by the current player.
                -
                voidsendServerPacket(net.minecraft.server.Packet packet, - boolean filtered) -
                Send a packet to the client.
                -
                -
                  -
                • - - -

                  Methods inherited from class java.lang.Object

                  -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
                • -
                -
              • -
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Field Detail

                - - - -
                  -
                • -

                  serverHandlerField

                  -
                  protected static java.lang.reflect.Field serverHandlerField
                  -
                • -
                - - - -
                  -
                • -

                  proxyServerField

                  -
                  protected static java.lang.reflect.Field proxyServerField
                  -
                • -
                - - - -
                  -
                • -

                  networkManagerField

                  -
                  protected static java.lang.reflect.Field networkManagerField
                  -
                • -
                - - - -
                  -
                • -

                  inputField

                  -
                  protected static java.lang.reflect.Field inputField
                  -
                • -
                - - - -
                  -
                • -

                  netHandlerField

                  -
                  protected static java.lang.reflect.Field netHandlerField
                  -
                • -
                - - - -
                  -
                • -

                  networkModifier

                  -
                  protected static StructureModifier<java.lang.Object> networkModifier
                  -
                • -
                - - - -
                  -
                • -

                  queueMethod

                  -
                  protected static java.lang.reflect.Method queueMethod
                  -
                • -
                - - - -
                  -
                • -

                  processMethod

                  -
                  protected static java.lang.reflect.Method processMethod
                  -
                • -
                - - - -
                  -
                • -

                  player

                  -
                  protected org.bukkit.entity.Player player
                  -
                • -
                - - - -
                  -
                • -

                  hasInitialized

                  -
                  protected boolean hasInitialized
                  -
                • -
                - - - -
                  -
                • -

                  networkManagerRef

                  -
                  protected VolatileField networkManagerRef
                  -
                • -
                - - - -
                  -
                • -

                  serverHandlerRef

                  -
                  protected VolatileField serverHandlerRef
                  -
                • -
                - - - -
                  -
                • -

                  networkManager

                  -
                  protected java.lang.Object networkManager
                  -
                • -
                - - - -
                  -
                • -

                  serverHandler

                  -
                  protected java.lang.Object serverHandler
                  -
                • -
                - - - -
                  -
                • -

                  netHandler

                  -
                  protected java.lang.Object netHandler
                  -
                • -
                - - - - - - - -
                  -
                • -

                  cachedInput

                  -
                  protected java.io.DataInputStream cachedInput
                  -
                • -
                - - - -
                  -
                • -

                  logger

                  -
                  protected java.util.logging.Logger logger
                  -
                • -
                -
              • -
              - -
                -
              • - - -

                Constructor Detail

                - - - -
                  -
                • -

                  NetworkServerInjector

                  -
                  public NetworkServerInjector(java.lang.ClassLoader classLoader,
                  -                     java.util.logging.Logger logger,
                  -                     org.bukkit.entity.Player player,
                  -                     ListenerInvoker invoker,
                  -                     java.util.Set<java.lang.Integer> sendingFilters,
                  -                     com.comphenix.protocol.injector.player.InjectedServerConnection serverInjection)
                  -                      throws java.lang.IllegalAccessException
                  -
                  Throws:
                  -
                  java.lang.IllegalAccessException
                  -
                • -
                -
              • -
              - -
                -
              • - - -

                Method Detail

                - - - -
                  -
                • -

                  hasListener

                  -
                  protected boolean hasListener(int packetID)
                  -
                  Determine if the given injector is listening for this packet ID.
                  -
                  Parameters:
                  packetID - - packet ID to check.
                  -
                  Returns:
                  TRUE if it is, FALSE oterhwise.
                  -
                • -
                - - - -
                  -
                • -

                  initialize

                  -
                  public void initialize()
                  -                throws java.lang.IllegalAccessException
                  -
                  Initialize all fields for this player injector, if it hasn't already.
                  -
                  Throws:
                  -
                  java.lang.IllegalAccessException - An error has occured.
                  -
                • -
                - - - -
                  -
                • -

                  sendServerPacket

                  -
                  public void sendServerPacket(net.minecraft.server.Packet packet,
                  -                    boolean filtered)
                  -                      throws java.lang.reflect.InvocationTargetException
                  -
                  Send a packet to the client.
                  -
                  Parameters:
                  packet - - server packet to send.
                  filtered - - whether or not the packet will be filtered by our listeners.
                  -
                  Throws:
                  -
                  java.lang.reflect.InvocationTargetException
                  -
                • -
                - - - -
                  -
                • -

                  injectManager

                  -
                  public void injectManager()
                  -
                  Inject a hook to catch packets sent to the current player.
                  -
                • -
                - - - -
                  -
                • -

                  cleanupAll

                  -
                  public void cleanupAll()
                  -
                  Remove all hooks and modifications.
                  -
                • -
                - - - -
                  -
                • -

                  checkListener

                  -
                  public void checkListener(PacketListener listener)
                  -
                  Invoked before a new listener is registered. -

                  - The player injector should throw an exception if this listener cannot be properly supplied with packet events.

                  -
                  Parameters:
                  listener - - the listener that is about to be registered.
                  -
                • -
                - - - -
                  -
                • -

                  canInject

                  -
                  public boolean canInject()
                  -
                  Determine if this inject method can even be attempted.
                  -
                  Returns:
                  TRUE if can be attempted, though possibly with failure, FALSE otherwise.
                  -
                • -
                - - - -
                  -
                • -

                  getEntityPlayer

                  -
                  protected net.minecraft.server.EntityPlayer getEntityPlayer()
                  -
                  Retrieve the notch (NMS) entity player object.
                  -
                  Returns:
                  Notch player object.
                  -
                • -
                - - - -
                  -
                • -

                  hasProxyServerHandler

                  -
                  protected boolean hasProxyServerHandler()
                  -
                  Retrieve whether or not the server handler is a proxy object.
                  -
                  Returns:
                  TRUE if it is, FALSE otherwise.
                  -
                • -
                - - - -
                  -
                • -

                  getNetHandler

                  -
                  protected java.lang.Object getNetHandler()
                  -                                  throws java.lang.IllegalAccessException
                  -
                  Retrieves the current net handler for this player.
                  -
                  Returns:
                  Current net handler.
                  -
                  Throws:
                  -
                  java.lang.IllegalAccessException - Unable to find or retrieve net handler.
                  -
                • -
                - - - -
                  -
                • -

                  processPacket

                  -
                  public void processPacket(net.minecraft.server.Packet packet)
                  -                   throws java.lang.IllegalAccessException,
                  -                          java.lang.reflect.InvocationTargetException
                  -
                  Processes the given packet as if it was transmitted by the current player.
                  -
                  Parameters:
                  packet - - packet to process.
                  -
                  Throws:
                  -
                  java.lang.IllegalAccessException - If the reflection machinery failed.
                  -
                  java.lang.reflect.InvocationTargetException - If the underlying method caused an error.
                  -
                • -
                - - - -
                  -
                • -

                  handlePacketRecieved

                  -
                  public net.minecraft.server.Packet handlePacketRecieved(net.minecraft.server.Packet packet)
                  -
                  Allows a packet to be recieved by the listeners.
                  -
                  Parameters:
                  packet - - packet to recieve.
                  -
                  Returns:
                  The given packet, or the packet replaced by the listeners.
                  -
                • -
                - - - -
                  -
                • -

                  getInputStream

                  -
                  public java.io.DataInputStream getInputStream(boolean cache)
                  -
                  Retrieve the current player's input stream.
                  -
                  Parameters:
                  cache - - whether or not to cache the result of this method.
                  -
                  Returns:
                  The player's input stream.
                  -
                • -
                -
              • -
              -
            • -
            -
            -
            - - - - - - - + + + + + +NetworkServerInjector + + + + + + + + + + + +
            +
            com.comphenix.protocol.injector.player
            +

            Class NetworkServerInjector

            +
            +
            +
              +
            • java.lang.Object
            • +
            • +
                +
              • com.comphenix.protocol.injector.player.NetworkServerInjector
              • +
              +
            • +
            +
            +
              +
            • +
              +
              +
              public class NetworkServerInjector
              +extends java.lang.Object
              +
              Represents a player hook into the NetServerHandler class.
              +
              Author:
              +
              Kristian
              +
            • +
            +
            +
            +
              +
            • + + + +
                +
              • + + +

                Constructor Summary

                + + + + + + + + +
                Constructors 
                Constructor and Description
                NetworkServerInjector(java.lang.ClassLoader classLoader, + java.util.logging.Logger logger, + org.bukkit.entity.Player player, + ListenerInvoker invoker, + com.comphenix.protocol.injector.player.IntegerSet sendingFilters, + com.comphenix.protocol.injector.player.InjectedServerConnection serverInjection) 
                +
              • +
              + +
                +
              • + + +

                Method Summary

                + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                Methods 
                Modifier and TypeMethod and Description
                booleancanInject(GamePhase phase) +
                Determine if this inject method can even be attempted.
                +
                voidcheckListener(PacketListener listener) +
                Invoked before a new listener is registered.
                +
                voidcleanupAll() +
                Remove all hooks and modifications.
                +
                voiddisconnect(java.lang.String message) +
                Attempt to disconnect the current client.
                +
                protected net.minecraft.server.EntityPlayergetEntityPlayer(org.bukkit.entity.Player player) +
                Retrieve the notch (NMS) entity player object.
                +
                PacketFilterManager.PlayerInjectHooksgetHookType() +
                Retrieve the hook type this class represents.
                +
                java.io.DataInputStreamgetInputStream(boolean cache) +
                Retrieve the current player's input stream.
                +
                protected java.lang.ObjectgetNetHandler() +
                Retrieves the current net handler for this player.
                +
                java.lang.ObjectgetNetworkManager() +
                Retrieve the current network manager.
                +
                org.bukkit.entity.PlayergetPlayer() +
                Retrieve the hooked player.
                +
                java.net.SocketgetSocket() +
                Retrieve the associated socket of this player.
                +
                org.bukkit.entity.PlayergetUpdatedPlayer() +
                Retrieve the hooked player object OR the more up-to-date player instance.
                +
                net.minecraft.server.PackethandlePacketSending(net.minecraft.server.Packet packet) +
                Allows a packet to be sent by the listeners.
                +
                protected booleanhasListener(int packetID) +
                Determine if the given injector is listening for this packet ID.
                +
                protected booleanhasProxyServerHandler() +
                Retrieve whether or not the server handler is a proxy object.
                +
                voidinitialize(java.lang.Object injectionSource) +
                Initialize all fields for this player injector, if it hasn't already.
                +
                voidinitializeLogin(java.lang.Object netLoginHandler) +
                Initialize the player injector for a NetLoginHandler instead.
                +
                voidinitializePlayer(java.lang.Object player) +
                Initialize the player injector using an actual player instance.
                +
                voidinjectManager() +
                Inject a hook to catch packets sent to the current player.
                +
                voidprocessPacket(net.minecraft.server.Packet packet) +
                Processes the given packet as if it was transmitted by the current player.
                +
                voidscheduleAction(java.lang.Runnable action) +
                Schedule an action to occur on the next sent packet.
                +
                voidsendServerPacket(net.minecraft.server.Packet packet, + boolean filtered) +
                Send a packet to the client.
                +
                voidsetNetworkManager(java.lang.Object value, + boolean force) +
                Set the current network manager.
                +
                +
                  +
                • + + +

                  Methods inherited from class java.lang.Object

                  +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
                • +
                +
              • +
              +
            • +
            +
            +
            +
              +
            • + +
                +
              • + + +

                Field Detail

                + + + +
                  +
                • +

                  serverHandlerField

                  +
                  protected static java.lang.reflect.Field serverHandlerField
                  +
                • +
                + + + +
                  +
                • +

                  proxyServerField

                  +
                  protected static java.lang.reflect.Field proxyServerField
                  +
                • +
                + + + +
                  +
                • +

                  networkManagerField

                  +
                  protected static java.lang.reflect.Field networkManagerField
                  +
                • +
                + + + +
                  +
                • +

                  inputField

                  +
                  protected static java.lang.reflect.Field inputField
                  +
                • +
                + + + +
                  +
                • +

                  netHandlerField

                  +
                  protected static java.lang.reflect.Field netHandlerField
                  +
                • +
                + + + +
                  +
                • +

                  socketField

                  +
                  protected static java.lang.reflect.Field socketField
                  +
                • +
                + + + +
                  +
                • +

                  networkModifier

                  +
                  protected static StructureModifier<java.lang.Object> networkModifier
                  +
                • +
                + + + +
                  +
                • +

                  queueMethod

                  +
                  protected static java.lang.reflect.Method queueMethod
                  +
                • +
                + + + +
                  +
                • +

                  processMethod

                  +
                  protected static java.lang.reflect.Method processMethod
                  +
                • +
                + + + +
                  +
                • +

                  player

                  +
                  protected org.bukkit.entity.Player player
                  +
                • +
                + + + +
                  +
                • +

                  hasInitialized

                  +
                  protected boolean hasInitialized
                  +
                • +
                + + + +
                  +
                • +

                  networkManagerRef

                  +
                  protected VolatileField networkManagerRef
                  +
                • +
                + + + +
                  +
                • +

                  serverHandlerRef

                  +
                  protected VolatileField serverHandlerRef
                  +
                • +
                + + + +
                  +
                • +

                  networkManager

                  +
                  protected java.lang.Object networkManager
                  +
                • +
                + + + +
                  +
                • +

                  loginHandler

                  +
                  protected java.lang.Object loginHandler
                  +
                • +
                + + + +
                  +
                • +

                  serverHandler

                  +
                  protected java.lang.Object serverHandler
                  +
                • +
                + + + +
                  +
                • +

                  netHandler

                  +
                  protected java.lang.Object netHandler
                  +
                • +
                + + + +
                  +
                • +

                  socket

                  +
                  protected java.net.Socket socket
                  +
                • +
                + + + + + + + +
                  +
                • +

                  cachedInput

                  +
                  protected java.io.DataInputStream cachedInput
                  +
                • +
                + + + +
                  +
                • +

                  logger

                  +
                  protected java.util.logging.Logger logger
                  +
                • +
                + + + +
                  +
                • +

                  scheduledAction

                  +
                  protected java.lang.Runnable scheduledAction
                  +
                • +
                +
              • +
              + +
                +
              • + + +

                Constructor Detail

                + + + +
                  +
                • +

                  NetworkServerInjector

                  +
                  public NetworkServerInjector(java.lang.ClassLoader classLoader,
                  +                     java.util.logging.Logger logger,
                  +                     org.bukkit.entity.Player player,
                  +                     ListenerInvoker invoker,
                  +                     com.comphenix.protocol.injector.player.IntegerSet sendingFilters,
                  +                     com.comphenix.protocol.injector.player.InjectedServerConnection serverInjection)
                  +                      throws java.lang.IllegalAccessException
                  +
                  Throws:
                  +
                  java.lang.IllegalAccessException
                  +
                • +
                +
              • +
              + +
                +
              • + + +

                Method Detail

                + + + +
                  +
                • +

                  hasListener

                  +
                  protected boolean hasListener(int packetID)
                  +
                  Determine if the given injector is listening for this packet ID.
                  +
                  Parameters:
                  packetID - - packet ID to check.
                  +
                  Returns:
                  TRUE if it is, FALSE oterhwise.
                  +
                • +
                + + + +
                  +
                • +

                  initialize

                  +
                  public void initialize(java.lang.Object injectionSource)
                  +                throws java.lang.IllegalAccessException
                  +
                  Initialize all fields for this player injector, if it hasn't already.
                  +
                  Throws:
                  +
                  java.lang.IllegalAccessException - An error has occured.
                  +
                • +
                + + + +
                  +
                • +

                  sendServerPacket

                  +
                  public void sendServerPacket(net.minecraft.server.Packet packet,
                  +                    boolean filtered)
                  +                      throws java.lang.reflect.InvocationTargetException
                  +
                  Send a packet to the client.
                  +
                  Parameters:
                  packet - - server packet to send.
                  filtered - - whether or not the packet will be filtered by our listeners.
                  +
                  Throws:
                  +
                  java.lang.reflect.InvocationTargetException
                  +
                • +
                + + + +
                  +
                • +

                  injectManager

                  +
                  public void injectManager()
                  +
                  Inject a hook to catch packets sent to the current player.
                  +
                • +
                + + + +
                  +
                • +

                  cleanupAll

                  +
                  public void cleanupAll()
                  +
                  Remove all hooks and modifications.
                  +
                • +
                + + + +
                  +
                • +

                  checkListener

                  +
                  public void checkListener(PacketListener listener)
                  +
                  Invoked before a new listener is registered. +

                  + The player injector should throw an exception if this listener cannot be properly supplied with packet events.

                  +
                  Parameters:
                  listener - - the listener that is about to be registered.
                  +
                • +
                + + + +
                  +
                • +

                  canInject

                  +
                  public boolean canInject(GamePhase phase)
                  +
                  Determine if this inject method can even be attempted.
                  +
                  Returns:
                  TRUE if can be attempted, though possibly with failure, FALSE otherwise.
                  +
                • +
                + + + + + + + +
                  +
                • +

                  getEntityPlayer

                  +
                  protected net.minecraft.server.EntityPlayer getEntityPlayer(org.bukkit.entity.Player player)
                  +
                  Retrieve the notch (NMS) entity player object.
                  +
                  Parameters:
                  player - - the player to retrieve.
                  +
                  Returns:
                  Notch player object.
                  +
                • +
                + + + +
                  +
                • +

                  initializePlayer

                  +
                  public void initializePlayer(java.lang.Object player)
                  +
                  Initialize the player injector using an actual player instance.
                  +
                  Parameters:
                  player - - the player to hook.
                  +
                • +
                + + + +
                  +
                • +

                  initializeLogin

                  +
                  public void initializeLogin(java.lang.Object netLoginHandler)
                  +
                  Initialize the player injector for a NetLoginHandler instead.
                  +
                  Parameters:
                  netLoginHandler - - the net login handler to inject.
                  +
                • +
                + + + +
                  +
                • +

                  hasProxyServerHandler

                  +
                  protected boolean hasProxyServerHandler()
                  +
                  Retrieve whether or not the server handler is a proxy object.
                  +
                  Returns:
                  TRUE if it is, FALSE otherwise.
                  +
                • +
                + + + +
                  +
                • +

                  getNetworkManager

                  +
                  public java.lang.Object getNetworkManager()
                  +
                  Retrieve the current network manager.
                  +
                  Returns:
                  Current network manager.
                  +
                • +
                + + + +
                  +
                • +

                  setNetworkManager

                  +
                  public void setNetworkManager(java.lang.Object value,
                  +                     boolean force)
                  +
                  Set the current network manager.
                  +
                  Parameters:
                  value - - new network manager.
                  force - - whether or not to save this value.
                  +
                • +
                + + + +
                  +
                • +

                  getSocket

                  +
                  public java.net.Socket getSocket()
                  +                          throws java.lang.IllegalAccessException
                  +
                  Retrieve the associated socket of this player.
                  +
                  Returns:
                  The associated socket.
                  +
                  Throws:
                  +
                  java.lang.IllegalAccessException - If we're unable to read the socket field.
                  +
                • +
                + + + +
                  +
                • +

                  disconnect

                  +
                  public void disconnect(java.lang.String message)
                  +                throws java.lang.reflect.InvocationTargetException
                  +
                  Attempt to disconnect the current client.
                  +
                  Parameters:
                  message - - the message to display.
                  +
                  Throws:
                  +
                  java.lang.reflect.InvocationTargetException - If disconnection failed.
                  +
                • +
                + + + +
                  +
                • +

                  getNetHandler

                  +
                  protected java.lang.Object getNetHandler()
                  +                                  throws java.lang.IllegalAccessException
                  +
                  Retrieves the current net handler for this player.
                  +
                  Returns:
                  Current net handler.
                  +
                  Throws:
                  +
                  java.lang.IllegalAccessException - Unable to find or retrieve net handler.
                  +
                • +
                + + + +
                  +
                • +

                  processPacket

                  +
                  public void processPacket(net.minecraft.server.Packet packet)
                  +                   throws java.lang.IllegalAccessException,
                  +                          java.lang.reflect.InvocationTargetException
                  +
                  Processes the given packet as if it was transmitted by the current player.
                  +
                  Parameters:
                  packet - - packet to process.
                  +
                  Throws:
                  +
                  java.lang.IllegalAccessException - If the reflection machinery failed.
                  +
                  java.lang.reflect.InvocationTargetException - If the underlying method caused an error.
                  +
                • +
                + + + +
                  +
                • +

                  handlePacketSending

                  +
                  public net.minecraft.server.Packet handlePacketSending(net.minecraft.server.Packet packet)
                  +
                  Allows a packet to be sent by the listeners.
                  +
                  Parameters:
                  packet - - packet to sent.
                  +
                  Returns:
                  The given packet, or the packet replaced by the listeners.
                  +
                • +
                + + + +
                  +
                • +

                  getInputStream

                  +
                  public java.io.DataInputStream getInputStream(boolean cache)
                  +
                  Retrieve the current player's input stream.
                  +
                  Parameters:
                  cache - - whether or not to cache the result of this method.
                  +
                  Returns:
                  The player's input stream.
                  +
                • +
                + + + +
                  +
                • +

                  scheduleAction

                  +
                  public void scheduleAction(java.lang.Runnable action)
                  +
                  Schedule an action to occur on the next sent packet.
                  +
                  Parameters:
                  action - - action to execute.
                  +
                • +
                + + + +
                  +
                • +

                  getPlayer

                  +
                  public org.bukkit.entity.Player getPlayer()
                  +
                  Retrieve the hooked player.
                  +
                • +
                + + + +
                  +
                • +

                  getUpdatedPlayer

                  +
                  public org.bukkit.entity.Player getUpdatedPlayer()
                  +
                  Retrieve the hooked player object OR the more up-to-date player instance.
                  +
                  Returns:
                  The hooked player, or a more up-to-date instance.
                  +
                • +
                +
              • +
              +
            • +
            +
            +
            + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/injector/player/PlayerInjectionHandler.html b/Javadoc/com/comphenix/protocol/injector/player/PlayerInjectionHandler.html index 18762206..0d44b306 100644 --- a/Javadoc/com/comphenix/protocol/injector/player/PlayerInjectionHandler.html +++ b/Javadoc/com/comphenix/protocol/injector/player/PlayerInjectionHandler.html @@ -1,494 +1,596 @@ - - - - - -PlayerInjectionHandler - - - - - - - - - - - -
            -
            com.comphenix.protocol.injector.player
            -

            Class PlayerInjectionHandler

            -
            -
            -
              -
            • java.lang.Object
            • -
            • -
                -
              • com.comphenix.protocol.injector.player.PlayerInjectionHandler
              • -
              -
            • -
            -
            -
              -
            • -
              -
              -
              public class PlayerInjectionHandler
              -extends java.lang.Object
              -
              Responsible for injecting into a player's sendPacket method.
              -
              Author:
              -
              Kristian
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Constructor Summary

                - - - - - - - - -
                Constructors 
                Constructor and Description
                PlayerInjectionHandler(java.lang.ClassLoader classLoader, - java.util.logging.Logger logger, - ListenerInvoker invoker, - org.bukkit.Server server) 
                -
              • -
              - -
                -
              • - - -

                Method Summary

                - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                Methods 
                Modifier and TypeMethod and Description
                voidaddPacketHandler(int packetID) -
                Add an underlying packet handler of the given ID.
                -
                voidcheckListener(PacketListener listener) -
                Determine if a listener is valid or not.
                -
                voidcheckListener(java.util.Set<PacketListener> listeners) -
                Determine if the given listeners are valid.
                -
                voidclose() 
                java.util.logging.LoggergetLogger() -
                Retrieve the current logger.
                -
                org.bukkit.entity.PlayergetPlayerByConnection(java.io.DataInputStream inputStream) 
                PacketFilterManager.PlayerInjectHooksgetPlayerHook() -
                Retrieves how the server packets are read.
                -
                java.util.Set<java.lang.Integer>getSendingFilters() -
                Retrieve the current list of registered sending listeners.
                -
                voidinjectPlayer(org.bukkit.entity.Player player) -
                Initialize a player hook, allowing us to read server packets.
                -
                voidprocessPacket(org.bukkit.entity.Player player, - net.minecraft.server.Packet mcPacket) -
                Process a packet as if it were sent by the given player.
                -
                voidremovePacketHandler(int packetID) -
                Remove an underlying packet handler of ths ID.
                -
                voidsendServerPacket(org.bukkit.entity.Player reciever, - PacketContainer packet, - boolean filters) 
                voidsetPlayerHook(PacketFilterManager.PlayerInjectHooks playerHook) -
                Sets how the server packets are read.
                -
                voiduninjectPlayer(org.bukkit.entity.Player player) -
                Unregisters the given player.
                -
                -
                  -
                • - - -

                  Methods inherited from class java.lang.Object

                  -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
                • -
                -
              • -
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Constructor Detail

                - - - -
                  -
                • -

                  PlayerInjectionHandler

                  -
                  public PlayerInjectionHandler(java.lang.ClassLoader classLoader,
                  -                      java.util.logging.Logger logger,
                  -                      ListenerInvoker invoker,
                  -                      org.bukkit.Server server)
                  -
                • -
                -
              • -
              - -
                -
              • - - -

                Method Detail

                - - - - - - - -
                  -
                • -

                  addPacketHandler

                  -
                  public void addPacketHandler(int packetID)
                  -
                  Add an underlying packet handler of the given ID.
                  -
                  Parameters:
                  packetID - - packet ID to register.
                  -
                • -
                - - - -
                  -
                • -

                  removePacketHandler

                  -
                  public void removePacketHandler(int packetID)
                  -
                  Remove an underlying packet handler of ths ID.
                  -
                  Parameters:
                  packetID - - packet ID to unregister.
                  -
                • -
                - - - -
                  -
                • -

                  setPlayerHook

                  -
                  public void setPlayerHook(PacketFilterManager.PlayerInjectHooks playerHook)
                  -
                  Sets how the server packets are read.
                  -
                  Parameters:
                  playerHook - - the new injection method for reading server packets.
                  -
                • -
                - - - -
                  -
                • -

                  getPlayerByConnection

                  -
                  public org.bukkit.entity.Player getPlayerByConnection(java.io.DataInputStream inputStream)
                  -
                • -
                - - - -
                  -
                • -

                  injectPlayer

                  -
                  public void injectPlayer(org.bukkit.entity.Player player)
                  -
                  Initialize a player hook, allowing us to read server packets.
                  -
                  Parameters:
                  player - - player to hook.
                  -
                • -
                - - - -
                  -
                • -

                  uninjectPlayer

                  -
                  public void uninjectPlayer(org.bukkit.entity.Player player)
                  -
                  Unregisters the given player.
                  -
                  Parameters:
                  player - - player to unregister.
                  -
                • -
                - - - -
                  -
                • -

                  sendServerPacket

                  -
                  public void sendServerPacket(org.bukkit.entity.Player reciever,
                  -                    PacketContainer packet,
                  -                    boolean filters)
                  -                      throws java.lang.reflect.InvocationTargetException
                  -
                  Throws:
                  -
                  java.lang.reflect.InvocationTargetException
                  -
                • -
                - - - -
                  -
                • -

                  checkListener

                  -
                  public void checkListener(java.util.Set<PacketListener> listeners)
                  -
                  Determine if the given listeners are valid.
                  -
                  Parameters:
                  listeners - - listeners to check.
                  -
                • -
                - - - -
                  -
                • -

                  checkListener

                  -
                  public void checkListener(PacketListener listener)
                  -
                  Determine if a listener is valid or not.
                  -
                  Parameters:
                  listener - - listener to check.
                  -
                  Throws:
                  -
                  java.lang.IllegalStateException - If the given listener's whitelist cannot be fulfilled.
                  -
                • -
                - - - -
                  -
                • -

                  processPacket

                  -
                  public void processPacket(org.bukkit.entity.Player player,
                  -                 net.minecraft.server.Packet mcPacket)
                  -                   throws java.lang.IllegalAccessException,
                  -                          java.lang.reflect.InvocationTargetException
                  -
                  Process a packet as if it were sent by the given player.
                  -
                  Parameters:
                  player - - the sender.
                  mcPacket - - the packet to process.
                  -
                  Throws:
                  -
                  java.lang.IllegalAccessException - If the reflection machinery failed.
                  -
                  java.lang.reflect.InvocationTargetException - If the underlying method caused an error.
                  -
                • -
                - - - -
                  -
                • -

                  getSendingFilters

                  -
                  public java.util.Set<java.lang.Integer> getSendingFilters()
                  -
                  Retrieve the current list of registered sending listeners.
                  -
                  Returns:
                  List of the sending listeners's packet IDs.
                  -
                • -
                - - - -
                  -
                • -

                  getLogger

                  -
                  public java.util.logging.Logger getLogger()
                  -
                  Retrieve the current logger.
                  -
                  Returns:
                  Error logger.
                  -
                • -
                - - - -
                  -
                • -

                  close

                  -
                  public void close()
                  -
                • -
                -
              • -
              -
            • -
            -
            -
            - - - - - - - + + + + + +PlayerInjectionHandler + + + + + + + + + + + +
            +
            com.comphenix.protocol.injector.player
            +

            Class PlayerInjectionHandler

            +
            +
            +
              +
            • java.lang.Object
            • +
            • +
                +
              • com.comphenix.protocol.injector.player.PlayerInjectionHandler
              • +
              +
            • +
            +
            +
              +
            • +
              +
              +
              public class PlayerInjectionHandler
              +extends java.lang.Object
              +
              Responsible for injecting into a player's sendPacket method.
              +
              Author:
              +
              Kristian
              +
            • +
            +
            +
            + +
            +
            +
              +
            • + +
                +
              • + + +

                Constructor Detail

                + + + +
                  +
                • +

                  PlayerInjectionHandler

                  +
                  public PlayerInjectionHandler(java.lang.ClassLoader classLoader,
                  +                      java.util.logging.Logger logger,
                  +                      com.google.common.base.Predicate<GamePhase> injectionFilter,
                  +                      ListenerInvoker invoker,
                  +                      org.bukkit.Server server)
                  +
                • +
                +
              • +
              + +
                +
              • + + +

                Method Detail

                + + + + + + + +
                  +
                • +

                  getPlayerHook

                  +
                  public PacketFilterManager.PlayerInjectHooks getPlayerHook(GamePhase phase)
                  +
                  Retrieves how the server packets are read.
                  +
                  Parameters:
                  phase - - the current game phase.
                  +
                  Returns:
                  Injection method for reading server packets.
                  +
                • +
                + + + +
                  +
                • +

                  setPlayerHook

                  +
                  public void setPlayerHook(PacketFilterManager.PlayerInjectHooks playerHook)
                  +
                  Sets how the server packets are read.
                  +
                  Parameters:
                  playerHook - - the new injection method for reading server packets.
                  +
                • +
                + + + +
                  +
                • +

                  setPlayerHook

                  +
                  public void setPlayerHook(GamePhase phase,
                  +                 PacketFilterManager.PlayerInjectHooks playerHook)
                  +
                  Sets how the server packets are read.
                  +
                  Parameters:
                  phase - - the current game phase.
                  playerHook - - the new injection method for reading server packets.
                  +
                • +
                + + + +
                  +
                • +

                  addPacketHandler

                  +
                  public void addPacketHandler(int packetID)
                  +
                  Add an underlying packet handler of the given ID.
                  +
                  Parameters:
                  packetID - - packet ID to register.
                  +
                • +
                + + + +
                  +
                • +

                  removePacketHandler

                  +
                  public void removePacketHandler(int packetID)
                  +
                  Remove an underlying packet handler of ths ID.
                  +
                  Parameters:
                  packetID - - packet ID to unregister.
                  +
                • +
                + + + +
                  +
                • +

                  getPlayerByConnection

                  +
                  public org.bukkit.entity.Player getPlayerByConnection(java.io.DataInputStream inputStream)
                  +
                  Retrieve a player by its DataInput connection.
                  +
                  Parameters:
                  inputStream - - the associated DataInput connection.
                  +
                  Returns:
                  The player.
                  +
                • +
                + + + +
                  +
                • +

                  injectPlayer

                  +
                  public void injectPlayer(org.bukkit.entity.Player player)
                  +
                  Initialize a player hook, allowing us to read server packets. +

                  + This call will be ignored if there's no listener that can receive the given events.

                  +
                  Parameters:
                  player - - player to hook.
                  +
                • +
                + + + +
                  +
                • +

                  isInjectionNecessary

                  +
                  public boolean isInjectionNecessary(GamePhase phase)
                  +
                  Determine if it's truly necessary to perform the given player injection.
                  +
                  Parameters:
                  phase - - current game phase.
                  +
                  Returns:
                  TRUE if we should perform the injection, FALSE otherwise.
                  +
                • +
                + + + +
                  +
                • +

                  uninjectPlayer

                  +
                  public void uninjectPlayer(org.bukkit.entity.Player player)
                  +
                  Unregisters the given player.
                  +
                  Parameters:
                  player - - player to unregister.
                  +
                • +
                + + + +
                  +
                • +

                  uninjectPlayer

                  +
                  public void uninjectPlayer(java.net.InetSocketAddress address)
                  +
                  Unregisters a player by the given address.
                  +
                  Parameters:
                  address - - address of the player to unregister.
                  +
                • +
                + + + +
                  +
                • +

                  sendServerPacket

                  +
                  public void sendServerPacket(org.bukkit.entity.Player reciever,
                  +                    PacketContainer packet,
                  +                    boolean filters)
                  +                      throws java.lang.reflect.InvocationTargetException
                  +
                  Send the given packet to the given reciever.
                  +
                  Parameters:
                  reciever - - the player receiver.
                  packet - - the packet to send.
                  filters - - whether or not to invoke the packet filters.
                  +
                  Throws:
                  +
                  java.lang.reflect.InvocationTargetException - If an error occured during sending.
                  +
                • +
                + + + +
                  +
                • +

                  processPacket

                  +
                  public void processPacket(org.bukkit.entity.Player player,
                  +                 net.minecraft.server.Packet mcPacket)
                  +                   throws java.lang.IllegalAccessException,
                  +                          java.lang.reflect.InvocationTargetException
                  +
                  Process a packet as if it were sent by the given player.
                  +
                  Parameters:
                  player - - the sender.
                  mcPacket - - the packet to process.
                  +
                  Throws:
                  +
                  java.lang.IllegalAccessException - If the reflection machinery failed.
                  +
                  java.lang.reflect.InvocationTargetException - If the underlying method caused an error.
                  +
                • +
                + + + +
                  +
                • +

                  checkListener

                  +
                  public void checkListener(java.util.Set<PacketListener> listeners)
                  +
                  Determine if the given listeners are valid.
                  +
                  Parameters:
                  listeners - - listeners to check.
                  +
                • +
                + + + +
                  +
                • +

                  checkListener

                  +
                  public void checkListener(PacketListener listener)
                  +
                  Determine if a listener is valid or not.
                  +
                  Parameters:
                  listener - - listener to check.
                  +
                  Throws:
                  +
                  java.lang.IllegalStateException - If the given listener's whitelist cannot be fulfilled.
                  +
                • +
                + + + +
                  +
                • +

                  getSendingFilters

                  +
                  public java.util.Set<java.lang.Integer> getSendingFilters()
                  +
                  Retrieve the current list of registered sending listeners.
                  +
                  Returns:
                  List of the sending listeners's packet IDs.
                  +
                • +
                + + + +
                  +
                • +

                  getLogger

                  +
                  public java.util.logging.Logger getLogger()
                  +
                  Retrieve the current logger.
                  +
                  Returns:
                  Error logger.
                  +
                • +
                + + + +
                  +
                • +

                  close

                  +
                  public void close()
                  +
                • +
                + + + +
                  +
                • +

                  scheduleDataInputRefresh

                  +
                  public void scheduleDataInputRefresh(org.bukkit.entity.Player player)
                  +
                  Inform the current PlayerInjector that it should update the DataInputStream next.
                  +
                  Parameters:
                  player - - the player to update.
                  +
                • +
                +
              • +
              +
            • +
            +
            +
            + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/injector/player/class-use/NetworkServerInjector.html b/Javadoc/com/comphenix/protocol/injector/player/class-use/NetworkServerInjector.html index f4844efd..2142f032 100644 --- a/Javadoc/com/comphenix/protocol/injector/player/class-use/NetworkServerInjector.html +++ b/Javadoc/com/comphenix/protocol/injector/player/class-use/NetworkServerInjector.html @@ -1,115 +1,115 @@ - - - - - -Uses of Class com.comphenix.protocol.injector.player.NetworkServerInjector - - - - - - - - - - -
            -

            Uses of Class
            com.comphenix.protocol.injector.player.NetworkServerInjector

            -
            -
            No usage of com.comphenix.protocol.injector.player.NetworkServerInjector
            - - - - - - + + + + + +Uses of Class com.comphenix.protocol.injector.player.NetworkServerInjector + + + + + + + + + + +
            +

            Uses of Class
            com.comphenix.protocol.injector.player.NetworkServerInjector

            +
            +
            No usage of com.comphenix.protocol.injector.player.NetworkServerInjector
            + + + + + + diff --git a/Javadoc/com/comphenix/protocol/injector/player/class-use/PlayerInjectionHandler.html b/Javadoc/com/comphenix/protocol/injector/player/class-use/PlayerInjectionHandler.html index 61e19610..e9ef6b77 100644 --- a/Javadoc/com/comphenix/protocol/injector/player/class-use/PlayerInjectionHandler.html +++ b/Javadoc/com/comphenix/protocol/injector/player/class-use/PlayerInjectionHandler.html @@ -1,115 +1,115 @@ - - - - - -Uses of Class com.comphenix.protocol.injector.player.PlayerInjectionHandler - - - - - - - - - - -
            -

            Uses of Class
            com.comphenix.protocol.injector.player.PlayerInjectionHandler

            -
            -
            No usage of com.comphenix.protocol.injector.player.PlayerInjectionHandler
            - - - - - - + + + + + +Uses of Class com.comphenix.protocol.injector.player.PlayerInjectionHandler + + + + + + + + + + +
            +

            Uses of Class
            com.comphenix.protocol.injector.player.PlayerInjectionHandler

            +
            +
            No usage of com.comphenix.protocol.injector.player.PlayerInjectionHandler
            + + + + + + diff --git a/Javadoc/com/comphenix/protocol/injector/player/package-frame.html b/Javadoc/com/comphenix/protocol/injector/player/package-frame.html index 89589912..6f1ac9b3 100644 --- a/Javadoc/com/comphenix/protocol/injector/player/package-frame.html +++ b/Javadoc/com/comphenix/protocol/injector/player/package-frame.html @@ -1,20 +1,20 @@ - - - - - -com.comphenix.protocol.injector.player - - - - -

            com.comphenix.protocol.injector.player

            - - - + + + + + +com.comphenix.protocol.injector.player + + + + +

            com.comphenix.protocol.injector.player

            + + + diff --git a/Javadoc/com/comphenix/protocol/injector/player/package-summary.html b/Javadoc/com/comphenix/protocol/injector/player/package-summary.html index 0c2ac043..6f4d7904 100644 --- a/Javadoc/com/comphenix/protocol/injector/player/package-summary.html +++ b/Javadoc/com/comphenix/protocol/injector/player/package-summary.html @@ -1,141 +1,141 @@ - - - - - -com.comphenix.protocol.injector.player - - - - - - - -
            - - - - - -
            - - -
            -

            Package com.comphenix.protocol.injector.player

            -
            -
            -
              -
            • - - - - - - - - - - - - - - - - -
              Class Summary 
              ClassDescription
              NetworkServerInjector -
              Represents a player hook into the NetServerHandler class.
              -
              PlayerInjectionHandler -
              Responsible for injecting into a player's sendPacket method.
              -
              -
            • -
            -
            - -
            - - - - - -
            - - - - + + + + + +com.comphenix.protocol.injector.player + + + + + + + +
            + + + + + +
            + + +
            +

            Package com.comphenix.protocol.injector.player

            +
            +
            +
              +
            • + + + + + + + + + + + + + + + + +
              Class Summary 
              ClassDescription
              NetworkServerInjector +
              Represents a player hook into the NetServerHandler class.
              +
              PlayerInjectionHandler +
              Responsible for injecting into a player's sendPacket method.
              +
              +
            • +
            +
            + +
            + + + + + +
            + + + + diff --git a/Javadoc/com/comphenix/protocol/injector/player/package-tree.html b/Javadoc/com/comphenix/protocol/injector/player/package-tree.html index c6eb76a9..6fdb5c6c 100644 --- a/Javadoc/com/comphenix/protocol/injector/player/package-tree.html +++ b/Javadoc/com/comphenix/protocol/injector/player/package-tree.html @@ -1,129 +1,129 @@ - - - - - -com.comphenix.protocol.injector.player Class Hierarchy - - - - - - - -
            - - - - - -
            - - -
            -

            Hierarchy For Package com.comphenix.protocol.injector.player

            -Package Hierarchies: - -
            -
            -

            Class Hierarchy

            - -
            - -
            - - - - - -
            - - - - + + + + + +com.comphenix.protocol.injector.player Class Hierarchy + + + + + + + +
            + + + + + +
            + + +
            +

            Hierarchy For Package com.comphenix.protocol.injector.player

            +Package Hierarchies: + +
            +
            +

            Class Hierarchy

            + +
            + +
            + + + + + +
            + + + + diff --git a/Javadoc/com/comphenix/protocol/injector/player/package-use.html b/Javadoc/com/comphenix/protocol/injector/player/package-use.html index d0a40a71..f0263220 100644 --- a/Javadoc/com/comphenix/protocol/injector/player/package-use.html +++ b/Javadoc/com/comphenix/protocol/injector/player/package-use.html @@ -1,115 +1,115 @@ - - - - - -Uses of Package com.comphenix.protocol.injector.player - - - - - - - - - - -
            -

            Uses of Package
            com.comphenix.protocol.injector.player

            -
            -
            No usage of com.comphenix.protocol.injector.player
            - - - - - - + + + + + +Uses of Package com.comphenix.protocol.injector.player + + + + + + + + + + +
            +

            Uses of Package
            com.comphenix.protocol.injector.player

            +
            +
            No usage of com.comphenix.protocol.injector.player
            + + + + + + diff --git a/Javadoc/com/comphenix/protocol/metrics/Statistics.html b/Javadoc/com/comphenix/protocol/metrics/Statistics.html index ec27a46d..3a63650d 100644 --- a/Javadoc/com/comphenix/protocol/metrics/Statistics.html +++ b/Javadoc/com/comphenix/protocol/metrics/Statistics.html @@ -1,231 +1,231 @@ - - - - - -Statistics - - - - - - - - - - - -
            -
            com.comphenix.protocol.metrics
            -

            Class Statistics

            -
            -
            -
              -
            • java.lang.Object
            • -
            • -
                -
              • com.comphenix.protocol.metrics.Statistics
              • -
              -
            • -
            -
            -
              -
            • -
              -
              -
              public class Statistics
              -extends java.lang.Object
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Constructor Summary

                - - - - - - - - -
                Constructors 
                Constructor and Description
                Statistics(org.bukkit.plugin.Plugin plugin) 
                -
              • -
              - -
                -
              • - - -

                Method Summary

                -
                  -
                • - - -

                  Methods inherited from class java.lang.Object

                  -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
                • -
                -
              • -
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Constructor Detail

                - - - -
                  -
                • -

                  Statistics

                  -
                  public Statistics(org.bukkit.plugin.Plugin plugin)
                  -           throws java.io.IOException
                  -
                  Throws:
                  -
                  java.io.IOException
                  -
                • -
                -
              • -
              -
            • -
            -
            -
            - - - - - - - + + + + + +Statistics + + + + + + + + + + + +
            +
            com.comphenix.protocol.metrics
            +

            Class Statistics

            +
            +
            +
              +
            • java.lang.Object
            • +
            • +
                +
              • com.comphenix.protocol.metrics.Statistics
              • +
              +
            • +
            +
            +
              +
            • +
              +
              +
              public class Statistics
              +extends java.lang.Object
              +
            • +
            +
            +
            +
              +
            • + +
                +
              • + + +

                Constructor Summary

                + + + + + + + + +
                Constructors 
                Constructor and Description
                Statistics(org.bukkit.plugin.Plugin plugin) 
                +
              • +
              + +
                +
              • + + +

                Method Summary

                +
                  +
                • + + +

                  Methods inherited from class java.lang.Object

                  +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
                • +
                +
              • +
              +
            • +
            +
            +
            +
              +
            • + +
                +
              • + + +

                Constructor Detail

                + + + +
                  +
                • +

                  Statistics

                  +
                  public Statistics(org.bukkit.plugin.Plugin plugin)
                  +           throws java.io.IOException
                  +
                  Throws:
                  +
                  java.io.IOException
                  +
                • +
                +
              • +
              +
            • +
            +
            +
            + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/metrics/class-use/Statistics.html b/Javadoc/com/comphenix/protocol/metrics/class-use/Statistics.html index fa5ad2af..82248b20 100644 --- a/Javadoc/com/comphenix/protocol/metrics/class-use/Statistics.html +++ b/Javadoc/com/comphenix/protocol/metrics/class-use/Statistics.html @@ -1,157 +1,157 @@ - - - - - -Uses of Class com.comphenix.protocol.metrics.Statistics - - - - - - - - - - -
            -

            Uses of Class
            com.comphenix.protocol.metrics.Statistics

            -
            -
            - -
            - - - - - - + + + + + +Uses of Class com.comphenix.protocol.metrics.Statistics + + + + + + + + + + +
            +

            Uses of Class
            com.comphenix.protocol.metrics.Statistics

            +
            +
            + +
            + + + + + + diff --git a/Javadoc/com/comphenix/protocol/metrics/package-frame.html b/Javadoc/com/comphenix/protocol/metrics/package-frame.html index 1052f7f5..0b954fe9 100644 --- a/Javadoc/com/comphenix/protocol/metrics/package-frame.html +++ b/Javadoc/com/comphenix/protocol/metrics/package-frame.html @@ -1,19 +1,19 @@ - - - - - -com.comphenix.protocol.metrics - - - - -

            com.comphenix.protocol.metrics

            -
            -

            Classes

            - -
            - - + + + + + +com.comphenix.protocol.metrics + + + + +

            com.comphenix.protocol.metrics

            +
            +

            Classes

            + +
            + + diff --git a/Javadoc/com/comphenix/protocol/metrics/package-summary.html b/Javadoc/com/comphenix/protocol/metrics/package-summary.html index 69bd3515..ad83f8b9 100644 --- a/Javadoc/com/comphenix/protocol/metrics/package-summary.html +++ b/Javadoc/com/comphenix/protocol/metrics/package-summary.html @@ -1,133 +1,133 @@ - - - - - -com.comphenix.protocol.metrics - - - - - - - -
            - - - - - -
            - - -
            -

            Package com.comphenix.protocol.metrics

            -
            -
            -
              -
            • - - - - - - - - - - - - -
              Class Summary 
              ClassDescription
              Statistics 
              -
            • -
            -
            - -
            - - - - - -
            - - - - + + + + + +com.comphenix.protocol.metrics + + + + + + + +
            + + + + + +
            + + +
            +

            Package com.comphenix.protocol.metrics

            +
            +
            +
              +
            • + + + + + + + + + + + + +
              Class Summary 
              ClassDescription
              Statistics 
              +
            • +
            +
            + +
            + + + + + +
            + + + + diff --git a/Javadoc/com/comphenix/protocol/metrics/package-tree.html b/Javadoc/com/comphenix/protocol/metrics/package-tree.html index 2806a25b..6fb885fd 100644 --- a/Javadoc/com/comphenix/protocol/metrics/package-tree.html +++ b/Javadoc/com/comphenix/protocol/metrics/package-tree.html @@ -1,128 +1,128 @@ - - - - - -com.comphenix.protocol.metrics Class Hierarchy - - - - - - - -
            - - - - - -
            - - -
            -

            Hierarchy For Package com.comphenix.protocol.metrics

            -Package Hierarchies: - -
            -
            -

            Class Hierarchy

            -
              -
            • java.lang.Object - -
            • -
            -
            - -
            - - - - - -
            - - - - + + + + + +com.comphenix.protocol.metrics Class Hierarchy + + + + + + + +
            + + + + + +
            + + +
            +

            Hierarchy For Package com.comphenix.protocol.metrics

            +Package Hierarchies: + +
            +
            +

            Class Hierarchy

            +
              +
            • java.lang.Object + +
            • +
            +
            + +
            + + + + + +
            + + + + diff --git a/Javadoc/com/comphenix/protocol/metrics/package-use.html b/Javadoc/com/comphenix/protocol/metrics/package-use.html index 06be1530..64ca7eac 100644 --- a/Javadoc/com/comphenix/protocol/metrics/package-use.html +++ b/Javadoc/com/comphenix/protocol/metrics/package-use.html @@ -1,148 +1,148 @@ - - - - - -Uses of Package com.comphenix.protocol.metrics - - - - - - - - - - -
            -

            Uses of Package
            com.comphenix.protocol.metrics

            -
            -
            - -
            - - - - - - + + + + + +Uses of Package com.comphenix.protocol.metrics + + + + + + + + + + +
            +

            Uses of Package
            com.comphenix.protocol.metrics

            +
            +
            + +
            + + + + + + diff --git a/Javadoc/com/comphenix/protocol/package-frame.html b/Javadoc/com/comphenix/protocol/package-frame.html index 81eb6576..a1cece6c 100644 --- a/Javadoc/com/comphenix/protocol/package-frame.html +++ b/Javadoc/com/comphenix/protocol/package-frame.html @@ -1,29 +1,29 @@ - - - - - -com.comphenix.protocol - - - - -

            com.comphenix.protocol

            - - - + + + + + +com.comphenix.protocol + + + + +

            com.comphenix.protocol

            + + + diff --git a/Javadoc/com/comphenix/protocol/package-summary.html b/Javadoc/com/comphenix/protocol/package-summary.html index 2e4666ff..abbb95bc 100644 --- a/Javadoc/com/comphenix/protocol/package-summary.html +++ b/Javadoc/com/comphenix/protocol/package-summary.html @@ -1,188 +1,188 @@ - - - - - -com.comphenix.protocol - - - - - - - -
            - - - - - -
            - - -
            -

            Package com.comphenix.protocol

            -
            -
            -
              -
            • - - - - - - - - - - - - - - - - - - - - -
              Interface Summary 
              InterfaceDescription
              AsynchronousManager -
              Represents a asynchronous packet handler.
              -
              PacketStream -
              Represents a object capable of sending or receiving packets.
              -
              ProtocolManager -
              Represents an API for accessing the Minecraft protocol.
              -
              -
            • -
            • - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
              Class Summary 
              ClassDescription
              Application -
              Ignore this class.
              -
              Packets -
              List of known packet IDs since 1.3.2.
              -
              Packets.Client -
              List of packets sent by the client.
              -
              Packets.Server -
              List of packets sent only by the server.
              -
              ProtocolLibrary -
              The main entry point for ProtocolLib.
              -
              -
            • -
            -
            - -
            - - - - - -
            - - - - + + + + + +com.comphenix.protocol + + + + + + + +
            + + + + + +
            + + +
            +

            Package com.comphenix.protocol

            +
            +
            +
              +
            • + + + + + + + + + + + + + + + + + + + + +
              Interface Summary 
              InterfaceDescription
              AsynchronousManager +
              Represents a asynchronous packet handler.
              +
              PacketStream +
              Represents a object capable of sending or receiving packets.
              +
              ProtocolManager +
              Represents an API for accessing the Minecraft protocol.
              +
              +
            • +
            • + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              Class Summary 
              ClassDescription
              Application +
              Ignore this class.
              +
              Packets +
              List of known packet IDs since 1.3.2.
              +
              Packets.Client +
              List of packets sent by the client.
              +
              Packets.Server +
              List of packets sent only by the server.
              +
              ProtocolLibrary +
              The main entry point for ProtocolLib.
              +
              +
            • +
            +
            + +
            + + + + + +
            + + + + diff --git a/Javadoc/com/comphenix/protocol/package-tree.html b/Javadoc/com/comphenix/protocol/package-tree.html index e765455c..ebe945c5 100644 --- a/Javadoc/com/comphenix/protocol/package-tree.html +++ b/Javadoc/com/comphenix/protocol/package-tree.html @@ -1,153 +1,153 @@ - - - - - -com.comphenix.protocol Class Hierarchy - - - - - - - -
            - - - - - -
            - - -
            -

            Hierarchy For Package com.comphenix.protocol

            -Package Hierarchies: - -
            -
            -

            Class Hierarchy

            -
              -
            • java.lang.Object -
                -
              • com.comphenix.protocol.Application
              • -
              • com.comphenix.protocol.reflect.IntEnum - -
              • -
              • com.comphenix.protocol.Packets
              • -
              • org.bukkit.plugin.PluginBase (implements org.bukkit.plugin.Plugin) -
                  -
                • org.bukkit.plugin.java.JavaPlugin - -
                • -
                -
              • -
              -
            • -
            -

            Interface Hierarchy

            - -
            - -
            - - - - - -
            - - - - + + + + + +com.comphenix.protocol Class Hierarchy + + + + + + + +
            + + + + + +
            + + +
            +

            Hierarchy For Package com.comphenix.protocol

            +Package Hierarchies: + +
            +
            +

            Class Hierarchy

            +
              +
            • java.lang.Object +
                +
              • com.comphenix.protocol.Application
              • +
              • com.comphenix.protocol.reflect.IntEnum + +
              • +
              • com.comphenix.protocol.Packets
              • +
              • org.bukkit.plugin.PluginBase (implements org.bukkit.plugin.Plugin) +
                  +
                • org.bukkit.plugin.java.JavaPlugin + +
                • +
                +
              • +
              +
            • +
            +

            Interface Hierarchy

            + +
            + +
            + + + + + +
            + + + + diff --git a/Javadoc/com/comphenix/protocol/package-use.html b/Javadoc/com/comphenix/protocol/package-use.html index bbd54e25..086f1c4a 100644 --- a/Javadoc/com/comphenix/protocol/package-use.html +++ b/Javadoc/com/comphenix/protocol/package-use.html @@ -1,232 +1,232 @@ - - - - - -Uses of Package com.comphenix.protocol - - - - - - - - - - -
            -

            Uses of Package
            com.comphenix.protocol

            -
            -
            - -
            - - - - - - + + + + + +Uses of Package com.comphenix.protocol + + + + + + + + + + +
            +

            Uses of Package
            com.comphenix.protocol

            +
            +
            + +
            + + + + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/EquivalentConverter.html b/Javadoc/com/comphenix/protocol/reflect/EquivalentConverter.html index 8207e52b..7f2cc29d 100644 --- a/Javadoc/com/comphenix/protocol/reflect/EquivalentConverter.html +++ b/Javadoc/com/comphenix/protocol/reflect/EquivalentConverter.html @@ -1,238 +1,238 @@ - - - - - -EquivalentConverter - - - - - - - - - - - -
            -
            com.comphenix.protocol.reflect
            -

            Interface EquivalentConverter<TType>

            -
            -
            -
            -
              -
            • -
              Type Parameters:
              TType - The specific type.
              -
              -
              -
              public interface EquivalentConverter<TType>
              -
              Interface that converts generic objects into types and back.
              -
              Author:
              -
              Kristian
              -
            • -
            -
            -
            - -
            -
            -
              -
            • - -
                -
              • - - -

                Method Detail

                - - - -
                  -
                • -

                  getSpecific

                  -
                  TType getSpecific(java.lang.Object generic)
                  -
                • -
                - - - - - -
                  -
                • -

                  getGeneric

                  -
                  java.lang.Object getGeneric(TType specific)
                  -
                • -
                - - - -
                  -
                • -

                  getSpecificType

                  -
                  java.lang.Class<TType> getSpecificType()
                  -
                • -
                -
              • -
              -
            • -
            -
            -
            - - - - - - - + + + + + +EquivalentConverter + + + + + + + + + + + +
            +
            com.comphenix.protocol.reflect
            +

            Interface EquivalentConverter<TType>

            +
            +
            +
            +
              +
            • +
              Type Parameters:
              TType - The specific type.
              +
              +
              +
              public interface EquivalentConverter<TType>
              +
              Interface that converts generic objects into types and back.
              +
              Author:
              +
              Kristian
              +
            • +
            +
            +
            + +
            +
            +
              +
            • + +
                +
              • + + +

                Method Detail

                + + + +
                  +
                • +

                  getSpecific

                  +
                  TType getSpecific(java.lang.Object generic)
                  +
                • +
                + + + + + +
                  +
                • +

                  getGeneric

                  +
                  java.lang.Object getGeneric(TType specific)
                  +
                • +
                + + + +
                  +
                • +

                  getSpecificType

                  +
                  java.lang.Class<TType> getSpecificType()
                  +
                • +
                +
              • +
              +
            • +
            +
            +
            + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/FieldAccessException.html b/Javadoc/com/comphenix/protocol/reflect/FieldAccessException.html index b79df1ab..5107e542 100644 --- a/Javadoc/com/comphenix/protocol/reflect/FieldAccessException.html +++ b/Javadoc/com/comphenix/protocol/reflect/FieldAccessException.html @@ -1,321 +1,321 @@ - - - - - -FieldAccessException - - - - - - - - - - - -
            -
            com.comphenix.protocol.reflect
            -

            Class FieldAccessException

            -
            -
            -
              -
            • java.lang.Object
            • -
            • -
                -
              • java.lang.Throwable
              • -
              • -
                  -
                • java.lang.Exception
                • -
                • -
                    -
                  • com.comphenix.protocol.reflect.FieldAccessException
                  • -
                  -
                • -
                -
              • -
              -
            • -
            -
            -
              -
            • -
              -
              All Implemented Interfaces:
              -
              java.io.Serializable
              -
              -
              -
              -
              public class FieldAccessException
              -extends java.lang.Exception
              -
              Invoked when a field is inaccessible due to security limitations, or when it simply doesn't exist.
              -
              Author:
              -
              Kristian
              -
              See Also:
              Serialized Form
              -
            • -
            -
            -
            -
              -
            • - - - -
                -
              • - - -

                Method Summary

                - - - - - - - - - - -
                Methods 
                Modifier and TypeMethod and Description
                static FieldAccessExceptionfromFormat(java.lang.String message, - java.lang.Object... params) 
                -
                  -
                • - - -

                  Methods inherited from class java.lang.Throwable

                  -addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
                • -
                -
                  -
                • - - -

                  Methods inherited from class java.lang.Object

                  -clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
                • -
                -
              • -
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Constructor Detail

                - - - -
                  -
                • -

                  FieldAccessException

                  -
                  public FieldAccessException()
                  -
                • -
                - - - -
                  -
                • -

                  FieldAccessException

                  -
                  public FieldAccessException(java.lang.String message,
                  -                    java.lang.Throwable cause)
                  -
                • -
                - - - -
                  -
                • -

                  FieldAccessException

                  -
                  public FieldAccessException(java.lang.String message)
                  -
                • -
                - - - -
                  -
                • -

                  FieldAccessException

                  -
                  public FieldAccessException(java.lang.Throwable cause)
                  -
                • -
                -
              • -
              - -
                -
              • - - -

                Method Detail

                - - - -
                  -
                • -

                  fromFormat

                  -
                  public static FieldAccessException fromFormat(java.lang.String message,
                  -                              java.lang.Object... params)
                  -
                • -
                -
              • -
              -
            • -
            -
            -
            - - - - - - - + + + + + +FieldAccessException + + + + + + + + + + + +
            +
            com.comphenix.protocol.reflect
            +

            Class FieldAccessException

            +
            +
            +
              +
            • java.lang.Object
            • +
            • +
                +
              • java.lang.Throwable
              • +
              • +
                  +
                • java.lang.Exception
                • +
                • +
                    +
                  • com.comphenix.protocol.reflect.FieldAccessException
                  • +
                  +
                • +
                +
              • +
              +
            • +
            +
            +
              +
            • +
              +
              All Implemented Interfaces:
              +
              java.io.Serializable
              +
              +
              +
              +
              public class FieldAccessException
              +extends java.lang.Exception
              +
              Invoked when a field is inaccessible due to security limitations, or when it simply doesn't exist.
              +
              Author:
              +
              Kristian
              +
              See Also:
              Serialized Form
              +
            • +
            +
            +
            +
              +
            • + + + +
                +
              • + + +

                Method Summary

                + + + + + + + + + + +
                Methods 
                Modifier and TypeMethod and Description
                static FieldAccessExceptionfromFormat(java.lang.String message, + java.lang.Object... params) 
                +
                  +
                • + + +

                  Methods inherited from class java.lang.Throwable

                  +addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
                • +
                +
                  +
                • + + +

                  Methods inherited from class java.lang.Object

                  +clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
                • +
                +
              • +
              +
            • +
            +
            +
            +
              +
            • + +
                +
              • + + +

                Constructor Detail

                + + + +
                  +
                • +

                  FieldAccessException

                  +
                  public FieldAccessException()
                  +
                • +
                + + + +
                  +
                • +

                  FieldAccessException

                  +
                  public FieldAccessException(java.lang.String message,
                  +                    java.lang.Throwable cause)
                  +
                • +
                + + + +
                  +
                • +

                  FieldAccessException

                  +
                  public FieldAccessException(java.lang.String message)
                  +
                • +
                + + + +
                  +
                • +

                  FieldAccessException

                  +
                  public FieldAccessException(java.lang.Throwable cause)
                  +
                • +
                +
              • +
              + +
                +
              • + + +

                Method Detail

                + + + +
                  +
                • +

                  fromFormat

                  +
                  public static FieldAccessException fromFormat(java.lang.String message,
                  +                              java.lang.Object... params)
                  +
                • +
                +
              • +
              +
            • +
            +
            +
            + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/FieldUtils.html b/Javadoc/com/comphenix/protocol/reflect/FieldUtils.html index 751cacfc..f1436e78 100644 --- a/Javadoc/com/comphenix/protocol/reflect/FieldUtils.html +++ b/Javadoc/com/comphenix/protocol/reflect/FieldUtils.html @@ -1,733 +1,733 @@ - - - - - -FieldUtils - - - - - - - - - - - -
            -
            com.comphenix.protocol.reflect
            -

            Class FieldUtils

            -
            -
            -
              -
            • java.lang.Object
            • -
            • -
                -
              • com.comphenix.protocol.reflect.FieldUtils
              • -
              -
            • -
            -
            -
              -
            • -
              -
              -
              public class FieldUtils
              -extends java.lang.Object
              -
              Utilities for working with fields by reflection. Adapted and refactored from - the dormant [reflect] Commons sandbox component. -

              - The ability is provided to break the scoping restrictions coded by the - programmer. This can allow fields to be changed that shouldn't be. This - facility should be used with care.

              -
              Since:
              -
              2.5
              -
              Version:
              -
              $Id: FieldUtils.java 1057009 2011-01-09 19:48:06Z niallp $
              -
              Author:
              -
              Apache Software Foundation, Matt Benson
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Constructor Summary

                - - - - - - - - -
                Constructors 
                Constructor and Description
                FieldUtils() -
                FieldUtils instances should NOT be constructed in standard programming.
                -
                -
              • -
              - -
                -
              • - - -

                Method Summary

                - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                Methods 
                Modifier and TypeMethod and Description
                static java.lang.reflect.FieldgetField(java.lang.Class cls, - java.lang.String fieldName) -
                Gets an accessible Field by name respecting scope.
                -
                static java.lang.reflect.FieldgetField(java.lang.Class cls, - java.lang.String fieldName, - boolean forceAccess) -
                Gets an accessible Field by name breaking scope if - requested.
                -
                static java.lang.ObjectreadField(java.lang.reflect.Field field, - java.lang.Object target) -
                Read an accessible Field.
                -
                static java.lang.ObjectreadField(java.lang.reflect.Field field, - java.lang.Object target, - boolean forceAccess) -
                Read a Field.
                -
                static java.lang.ObjectreadField(java.lang.Object target, - java.lang.String fieldName) -
                Read the named public field.
                -
                static java.lang.ObjectreadField(java.lang.Object target, - java.lang.String fieldName, - boolean forceAccess) -
                Read the named field.
                -
                static java.lang.ObjectreadStaticField(java.lang.Class cls, - java.lang.String fieldName) -
                Read the named public static field.
                -
                static java.lang.ObjectreadStaticField(java.lang.Class cls, - java.lang.String fieldName, - boolean forceAccess) -
                Read the named static field.
                -
                static java.lang.ObjectreadStaticField(java.lang.reflect.Field field) -
                Read an accessible static Field.
                -
                static java.lang.ObjectreadStaticField(java.lang.reflect.Field field, - boolean forceAccess) -
                Read a static Field.
                -
                static voidwriteField(java.lang.reflect.Field field, - java.lang.Object target, - java.lang.Object value) -
                Write an accessible field.
                -
                static voidwriteField(java.lang.reflect.Field field, - java.lang.Object target, - java.lang.Object value, - boolean forceAccess) -
                Write a field.
                -
                static voidwriteField(java.lang.Object target, - java.lang.String fieldName, - java.lang.Object value) -
                Write a public field.
                -
                static voidwriteField(java.lang.Object target, - java.lang.String fieldName, - java.lang.Object value, - boolean forceAccess) -
                Write a field.
                -
                static voidwriteStaticField(java.lang.Class cls, - java.lang.String fieldName, - java.lang.Object value) -
                Write a named public static Field.
                -
                static voidwriteStaticField(java.lang.Class cls, - java.lang.String fieldName, - java.lang.Object value, - boolean forceAccess) -
                Write a named static Field.
                -
                static voidwriteStaticField(java.lang.reflect.Field field, - java.lang.Object value) -
                Write a public static Field.
                -
                static voidwriteStaticField(java.lang.reflect.Field field, - java.lang.Object value, - boolean forceAccess) -
                Write a static Field.
                -
                -
                  -
                • - - -

                  Methods inherited from class java.lang.Object

                  -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
                • -
                -
              • -
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Constructor Detail

                - - - -
                  -
                • -

                  FieldUtils

                  -
                  public FieldUtils()
                  -
                  FieldUtils instances should NOT be constructed in standard programming. -

                  - This constructor is public to permit tools that require a JavaBean - instance to operate.

                  -
                • -
                -
              • -
              - -
                -
              • - - -

                Method Detail

                - - - -
                  -
                • -

                  getField

                  -
                  public static java.lang.reflect.Field getField(java.lang.Class cls,
                  -                               java.lang.String fieldName)
                  -
                  Gets an accessible Field by name respecting scope. - Superclasses/interfaces will be considered.
                  -
                  Parameters:
                  cls - the class to reflect, must not be null
                  fieldName - the field name to obtain
                  -
                  Returns:
                  the Field object
                  -
                  Throws:
                  -
                  java.lang.IllegalArgumentException - if the class or field name is null
                  -
                • -
                - - - -
                  -
                • -

                  getField

                  -
                  public static java.lang.reflect.Field getField(java.lang.Class cls,
                  -                               java.lang.String fieldName,
                  -                               boolean forceAccess)
                  -
                  Gets an accessible Field by name breaking scope if - requested. Superclasses/interfaces will be considered.
                  -
                  Parameters:
                  cls - the class to reflect, must not be null
                  fieldName - the field name to obtain
                  forceAccess - whether to break scope restrictions using the - setAccessible method. False will - only match public fields.
                  -
                  Returns:
                  the Field object
                  -
                  Throws:
                  -
                  java.lang.IllegalArgumentException - if the class or field name is null
                  -
                • -
                - - - -
                  -
                • -

                  readStaticField

                  -
                  public static java.lang.Object readStaticField(java.lang.reflect.Field field)
                  -                                        throws java.lang.IllegalAccessException
                  -
                  Read an accessible static Field.
                  -
                  Parameters:
                  field - to read
                  -
                  Returns:
                  the field value
                  -
                  Throws:
                  -
                  java.lang.IllegalArgumentException - if the field is null or not static
                  -
                  java.lang.IllegalAccessException - if the field is not accessible
                  -
                • -
                - - - -
                  -
                • -

                  readStaticField

                  -
                  public static java.lang.Object readStaticField(java.lang.reflect.Field field,
                  -                               boolean forceAccess)
                  -                                        throws java.lang.IllegalAccessException
                  -
                  Read a static Field.
                  -
                  Parameters:
                  field - to read
                  forceAccess - whether to break scope restrictions using the - setAccessible method.
                  -
                  Returns:
                  the field value
                  -
                  Throws:
                  -
                  java.lang.IllegalArgumentException - if the field is null or not static
                  -
                  java.lang.IllegalAccessException - if the field is not made accessible
                  -
                • -
                - - - -
                  -
                • -

                  readStaticField

                  -
                  public static java.lang.Object readStaticField(java.lang.Class cls,
                  -                               java.lang.String fieldName)
                  -                                        throws java.lang.IllegalAccessException
                  -
                  Read the named public static field. Superclasses will be considered.
                  -
                  Parameters:
                  cls - the class to reflect, must not be null
                  fieldName - the field name to obtain
                  -
                  Returns:
                  the value of the field
                  -
                  Throws:
                  -
                  java.lang.IllegalArgumentException - if the class or field name is null
                  -
                  java.lang.IllegalAccessException - if the field is not accessible
                  -
                • -
                - - - -
                  -
                • -

                  readStaticField

                  -
                  public static java.lang.Object readStaticField(java.lang.Class cls,
                  -                               java.lang.String fieldName,
                  -                               boolean forceAccess)
                  -                                        throws java.lang.IllegalAccessException
                  -
                  Read the named static field. Superclasses will be considered.
                  -
                  Parameters:
                  cls - the class to reflect, must not be null
                  fieldName - the field name to obtain
                  forceAccess - whether to break scope restrictions using the - setAccessible method. False will - only match public fields.
                  -
                  Returns:
                  the Field object
                  -
                  Throws:
                  -
                  java.lang.IllegalArgumentException - if the class or field name is null
                  -
                  java.lang.IllegalAccessException - if the field is not made accessible
                  -
                • -
                - - - -
                  -
                • -

                  readField

                  -
                  public static java.lang.Object readField(java.lang.reflect.Field field,
                  -                         java.lang.Object target)
                  -                                  throws java.lang.IllegalAccessException
                  -
                  Read an accessible Field.
                  -
                  Parameters:
                  field - the field to use
                  target - the object to call on, may be null for static fields
                  -
                  Returns:
                  the field value
                  -
                  Throws:
                  -
                  java.lang.IllegalArgumentException - if the field is null
                  -
                  java.lang.IllegalAccessException - if the field is not accessible
                  -
                • -
                - - - -
                  -
                • -

                  readField

                  -
                  public static java.lang.Object readField(java.lang.reflect.Field field,
                  -                         java.lang.Object target,
                  -                         boolean forceAccess)
                  -                                  throws java.lang.IllegalAccessException
                  -
                  Read a Field.
                  -
                  Parameters:
                  field - the field to use
                  target - the object to call on, may be null for static fields
                  forceAccess - whether to break scope restrictions using the - setAccessible method.
                  -
                  Returns:
                  the field value
                  -
                  Throws:
                  -
                  java.lang.IllegalArgumentException - if the field is null
                  -
                  java.lang.IllegalAccessException - if the field is not made accessible
                  -
                • -
                - - - -
                  -
                • -

                  readField

                  -
                  public static java.lang.Object readField(java.lang.Object target,
                  -                         java.lang.String fieldName)
                  -                                  throws java.lang.IllegalAccessException
                  -
                  Read the named public field. Superclasses will be considered.
                  -
                  Parameters:
                  target - the object to reflect, must not be null
                  fieldName - the field name to obtain
                  -
                  Returns:
                  the value of the field
                  -
                  Throws:
                  -
                  java.lang.IllegalArgumentException - if the class or field name is null
                  -
                  java.lang.IllegalAccessException - if the named field is not public
                  -
                • -
                - - - -
                  -
                • -

                  readField

                  -
                  public static java.lang.Object readField(java.lang.Object target,
                  -                         java.lang.String fieldName,
                  -                         boolean forceAccess)
                  -                                  throws java.lang.IllegalAccessException
                  -
                  Read the named field. Superclasses will be considered.
                  -
                  Parameters:
                  target - the object to reflect, must not be null
                  fieldName - the field name to obtain
                  forceAccess - whether to break scope restrictions using the - setAccessible method. False will - only match public fields.
                  -
                  Returns:
                  the field value
                  -
                  Throws:
                  -
                  java.lang.IllegalArgumentException - if the class or field name is null
                  -
                  java.lang.IllegalAccessException - if the named field is not made accessible
                  -
                • -
                - - - -
                  -
                • -

                  writeStaticField

                  -
                  public static void writeStaticField(java.lang.reflect.Field field,
                  -                    java.lang.Object value)
                  -                             throws java.lang.IllegalAccessException
                  -
                  Write a public static Field.
                  -
                  Parameters:
                  field - to write
                  value - to set
                  -
                  Throws:
                  -
                  java.lang.IllegalArgumentException - if the field is null or not static
                  -
                  java.lang.IllegalAccessException - if the field is not public or is final
                  -
                • -
                - - - -
                  -
                • -

                  writeStaticField

                  -
                  public static void writeStaticField(java.lang.reflect.Field field,
                  -                    java.lang.Object value,
                  -                    boolean forceAccess)
                  -                             throws java.lang.IllegalAccessException
                  -
                  Write a static Field.
                  -
                  Parameters:
                  field - to write
                  value - to set
                  forceAccess - whether to break scope restrictions using the - setAccessible method. False will - only match public fields.
                  -
                  Throws:
                  -
                  java.lang.IllegalArgumentException - if the field is null or not static
                  -
                  java.lang.IllegalAccessException - if the field is not made accessible or is - final
                  -
                • -
                - - - -
                  -
                • -

                  writeStaticField

                  -
                  public static void writeStaticField(java.lang.Class cls,
                  -                    java.lang.String fieldName,
                  -                    java.lang.Object value)
                  -                             throws java.lang.IllegalAccessException
                  -
                  Write a named public static Field. Superclasses will be considered.
                  -
                  Parameters:
                  cls - Class on which the Field is to be found
                  fieldName - to write
                  value - to set
                  -
                  Throws:
                  -
                  java.lang.IllegalArgumentException - if the field cannot be located or is not - static
                  -
                  java.lang.IllegalAccessException - if the field is not public or is final
                  -
                • -
                - - - -
                  -
                • -

                  writeStaticField

                  -
                  public static void writeStaticField(java.lang.Class cls,
                  -                    java.lang.String fieldName,
                  -                    java.lang.Object value,
                  -                    boolean forceAccess)
                  -                             throws java.lang.IllegalAccessException
                  -
                  Write a named static Field. Superclasses will be considered.
                  -
                  Parameters:
                  cls - Class on which the Field is to be found
                  fieldName - to write
                  value - to set
                  forceAccess - whether to break scope restrictions using the - setAccessible method. False will - only match public fields.
                  -
                  Throws:
                  -
                  java.lang.IllegalArgumentException - if the field cannot be located or is not - static
                  -
                  java.lang.IllegalAccessException - if the field is not made accessible or is - final
                  -
                • -
                - - - -
                  -
                • -

                  writeField

                  -
                  public static void writeField(java.lang.reflect.Field field,
                  -              java.lang.Object target,
                  -              java.lang.Object value)
                  -                       throws java.lang.IllegalAccessException
                  -
                  Write an accessible field.
                  -
                  Parameters:
                  field - to write
                  target - the object to call on, may be null for static fields
                  value - to set
                  -
                  Throws:
                  -
                  java.lang.IllegalArgumentException - if the field is null
                  -
                  java.lang.IllegalAccessException - if the field is not accessible or is final
                  -
                • -
                - - - -
                  -
                • -

                  writeField

                  -
                  public static void writeField(java.lang.reflect.Field field,
                  -              java.lang.Object target,
                  -              java.lang.Object value,
                  -              boolean forceAccess)
                  -                       throws java.lang.IllegalAccessException
                  -
                  Write a field.
                  -
                  Parameters:
                  field - to write
                  target - the object to call on, may be null for static fields
                  value - to set
                  forceAccess - whether to break scope restrictions using the - setAccessible method. False will - only match public fields.
                  -
                  Throws:
                  -
                  java.lang.IllegalArgumentException - if the field is null
                  -
                  java.lang.IllegalAccessException - if the field is not made accessible or is - final
                  -
                • -
                - - - -
                  -
                • -

                  writeField

                  -
                  public static void writeField(java.lang.Object target,
                  -              java.lang.String fieldName,
                  -              java.lang.Object value)
                  -                       throws java.lang.IllegalAccessException
                  -
                  Write a public field. Superclasses will be considered.
                  -
                  Parameters:
                  target - the object to reflect, must not be null
                  fieldName - the field name to obtain
                  value - to set
                  -
                  Throws:
                  -
                  java.lang.IllegalArgumentException - if target or - fieldName is null
                  -
                  java.lang.IllegalAccessException - if the field is not accessible
                  -
                • -
                - - - -
                  -
                • -

                  writeField

                  -
                  public static void writeField(java.lang.Object target,
                  -              java.lang.String fieldName,
                  -              java.lang.Object value,
                  -              boolean forceAccess)
                  -                       throws java.lang.IllegalAccessException
                  -
                  Write a field. Superclasses will be considered.
                  -
                  Parameters:
                  target - the object to reflect, must not be null
                  fieldName - the field name to obtain
                  value - to set
                  forceAccess - whether to break scope restrictions using the - setAccessible method. False will - only match public fields.
                  -
                  Throws:
                  -
                  java.lang.IllegalArgumentException - if target or - fieldName is null
                  -
                  java.lang.IllegalAccessException - if the field is not made accessible
                  -
                • -
                -
              • -
              -
            • -
            -
            -
            - - - - - - - + + + + + +FieldUtils + + + + + + + + + + + +
            +
            com.comphenix.protocol.reflect
            +

            Class FieldUtils

            +
            +
            +
              +
            • java.lang.Object
            • +
            • +
                +
              • com.comphenix.protocol.reflect.FieldUtils
              • +
              +
            • +
            +
            +
              +
            • +
              +
              +
              public class FieldUtils
              +extends java.lang.Object
              +
              Utilities for working with fields by reflection. Adapted and refactored from + the dormant [reflect] Commons sandbox component. +

              + The ability is provided to break the scoping restrictions coded by the + programmer. This can allow fields to be changed that shouldn't be. This + facility should be used with care.

              +
              Since:
              +
              2.5
              +
              Version:
              +
              $Id: FieldUtils.java 1057009 2011-01-09 19:48:06Z niallp $
              +
              Author:
              +
              Apache Software Foundation, Matt Benson
              +
            • +
            +
            +
            +
              +
            • + +
                +
              • + + +

                Constructor Summary

                + + + + + + + + +
                Constructors 
                Constructor and Description
                FieldUtils() +
                FieldUtils instances should NOT be constructed in standard programming.
                +
                +
              • +
              + +
                +
              • + + +

                Method Summary

                + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                Methods 
                Modifier and TypeMethod and Description
                static java.lang.reflect.FieldgetField(java.lang.Class cls, + java.lang.String fieldName) +
                Gets an accessible Field by name respecting scope.
                +
                static java.lang.reflect.FieldgetField(java.lang.Class cls, + java.lang.String fieldName, + boolean forceAccess) +
                Gets an accessible Field by name breaking scope if + requested.
                +
                static java.lang.ObjectreadField(java.lang.reflect.Field field, + java.lang.Object target) +
                Read an accessible Field.
                +
                static java.lang.ObjectreadField(java.lang.reflect.Field field, + java.lang.Object target, + boolean forceAccess) +
                Read a Field.
                +
                static java.lang.ObjectreadField(java.lang.Object target, + java.lang.String fieldName) +
                Read the named public field.
                +
                static java.lang.ObjectreadField(java.lang.Object target, + java.lang.String fieldName, + boolean forceAccess) +
                Read the named field.
                +
                static java.lang.ObjectreadStaticField(java.lang.Class cls, + java.lang.String fieldName) +
                Read the named public static field.
                +
                static java.lang.ObjectreadStaticField(java.lang.Class cls, + java.lang.String fieldName, + boolean forceAccess) +
                Read the named static field.
                +
                static java.lang.ObjectreadStaticField(java.lang.reflect.Field field) +
                Read an accessible static Field.
                +
                static java.lang.ObjectreadStaticField(java.lang.reflect.Field field, + boolean forceAccess) +
                Read a static Field.
                +
                static voidwriteField(java.lang.reflect.Field field, + java.lang.Object target, + java.lang.Object value) +
                Write an accessible field.
                +
                static voidwriteField(java.lang.reflect.Field field, + java.lang.Object target, + java.lang.Object value, + boolean forceAccess) +
                Write a field.
                +
                static voidwriteField(java.lang.Object target, + java.lang.String fieldName, + java.lang.Object value) +
                Write a public field.
                +
                static voidwriteField(java.lang.Object target, + java.lang.String fieldName, + java.lang.Object value, + boolean forceAccess) +
                Write a field.
                +
                static voidwriteStaticField(java.lang.Class cls, + java.lang.String fieldName, + java.lang.Object value) +
                Write a named public static Field.
                +
                static voidwriteStaticField(java.lang.Class cls, + java.lang.String fieldName, + java.lang.Object value, + boolean forceAccess) +
                Write a named static Field.
                +
                static voidwriteStaticField(java.lang.reflect.Field field, + java.lang.Object value) +
                Write a public static Field.
                +
                static voidwriteStaticField(java.lang.reflect.Field field, + java.lang.Object value, + boolean forceAccess) +
                Write a static Field.
                +
                +
                  +
                • + + +

                  Methods inherited from class java.lang.Object

                  +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
                • +
                +
              • +
              +
            • +
            +
            +
            +
              +
            • + +
                +
              • + + +

                Constructor Detail

                + + + +
                  +
                • +

                  FieldUtils

                  +
                  public FieldUtils()
                  +
                  FieldUtils instances should NOT be constructed in standard programming. +

                  + This constructor is public to permit tools that require a JavaBean + instance to operate.

                  +
                • +
                +
              • +
              + +
                +
              • + + +

                Method Detail

                + + + +
                  +
                • +

                  getField

                  +
                  public static java.lang.reflect.Field getField(java.lang.Class cls,
                  +                               java.lang.String fieldName)
                  +
                  Gets an accessible Field by name respecting scope. + Superclasses/interfaces will be considered.
                  +
                  Parameters:
                  cls - the class to reflect, must not be null
                  fieldName - the field name to obtain
                  +
                  Returns:
                  the Field object
                  +
                  Throws:
                  +
                  java.lang.IllegalArgumentException - if the class or field name is null
                  +
                • +
                + + + +
                  +
                • +

                  getField

                  +
                  public static java.lang.reflect.Field getField(java.lang.Class cls,
                  +                               java.lang.String fieldName,
                  +                               boolean forceAccess)
                  +
                  Gets an accessible Field by name breaking scope if + requested. Superclasses/interfaces will be considered.
                  +
                  Parameters:
                  cls - the class to reflect, must not be null
                  fieldName - the field name to obtain
                  forceAccess - whether to break scope restrictions using the + setAccessible method. False will + only match public fields.
                  +
                  Returns:
                  the Field object
                  +
                  Throws:
                  +
                  java.lang.IllegalArgumentException - if the class or field name is null
                  +
                • +
                + + + +
                  +
                • +

                  readStaticField

                  +
                  public static java.lang.Object readStaticField(java.lang.reflect.Field field)
                  +                                        throws java.lang.IllegalAccessException
                  +
                  Read an accessible static Field.
                  +
                  Parameters:
                  field - to read
                  +
                  Returns:
                  the field value
                  +
                  Throws:
                  +
                  java.lang.IllegalArgumentException - if the field is null or not static
                  +
                  java.lang.IllegalAccessException - if the field is not accessible
                  +
                • +
                + + + +
                  +
                • +

                  readStaticField

                  +
                  public static java.lang.Object readStaticField(java.lang.reflect.Field field,
                  +                               boolean forceAccess)
                  +                                        throws java.lang.IllegalAccessException
                  +
                  Read a static Field.
                  +
                  Parameters:
                  field - to read
                  forceAccess - whether to break scope restrictions using the + setAccessible method.
                  +
                  Returns:
                  the field value
                  +
                  Throws:
                  +
                  java.lang.IllegalArgumentException - if the field is null or not static
                  +
                  java.lang.IllegalAccessException - if the field is not made accessible
                  +
                • +
                + + + +
                  +
                • +

                  readStaticField

                  +
                  public static java.lang.Object readStaticField(java.lang.Class cls,
                  +                               java.lang.String fieldName)
                  +                                        throws java.lang.IllegalAccessException
                  +
                  Read the named public static field. Superclasses will be considered.
                  +
                  Parameters:
                  cls - the class to reflect, must not be null
                  fieldName - the field name to obtain
                  +
                  Returns:
                  the value of the field
                  +
                  Throws:
                  +
                  java.lang.IllegalArgumentException - if the class or field name is null
                  +
                  java.lang.IllegalAccessException - if the field is not accessible
                  +
                • +
                + + + +
                  +
                • +

                  readStaticField

                  +
                  public static java.lang.Object readStaticField(java.lang.Class cls,
                  +                               java.lang.String fieldName,
                  +                               boolean forceAccess)
                  +                                        throws java.lang.IllegalAccessException
                  +
                  Read the named static field. Superclasses will be considered.
                  +
                  Parameters:
                  cls - the class to reflect, must not be null
                  fieldName - the field name to obtain
                  forceAccess - whether to break scope restrictions using the + setAccessible method. False will + only match public fields.
                  +
                  Returns:
                  the Field object
                  +
                  Throws:
                  +
                  java.lang.IllegalArgumentException - if the class or field name is null
                  +
                  java.lang.IllegalAccessException - if the field is not made accessible
                  +
                • +
                + + + +
                  +
                • +

                  readField

                  +
                  public static java.lang.Object readField(java.lang.reflect.Field field,
                  +                         java.lang.Object target)
                  +                                  throws java.lang.IllegalAccessException
                  +
                  Read an accessible Field.
                  +
                  Parameters:
                  field - the field to use
                  target - the object to call on, may be null for static fields
                  +
                  Returns:
                  the field value
                  +
                  Throws:
                  +
                  java.lang.IllegalArgumentException - if the field is null
                  +
                  java.lang.IllegalAccessException - if the field is not accessible
                  +
                • +
                + + + +
                  +
                • +

                  readField

                  +
                  public static java.lang.Object readField(java.lang.reflect.Field field,
                  +                         java.lang.Object target,
                  +                         boolean forceAccess)
                  +                                  throws java.lang.IllegalAccessException
                  +
                  Read a Field.
                  +
                  Parameters:
                  field - the field to use
                  target - the object to call on, may be null for static fields
                  forceAccess - whether to break scope restrictions using the + setAccessible method.
                  +
                  Returns:
                  the field value
                  +
                  Throws:
                  +
                  java.lang.IllegalArgumentException - if the field is null
                  +
                  java.lang.IllegalAccessException - if the field is not made accessible
                  +
                • +
                + + + +
                  +
                • +

                  readField

                  +
                  public static java.lang.Object readField(java.lang.Object target,
                  +                         java.lang.String fieldName)
                  +                                  throws java.lang.IllegalAccessException
                  +
                  Read the named public field. Superclasses will be considered.
                  +
                  Parameters:
                  target - the object to reflect, must not be null
                  fieldName - the field name to obtain
                  +
                  Returns:
                  the value of the field
                  +
                  Throws:
                  +
                  java.lang.IllegalArgumentException - if the class or field name is null
                  +
                  java.lang.IllegalAccessException - if the named field is not public
                  +
                • +
                + + + +
                  +
                • +

                  readField

                  +
                  public static java.lang.Object readField(java.lang.Object target,
                  +                         java.lang.String fieldName,
                  +                         boolean forceAccess)
                  +                                  throws java.lang.IllegalAccessException
                  +
                  Read the named field. Superclasses will be considered.
                  +
                  Parameters:
                  target - the object to reflect, must not be null
                  fieldName - the field name to obtain
                  forceAccess - whether to break scope restrictions using the + setAccessible method. False will + only match public fields.
                  +
                  Returns:
                  the field value
                  +
                  Throws:
                  +
                  java.lang.IllegalArgumentException - if the class or field name is null
                  +
                  java.lang.IllegalAccessException - if the named field is not made accessible
                  +
                • +
                + + + +
                  +
                • +

                  writeStaticField

                  +
                  public static void writeStaticField(java.lang.reflect.Field field,
                  +                    java.lang.Object value)
                  +                             throws java.lang.IllegalAccessException
                  +
                  Write a public static Field.
                  +
                  Parameters:
                  field - to write
                  value - to set
                  +
                  Throws:
                  +
                  java.lang.IllegalArgumentException - if the field is null or not static
                  +
                  java.lang.IllegalAccessException - if the field is not public or is final
                  +
                • +
                + + + +
                  +
                • +

                  writeStaticField

                  +
                  public static void writeStaticField(java.lang.reflect.Field field,
                  +                    java.lang.Object value,
                  +                    boolean forceAccess)
                  +                             throws java.lang.IllegalAccessException
                  +
                  Write a static Field.
                  +
                  Parameters:
                  field - to write
                  value - to set
                  forceAccess - whether to break scope restrictions using the + setAccessible method. False will + only match public fields.
                  +
                  Throws:
                  +
                  java.lang.IllegalArgumentException - if the field is null or not static
                  +
                  java.lang.IllegalAccessException - if the field is not made accessible or is + final
                  +
                • +
                + + + +
                  +
                • +

                  writeStaticField

                  +
                  public static void writeStaticField(java.lang.Class cls,
                  +                    java.lang.String fieldName,
                  +                    java.lang.Object value)
                  +                             throws java.lang.IllegalAccessException
                  +
                  Write a named public static Field. Superclasses will be considered.
                  +
                  Parameters:
                  cls - Class on which the Field is to be found
                  fieldName - to write
                  value - to set
                  +
                  Throws:
                  +
                  java.lang.IllegalArgumentException - if the field cannot be located or is not + static
                  +
                  java.lang.IllegalAccessException - if the field is not public or is final
                  +
                • +
                + + + +
                  +
                • +

                  writeStaticField

                  +
                  public static void writeStaticField(java.lang.Class cls,
                  +                    java.lang.String fieldName,
                  +                    java.lang.Object value,
                  +                    boolean forceAccess)
                  +                             throws java.lang.IllegalAccessException
                  +
                  Write a named static Field. Superclasses will be considered.
                  +
                  Parameters:
                  cls - Class on which the Field is to be found
                  fieldName - to write
                  value - to set
                  forceAccess - whether to break scope restrictions using the + setAccessible method. False will + only match public fields.
                  +
                  Throws:
                  +
                  java.lang.IllegalArgumentException - if the field cannot be located or is not + static
                  +
                  java.lang.IllegalAccessException - if the field is not made accessible or is + final
                  +
                • +
                + + + +
                  +
                • +

                  writeField

                  +
                  public static void writeField(java.lang.reflect.Field field,
                  +              java.lang.Object target,
                  +              java.lang.Object value)
                  +                       throws java.lang.IllegalAccessException
                  +
                  Write an accessible field.
                  +
                  Parameters:
                  field - to write
                  target - the object to call on, may be null for static fields
                  value - to set
                  +
                  Throws:
                  +
                  java.lang.IllegalArgumentException - if the field is null
                  +
                  java.lang.IllegalAccessException - if the field is not accessible or is final
                  +
                • +
                + + + +
                  +
                • +

                  writeField

                  +
                  public static void writeField(java.lang.reflect.Field field,
                  +              java.lang.Object target,
                  +              java.lang.Object value,
                  +              boolean forceAccess)
                  +                       throws java.lang.IllegalAccessException
                  +
                  Write a field.
                  +
                  Parameters:
                  field - to write
                  target - the object to call on, may be null for static fields
                  value - to set
                  forceAccess - whether to break scope restrictions using the + setAccessible method. False will + only match public fields.
                  +
                  Throws:
                  +
                  java.lang.IllegalArgumentException - if the field is null
                  +
                  java.lang.IllegalAccessException - if the field is not made accessible or is + final
                  +
                • +
                + + + +
                  +
                • +

                  writeField

                  +
                  public static void writeField(java.lang.Object target,
                  +              java.lang.String fieldName,
                  +              java.lang.Object value)
                  +                       throws java.lang.IllegalAccessException
                  +
                  Write a public field. Superclasses will be considered.
                  +
                  Parameters:
                  target - the object to reflect, must not be null
                  fieldName - the field name to obtain
                  value - to set
                  +
                  Throws:
                  +
                  java.lang.IllegalArgumentException - if target or + fieldName is null
                  +
                  java.lang.IllegalAccessException - if the field is not accessible
                  +
                • +
                + + + +
                  +
                • +

                  writeField

                  +
                  public static void writeField(java.lang.Object target,
                  +              java.lang.String fieldName,
                  +              java.lang.Object value,
                  +              boolean forceAccess)
                  +                       throws java.lang.IllegalAccessException
                  +
                  Write a field. Superclasses will be considered.
                  +
                  Parameters:
                  target - the object to reflect, must not be null
                  fieldName - the field name to obtain
                  value - to set
                  forceAccess - whether to break scope restrictions using the + setAccessible method. False will + only match public fields.
                  +
                  Throws:
                  +
                  java.lang.IllegalArgumentException - if target or + fieldName is null
                  +
                  java.lang.IllegalAccessException - if the field is not made accessible
                  +
                • +
                +
              • +
              +
            • +
            +
            +
            + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/FuzzyReflection.html b/Javadoc/com/comphenix/protocol/reflect/FuzzyReflection.html index 7a078292..e7825743 100644 --- a/Javadoc/com/comphenix/protocol/reflect/FuzzyReflection.html +++ b/Javadoc/com/comphenix/protocol/reflect/FuzzyReflection.html @@ -1,657 +1,670 @@ - - - - - -FuzzyReflection - - - - - - - - - - - -
            -
            com.comphenix.protocol.reflect
            -

            Class FuzzyReflection

            -
            -
            -
              -
            • java.lang.Object
            • -
            • -
                -
              • com.comphenix.protocol.reflect.FuzzyReflection
              • -
              -
            • -
            -
            -
              -
            • -
              -
              -
              public class FuzzyReflection
              -extends java.lang.Object
              -
              Retrieves fields and methods by signature, not just name.
              -
              Author:
              -
              Kristian
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Field Summary

                - - - - - - - - - - -
                Fields 
                Modifier and TypeField and Description
                static java.lang.StringMINECRAFT_OBJECT -
                Matches a Minecraft object.
                -
                -
              • -
              - -
                -
              • - - -

                Constructor Summary

                - - - - - - - - -
                Constructors 
                Constructor and Description
                FuzzyReflection(java.lang.Class<?> source, - boolean forceAccess) 
                -
              • -
              - -
                -
              • - - -

                Method Summary

                - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                Methods 
                Modifier and TypeMethod and Description
                static FuzzyReflectionfromClass(java.lang.Class<?> source) -
                Retrieves a fuzzy reflection instance from a given class.
                -
                static FuzzyReflectionfromClass(java.lang.Class<?> source, - boolean forceAccess) -
                Retrieves a fuzzy reflection instance from a given class.
                -
                static FuzzyReflectionfromObject(java.lang.Object reference) -
                Retrieves a fuzzy reflection instance from an object.
                -
                static FuzzyReflectionfromObject(java.lang.Object reference, - boolean forceAccess) -
                Retrieves a fuzzy reflection instance from an object.
                -
                java.lang.reflect.FieldgetFieldByName(java.lang.String nameRegex) -
                Retrieves a field by name.
                -
                java.lang.reflect.FieldgetFieldByType(java.lang.String typeRegex) -
                Retrieves a field by type.
                -
                java.lang.reflect.FieldgetFieldByType(java.lang.String name, - java.lang.Class<?> type) -
                Retrieves the first field with a type equal to or more specific to the given type.
                -
                java.lang.reflect.FieldgetFieldByType(java.lang.String typeRegex, - java.util.Set<java.lang.Class> ignored) -
                Retrieves a field by type.
                -
                java.util.List<java.lang.reflect.Field>getFieldListByType(java.lang.Class<?> type) -
                Retrieves every field with a type equal to or more specific to the given type.
                -
                java.util.Set<java.lang.reflect.Field>getFields() -
                Retrieves all private and public fields in declared order (after JDK 1.5).
                -
                java.lang.reflect.MethodgetMethodByName(java.lang.String nameRegex) -
                Retrieves a method by looking at its name.
                -
                java.lang.reflect.MethodgetMethodByParameters(java.lang.String name, - java.lang.Class<?>... args) -
                Retrieves a method by looking at the parameter types only.
                -
                java.lang.reflect.MethodgetMethodByParameters(java.lang.String name, - java.lang.Class<?> returnType, - java.lang.Class<?>[] args) -
                Retrieves a method by looking at the parameter types and return type only.
                -
                java.lang.reflect.MethodgetMethodByParameters(java.lang.String name, - java.lang.String returnTypeRegex, - java.lang.String[] argsRegex) -
                Retrieves a method by looking at the parameter types and return type only.
                -
                java.util.List<java.lang.reflect.Method>getMethodListByParameters(java.lang.Class<?> returnType, - java.lang.Class<?>[] args) -
                Retrieves every method that has the given parameter types and return type.
                -
                java.util.Set<java.lang.reflect.Method>getMethods() -
                Retrieves all private and public methods in declared order (after JDK 1.5).
                -
                java.lang.Class<?>getSource() -
                Retrieves the underlying class.
                -
                booleanisForceAccess() -
                Retrieves whether or not not to override any scope restrictions.
                -
                voidsetForceAccess(boolean forceAccess) -
                Sets whether or not not to override any scope restrictions.
                -
                -
                  -
                • - - -

                  Methods inherited from class java.lang.Object

                  -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
                • -
                -
              • -
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Field Detail

                - - - -
                  -
                • -

                  MINECRAFT_OBJECT

                  -
                  public static java.lang.String MINECRAFT_OBJECT
                  -
                  Matches a Minecraft object.
                  -
                • -
                -
              • -
              - -
                -
              • - - -

                Constructor Detail

                - - - -
                  -
                • -

                  FuzzyReflection

                  -
                  public FuzzyReflection(java.lang.Class<?> source,
                  -               boolean forceAccess)
                  -
                • -
                -
              • -
              - -
                -
              • - - -

                Method Detail

                - - - -
                  -
                • -

                  fromClass

                  -
                  public static FuzzyReflection fromClass(java.lang.Class<?> source)
                  -
                  Retrieves a fuzzy reflection instance from a given class.
                  -
                  Parameters:
                  source - - the class we'll use.
                  -
                  Returns:
                  A fuzzy reflection instance.
                  -
                • -
                - - - -
                  -
                • -

                  fromClass

                  -
                  public static FuzzyReflection fromClass(java.lang.Class<?> source,
                  -                        boolean forceAccess)
                  -
                  Retrieves a fuzzy reflection instance from a given class.
                  -
                  Parameters:
                  source - - the class we'll use.
                  forceAccess - - whether or not to override scope restrictions.
                  -
                  Returns:
                  A fuzzy reflection instance.
                  -
                • -
                - - - -
                  -
                • -

                  fromObject

                  -
                  public static FuzzyReflection fromObject(java.lang.Object reference)
                  -
                  Retrieves a fuzzy reflection instance from an object.
                  -
                  Parameters:
                  reference - - the object we'll use.
                  -
                  Returns:
                  A fuzzy reflection instance that uses the class of the given object.
                  -
                • -
                - - - -
                  -
                • -

                  fromObject

                  -
                  public static FuzzyReflection fromObject(java.lang.Object reference,
                  -                         boolean forceAccess)
                  -
                  Retrieves a fuzzy reflection instance from an object.
                  -
                  Parameters:
                  reference - - the object we'll use.
                  forceAccess - - whether or not to override scope restrictions.
                  -
                  Returns:
                  A fuzzy reflection instance that uses the class of the given object.
                  -
                • -
                - - - -
                  -
                • -

                  getSource

                  -
                  public java.lang.Class<?> getSource()
                  -
                  Retrieves the underlying class.
                  -
                • -
                - - - -
                  -
                • -

                  getMethodByName

                  -
                  public java.lang.reflect.Method getMethodByName(java.lang.String nameRegex)
                  -
                  Retrieves a method by looking at its name.
                  -
                  Parameters:
                  nameRegex - - regular expression that will match method names.
                  -
                  Returns:
                  The first method that satisfies the regular expression.
                  -
                  Throws:
                  -
                  java.lang.RuntimeException - If the method cannot be found.
                  -
                • -
                - - - -
                  -
                • -

                  getMethodByParameters

                  -
                  public java.lang.reflect.Method getMethodByParameters(java.lang.String name,
                  -                                             java.lang.Class<?>... args)
                  -
                  Retrieves a method by looking at the parameter types only.
                  -
                  Parameters:
                  name - - potential name of the method. Only used by the error mechanism.
                  args - - parameter types of the method to find.
                  -
                  Returns:
                  The first method that satisfies the parameter types.
                  -
                • -
                - - - -
                  -
                • -

                  getMethodByParameters

                  -
                  public java.lang.reflect.Method getMethodByParameters(java.lang.String name,
                  -                                             java.lang.Class<?> returnType,
                  -                                             java.lang.Class<?>[] args)
                  -
                  Retrieves a method by looking at the parameter types and return type only.
                  -
                  Parameters:
                  name - - potential name of the method. Only used by the error mechanism.
                  returnType - - return type of the method to find.
                  args - - parameter types of the method to find.
                  -
                  Returns:
                  The first method that satisfies the parameter types.
                  -
                • -
                - - - -
                  -
                • -

                  getMethodByParameters

                  -
                  public java.lang.reflect.Method getMethodByParameters(java.lang.String name,
                  -                                             java.lang.String returnTypeRegex,
                  -                                             java.lang.String[] argsRegex)
                  -
                  Retrieves a method by looking at the parameter types and return type only.
                  -
                  Parameters:
                  name - - potential name of the method. Only used by the error mechanism.
                  returnTypeRegex - - regular expression matching the return type of the method to find.
                  argsRegex - - regular expressions of the matching parameter types.
                  -
                  Returns:
                  The first method that satisfies the parameter types.
                  -
                • -
                - - - -
                  -
                • -

                  getMethodListByParameters

                  -
                  public java.util.List<java.lang.reflect.Method> getMethodListByParameters(java.lang.Class<?> returnType,
                  -                                                                 java.lang.Class<?>[] args)
                  -
                  Retrieves every method that has the given parameter types and return type.
                  -
                  Parameters:
                  returnType - - return type of the method to find.
                  args - - parameter types of the method to find.
                  -
                  Returns:
                  Every method that satisfies the given constraints.
                  -
                • -
                - - - -
                  -
                • -

                  getFieldByName

                  -
                  public java.lang.reflect.Field getFieldByName(java.lang.String nameRegex)
                  -
                  Retrieves a field by name.
                  -
                  Parameters:
                  nameRegex - - regular expression that will match a field name.
                  -
                  Returns:
                  The first field to match the given expression.
                  -
                • -
                - - - -
                  -
                • -

                  getFieldByType

                  -
                  public java.lang.reflect.Field getFieldByType(java.lang.String name,
                  -                                     java.lang.Class<?> type)
                  -
                  Retrieves the first field with a type equal to or more specific to the given type.
                  -
                  Parameters:
                  name - - name the field probably is given. This will only be used in the error message.
                  type - - type of the field to find.
                  -
                  Returns:
                  The first field with a type that is an instance of the given type.
                  -
                • -
                - - - -
                  -
                • -

                  getFieldListByType

                  -
                  public java.util.List<java.lang.reflect.Field> getFieldListByType(java.lang.Class<?> type)
                  -
                  Retrieves every field with a type equal to or more specific to the given type.
                  -
                  Parameters:
                  type - - type of the fields to find.
                  -
                  Returns:
                  Every field with a type that is an instance of the given type.
                  -
                • -
                - - - -
                  -
                • -

                  getFieldByType

                  -
                  public java.lang.reflect.Field getFieldByType(java.lang.String typeRegex)
                  -
                  Retrieves a field by type. -

                  - Note that the type is matched using the full canonical representation, i.e.: -

                    -
                  • java.util.List
                  • -
                  • net.comphenix.xp.ExperienceMod
                  • -
                  -
                  Parameters:
                  typeRegex - - regular expression that will match the field type.
                  -
                  Returns:
                  The first field with a type that matches the given regular expression.
                  -
                • -
                - - - -
                  -
                • -

                  getFieldByType

                  -
                  public java.lang.reflect.Field getFieldByType(java.lang.String typeRegex,
                  -                                     java.util.Set<java.lang.Class> ignored)
                  -
                  Retrieves a field by type. -

                  - Note that the type is matched using the full canonical representation, i.e.: -

                    -
                  • java.util.List
                  • -
                  • net.comphenix.xp.ExperienceMod
                  • -
                  -
                  Parameters:
                  typeRegex - - regular expression that will match the field type.
                  ignored - - types to ignore.
                  -
                  Returns:
                  The first field with a type that matches the given regular expression.
                  -
                • -
                - - - -
                  -
                • -

                  getFields

                  -
                  public java.util.Set<java.lang.reflect.Field> getFields()
                  -
                  Retrieves all private and public fields in declared order (after JDK 1.5).
                  -
                  Returns:
                  Every field.
                  -
                • -
                - - - -
                  -
                • -

                  getMethods

                  -
                  public java.util.Set<java.lang.reflect.Method> getMethods()
                  -
                  Retrieves all private and public methods in declared order (after JDK 1.5).
                  -
                  Returns:
                  Every method.
                  -
                • -
                - - - -
                  -
                • -

                  isForceAccess

                  -
                  public boolean isForceAccess()
                  -
                  Retrieves whether or not not to override any scope restrictions.
                  -
                  Returns:
                  TRUE if we override scope, FALSE otherwise.
                  -
                • -
                - - - -
                  -
                • -

                  setForceAccess

                  -
                  public void setForceAccess(boolean forceAccess)
                  -
                  Sets whether or not not to override any scope restrictions.
                  -
                  Parameters:
                  forceAccess - - TRUE if we override scope, FALSE otherwise.
                  -
                • -
                -
              • -
              -
            • -
            -
            -
            - - - - - - - + + + + + +FuzzyReflection + + + + + + + + + + + +
            +
            com.comphenix.protocol.reflect
            +

            Class FuzzyReflection

            +
            +
            +
              +
            • java.lang.Object
            • +
            • +
                +
              • com.comphenix.protocol.reflect.FuzzyReflection
              • +
              +
            • +
            +
            +
              +
            • +
              +
              +
              public class FuzzyReflection
              +extends java.lang.Object
              +
              Retrieves fields and methods by signature, not just name.
              +
              Author:
              +
              Kristian
              +
            • +
            +
            +
            +
              +
            • + +
                +
              • + + +

                Field Summary

                + + + + + + + + + + +
                Fields 
                Modifier and TypeField and Description
                static java.lang.StringMINECRAFT_OBJECT +
                Matches a Minecraft object.
                +
                +
              • +
              + +
                +
              • + + +

                Constructor Summary

                + + + + + + + + +
                Constructors 
                Constructor and Description
                FuzzyReflection(java.lang.Class<?> source, + boolean forceAccess) 
                +
              • +
              + +
                +
              • + + +

                Method Summary

                + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                Methods 
                Modifier and TypeMethod and Description
                static FuzzyReflectionfromClass(java.lang.Class<?> source) +
                Retrieves a fuzzy reflection instance from a given class.
                +
                static FuzzyReflectionfromClass(java.lang.Class<?> source, + boolean forceAccess) +
                Retrieves a fuzzy reflection instance from a given class.
                +
                static FuzzyReflectionfromObject(java.lang.Object reference) +
                Retrieves a fuzzy reflection instance from an object.
                +
                static FuzzyReflectionfromObject(java.lang.Object reference, + boolean forceAccess) +
                Retrieves a fuzzy reflection instance from an object.
                +
                java.lang.reflect.FieldgetFieldByName(java.lang.String nameRegex) +
                Retrieves a field by name.
                +
                java.lang.reflect.FieldgetFieldByType(java.lang.String typeRegex) +
                Retrieves a field by type.
                +
                java.lang.reflect.FieldgetFieldByType(java.lang.String name, + java.lang.Class<?> type) +
                Retrieves the first field with a type equal to or more specific to the given type.
                +
                java.lang.reflect.FieldgetFieldByType(java.lang.String typeRegex, + java.util.Set<java.lang.Class> ignored) +
                Retrieves a field by type.
                +
                java.util.List<java.lang.reflect.Field>getFieldListByType(java.lang.Class<?> type) +
                Retrieves every field with a type equal to or more specific to the given type.
                +
                java.util.Set<java.lang.reflect.Field>getFields() +
                Retrieves all private and public fields in declared order (after JDK 1.5).
                +
                java.lang.reflect.MethodgetMethodByName(java.lang.String nameRegex) +
                Retrieves a method by looking at its name.
                +
                java.lang.reflect.MethodgetMethodByParameters(java.lang.String name, + java.lang.Class<?>... args) +
                Retrieves a method by looking at the parameter types only.
                +
                java.lang.reflect.MethodgetMethodByParameters(java.lang.String name, + java.lang.Class<?> returnType, + java.lang.Class<?>[] args) +
                Retrieves a method by looking at the parameter types and return type only.
                +
                java.lang.reflect.MethodgetMethodByParameters(java.lang.String name, + java.lang.String returnTypeRegex, + java.lang.String[] argsRegex) +
                Retrieves a method by looking at the parameter types and return type only.
                +
                java.util.List<java.lang.reflect.Method>getMethodListByParameters(java.lang.Class<?> returnType, + java.lang.Class<?>[] args) +
                Retrieves every method that has the given parameter types and return type.
                +
                java.util.Set<java.lang.reflect.Method>getMethods() +
                Retrieves all private and public methods in declared order (after JDK 1.5).
                +
                java.lang.Class<?>getSource() +
                Retrieves the underlying class.
                +
                booleanisForceAccess() +
                Retrieves whether or not not to override any scope restrictions.
                +
                voidsetForceAccess(boolean forceAccess) +
                Sets whether or not not to override any scope restrictions.
                +
                +
                  +
                • + + +

                  Methods inherited from class java.lang.Object

                  +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
                • +
                +
              • +
              +
            • +
            +
            +
            +
              +
            • + +
                +
              • + + +

                Field Detail

                + + + +
                  +
                • +

                  MINECRAFT_OBJECT

                  +
                  public static final java.lang.String MINECRAFT_OBJECT
                  +
                  Matches a Minecraft object.
                  +
                  See Also:
                  Constant Field Values
                  +
                • +
                +
              • +
              + +
                +
              • + + +

                Constructor Detail

                + + + +
                  +
                • +

                  FuzzyReflection

                  +
                  public FuzzyReflection(java.lang.Class<?> source,
                  +               boolean forceAccess)
                  +
                • +
                +
              • +
              + +
                +
              • + + +

                Method Detail

                + + + +
                  +
                • +

                  fromClass

                  +
                  public static FuzzyReflection fromClass(java.lang.Class<?> source)
                  +
                  Retrieves a fuzzy reflection instance from a given class.
                  +
                  Parameters:
                  source - - the class we'll use.
                  +
                  Returns:
                  A fuzzy reflection instance.
                  +
                • +
                + + + +
                  +
                • +

                  fromClass

                  +
                  public static FuzzyReflection fromClass(java.lang.Class<?> source,
                  +                        boolean forceAccess)
                  +
                  Retrieves a fuzzy reflection instance from a given class.
                  +
                  Parameters:
                  source - - the class we'll use.
                  forceAccess - - whether or not to override scope restrictions.
                  +
                  Returns:
                  A fuzzy reflection instance.
                  +
                • +
                + + + +
                  +
                • +

                  fromObject

                  +
                  public static FuzzyReflection fromObject(java.lang.Object reference)
                  +
                  Retrieves a fuzzy reflection instance from an object.
                  +
                  Parameters:
                  reference - - the object we'll use.
                  +
                  Returns:
                  A fuzzy reflection instance that uses the class of the given object.
                  +
                • +
                + + + +
                  +
                • +

                  fromObject

                  +
                  public static FuzzyReflection fromObject(java.lang.Object reference,
                  +                         boolean forceAccess)
                  +
                  Retrieves a fuzzy reflection instance from an object.
                  +
                  Parameters:
                  reference - - the object we'll use.
                  forceAccess - - whether or not to override scope restrictions.
                  +
                  Returns:
                  A fuzzy reflection instance that uses the class of the given object.
                  +
                • +
                + + + +
                  +
                • +

                  getSource

                  +
                  public java.lang.Class<?> getSource()
                  +
                  Retrieves the underlying class.
                  +
                • +
                + + + +
                  +
                • +

                  getMethodByName

                  +
                  public java.lang.reflect.Method getMethodByName(java.lang.String nameRegex)
                  +
                  Retrieves a method by looking at its name.
                  +
                  Parameters:
                  nameRegex - - regular expression that will match method names.
                  +
                  Returns:
                  The first method that satisfies the regular expression.
                  +
                  Throws:
                  +
                  java.lang.IllegalArgumentException - If the method cannot be found.
                  +
                • +
                + + + +
                  +
                • +

                  getMethodByParameters

                  +
                  public java.lang.reflect.Method getMethodByParameters(java.lang.String name,
                  +                                             java.lang.Class<?>... args)
                  +
                  Retrieves a method by looking at the parameter types only.
                  +
                  Parameters:
                  name - - potential name of the method. Only used by the error mechanism.
                  args - - parameter types of the method to find.
                  +
                  Returns:
                  The first method that satisfies the parameter types.
                  +
                  Throws:
                  +
                  java.lang.IllegalArgumentException - If the method cannot be found.
                  +
                • +
                + + + +
                  +
                • +

                  getMethodByParameters

                  +
                  public java.lang.reflect.Method getMethodByParameters(java.lang.String name,
                  +                                             java.lang.Class<?> returnType,
                  +                                             java.lang.Class<?>[] args)
                  +
                  Retrieves a method by looking at the parameter types and return type only.
                  +
                  Parameters:
                  name - - potential name of the method. Only used by the error mechanism.
                  returnType - - return type of the method to find.
                  args - - parameter types of the method to find.
                  +
                  Returns:
                  The first method that satisfies the parameter types.
                  +
                  Throws:
                  +
                  java.lang.IllegalArgumentException - If the method cannot be found.
                  +
                • +
                + + + +
                  +
                • +

                  getMethodByParameters

                  +
                  public java.lang.reflect.Method getMethodByParameters(java.lang.String name,
                  +                                             java.lang.String returnTypeRegex,
                  +                                             java.lang.String[] argsRegex)
                  +
                  Retrieves a method by looking at the parameter types and return type only.
                  +
                  Parameters:
                  name - - potential name of the method. Only used by the error mechanism.
                  returnTypeRegex - - regular expression matching the return type of the method to find.
                  argsRegex - - regular expressions of the matching parameter types.
                  +
                  Returns:
                  The first method that satisfies the parameter types.
                  +
                  Throws:
                  +
                  java.lang.IllegalArgumentException - If the method cannot be found.
                  +
                • +
                + + + +
                  +
                • +

                  getMethodListByParameters

                  +
                  public java.util.List<java.lang.reflect.Method> getMethodListByParameters(java.lang.Class<?> returnType,
                  +                                                                 java.lang.Class<?>[] args)
                  +
                  Retrieves every method that has the given parameter types and return type.
                  +
                  Parameters:
                  returnType - - return type of the method to find.
                  args - - parameter types of the method to find.
                  +
                  Returns:
                  Every method that satisfies the given constraints.
                  +
                • +
                + + + +
                  +
                • +

                  getFieldByName

                  +
                  public java.lang.reflect.Field getFieldByName(java.lang.String nameRegex)
                  +
                  Retrieves a field by name.
                  +
                  Parameters:
                  nameRegex - - regular expression that will match a field name.
                  +
                  Returns:
                  The first field to match the given expression.
                  +
                  Throws:
                  +
                  java.lang.IllegalArgumentException - If the field cannot be found.
                  +
                • +
                + + + +
                  +
                • +

                  getFieldByType

                  +
                  public java.lang.reflect.Field getFieldByType(java.lang.String name,
                  +                                     java.lang.Class<?> type)
                  +
                  Retrieves the first field with a type equal to or more specific to the given type.
                  +
                  Parameters:
                  name - - name the field probably is given. This will only be used in the error message.
                  type - - type of the field to find.
                  +
                  Returns:
                  The first field with a type that is an instance of the given type.
                  +
                • +
                + + + +
                  +
                • +

                  getFieldListByType

                  +
                  public java.util.List<java.lang.reflect.Field> getFieldListByType(java.lang.Class<?> type)
                  +
                  Retrieves every field with a type equal to or more specific to the given type.
                  +
                  Parameters:
                  type - - type of the fields to find.
                  +
                  Returns:
                  Every field with a type that is an instance of the given type.
                  +
                • +
                + + + +
                  +
                • +

                  getFieldByType

                  +
                  public java.lang.reflect.Field getFieldByType(java.lang.String typeRegex)
                  +
                  Retrieves a field by type. +

                  + Note that the type is matched using the full canonical representation, i.e.: +

                    +
                  • java.util.List
                  • +
                  • net.comphenix.xp.ExperienceMod
                  • +
                  +
                  Parameters:
                  typeRegex - - regular expression that will match the field type.
                  +
                  Returns:
                  The first field with a type that matches the given regular expression.
                  +
                  Throws:
                  +
                  java.lang.IllegalArgumentException - If the field cannot be found.
                  +
                • +
                + + + +
                  +
                • +

                  getFieldByType

                  +
                  public java.lang.reflect.Field getFieldByType(java.lang.String typeRegex,
                  +                                     java.util.Set<java.lang.Class> ignored)
                  +
                  Retrieves a field by type. +

                  + Note that the type is matched using the full canonical representation, i.e.: +

                    +
                  • java.util.List
                  • +
                  • net.comphenix.xp.ExperienceMod
                  • +
                  +
                  Parameters:
                  typeRegex - - regular expression that will match the field type.
                  ignored - - types to ignore.
                  +
                  Returns:
                  The first field with a type that matches the given regular expression.
                  +
                  Throws:
                  +
                  java.lang.IllegalArgumentException - If the field cannot be found.
                  +
                • +
                + + + +
                  +
                • +

                  getFields

                  +
                  public java.util.Set<java.lang.reflect.Field> getFields()
                  +
                  Retrieves all private and public fields in declared order (after JDK 1.5).
                  +
                  Returns:
                  Every field.
                  +
                • +
                + + + +
                  +
                • +

                  getMethods

                  +
                  public java.util.Set<java.lang.reflect.Method> getMethods()
                  +
                  Retrieves all private and public methods in declared order (after JDK 1.5).
                  +
                  Returns:
                  Every method.
                  +
                • +
                + + + +
                  +
                • +

                  isForceAccess

                  +
                  public boolean isForceAccess()
                  +
                  Retrieves whether or not not to override any scope restrictions.
                  +
                  Returns:
                  TRUE if we override scope, FALSE otherwise.
                  +
                • +
                + + + +
                  +
                • +

                  setForceAccess

                  +
                  public void setForceAccess(boolean forceAccess)
                  +
                  Sets whether or not not to override any scope restrictions.
                  +
                  Parameters:
                  forceAccess - - TRUE if we override scope, FALSE otherwise.
                  +
                • +
                +
              • +
              +
            • +
            +
            +
            + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/IntEnum.html b/Javadoc/com/comphenix/protocol/reflect/IntEnum.html index d4d8ed16..c15a2fa8 100644 --- a/Javadoc/com/comphenix/protocol/reflect/IntEnum.html +++ b/Javadoc/com/comphenix/protocol/reflect/IntEnum.html @@ -1,395 +1,395 @@ - - - - - -IntEnum - - - - - - - - - - - -
            -
            com.comphenix.protocol.reflect
            -

            Class IntEnum

            -
            -
            -
              -
            • java.lang.Object
            • -
            • -
                -
              • com.comphenix.protocol.reflect.IntEnum
              • -
              -
            • -
            -
            -
              -
            • -
              -
              Direct Known Subclasses:
              -
              Packets.Client, Packets.Server
              -
              -
              -
              -
              public class IntEnum
              -extends java.lang.Object
              -
              Represents a traditional int field enum.
              -
              Author:
              -
              Kristian
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Field Summary

                - - - - - - - - - - -
                Fields 
                Modifier and TypeField and Description
                protected com.google.common.collect.BiMap<java.lang.Integer,java.lang.String>members 
                -
              • -
              - -
                -
              • - - -

                Constructor Summary

                - - - - - - - - -
                Constructors 
                Constructor and Description
                IntEnum() -
                Registers every declared integer field.
                -
                -
              • -
              - -
                -
              • - - -

                Method Summary

                - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                Methods 
                Modifier and TypeMethod and Description
                java.lang.StringgetDeclaredName(java.lang.Integer id) -
                Retrieve the name of the member with the given id.
                -
                booleanhasMember(int id) -
                Determines whether or not the given member exists.
                -
                protected voidregisterAll() -
                Registers every public int field as a member.
                -
                protected voidregisterMember(int id, - java.lang.String name) -
                Registers a member.
                -
                java.lang.IntegervalueOf(java.lang.String name) -
                Retrieve the ID of the member with the given name.
                -
                java.util.Set<java.lang.Integer>values() -
                Retrieve the ID of every registered member.
                -
                -
                  -
                • - - -

                  Methods inherited from class java.lang.Object

                  -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
                • -
                -
              • -
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Field Detail

                - - - -
                  -
                • -

                  members

                  -
                  protected com.google.common.collect.BiMap<java.lang.Integer,java.lang.String> members
                  -
                • -
                -
              • -
              - -
                -
              • - - -

                Constructor Detail

                - - - -
                  -
                • -

                  IntEnum

                  -
                  public IntEnum()
                  -
                  Registers every declared integer field.
                  -
                • -
                -
              • -
              - -
                -
              • - - -

                Method Detail

                - - - -
                  -
                • -

                  registerAll

                  -
                  protected void registerAll()
                  -
                  Registers every public int field as a member.
                  -
                • -
                - - - -
                  -
                • -

                  registerMember

                  -
                  protected void registerMember(int id,
                  -                  java.lang.String name)
                  -
                  Registers a member.
                  -
                  Parameters:
                  id - - id of member.
                  name - - name of member.
                  -
                • -
                - - - -
                  -
                • -

                  hasMember

                  -
                  public boolean hasMember(int id)
                  -
                  Determines whether or not the given member exists.
                  -
                  Parameters:
                  id - - the ID of the member to find.
                  -
                  Returns:
                  TRUE if a member with the given ID exists, FALSE otherwise.
                  -
                • -
                - - - -
                  -
                • -

                  valueOf

                  -
                  public java.lang.Integer valueOf(java.lang.String name)
                  -
                  Retrieve the ID of the member with the given name.
                  -
                  Parameters:
                  name - - name of member to retrieve.
                  -
                  Returns:
                  ID of the member, or NULL if not found.
                  -
                • -
                - - - -
                  -
                • -

                  getDeclaredName

                  -
                  public java.lang.String getDeclaredName(java.lang.Integer id)
                  -
                  Retrieve the name of the member with the given id.
                  -
                  Parameters:
                  id - - id of the member to retrieve.
                  -
                  Returns:
                  Declared name of the member, or NULL if not found.
                  -
                • -
                - - - -
                  -
                • -

                  values

                  -
                  public java.util.Set<java.lang.Integer> values()
                  -
                  Retrieve the ID of every registered member.
                  -
                  Returns:
                  Enumeration of every value.
                  -
                • -
                -
              • -
              -
            • -
            -
            -
            - - - - - - - + + + + + +IntEnum + + + + + + + + + + + +
            +
            com.comphenix.protocol.reflect
            +

            Class IntEnum

            +
            +
            +
              +
            • java.lang.Object
            • +
            • +
                +
              • com.comphenix.protocol.reflect.IntEnum
              • +
              +
            • +
            +
            +
              +
            • +
              +
              Direct Known Subclasses:
              +
              Packets.Client, Packets.Server
              +
              +
              +
              +
              public class IntEnum
              +extends java.lang.Object
              +
              Represents a traditional int field enum.
              +
              Author:
              +
              Kristian
              +
            • +
            +
            +
            +
              +
            • + +
                +
              • + + +

                Field Summary

                + + + + + + + + + + +
                Fields 
                Modifier and TypeField and Description
                protected com.google.common.collect.BiMap<java.lang.Integer,java.lang.String>members 
                +
              • +
              + +
                +
              • + + +

                Constructor Summary

                + + + + + + + + +
                Constructors 
                Constructor and Description
                IntEnum() +
                Registers every declared integer field.
                +
                +
              • +
              + +
                +
              • + + +

                Method Summary

                + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                Methods 
                Modifier and TypeMethod and Description
                java.lang.StringgetDeclaredName(java.lang.Integer id) +
                Retrieve the name of the member with the given id.
                +
                booleanhasMember(int id) +
                Determines whether or not the given member exists.
                +
                protected voidregisterAll() +
                Registers every public int field as a member.
                +
                protected voidregisterMember(int id, + java.lang.String name) +
                Registers a member.
                +
                java.lang.IntegervalueOf(java.lang.String name) +
                Retrieve the ID of the member with the given name.
                +
                java.util.Set<java.lang.Integer>values() +
                Retrieve the ID of every registered member.
                +
                +
                  +
                • + + +

                  Methods inherited from class java.lang.Object

                  +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
                • +
                +
              • +
              +
            • +
            +
            +
            +
              +
            • + +
                +
              • + + +

                Field Detail

                + + + +
                  +
                • +

                  members

                  +
                  protected com.google.common.collect.BiMap<java.lang.Integer,java.lang.String> members
                  +
                • +
                +
              • +
              + +
                +
              • + + +

                Constructor Detail

                + + + +
                  +
                • +

                  IntEnum

                  +
                  public IntEnum()
                  +
                  Registers every declared integer field.
                  +
                • +
                +
              • +
              + +
                +
              • + + +

                Method Detail

                + + + +
                  +
                • +

                  registerAll

                  +
                  protected void registerAll()
                  +
                  Registers every public int field as a member.
                  +
                • +
                + + + +
                  +
                • +

                  registerMember

                  +
                  protected void registerMember(int id,
                  +                  java.lang.String name)
                  +
                  Registers a member.
                  +
                  Parameters:
                  id - - id of member.
                  name - - name of member.
                  +
                • +
                + + + +
                  +
                • +

                  hasMember

                  +
                  public boolean hasMember(int id)
                  +
                  Determines whether or not the given member exists.
                  +
                  Parameters:
                  id - - the ID of the member to find.
                  +
                  Returns:
                  TRUE if a member with the given ID exists, FALSE otherwise.
                  +
                • +
                + + + +
                  +
                • +

                  valueOf

                  +
                  public java.lang.Integer valueOf(java.lang.String name)
                  +
                  Retrieve the ID of the member with the given name.
                  +
                  Parameters:
                  name - - name of member to retrieve.
                  +
                  Returns:
                  ID of the member, or NULL if not found.
                  +
                • +
                + + + +
                  +
                • +

                  getDeclaredName

                  +
                  public java.lang.String getDeclaredName(java.lang.Integer id)
                  +
                  Retrieve the name of the member with the given id.
                  +
                  Parameters:
                  id - - id of the member to retrieve.
                  +
                  Returns:
                  Declared name of the member, or NULL if not found.
                  +
                • +
                + + + +
                  +
                • +

                  values

                  +
                  public java.util.Set<java.lang.Integer> values()
                  +
                  Retrieve the ID of every registered member.
                  +
                  Returns:
                  Enumeration of every value.
                  +
                • +
                +
              • +
              +
            • +
            +
            +
            + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/MethodUtils.html b/Javadoc/com/comphenix/protocol/reflect/MethodUtils.html index 50868ef4..86dbab16 100644 --- a/Javadoc/com/comphenix/protocol/reflect/MethodUtils.html +++ b/Javadoc/com/comphenix/protocol/reflect/MethodUtils.html @@ -1,980 +1,980 @@ - - - - - -MethodUtils - - - - - - - - - - - -
            -
            com.comphenix.protocol.reflect
            -

            Class MethodUtils

            -
            -
            -
              -
            • java.lang.Object
            • -
            • -
                -
              • com.comphenix.protocol.reflect.MethodUtils
              • -
              -
            • -
            -
            -
              -
            • -
              -
              -
              public class MethodUtils
              -extends java.lang.Object
              -

              Utility reflection methods focussed on methods in general rather than properties in particular.

              - -

              Known Limitations

              -

              Accessing Public Methods In A Default Access Superclass

              -

              There is an issue when invoking public methods contained in a default access superclass. - Reflection locates these methods fine and correctly assigns them as public. - However, an IllegalAccessException is thrown if the method is invoked.

              - -

              MethodUtils contains a workaround for this situation. - It will attempt to call setAccessible on this method. - If this call succeeds, then the method can be invoked as normal. - This call will only succeed when the application has sufficient security privilages. - If this call fails then a warning will be logged and the method may fail.

              -
              Author:
              -
              Craig R. McClanahan, Ralph Schaer, Chris Audley, Rey François, Gregor Raýman, Jan Sorensen, Robert Burrell Donkin
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Constructor Summary

                - - - - - - - - -
                Constructors 
                Constructor and Description
                MethodUtils() 
                -
              • -
              - -
                -
              • - - -

                Method Summary

                - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                Methods 
                Modifier and TypeMethod and Description
                static intclearCache() -
                Clear the method cache.
                -
                static java.lang.reflect.MethodgetAccessibleMethod(java.lang.Class clazz, - java.lang.reflect.Method method) -
                Return an accessible method (that is, one that can be invoked via - reflection) that implements the specified Method.
                -
                static java.lang.reflect.MethodgetAccessibleMethod(java.lang.Class clazz, - java.lang.String methodName, - java.lang.Class[] parameterTypes) -
                Return an accessible method (that is, one that can be invoked via - reflection) with given name and parameters.
                -
                static java.lang.reflect.MethodgetAccessibleMethod(java.lang.reflect.Method method) -
                Return an accessible method (that is, one that can be invoked via - reflection) that implements the specified Method.
                -
                static java.lang.reflect.MethodgetMatchingAccessibleMethod(java.lang.Class clazz, - java.lang.String methodName, - java.lang.Class[] parameterTypes) -
                Find an accessible method that matches the given name and has compatible parameters.
                -
                static java.lang.ClassgetPrimitiveType(java.lang.Class wrapperType) -
                Gets the class for the primitive type corresponding to the primitive wrapper class given.
                -
                static java.lang.ClassgetPrimitiveWrapper(java.lang.Class primitiveType) -
                Gets the wrapper object class for the given primitive type class.
                -
                static java.lang.ObjectinvokeExactMethod(java.lang.Object object, - java.lang.String methodName, - java.lang.Object arg) -
                Invoke a method whose parameter type matches exactly the object - type.
                -
                static java.lang.ObjectinvokeExactMethod(java.lang.Object object, - java.lang.String methodName, - java.lang.Object[] args) -
                Invoke a method whose parameter types match exactly the object - types.
                -
                static java.lang.ObjectinvokeExactMethod(java.lang.Object object, - java.lang.String methodName, - java.lang.Object[] args, - java.lang.Class[] parameterTypes) -
                Invoke a method whose parameter types match exactly the parameter - types given.
                -
                static java.lang.ObjectinvokeExactStaticMethod(java.lang.Class objectClass, - java.lang.String methodName, - java.lang.Object arg) -
                Invoke a static method whose parameter type matches exactly the object - type.
                -
                static java.lang.ObjectinvokeExactStaticMethod(java.lang.Class objectClass, - java.lang.String methodName, - java.lang.Object[] args) -
                Invoke a static method whose parameter types match exactly the object - types.
                -
                static java.lang.ObjectinvokeExactStaticMethod(java.lang.Class objectClass, - java.lang.String methodName, - java.lang.Object[] args, - java.lang.Class[] parameterTypes) -
                Invoke a static method whose parameter types match exactly the parameter - types given.
                -
                static java.lang.ObjectinvokeMethod(java.lang.Object object, - java.lang.String methodName, - java.lang.Object arg) -
                Invoke a named method whose parameter type matches the object type.
                -
                static java.lang.ObjectinvokeMethod(java.lang.Object object, - java.lang.String methodName, - java.lang.Object[] args) -
                Invoke a named method whose parameter type matches the object type.
                -
                static java.lang.ObjectinvokeMethod(java.lang.Object object, - java.lang.String methodName, - java.lang.Object[] args, - java.lang.Class[] parameterTypes) -
                Invoke a named method whose parameter type matches the object type.
                -
                static java.lang.ObjectinvokeStaticMethod(java.lang.Class objectClass, - java.lang.String methodName, - java.lang.Object arg) -
                Invoke a named static method whose parameter type matches the object type.
                -
                static java.lang.ObjectinvokeStaticMethod(java.lang.Class objectClass, - java.lang.String methodName, - java.lang.Object[] args) -
                Invoke a named static method whose parameter type matches the object type.
                -
                static java.lang.ObjectinvokeStaticMethod(java.lang.Class objectClass, - java.lang.String methodName, - java.lang.Object[] args, - java.lang.Class[] parameterTypes) -
                Invoke a named static method whose parameter type matches the object type.
                -
                static booleanisAssignmentCompatible(java.lang.Class parameterType, - java.lang.Class parameterization) -
                Determine whether a type can be used as a parameter in a method invocation.
                -
                static voidsetCacheMethods(boolean cacheMethods) -
                Set whether methods should be cached for greater performance or not, - default is true.
                -
                static java.lang.ClasstoNonPrimitiveClass(java.lang.Class clazz) -
                Find a non primitive representation for given primitive class.
                -
                -
                  -
                • - - -

                  Methods inherited from class java.lang.Object

                  -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
                • -
                -
              • -
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Constructor Detail

                - - - -
                  -
                • -

                  MethodUtils

                  -
                  public MethodUtils()
                  -
                • -
                -
              • -
              - -
                -
              • - - -

                Method Detail

                - - - -
                  -
                • -

                  setCacheMethods

                  -
                  public static void setCacheMethods(boolean cacheMethods)
                  -
                  Set whether methods should be cached for greater performance or not, - default is true.
                  -
                  Parameters:
                  cacheMethods - true if methods should be - cached for greater performance, otherwise false
                  Since:
                  -
                  1.8.0
                  -
                • -
                - - - -
                  -
                • -

                  clearCache

                  -
                  public static int clearCache()
                  -
                  Clear the method cache.
                  -
                  Returns:
                  the number of cached methods cleared
                  Since:
                  -
                  1.8.0
                  -
                • -
                - - - -
                  -
                • -

                  invokeMethod

                  -
                  public static java.lang.Object invokeMethod(java.lang.Object object,
                  -                            java.lang.String methodName,
                  -                            java.lang.Object arg)
                  -                                     throws java.lang.NoSuchMethodException,
                  -                                            java.lang.IllegalAccessException,
                  -                                            java.lang.reflect.InvocationTargetException
                  -

                  Invoke a named method whose parameter type matches the object type.

                  - -

                  The behaviour of this method is less deterministic - than invokeExactMethod(). - It loops through all methods with names that match - and then executes the first it finds with compatable parameters.

                  - -

                  This method supports calls to methods taking primitive parameters - via passing in wrapping classes. So, for example, a Boolean class - would match a boolean primitive.

                  - -

                  This is a convenient wrapper for - invokeMethod(Object object,String methodName,Object [] args). -

                  -
                  Parameters:
                  object - invoke method on this object
                  methodName - get method with this name
                  arg - use this argument
                  -
                  Returns:
                  The value returned by the invoked method
                  -
                  Throws:
                  -
                  java.lang.NoSuchMethodException - if there is no such accessible method
                  -
                  java.lang.reflect.InvocationTargetException - wraps an exception thrown by the - method invoked
                  -
                  java.lang.IllegalAccessException - if the requested method is not accessible - via reflection
                  -
                • -
                - - - -
                  -
                • -

                  invokeMethod

                  -
                  public static java.lang.Object invokeMethod(java.lang.Object object,
                  -                            java.lang.String methodName,
                  -                            java.lang.Object[] args)
                  -                                     throws java.lang.NoSuchMethodException,
                  -                                            java.lang.IllegalAccessException,
                  -                                            java.lang.reflect.InvocationTargetException
                  -

                  Invoke a named method whose parameter type matches the object type.

                  - -

                  The behaviour of this method is less deterministic - than invokeExactMethod(Object object,String methodName,Object [] args). - It loops through all methods with names that match - and then executes the first it finds with compatable parameters.

                  - -

                  This method supports calls to methods taking primitive parameters - via passing in wrapping classes. So, for example, a Boolean class - would match a boolean primitive.

                  - -

                  This is a convenient wrapper for - invokeMethod(Object object,String methodName,Object [] args,Class[] parameterTypes). -

                  -
                  Parameters:
                  object - invoke method on this object
                  methodName - get method with this name
                  args - use these arguments - treat null as empty array
                  -
                  Returns:
                  The value returned by the invoked method
                  -
                  Throws:
                  -
                  java.lang.NoSuchMethodException - if there is no such accessible method
                  -
                  java.lang.reflect.InvocationTargetException - wraps an exception thrown by the - method invoked
                  -
                  java.lang.IllegalAccessException - if the requested method is not accessible - via reflection
                  -
                • -
                - - - -
                  -
                • -

                  invokeMethod

                  -
                  public static java.lang.Object invokeMethod(java.lang.Object object,
                  -                            java.lang.String methodName,
                  -                            java.lang.Object[] args,
                  -                            java.lang.Class[] parameterTypes)
                  -                                     throws java.lang.NoSuchMethodException,
                  -                                            java.lang.IllegalAccessException,
                  -                                            java.lang.reflect.InvocationTargetException
                  -

                  Invoke a named method whose parameter type matches the object type.

                  - -

                  The behaviour of this method is less deterministic - than invokeExactMethod(Object object,String methodName,Object [] args,Class[] parameterTypes). - It loops through all methods with names that match - and then executes the first it finds with compatable parameters.

                  - -

                  This method supports calls to methods taking primitive parameters - via passing in wrapping classes. So, for example, a Boolean class - would match a boolean primitive.

                  -
                  Parameters:
                  object - invoke method on this object
                  methodName - get method with this name
                  args - use these arguments - treat null as empty array
                  parameterTypes - match these parameters - treat null as empty array
                  -
                  Returns:
                  The value returned by the invoked method
                  -
                  Throws:
                  -
                  java.lang.NoSuchMethodException - if there is no such accessible method
                  -
                  java.lang.reflect.InvocationTargetException - wraps an exception thrown by the - method invoked
                  -
                  java.lang.IllegalAccessException - if the requested method is not accessible - via reflection
                  -
                • -
                - - - -
                  -
                • -

                  invokeExactMethod

                  -
                  public static java.lang.Object invokeExactMethod(java.lang.Object object,
                  -                                 java.lang.String methodName,
                  -                                 java.lang.Object arg)
                  -                                          throws java.lang.NoSuchMethodException,
                  -                                                 java.lang.IllegalAccessException,
                  -                                                 java.lang.reflect.InvocationTargetException
                  -

                  Invoke a method whose parameter type matches exactly the object - type.

                  - -

                  This is a convenient wrapper for - invokeExactMethod(Object object,String methodName,Object [] args). -

                  -
                  Parameters:
                  object - invoke method on this object
                  methodName - get method with this name
                  arg - use this argument
                  -
                  Returns:
                  The value returned by the invoked method
                  -
                  Throws:
                  -
                  java.lang.NoSuchMethodException - if there is no such accessible method
                  -
                  java.lang.reflect.InvocationTargetException - wraps an exception thrown by the - method invoked
                  -
                  java.lang.IllegalAccessException - if the requested method is not accessible - via reflection
                  -
                • -
                - - - -
                  -
                • -

                  invokeExactMethod

                  -
                  public static java.lang.Object invokeExactMethod(java.lang.Object object,
                  -                                 java.lang.String methodName,
                  -                                 java.lang.Object[] args)
                  -                                          throws java.lang.NoSuchMethodException,
                  -                                                 java.lang.IllegalAccessException,
                  -                                                 java.lang.reflect.InvocationTargetException
                  -

                  Invoke a method whose parameter types match exactly the object - types.

                  - -

                  This uses reflection to invoke the method obtained from a call to - getAccessibleMethod().

                  -
                  Parameters:
                  object - invoke method on this object
                  methodName - get method with this name
                  args - use these arguments - treat null as empty array
                  -
                  Returns:
                  The value returned by the invoked method
                  -
                  Throws:
                  -
                  java.lang.NoSuchMethodException - if there is no such accessible method
                  -
                  java.lang.reflect.InvocationTargetException - wraps an exception thrown by the - method invoked
                  -
                  java.lang.IllegalAccessException - if the requested method is not accessible - via reflection
                  -
                • -
                - - - -
                  -
                • -

                  invokeExactMethod

                  -
                  public static java.lang.Object invokeExactMethod(java.lang.Object object,
                  -                                 java.lang.String methodName,
                  -                                 java.lang.Object[] args,
                  -                                 java.lang.Class[] parameterTypes)
                  -                                          throws java.lang.NoSuchMethodException,
                  -                                                 java.lang.IllegalAccessException,
                  -                                                 java.lang.reflect.InvocationTargetException
                  -

                  Invoke a method whose parameter types match exactly the parameter - types given.

                  - -

                  This uses reflection to invoke the method obtained from a call to - getAccessibleMethod().

                  -
                  Parameters:
                  object - invoke method on this object
                  methodName - get method with this name
                  args - use these arguments - treat null as empty array
                  parameterTypes - match these parameters - treat null as empty array
                  -
                  Returns:
                  The value returned by the invoked method
                  -
                  Throws:
                  -
                  java.lang.NoSuchMethodException - if there is no such accessible method
                  -
                  java.lang.reflect.InvocationTargetException - wraps an exception thrown by the - method invoked
                  -
                  java.lang.IllegalAccessException - if the requested method is not accessible - via reflection
                  -
                • -
                - - - -
                  -
                • -

                  invokeExactStaticMethod

                  -
                  public static java.lang.Object invokeExactStaticMethod(java.lang.Class objectClass,
                  -                                       java.lang.String methodName,
                  -                                       java.lang.Object[] args,
                  -                                       java.lang.Class[] parameterTypes)
                  -                                                throws java.lang.NoSuchMethodException,
                  -                                                       java.lang.IllegalAccessException,
                  -                                                       java.lang.reflect.InvocationTargetException
                  -

                  Invoke a static method whose parameter types match exactly the parameter - types given.

                  - -

                  This uses reflection to invoke the method obtained from a call to - getAccessibleMethod(Class, String, Class[]).

                  -
                  Parameters:
                  objectClass - invoke static method on this class
                  methodName - get method with this name
                  args - use these arguments - treat null as empty array
                  parameterTypes - match these parameters - treat null as empty array
                  -
                  Returns:
                  The value returned by the invoked method
                  -
                  Throws:
                  -
                  java.lang.NoSuchMethodException - if there is no such accessible method
                  -
                  java.lang.reflect.InvocationTargetException - wraps an exception thrown by the - method invoked
                  -
                  java.lang.IllegalAccessException - if the requested method is not accessible - via reflection
                  Since:
                  -
                  1.8.0
                  -
                • -
                - - - -
                  -
                • -

                  invokeStaticMethod

                  -
                  public static java.lang.Object invokeStaticMethod(java.lang.Class objectClass,
                  -                                  java.lang.String methodName,
                  -                                  java.lang.Object arg)
                  -                                           throws java.lang.NoSuchMethodException,
                  -                                                  java.lang.IllegalAccessException,
                  -                                                  java.lang.reflect.InvocationTargetException
                  -

                  Invoke a named static method whose parameter type matches the object type.

                  - -

                  The behaviour of this method is less deterministic - than invokeExactMethod(Object, String, Object[], Class[]). - It loops through all methods with names that match - and then executes the first it finds with compatable parameters.

                  - -

                  This method supports calls to methods taking primitive parameters - via passing in wrapping classes. So, for example, a Boolean class - would match a boolean primitive.

                  - -

                  This is a convenient wrapper for - invokeStaticMethod(Class objectClass,String methodName,Object [] args). -

                  -
                  Parameters:
                  objectClass - invoke static method on this class
                  methodName - get method with this name
                  arg - use this argument
                  -
                  Returns:
                  The value returned by the invoked method
                  -
                  Throws:
                  -
                  java.lang.NoSuchMethodException - if there is no such accessible method
                  -
                  java.lang.reflect.InvocationTargetException - wraps an exception thrown by the - method invoked
                  -
                  java.lang.IllegalAccessException - if the requested method is not accessible - via reflection
                  Since:
                  -
                  1.8.0
                  -
                • -
                - - - -
                  -
                • -

                  invokeStaticMethod

                  -
                  public static java.lang.Object invokeStaticMethod(java.lang.Class objectClass,
                  -                                  java.lang.String methodName,
                  -                                  java.lang.Object[] args)
                  -                                           throws java.lang.NoSuchMethodException,
                  -                                                  java.lang.IllegalAccessException,
                  -                                                  java.lang.reflect.InvocationTargetException
                  -

                  Invoke a named static method whose parameter type matches the object type.

                  - -

                  The behaviour of this method is less deterministic - than invokeExactMethod(Object object,String methodName,Object [] args). - It loops through all methods with names that match - and then executes the first it finds with compatable parameters.

                  - -

                  This method supports calls to methods taking primitive parameters - via passing in wrapping classes. So, for example, a Boolean class - would match a boolean primitive.

                  - -

                  This is a convenient wrapper for - invokeStaticMethod(Class objectClass,String methodName,Object [] args,Class[] parameterTypes). -

                  -
                  Parameters:
                  objectClass - invoke static method on this class
                  methodName - get method with this name
                  args - use these arguments - treat null as empty array
                  -
                  Returns:
                  The value returned by the invoked method
                  -
                  Throws:
                  -
                  java.lang.NoSuchMethodException - if there is no such accessible method
                  -
                  java.lang.reflect.InvocationTargetException - wraps an exception thrown by the - method invoked
                  -
                  java.lang.IllegalAccessException - if the requested method is not accessible - via reflection
                  Since:
                  -
                  1.8.0
                  -
                • -
                - - - -
                  -
                • -

                  invokeStaticMethod

                  -
                  public static java.lang.Object invokeStaticMethod(java.lang.Class objectClass,
                  -                                  java.lang.String methodName,
                  -                                  java.lang.Object[] args,
                  -                                  java.lang.Class[] parameterTypes)
                  -                                           throws java.lang.NoSuchMethodException,
                  -                                                  java.lang.IllegalAccessException,
                  -                                                  java.lang.reflect.InvocationTargetException
                  -

                  Invoke a named static method whose parameter type matches the object type.

                  - -

                  The behaviour of this method is less deterministic - than invokeExactStaticMethod(Class objectClass,String methodName,Object [] args,Class[] parameterTypes). - It loops through all methods with names that match - and then executes the first it finds with compatable parameters.

                  - -

                  This method supports calls to methods taking primitive parameters - via passing in wrapping classes. So, for example, a Boolean class - would match a boolean primitive.

                  -
                  Parameters:
                  objectClass - invoke static method on this class
                  methodName - get method with this name
                  args - use these arguments - treat null as empty array
                  parameterTypes - match these parameters - treat null as empty array
                  -
                  Returns:
                  The value returned by the invoked method
                  -
                  Throws:
                  -
                  java.lang.NoSuchMethodException - if there is no such accessible method
                  -
                  java.lang.reflect.InvocationTargetException - wraps an exception thrown by the - method invoked
                  -
                  java.lang.IllegalAccessException - if the requested method is not accessible - via reflection
                  Since:
                  -
                  1.8.0
                  -
                • -
                - - - -
                  -
                • -

                  invokeExactStaticMethod

                  -
                  public static java.lang.Object invokeExactStaticMethod(java.lang.Class objectClass,
                  -                                       java.lang.String methodName,
                  -                                       java.lang.Object arg)
                  -                                                throws java.lang.NoSuchMethodException,
                  -                                                       java.lang.IllegalAccessException,
                  -                                                       java.lang.reflect.InvocationTargetException
                  -

                  Invoke a static method whose parameter type matches exactly the object - type.

                  - -

                  This is a convenient wrapper for - invokeExactStaticMethod(Class objectClass,String methodName,Object [] args). -

                  -
                  Parameters:
                  objectClass - invoke static method on this class
                  methodName - get method with this name
                  arg - use this argument
                  -
                  Returns:
                  The value returned by the invoked method
                  -
                  Throws:
                  -
                  java.lang.NoSuchMethodException - if there is no such accessible method
                  -
                  java.lang.reflect.InvocationTargetException - wraps an exception thrown by the - method invoked
                  -
                  java.lang.IllegalAccessException - if the requested method is not accessible - via reflection
                  Since:
                  -
                  1.8.0
                  -
                • -
                - - - -
                  -
                • -

                  invokeExactStaticMethod

                  -
                  public static java.lang.Object invokeExactStaticMethod(java.lang.Class objectClass,
                  -                                       java.lang.String methodName,
                  -                                       java.lang.Object[] args)
                  -                                                throws java.lang.NoSuchMethodException,
                  -                                                       java.lang.IllegalAccessException,
                  -                                                       java.lang.reflect.InvocationTargetException
                  -

                  Invoke a static method whose parameter types match exactly the object - types.

                  - -

                  This uses reflection to invoke the method obtained from a call to - getAccessibleMethod(Class, String, Class[]).

                  -
                  Parameters:
                  objectClass - invoke static method on this class
                  methodName - get method with this name
                  args - use these arguments - treat null as empty array
                  -
                  Returns:
                  The value returned by the invoked method
                  -
                  Throws:
                  -
                  java.lang.NoSuchMethodException - if there is no such accessible method
                  -
                  java.lang.reflect.InvocationTargetException - wraps an exception thrown by the - method invoked
                  -
                  java.lang.IllegalAccessException - if the requested method is not accessible - via reflection
                  Since:
                  -
                  1.8.0
                  -
                • -
                - - - -
                  -
                • -

                  getAccessibleMethod

                  -
                  public static java.lang.reflect.Method getAccessibleMethod(java.lang.Class clazz,
                  -                                           java.lang.String methodName,
                  -                                           java.lang.Class[] parameterTypes)
                  -

                  Return an accessible method (that is, one that can be invoked via - reflection) with given name and parameters. If no such method - can be found, return null. - This is just a convenient wrapper for - getAccessibleMethod(Method method).

                  -
                  Parameters:
                  clazz - get method from this class
                  methodName - get method with this name
                  parameterTypes - with these parameters types
                  -
                  Returns:
                  The accessible method
                  -
                • -
                - - - -
                  -
                • -

                  getAccessibleMethod

                  -
                  public static java.lang.reflect.Method getAccessibleMethod(java.lang.reflect.Method method)
                  -

                  Return an accessible method (that is, one that can be invoked via - reflection) that implements the specified Method. If no such method - can be found, return null.

                  -
                  Parameters:
                  method - The method that we wish to call
                  -
                  Returns:
                  The accessible method
                  -
                • -
                - - - -
                  -
                • -

                  getAccessibleMethod

                  -
                  public static java.lang.reflect.Method getAccessibleMethod(java.lang.Class clazz,
                  -                                           java.lang.reflect.Method method)
                  -

                  Return an accessible method (that is, one that can be invoked via - reflection) that implements the specified Method. If no such method - can be found, return null.

                  -
                  Parameters:
                  clazz - The class of the object
                  method - The method that we wish to call
                  -
                  Returns:
                  The accessible method
                  Since:
                  -
                  1.8.0
                  -
                • -
                - - - -
                  -
                • -

                  getMatchingAccessibleMethod

                  -
                  public static java.lang.reflect.Method getMatchingAccessibleMethod(java.lang.Class clazz,
                  -                                                   java.lang.String methodName,
                  -                                                   java.lang.Class[] parameterTypes)
                  -

                  Find an accessible method that matches the given name and has compatible parameters. - Compatible parameters mean that every method parameter is assignable from - the given parameters. - In other words, it finds a method with the given name - that will take the parameters given.

                  - -

                  This method is slightly undeterminstic since it loops - through methods names and return the first matching method.

                  - -

                  This method is used by - invokeMethod(Object object,String methodName,Object [] args,Class[] parameterTypes). - -

                  This method can match primitive parameter by passing in wrapper classes. - For example, a Boolean will match a primitive boolean - parameter.

                  -
                  Parameters:
                  clazz - find method in this class
                  methodName - find method with this name
                  parameterTypes - find method with compatible parameters
                  -
                  Returns:
                  The accessible method
                  -
                • -
                - - - -
                  -
                • -

                  isAssignmentCompatible

                  -
                  public static final boolean isAssignmentCompatible(java.lang.Class parameterType,
                  -                             java.lang.Class parameterization)
                  -

                  Determine whether a type can be used as a parameter in a method invocation. - This method handles primitive conversions correctly.

                  - -

                  In order words, it will match a Boolean to a boolean, - a Long to a long, - a Float to a float, - a Integer to a int, - and a Double to a double. - Now logic widening matches are allowed. - For example, a Long will not match a int.

                  -
                  Parameters:
                  parameterType - the type of parameter accepted by the method
                  parameterization - the type of parameter being tested
                  -
                  Returns:
                  true if the assignement is compatible.
                  -
                • -
                - - - -
                  -
                • -

                  getPrimitiveWrapper

                  -
                  public static java.lang.Class getPrimitiveWrapper(java.lang.Class primitiveType)
                  -
                  Gets the wrapper object class for the given primitive type class. - For example, passing boolean.class returns Boolean.class
                  -
                  Parameters:
                  primitiveType - the primitive type class for which a match is to be found
                  -
                  Returns:
                  the wrapper type associated with the given primitive - or null if no match is found
                  -
                • -
                - - - -
                  -
                • -

                  getPrimitiveType

                  -
                  public static java.lang.Class getPrimitiveType(java.lang.Class wrapperType)
                  -
                  Gets the class for the primitive type corresponding to the primitive wrapper class given. - For example, an instance of Boolean.class returns a boolean.class.
                  -
                  Parameters:
                  wrapperType - the
                  -
                  Returns:
                  the primitive type class corresponding to the given wrapper class, - null if no match is found
                  -
                • -
                - - - -
                  -
                • -

                  toNonPrimitiveClass

                  -
                  public static java.lang.Class toNonPrimitiveClass(java.lang.Class clazz)
                  -
                  Find a non primitive representation for given primitive class.
                  -
                  Parameters:
                  clazz - the class to find a representation for, not null
                  -
                  Returns:
                  the original class if it not a primitive. Otherwise the wrapper class. Not null
                  -
                • -
                -
              • -
              -
            • -
            -
            -
            - - - - - - - + + + + + +MethodUtils + + + + + + + + + + + +
            +
            com.comphenix.protocol.reflect
            +

            Class MethodUtils

            +
            +
            +
              +
            • java.lang.Object
            • +
            • +
                +
              • com.comphenix.protocol.reflect.MethodUtils
              • +
              +
            • +
            +
            +
              +
            • +
              +
              +
              public class MethodUtils
              +extends java.lang.Object
              +

              Utility reflection methods focussed on methods in general rather than properties in particular.

              + +

              Known Limitations

              +

              Accessing Public Methods In A Default Access Superclass

              +

              There is an issue when invoking public methods contained in a default access superclass. + Reflection locates these methods fine and correctly assigns them as public. + However, an IllegalAccessException is thrown if the method is invoked.

              + +

              MethodUtils contains a workaround for this situation. + It will attempt to call setAccessible on this method. + If this call succeeds, then the method can be invoked as normal. + This call will only succeed when the application has sufficient security privilages. + If this call fails then a warning will be logged and the method may fail.

              +
              Author:
              +
              Craig R. McClanahan, Ralph Schaer, Chris Audley, Rey François, Gregor Raýman, Jan Sorensen, Robert Burrell Donkin
              +
            • +
            +
            +
            +
              +
            • + +
                +
              • + + +

                Constructor Summary

                + + + + + + + + +
                Constructors 
                Constructor and Description
                MethodUtils() 
                +
              • +
              + +
                +
              • + + +

                Method Summary

                + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                Methods 
                Modifier and TypeMethod and Description
                static intclearCache() +
                Clear the method cache.
                +
                static java.lang.reflect.MethodgetAccessibleMethod(java.lang.Class clazz, + java.lang.reflect.Method method) +
                Return an accessible method (that is, one that can be invoked via + reflection) that implements the specified Method.
                +
                static java.lang.reflect.MethodgetAccessibleMethod(java.lang.Class clazz, + java.lang.String methodName, + java.lang.Class[] parameterTypes) +
                Return an accessible method (that is, one that can be invoked via + reflection) with given name and parameters.
                +
                static java.lang.reflect.MethodgetAccessibleMethod(java.lang.reflect.Method method) +
                Return an accessible method (that is, one that can be invoked via + reflection) that implements the specified Method.
                +
                static java.lang.reflect.MethodgetMatchingAccessibleMethod(java.lang.Class clazz, + java.lang.String methodName, + java.lang.Class[] parameterTypes) +
                Find an accessible method that matches the given name and has compatible parameters.
                +
                static java.lang.ClassgetPrimitiveType(java.lang.Class wrapperType) +
                Gets the class for the primitive type corresponding to the primitive wrapper class given.
                +
                static java.lang.ClassgetPrimitiveWrapper(java.lang.Class primitiveType) +
                Gets the wrapper object class for the given primitive type class.
                +
                static java.lang.ObjectinvokeExactMethod(java.lang.Object object, + java.lang.String methodName, + java.lang.Object arg) +
                Invoke a method whose parameter type matches exactly the object + type.
                +
                static java.lang.ObjectinvokeExactMethod(java.lang.Object object, + java.lang.String methodName, + java.lang.Object[] args) +
                Invoke a method whose parameter types match exactly the object + types.
                +
                static java.lang.ObjectinvokeExactMethod(java.lang.Object object, + java.lang.String methodName, + java.lang.Object[] args, + java.lang.Class[] parameterTypes) +
                Invoke a method whose parameter types match exactly the parameter + types given.
                +
                static java.lang.ObjectinvokeExactStaticMethod(java.lang.Class objectClass, + java.lang.String methodName, + java.lang.Object arg) +
                Invoke a static method whose parameter type matches exactly the object + type.
                +
                static java.lang.ObjectinvokeExactStaticMethod(java.lang.Class objectClass, + java.lang.String methodName, + java.lang.Object[] args) +
                Invoke a static method whose parameter types match exactly the object + types.
                +
                static java.lang.ObjectinvokeExactStaticMethod(java.lang.Class objectClass, + java.lang.String methodName, + java.lang.Object[] args, + java.lang.Class[] parameterTypes) +
                Invoke a static method whose parameter types match exactly the parameter + types given.
                +
                static java.lang.ObjectinvokeMethod(java.lang.Object object, + java.lang.String methodName, + java.lang.Object arg) +
                Invoke a named method whose parameter type matches the object type.
                +
                static java.lang.ObjectinvokeMethod(java.lang.Object object, + java.lang.String methodName, + java.lang.Object[] args) +
                Invoke a named method whose parameter type matches the object type.
                +
                static java.lang.ObjectinvokeMethod(java.lang.Object object, + java.lang.String methodName, + java.lang.Object[] args, + java.lang.Class[] parameterTypes) +
                Invoke a named method whose parameter type matches the object type.
                +
                static java.lang.ObjectinvokeStaticMethod(java.lang.Class objectClass, + java.lang.String methodName, + java.lang.Object arg) +
                Invoke a named static method whose parameter type matches the object type.
                +
                static java.lang.ObjectinvokeStaticMethod(java.lang.Class objectClass, + java.lang.String methodName, + java.lang.Object[] args) +
                Invoke a named static method whose parameter type matches the object type.
                +
                static java.lang.ObjectinvokeStaticMethod(java.lang.Class objectClass, + java.lang.String methodName, + java.lang.Object[] args, + java.lang.Class[] parameterTypes) +
                Invoke a named static method whose parameter type matches the object type.
                +
                static booleanisAssignmentCompatible(java.lang.Class parameterType, + java.lang.Class parameterization) +
                Determine whether a type can be used as a parameter in a method invocation.
                +
                static voidsetCacheMethods(boolean cacheMethods) +
                Set whether methods should be cached for greater performance or not, + default is true.
                +
                static java.lang.ClasstoNonPrimitiveClass(java.lang.Class clazz) +
                Find a non primitive representation for given primitive class.
                +
                +
                  +
                • + + +

                  Methods inherited from class java.lang.Object

                  +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
                • +
                +
              • +
              +
            • +
            +
            +
            +
              +
            • + +
                +
              • + + +

                Constructor Detail

                + + + +
                  +
                • +

                  MethodUtils

                  +
                  public MethodUtils()
                  +
                • +
                +
              • +
              + +
                +
              • + + +

                Method Detail

                + + + +
                  +
                • +

                  setCacheMethods

                  +
                  public static void setCacheMethods(boolean cacheMethods)
                  +
                  Set whether methods should be cached for greater performance or not, + default is true.
                  +
                  Parameters:
                  cacheMethods - true if methods should be + cached for greater performance, otherwise false
                  Since:
                  +
                  1.8.0
                  +
                • +
                + + + +
                  +
                • +

                  clearCache

                  +
                  public static int clearCache()
                  +
                  Clear the method cache.
                  +
                  Returns:
                  the number of cached methods cleared
                  Since:
                  +
                  1.8.0
                  +
                • +
                + + + +
                  +
                • +

                  invokeMethod

                  +
                  public static java.lang.Object invokeMethod(java.lang.Object object,
                  +                            java.lang.String methodName,
                  +                            java.lang.Object arg)
                  +                                     throws java.lang.NoSuchMethodException,
                  +                                            java.lang.IllegalAccessException,
                  +                                            java.lang.reflect.InvocationTargetException
                  +

                  Invoke a named method whose parameter type matches the object type.

                  + +

                  The behaviour of this method is less deterministic + than invokeExactMethod(). + It loops through all methods with names that match + and then executes the first it finds with compatable parameters.

                  + +

                  This method supports calls to methods taking primitive parameters + via passing in wrapping classes. So, for example, a Boolean class + would match a boolean primitive.

                  + +

                  This is a convenient wrapper for + invokeMethod(Object object,String methodName,Object [] args). +

                  +
                  Parameters:
                  object - invoke method on this object
                  methodName - get method with this name
                  arg - use this argument
                  +
                  Returns:
                  The value returned by the invoked method
                  +
                  Throws:
                  +
                  java.lang.NoSuchMethodException - if there is no such accessible method
                  +
                  java.lang.reflect.InvocationTargetException - wraps an exception thrown by the + method invoked
                  +
                  java.lang.IllegalAccessException - if the requested method is not accessible + via reflection
                  +
                • +
                + + + +
                  +
                • +

                  invokeMethod

                  +
                  public static java.lang.Object invokeMethod(java.lang.Object object,
                  +                            java.lang.String methodName,
                  +                            java.lang.Object[] args)
                  +                                     throws java.lang.NoSuchMethodException,
                  +                                            java.lang.IllegalAccessException,
                  +                                            java.lang.reflect.InvocationTargetException
                  +

                  Invoke a named method whose parameter type matches the object type.

                  + +

                  The behaviour of this method is less deterministic + than invokeExactMethod(Object object,String methodName,Object [] args). + It loops through all methods with names that match + and then executes the first it finds with compatable parameters.

                  + +

                  This method supports calls to methods taking primitive parameters + via passing in wrapping classes. So, for example, a Boolean class + would match a boolean primitive.

                  + +

                  This is a convenient wrapper for + invokeMethod(Object object,String methodName,Object [] args,Class[] parameterTypes). +

                  +
                  Parameters:
                  object - invoke method on this object
                  methodName - get method with this name
                  args - use these arguments - treat null as empty array
                  +
                  Returns:
                  The value returned by the invoked method
                  +
                  Throws:
                  +
                  java.lang.NoSuchMethodException - if there is no such accessible method
                  +
                  java.lang.reflect.InvocationTargetException - wraps an exception thrown by the + method invoked
                  +
                  java.lang.IllegalAccessException - if the requested method is not accessible + via reflection
                  +
                • +
                + + + +
                  +
                • +

                  invokeMethod

                  +
                  public static java.lang.Object invokeMethod(java.lang.Object object,
                  +                            java.lang.String methodName,
                  +                            java.lang.Object[] args,
                  +                            java.lang.Class[] parameterTypes)
                  +                                     throws java.lang.NoSuchMethodException,
                  +                                            java.lang.IllegalAccessException,
                  +                                            java.lang.reflect.InvocationTargetException
                  +

                  Invoke a named method whose parameter type matches the object type.

                  + +

                  The behaviour of this method is less deterministic + than invokeExactMethod(Object object,String methodName,Object [] args,Class[] parameterTypes). + It loops through all methods with names that match + and then executes the first it finds with compatable parameters.

                  + +

                  This method supports calls to methods taking primitive parameters + via passing in wrapping classes. So, for example, a Boolean class + would match a boolean primitive.

                  +
                  Parameters:
                  object - invoke method on this object
                  methodName - get method with this name
                  args - use these arguments - treat null as empty array
                  parameterTypes - match these parameters - treat null as empty array
                  +
                  Returns:
                  The value returned by the invoked method
                  +
                  Throws:
                  +
                  java.lang.NoSuchMethodException - if there is no such accessible method
                  +
                  java.lang.reflect.InvocationTargetException - wraps an exception thrown by the + method invoked
                  +
                  java.lang.IllegalAccessException - if the requested method is not accessible + via reflection
                  +
                • +
                + + + +
                  +
                • +

                  invokeExactMethod

                  +
                  public static java.lang.Object invokeExactMethod(java.lang.Object object,
                  +                                 java.lang.String methodName,
                  +                                 java.lang.Object arg)
                  +                                          throws java.lang.NoSuchMethodException,
                  +                                                 java.lang.IllegalAccessException,
                  +                                                 java.lang.reflect.InvocationTargetException
                  +

                  Invoke a method whose parameter type matches exactly the object + type.

                  + +

                  This is a convenient wrapper for + invokeExactMethod(Object object,String methodName,Object [] args). +

                  +
                  Parameters:
                  object - invoke method on this object
                  methodName - get method with this name
                  arg - use this argument
                  +
                  Returns:
                  The value returned by the invoked method
                  +
                  Throws:
                  +
                  java.lang.NoSuchMethodException - if there is no such accessible method
                  +
                  java.lang.reflect.InvocationTargetException - wraps an exception thrown by the + method invoked
                  +
                  java.lang.IllegalAccessException - if the requested method is not accessible + via reflection
                  +
                • +
                + + + +
                  +
                • +

                  invokeExactMethod

                  +
                  public static java.lang.Object invokeExactMethod(java.lang.Object object,
                  +                                 java.lang.String methodName,
                  +                                 java.lang.Object[] args)
                  +                                          throws java.lang.NoSuchMethodException,
                  +                                                 java.lang.IllegalAccessException,
                  +                                                 java.lang.reflect.InvocationTargetException
                  +

                  Invoke a method whose parameter types match exactly the object + types.

                  + +

                  This uses reflection to invoke the method obtained from a call to + getAccessibleMethod().

                  +
                  Parameters:
                  object - invoke method on this object
                  methodName - get method with this name
                  args - use these arguments - treat null as empty array
                  +
                  Returns:
                  The value returned by the invoked method
                  +
                  Throws:
                  +
                  java.lang.NoSuchMethodException - if there is no such accessible method
                  +
                  java.lang.reflect.InvocationTargetException - wraps an exception thrown by the + method invoked
                  +
                  java.lang.IllegalAccessException - if the requested method is not accessible + via reflection
                  +
                • +
                + + + +
                  +
                • +

                  invokeExactMethod

                  +
                  public static java.lang.Object invokeExactMethod(java.lang.Object object,
                  +                                 java.lang.String methodName,
                  +                                 java.lang.Object[] args,
                  +                                 java.lang.Class[] parameterTypes)
                  +                                          throws java.lang.NoSuchMethodException,
                  +                                                 java.lang.IllegalAccessException,
                  +                                                 java.lang.reflect.InvocationTargetException
                  +

                  Invoke a method whose parameter types match exactly the parameter + types given.

                  + +

                  This uses reflection to invoke the method obtained from a call to + getAccessibleMethod().

                  +
                  Parameters:
                  object - invoke method on this object
                  methodName - get method with this name
                  args - use these arguments - treat null as empty array
                  parameterTypes - match these parameters - treat null as empty array
                  +
                  Returns:
                  The value returned by the invoked method
                  +
                  Throws:
                  +
                  java.lang.NoSuchMethodException - if there is no such accessible method
                  +
                  java.lang.reflect.InvocationTargetException - wraps an exception thrown by the + method invoked
                  +
                  java.lang.IllegalAccessException - if the requested method is not accessible + via reflection
                  +
                • +
                + + + +
                  +
                • +

                  invokeExactStaticMethod

                  +
                  public static java.lang.Object invokeExactStaticMethod(java.lang.Class objectClass,
                  +                                       java.lang.String methodName,
                  +                                       java.lang.Object[] args,
                  +                                       java.lang.Class[] parameterTypes)
                  +                                                throws java.lang.NoSuchMethodException,
                  +                                                       java.lang.IllegalAccessException,
                  +                                                       java.lang.reflect.InvocationTargetException
                  +

                  Invoke a static method whose parameter types match exactly the parameter + types given.

                  + +

                  This uses reflection to invoke the method obtained from a call to + getAccessibleMethod(Class, String, Class[]).

                  +
                  Parameters:
                  objectClass - invoke static method on this class
                  methodName - get method with this name
                  args - use these arguments - treat null as empty array
                  parameterTypes - match these parameters - treat null as empty array
                  +
                  Returns:
                  The value returned by the invoked method
                  +
                  Throws:
                  +
                  java.lang.NoSuchMethodException - if there is no such accessible method
                  +
                  java.lang.reflect.InvocationTargetException - wraps an exception thrown by the + method invoked
                  +
                  java.lang.IllegalAccessException - if the requested method is not accessible + via reflection
                  Since:
                  +
                  1.8.0
                  +
                • +
                + + + +
                  +
                • +

                  invokeStaticMethod

                  +
                  public static java.lang.Object invokeStaticMethod(java.lang.Class objectClass,
                  +                                  java.lang.String methodName,
                  +                                  java.lang.Object arg)
                  +                                           throws java.lang.NoSuchMethodException,
                  +                                                  java.lang.IllegalAccessException,
                  +                                                  java.lang.reflect.InvocationTargetException
                  +

                  Invoke a named static method whose parameter type matches the object type.

                  + +

                  The behaviour of this method is less deterministic + than invokeExactMethod(Object, String, Object[], Class[]). + It loops through all methods with names that match + and then executes the first it finds with compatable parameters.

                  + +

                  This method supports calls to methods taking primitive parameters + via passing in wrapping classes. So, for example, a Boolean class + would match a boolean primitive.

                  + +

                  This is a convenient wrapper for + invokeStaticMethod(Class objectClass,String methodName,Object [] args). +

                  +
                  Parameters:
                  objectClass - invoke static method on this class
                  methodName - get method with this name
                  arg - use this argument
                  +
                  Returns:
                  The value returned by the invoked method
                  +
                  Throws:
                  +
                  java.lang.NoSuchMethodException - if there is no such accessible method
                  +
                  java.lang.reflect.InvocationTargetException - wraps an exception thrown by the + method invoked
                  +
                  java.lang.IllegalAccessException - if the requested method is not accessible + via reflection
                  Since:
                  +
                  1.8.0
                  +
                • +
                + + + +
                  +
                • +

                  invokeStaticMethod

                  +
                  public static java.lang.Object invokeStaticMethod(java.lang.Class objectClass,
                  +                                  java.lang.String methodName,
                  +                                  java.lang.Object[] args)
                  +                                           throws java.lang.NoSuchMethodException,
                  +                                                  java.lang.IllegalAccessException,
                  +                                                  java.lang.reflect.InvocationTargetException
                  +

                  Invoke a named static method whose parameter type matches the object type.

                  + +

                  The behaviour of this method is less deterministic + than invokeExactMethod(Object object,String methodName,Object [] args). + It loops through all methods with names that match + and then executes the first it finds with compatable parameters.

                  + +

                  This method supports calls to methods taking primitive parameters + via passing in wrapping classes. So, for example, a Boolean class + would match a boolean primitive.

                  + +

                  This is a convenient wrapper for + invokeStaticMethod(Class objectClass,String methodName,Object [] args,Class[] parameterTypes). +

                  +
                  Parameters:
                  objectClass - invoke static method on this class
                  methodName - get method with this name
                  args - use these arguments - treat null as empty array
                  +
                  Returns:
                  The value returned by the invoked method
                  +
                  Throws:
                  +
                  java.lang.NoSuchMethodException - if there is no such accessible method
                  +
                  java.lang.reflect.InvocationTargetException - wraps an exception thrown by the + method invoked
                  +
                  java.lang.IllegalAccessException - if the requested method is not accessible + via reflection
                  Since:
                  +
                  1.8.0
                  +
                • +
                + + + +
                  +
                • +

                  invokeStaticMethod

                  +
                  public static java.lang.Object invokeStaticMethod(java.lang.Class objectClass,
                  +                                  java.lang.String methodName,
                  +                                  java.lang.Object[] args,
                  +                                  java.lang.Class[] parameterTypes)
                  +                                           throws java.lang.NoSuchMethodException,
                  +                                                  java.lang.IllegalAccessException,
                  +                                                  java.lang.reflect.InvocationTargetException
                  +

                  Invoke a named static method whose parameter type matches the object type.

                  + +

                  The behaviour of this method is less deterministic + than invokeExactStaticMethod(Class objectClass,String methodName,Object [] args,Class[] parameterTypes). + It loops through all methods with names that match + and then executes the first it finds with compatable parameters.

                  + +

                  This method supports calls to methods taking primitive parameters + via passing in wrapping classes. So, for example, a Boolean class + would match a boolean primitive.

                  +
                  Parameters:
                  objectClass - invoke static method on this class
                  methodName - get method with this name
                  args - use these arguments - treat null as empty array
                  parameterTypes - match these parameters - treat null as empty array
                  +
                  Returns:
                  The value returned by the invoked method
                  +
                  Throws:
                  +
                  java.lang.NoSuchMethodException - if there is no such accessible method
                  +
                  java.lang.reflect.InvocationTargetException - wraps an exception thrown by the + method invoked
                  +
                  java.lang.IllegalAccessException - if the requested method is not accessible + via reflection
                  Since:
                  +
                  1.8.0
                  +
                • +
                + + + +
                  +
                • +

                  invokeExactStaticMethod

                  +
                  public static java.lang.Object invokeExactStaticMethod(java.lang.Class objectClass,
                  +                                       java.lang.String methodName,
                  +                                       java.lang.Object arg)
                  +                                                throws java.lang.NoSuchMethodException,
                  +                                                       java.lang.IllegalAccessException,
                  +                                                       java.lang.reflect.InvocationTargetException
                  +

                  Invoke a static method whose parameter type matches exactly the object + type.

                  + +

                  This is a convenient wrapper for + invokeExactStaticMethod(Class objectClass,String methodName,Object [] args). +

                  +
                  Parameters:
                  objectClass - invoke static method on this class
                  methodName - get method with this name
                  arg - use this argument
                  +
                  Returns:
                  The value returned by the invoked method
                  +
                  Throws:
                  +
                  java.lang.NoSuchMethodException - if there is no such accessible method
                  +
                  java.lang.reflect.InvocationTargetException - wraps an exception thrown by the + method invoked
                  +
                  java.lang.IllegalAccessException - if the requested method is not accessible + via reflection
                  Since:
                  +
                  1.8.0
                  +
                • +
                + + + +
                  +
                • +

                  invokeExactStaticMethod

                  +
                  public static java.lang.Object invokeExactStaticMethod(java.lang.Class objectClass,
                  +                                       java.lang.String methodName,
                  +                                       java.lang.Object[] args)
                  +                                                throws java.lang.NoSuchMethodException,
                  +                                                       java.lang.IllegalAccessException,
                  +                                                       java.lang.reflect.InvocationTargetException
                  +

                  Invoke a static method whose parameter types match exactly the object + types.

                  + +

                  This uses reflection to invoke the method obtained from a call to + getAccessibleMethod(Class, String, Class[]).

                  +
                  Parameters:
                  objectClass - invoke static method on this class
                  methodName - get method with this name
                  args - use these arguments - treat null as empty array
                  +
                  Returns:
                  The value returned by the invoked method
                  +
                  Throws:
                  +
                  java.lang.NoSuchMethodException - if there is no such accessible method
                  +
                  java.lang.reflect.InvocationTargetException - wraps an exception thrown by the + method invoked
                  +
                  java.lang.IllegalAccessException - if the requested method is not accessible + via reflection
                  Since:
                  +
                  1.8.0
                  +
                • +
                + + + +
                  +
                • +

                  getAccessibleMethod

                  +
                  public static java.lang.reflect.Method getAccessibleMethod(java.lang.Class clazz,
                  +                                           java.lang.String methodName,
                  +                                           java.lang.Class[] parameterTypes)
                  +

                  Return an accessible method (that is, one that can be invoked via + reflection) with given name and parameters. If no such method + can be found, return null. + This is just a convenient wrapper for + getAccessibleMethod(Method method).

                  +
                  Parameters:
                  clazz - get method from this class
                  methodName - get method with this name
                  parameterTypes - with these parameters types
                  +
                  Returns:
                  The accessible method
                  +
                • +
                + + + +
                  +
                • +

                  getAccessibleMethod

                  +
                  public static java.lang.reflect.Method getAccessibleMethod(java.lang.reflect.Method method)
                  +

                  Return an accessible method (that is, one that can be invoked via + reflection) that implements the specified Method. If no such method + can be found, return null.

                  +
                  Parameters:
                  method - The method that we wish to call
                  +
                  Returns:
                  The accessible method
                  +
                • +
                + + + +
                  +
                • +

                  getAccessibleMethod

                  +
                  public static java.lang.reflect.Method getAccessibleMethod(java.lang.Class clazz,
                  +                                           java.lang.reflect.Method method)
                  +

                  Return an accessible method (that is, one that can be invoked via + reflection) that implements the specified Method. If no such method + can be found, return null.

                  +
                  Parameters:
                  clazz - The class of the object
                  method - The method that we wish to call
                  +
                  Returns:
                  The accessible method
                  Since:
                  +
                  1.8.0
                  +
                • +
                + + + +
                  +
                • +

                  getMatchingAccessibleMethod

                  +
                  public static java.lang.reflect.Method getMatchingAccessibleMethod(java.lang.Class clazz,
                  +                                                   java.lang.String methodName,
                  +                                                   java.lang.Class[] parameterTypes)
                  +

                  Find an accessible method that matches the given name and has compatible parameters. + Compatible parameters mean that every method parameter is assignable from + the given parameters. + In other words, it finds a method with the given name + that will take the parameters given.

                  + +

                  This method is slightly undeterminstic since it loops + through methods names and return the first matching method.

                  + +

                  This method is used by + invokeMethod(Object object,String methodName,Object [] args,Class[] parameterTypes). + +

                  This method can match primitive parameter by passing in wrapper classes. + For example, a Boolean will match a primitive boolean + parameter.

                  +
                  Parameters:
                  clazz - find method in this class
                  methodName - find method with this name
                  parameterTypes - find method with compatible parameters
                  +
                  Returns:
                  The accessible method
                  +
                • +
                + + + +
                  +
                • +

                  isAssignmentCompatible

                  +
                  public static final boolean isAssignmentCompatible(java.lang.Class parameterType,
                  +                             java.lang.Class parameterization)
                  +

                  Determine whether a type can be used as a parameter in a method invocation. + This method handles primitive conversions correctly.

                  + +

                  In order words, it will match a Boolean to a boolean, + a Long to a long, + a Float to a float, + a Integer to a int, + and a Double to a double. + Now logic widening matches are allowed. + For example, a Long will not match a int.

                  +
                  Parameters:
                  parameterType - the type of parameter accepted by the method
                  parameterization - the type of parameter being tested
                  +
                  Returns:
                  true if the assignement is compatible.
                  +
                • +
                + + + +
                  +
                • +

                  getPrimitiveWrapper

                  +
                  public static java.lang.Class getPrimitiveWrapper(java.lang.Class primitiveType)
                  +
                  Gets the wrapper object class for the given primitive type class. + For example, passing boolean.class returns Boolean.class
                  +
                  Parameters:
                  primitiveType - the primitive type class for which a match is to be found
                  +
                  Returns:
                  the wrapper type associated with the given primitive + or null if no match is found
                  +
                • +
                + + + +
                  +
                • +

                  getPrimitiveType

                  +
                  public static java.lang.Class getPrimitiveType(java.lang.Class wrapperType)
                  +
                  Gets the class for the primitive type corresponding to the primitive wrapper class given. + For example, an instance of Boolean.class returns a boolean.class.
                  +
                  Parameters:
                  wrapperType - the
                  +
                  Returns:
                  the primitive type class corresponding to the given wrapper class, + null if no match is found
                  +
                • +
                + + + +
                  +
                • +

                  toNonPrimitiveClass

                  +
                  public static java.lang.Class toNonPrimitiveClass(java.lang.Class clazz)
                  +
                  Find a non primitive representation for given primitive class.
                  +
                  Parameters:
                  clazz - the class to find a representation for, not null
                  +
                  Returns:
                  the original class if it not a primitive. Otherwise the wrapper class. Not null
                  +
                • +
                +
              • +
              +
            • +
            +
            +
            + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/ObjectCloner.html b/Javadoc/com/comphenix/protocol/reflect/ObjectCloner.html index 018fef33..cef0c17d 100644 --- a/Javadoc/com/comphenix/protocol/reflect/ObjectCloner.html +++ b/Javadoc/com/comphenix/protocol/reflect/ObjectCloner.html @@ -1,269 +1,269 @@ - - - - - -ObjectCloner - - - - - - - - - - - -
            -
            com.comphenix.protocol.reflect
            -

            Class ObjectCloner

            -
            -
            -
              -
            • java.lang.Object
            • -
            • -
                -
              • com.comphenix.protocol.reflect.ObjectCloner
              • -
              -
            • -
            -
            -
              -
            • -
              -
              -
              public class ObjectCloner
              -extends java.lang.Object
              -
              Can copy an object field by field.
              -
              Author:
              -
              Kristian
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Constructor Summary

                - - - - - - - - -
                Constructors 
                Constructor and Description
                ObjectCloner() 
                -
              • -
              - -
                -
              • - - -

                Method Summary

                - - - - - - - - - - -
                Methods 
                Modifier and TypeMethod and Description
                static voidcopyTo(java.lang.Object source, - java.lang.Object destination, - java.lang.Class<?> commonType) -
                Copy every field in object A to object B.
                -
                -
                  -
                • - - -

                  Methods inherited from class java.lang.Object

                  -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
                • -
                -
              • -
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Constructor Detail

                - - - -
                  -
                • -

                  ObjectCloner

                  -
                  public ObjectCloner()
                  -
                • -
                -
              • -
              - -
                -
              • - - -

                Method Detail

                - - - -
                  -
                • -

                  copyTo

                  -
                  public static void copyTo(java.lang.Object source,
                  -          java.lang.Object destination,
                  -          java.lang.Class<?> commonType)
                  -
                  Copy every field in object A to object B. -

                  - The two objects must have the same number of fields of the same type.

                  -
                  Parameters:
                  source - - fields to copy.
                  destination - - fields to copy to.
                  commonType - - type containing each field to copy.
                  -
                • -
                -
              • -
              -
            • -
            -
            -
            - - - - - - - + + + + + +ObjectCloner + + + + + + + + + + + +
            +
            com.comphenix.protocol.reflect
            +

            Class ObjectCloner

            +
            +
            +
              +
            • java.lang.Object
            • +
            • +
                +
              • com.comphenix.protocol.reflect.ObjectCloner
              • +
              +
            • +
            +
            +
              +
            • +
              +
              +
              public class ObjectCloner
              +extends java.lang.Object
              +
              Can copy an object field by field.
              +
              Author:
              +
              Kristian
              +
            • +
            +
            +
            +
              +
            • + +
                +
              • + + +

                Constructor Summary

                + + + + + + + + +
                Constructors 
                Constructor and Description
                ObjectCloner() 
                +
              • +
              + +
                +
              • + + +

                Method Summary

                + + + + + + + + + + +
                Methods 
                Modifier and TypeMethod and Description
                static voidcopyTo(java.lang.Object source, + java.lang.Object destination, + java.lang.Class<?> commonType) +
                Copy every field in object A to object B.
                +
                +
                  +
                • + + +

                  Methods inherited from class java.lang.Object

                  +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
                • +
                +
              • +
              +
            • +
            +
            +
            +
              +
            • + +
                +
              • + + +

                Constructor Detail

                + + + +
                  +
                • +

                  ObjectCloner

                  +
                  public ObjectCloner()
                  +
                • +
                +
              • +
              + +
                +
              • + + +

                Method Detail

                + + + +
                  +
                • +

                  copyTo

                  +
                  public static void copyTo(java.lang.Object source,
                  +          java.lang.Object destination,
                  +          java.lang.Class<?> commonType)
                  +
                  Copy every field in object A to object B. +

                  + The two objects must have the same number of fields of the same type.

                  +
                  Parameters:
                  source - - fields to copy.
                  destination - - fields to copy to.
                  commonType - - type containing each field to copy.
                  +
                • +
                +
              • +
              +
            • +
            +
            +
            + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/PrimitiveUtils.html b/Javadoc/com/comphenix/protocol/reflect/PrimitiveUtils.html index cfb9ae62..045ac01a 100644 --- a/Javadoc/com/comphenix/protocol/reflect/PrimitiveUtils.html +++ b/Javadoc/com/comphenix/protocol/reflect/PrimitiveUtils.html @@ -1,311 +1,311 @@ - - - - - -PrimitiveUtils - - - - - - - - - - - -
            -
            com.comphenix.protocol.reflect
            -

            Class PrimitiveUtils

            -
            -
            -
              -
            • java.lang.Object
            • -
            • -
                -
              • com.comphenix.protocol.reflect.PrimitiveUtils
              • -
              -
            • -
            -
            -
              -
            • -
              -
              -
              public final class PrimitiveUtils
              -extends java.lang.Object
              -
              Contains static utility methods pertaining to primitive types and their - corresponding wrapper types.
              -
              Author:
              -
              Kevin Bourrillion
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Method Summary

                - - - - - - - - - - - - - - - - - - - - - - - - - - -
                Methods 
                Modifier and TypeMethod and Description
                static <T> TcheckNotNull(T obj) 
                static booleanisPrimitive(java.lang.reflect.Type type) -
                Returns true if this type is a primitive.
                -
                static booleanisWrapperType(java.lang.reflect.Type type) -
                Returns true if type is one of the nine primitive-wrapper - types, such as Integer.
                -
                static <T> java.lang.Class<T>unwrap(java.lang.Class<T> type) -
                Returns the corresponding primitive type of type if it is a - wrapper type; otherwise returns type itself.
                -
                static <T> java.lang.Class<T>wrap(java.lang.Class<T> type) -
                Returns the corresponding wrapper type of type if it is a - primitive type; otherwise returns type itself.
                -
                -
                  -
                • - - -

                  Methods inherited from class java.lang.Object

                  -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
                • -
                -
              • -
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Method Detail

                - - - -
                  -
                • -

                  isPrimitive

                  -
                  public static boolean isPrimitive(java.lang.reflect.Type type)
                  -
                  Returns true if this type is a primitive.
                  -
                • -
                - - - -
                  -
                • -

                  isWrapperType

                  -
                  public static boolean isWrapperType(java.lang.reflect.Type type)
                  -
                  Returns true if type is one of the nine primitive-wrapper - types, such as Integer.
                  -
                  See Also:
                  Class.isPrimitive()
                  -
                • -
                - - - -
                  -
                • -

                  wrap

                  -
                  public static <T> java.lang.Class<T> wrap(java.lang.Class<T> type)
                  -
                  Returns the corresponding wrapper type of type if it is a - primitive type; otherwise returns type itself. Idempotent. - -
                  -     wrap(int.class) == Integer.class
                  -     wrap(Integer.class) == Integer.class
                  -     wrap(String.class) == String.class
                  - 
                  -
                • -
                - - - -
                  -
                • -

                  unwrap

                  -
                  public static <T> java.lang.Class<T> unwrap(java.lang.Class<T> type)
                  -
                  Returns the corresponding primitive type of type if it is a - wrapper type; otherwise returns type itself. Idempotent. - -
                  -     unwrap(Integer.class) == int.class
                  -     unwrap(int.class) == int.class
                  -     unwrap(String.class) == String.class
                  - 
                  -
                • -
                - - - - - -
                  -
                • -

                  checkNotNull

                  -
                  public static <T> T checkNotNull(T obj)
                  -
                • -
                -
              • -
              -
            • -
            -
            -
            - - - - - - - + + + + + +PrimitiveUtils + + + + + + + + + + + +
            +
            com.comphenix.protocol.reflect
            +

            Class PrimitiveUtils

            +
            +
            +
              +
            • java.lang.Object
            • +
            • +
                +
              • com.comphenix.protocol.reflect.PrimitiveUtils
              • +
              +
            • +
            +
            +
              +
            • +
              +
              +
              public final class PrimitiveUtils
              +extends java.lang.Object
              +
              Contains static utility methods pertaining to primitive types and their + corresponding wrapper types.
              +
              Author:
              +
              Kevin Bourrillion
              +
            • +
            +
            +
            +
              +
            • + +
                +
              • + + +

                Method Summary

                + + + + + + + + + + + + + + + + + + + + + + + + + + +
                Methods 
                Modifier and TypeMethod and Description
                static <T> TcheckNotNull(T obj) 
                static booleanisPrimitive(java.lang.reflect.Type type) +
                Returns true if this type is a primitive.
                +
                static booleanisWrapperType(java.lang.reflect.Type type) +
                Returns true if type is one of the nine primitive-wrapper + types, such as Integer.
                +
                static <T> java.lang.Class<T>unwrap(java.lang.Class<T> type) +
                Returns the corresponding primitive type of type if it is a + wrapper type; otherwise returns type itself.
                +
                static <T> java.lang.Class<T>wrap(java.lang.Class<T> type) +
                Returns the corresponding wrapper type of type if it is a + primitive type; otherwise returns type itself.
                +
                +
                  +
                • + + +

                  Methods inherited from class java.lang.Object

                  +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
                • +
                +
              • +
              +
            • +
            +
            +
            +
              +
            • + +
                +
              • + + +

                Method Detail

                + + + +
                  +
                • +

                  isPrimitive

                  +
                  public static boolean isPrimitive(java.lang.reflect.Type type)
                  +
                  Returns true if this type is a primitive.
                  +
                • +
                + + + +
                  +
                • +

                  isWrapperType

                  +
                  public static boolean isWrapperType(java.lang.reflect.Type type)
                  +
                  Returns true if type is one of the nine primitive-wrapper + types, such as Integer.
                  +
                  See Also:
                  Class.isPrimitive()
                  +
                • +
                + + + +
                  +
                • +

                  wrap

                  +
                  public static <T> java.lang.Class<T> wrap(java.lang.Class<T> type)
                  +
                  Returns the corresponding wrapper type of type if it is a + primitive type; otherwise returns type itself. Idempotent. + +
                  +     wrap(int.class) == Integer.class
                  +     wrap(Integer.class) == Integer.class
                  +     wrap(String.class) == String.class
                  + 
                  +
                • +
                + + + +
                  +
                • +

                  unwrap

                  +
                  public static <T> java.lang.Class<T> unwrap(java.lang.Class<T> type)
                  +
                  Returns the corresponding primitive type of type if it is a + wrapper type; otherwise returns type itself. Idempotent. + +
                  +     unwrap(Integer.class) == int.class
                  +     unwrap(int.class) == int.class
                  +     unwrap(String.class) == String.class
                  + 
                  +
                • +
                + + + + + +
                  +
                • +

                  checkNotNull

                  +
                  public static <T> T checkNotNull(T obj)
                  +
                • +
                +
              • +
              +
            • +
            +
            +
            + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/StructureModifier.html b/Javadoc/com/comphenix/protocol/reflect/StructureModifier.html index b331441f..b71c6918 100644 --- a/Javadoc/com/comphenix/protocol/reflect/StructureModifier.html +++ b/Javadoc/com/comphenix/protocol/reflect/StructureModifier.html @@ -1,787 +1,787 @@ - - - - - -StructureModifier - - - - - - - - - - - -
            -
            com.comphenix.protocol.reflect
            -

            Class StructureModifier<TField>

            -
            -
            -
              -
            • java.lang.Object
            • -
            • -
                -
              • com.comphenix.protocol.reflect.StructureModifier<TField>
              • -
              -
            • -
            -
            -
              -
            • -
              Type Parameters:
              TField - Type of the fields to retrieve.
              -
              -
              Direct Known Subclasses:
              -
              CompiledStructureModifier
              -
              -
              -
              -
              public class StructureModifier<TField>
              -extends java.lang.Object
              -
              Provides list-oriented access to the fields of a Minecraft packet. -

              - Implemented by using reflection. Use a CompiledStructureModifier, if speed is essential.

              -
              Author:
              -
              Kristian
              -
            • -
            -
            -
            -
              -
            • - - - -
                -
              • - - -

                Constructor Summary

                - - - - - - - - - - - - - - -
                Constructors 
                ModifierConstructor and Description
                protected StructureModifier() -
                Consumers of this method should call "initialize".
                -
                 StructureModifier(java.lang.Class targetType, - java.lang.Class superclassExclude, - boolean requireDefault) -
                Creates a structure modifier.
                -
                -
              • -
              - -
                -
              • - - -

                Method Summary

                - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                Methods 
                Modifier and TypeMethod and Description
                java.util.List<java.lang.reflect.Field>getFields() -
                Retrieves a list of the fields matching the constraints of this structure modifier.
                -
                java.lang.ClassgetFieldType() -
                Retrieves the common type of each field.
                -
                java.lang.ObjectgetTarget() -
                Retrieves the object we're currently modifying.
                -
                java.lang.ClassgetTargetType() -
                Retrieves the type of the object we're modifying.
                -
                java.util.List<TField>getValues() -
                Retrieve every value stored in the fields of the current type.
                -
                protected voidinitialize(java.lang.Class targetType, - java.lang.Class fieldType, - java.util.List<java.lang.reflect.Field> data, - java.util.Map<java.lang.reflect.Field,java.lang.Integer> defaultFields, - EquivalentConverter<TField> converter, - java.util.Map<java.lang.Class,StructureModifier> subTypeCache) -
                Initialize every field of this class.
                -
                protected voidinitialize(StructureModifier<TField> other) -
                Initialize using the same field types.
                -
                StructureModifier<TField>modify(int fieldIndex, - com.google.common.base.Function<TField,TField> select) -
                Correctly modifies the value of a field.
                -
                TFieldread(int fieldIndex) -
                Reads the value of a field given its index.
                -
                TFieldreadSafely(int fieldIndex) -
                Reads the value of a field if and ONLY IF it exists.
                -
                protected voidsetConverter(EquivalentConverter<TField> converter) -
                Set the current object converter.
                -
                intsize() -
                Retrieve the number of readable types.
                -
                protected <T> StructureModifier<T>withFieldType(java.lang.Class fieldType, - java.util.List<java.lang.reflect.Field> filtered, - java.util.Map<java.lang.reflect.Field,java.lang.Integer> defaults, - EquivalentConverter<T> converter) -
                Create a new structure modifier for the new field type.
                -
                StructureModifier<TField>withTarget(java.lang.Object target) -
                Retrieves a structure modifier of the same type for a different object target.
                -
                <T> StructureModifier<T>withType(java.lang.Class fieldType) -
                Retrieves a structure modifier that only reads and writes fields of a given type.
                -
                <T> StructureModifier<T>withType(java.lang.Class fieldType, - EquivalentConverter<T> converter) -
                Retrieves a structure modifier that only reads and writes fields of a given type.
                -
                StructureModifier<TField>write(int fieldIndex, - TField value) -
                Writes the value of a field given its index.
                -
                StructureModifier<TField>writeDefaults() -
                Sets all non-primitive fields to a more fitting default value.
                -
                StructureModifier<TField>writeSafely(int fieldIndex, - TField value) -
                Writes the value of a given field IF and ONLY if it exists.
                -
                -
                  -
                • - - -

                  Methods inherited from class java.lang.Object

                  -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
                • -
                -
              • -
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Field Detail

                - - - -
                  -
                • -

                  targetType

                  -
                  protected java.lang.Class targetType
                  -
                • -
                - - - -
                  -
                • -

                  target

                  -
                  protected java.lang.Object target
                  -
                • -
                - - - - - - - -
                  -
                • -

                  fieldType

                  -
                  protected java.lang.Class fieldType
                  -
                • -
                - - - -
                  -
                • -

                  data

                  -
                  protected java.util.List<java.lang.reflect.Field> data
                  -
                • -
                - - - -
                  -
                • -

                  defaultFields

                  -
                  protected java.util.Map<java.lang.reflect.Field,java.lang.Integer> defaultFields
                  -
                • -
                - - - -
                  -
                • -

                  subtypeCache

                  -
                  protected java.util.Map<java.lang.Class,StructureModifier> subtypeCache
                  -
                • -
                - - - -
                  -
                • -

                  customConvertHandling

                  -
                  protected boolean customConvertHandling
                  -
                • -
                -
              • -
              - -
                -
              • - - -

                Constructor Detail

                - - - -
                  -
                • -

                  StructureModifier

                  -
                  public StructureModifier(java.lang.Class targetType,
                  -                 java.lang.Class superclassExclude,
                  -                 boolean requireDefault)
                  -
                  Creates a structure modifier.
                  -
                  Parameters:
                  targetType - - the structure to modify.
                  superclassExclude - - a superclass to exclude.
                  requireDefault - - whether or not we will be using writeDefaults().
                  -
                • -
                - - - -
                  -
                • -

                  StructureModifier

                  -
                  protected StructureModifier()
                  -
                  Consumers of this method should call "initialize".
                  -
                • -
                -
              • -
              - -
                -
              • - - -

                Method Detail

                - - - -
                  -
                • -

                  initialize

                  -
                  protected void initialize(StructureModifier<TField> other)
                  -
                  Initialize using the same field types.
                  -
                  Parameters:
                  other - - information to set.
                  -
                • -
                - - - -
                  -
                • -

                  initialize

                  -
                  protected void initialize(java.lang.Class targetType,
                  -              java.lang.Class fieldType,
                  -              java.util.List<java.lang.reflect.Field> data,
                  -              java.util.Map<java.lang.reflect.Field,java.lang.Integer> defaultFields,
                  -              EquivalentConverter<TField> converter,
                  -              java.util.Map<java.lang.Class,StructureModifier> subTypeCache)
                  -
                  Initialize every field of this class.
                  -
                  Parameters:
                  targetType - - type of the object we're reading and writing from.
                  fieldType - - the common type of the fields we're modifying.
                  data - - list of fields to modify.
                  defaultFields - - list of fields that will be automatically initialized.
                  converter - - converts between the common field type and the actual type the consumer expects.
                  subTypeCache - - a structure modifier cache.
                  -
                • -
                - - - -
                  -
                • -

                  read

                  -
                  public TField read(int fieldIndex)
                  -            throws FieldAccessException
                  -
                  Reads the value of a field given its index.
                  -
                  Parameters:
                  fieldIndex - - index of the field.
                  -
                  Returns:
                  Value of the field.
                  -
                  Throws:
                  -
                  FieldAccessException - The field doesn't exist, or it cannot be accessed under the current security contraints.
                  -
                • -
                - - - -
                  -
                • -

                  readSafely

                  -
                  public TField readSafely(int fieldIndex)
                  -                  throws FieldAccessException
                  -
                  Reads the value of a field if and ONLY IF it exists.
                  -
                  Parameters:
                  fieldIndex - - index of the field.
                  -
                  Returns:
                  Value of the field, or NULL if it doesn't exist.
                  -
                  Throws:
                  -
                  FieldAccessException - The field cannot be accessed under the current security contraints.
                  -
                • -
                - - - - - -
                  -
                • -

                  write

                  -
                  public StructureModifier<TField> write(int fieldIndex,
                  -                              TField value)
                  -                                throws FieldAccessException
                  -
                  Writes the value of a field given its index.
                  -
                  Parameters:
                  fieldIndex - - index of the field.
                  value - - new value of the field.
                  -
                  Returns:
                  This structure modifier - for chaining.
                  -
                  Throws:
                  -
                  FieldAccessException - The field doesn't exist, or it cannot be accessed under the current security contraints.
                  -
                • -
                - - - - - -
                  -
                • -

                  writeSafely

                  -
                  public StructureModifier<TField> writeSafely(int fieldIndex,
                  -                                    TField value)
                  -                                      throws FieldAccessException
                  -
                  Writes the value of a given field IF and ONLY if it exists.
                  -
                  Parameters:
                  fieldIndex - - index of the potential field.
                  value - - new value of the field.
                  -
                  Returns:
                  This structure modifer - for chaining.
                  -
                  Throws:
                  -
                  FieldAccessException - The field cannot be accessed under the current security contraints.
                  -
                • -
                - - - -
                  -
                • -

                  modify

                  -
                  public StructureModifier<TField> modify(int fieldIndex,
                  -                               com.google.common.base.Function<TField,TField> select)
                  -                                 throws FieldAccessException
                  -
                  Correctly modifies the value of a field.
                  -
                  Parameters:
                  fieldIndex - - index of the field to modify.
                  select - - the function that modifies the field value.
                  -
                  Returns:
                  This structure modifier - for chaining.
                  -
                  Throws:
                  -
                  FieldAccessException - The field cannot be accessed under the current security contraints.
                  -
                • -
                - - - -
                  -
                • -

                  withType

                  -
                  public <T> StructureModifier<T> withType(java.lang.Class fieldType)
                  -
                  Retrieves a structure modifier that only reads and writes fields of a given type.
                  -
                  Parameters:
                  fieldType - - the type, or supertype, of every field to modify.
                  -
                  Returns:
                  A structure modifier for fields of this type.
                  -
                • -
                - - - - - - - -
                  -
                • -

                  withType

                  -
                  public <T> StructureModifier<T> withType(java.lang.Class fieldType,
                  -                                EquivalentConverter<T> converter)
                  -
                  Retrieves a structure modifier that only reads and writes fields of a given type.
                  -
                  Parameters:
                  fieldType - - the type, or supertype, of every field to modify.
                  converter - - converts objects into the given type.
                  -
                  Returns:
                  A structure modifier for fields of this type.
                  -
                • -
                - - - -
                  -
                • -

                  getFieldType

                  -
                  public java.lang.Class getFieldType()
                  -
                  Retrieves the common type of each field.
                  -
                  Returns:
                  Common type of each field.
                  -
                • -
                - - - -
                  -
                • -

                  getTargetType

                  -
                  public java.lang.Class getTargetType()
                  -
                  Retrieves the type of the object we're modifying.
                  -
                  Returns:
                  Type of the object.
                  -
                • -
                - - - -
                  -
                • -

                  getTarget

                  -
                  public java.lang.Object getTarget()
                  -
                  Retrieves the object we're currently modifying.
                  -
                  Returns:
                  Object we're modifying.
                  -
                • -
                - - - -
                  -
                • -

                  size

                  -
                  public int size()
                  -
                  Retrieve the number of readable types.
                  -
                  Returns:
                  Readable types.
                  -
                • -
                - - - -
                  -
                • -

                  withFieldType

                  -
                  protected <T> StructureModifier<T> withFieldType(java.lang.Class fieldType,
                  -                                     java.util.List<java.lang.reflect.Field> filtered,
                  -                                     java.util.Map<java.lang.reflect.Field,java.lang.Integer> defaults,
                  -                                     EquivalentConverter<T> converter)
                  -
                  Create a new structure modifier for the new field type.
                  -
                  Parameters:
                  fieldType - - common type of each field.
                  filtered - - list of fields after filtering the original modifier.
                  defaults - - list of default values after filtering the original.
                  converter - - the new converter.
                  -
                  Returns:
                  A new structure modifier.
                  -
                • -
                - - - -
                  -
                • -

                  withTarget

                  -
                  public StructureModifier<TField> withTarget(java.lang.Object target)
                  -
                  Retrieves a structure modifier of the same type for a different object target.
                  -
                  Parameters:
                  target - - different target of the same type.
                  -
                  Returns:
                  Structure modifier with the new target.
                  -
                • -
                - - - -
                  -
                • -

                  setConverter

                  -
                  protected void setConverter(EquivalentConverter<TField> converter)
                  -
                  Set the current object converter. Should only be called during construction.
                  -
                  Parameters:
                  converter - - current object converter.
                  -
                • -
                - - - -
                  -
                • -

                  getFields

                  -
                  public java.util.List<java.lang.reflect.Field> getFields()
                  -
                  Retrieves a list of the fields matching the constraints of this structure modifier.
                  -
                  Returns:
                  List of fields.
                  -
                • -
                - - - -
                  -
                • -

                  getValues

                  -
                  public java.util.List<TField> getValues()
                  -                                 throws FieldAccessException
                  -
                  Retrieve every value stored in the fields of the current type.
                  -
                  Returns:
                  Every field value.
                  -
                  Throws:
                  -
                  FieldAccessException - Unable to access one or all of the fields
                  -
                • -
                -
              • -
              -
            • -
            -
            -
            - - - - - - - + + + + + +StructureModifier + + + + + + + + + + + +
            +
            com.comphenix.protocol.reflect
            +

            Class StructureModifier<TField>

            +
            +
            +
              +
            • java.lang.Object
            • +
            • +
                +
              • com.comphenix.protocol.reflect.StructureModifier<TField>
              • +
              +
            • +
            +
            +
              +
            • +
              Type Parameters:
              TField - Type of the fields to retrieve.
              +
              +
              Direct Known Subclasses:
              +
              CompiledStructureModifier
              +
              +
              +
              +
              public class StructureModifier<TField>
              +extends java.lang.Object
              +
              Provides list-oriented access to the fields of a Minecraft packet. +

              + Implemented by using reflection. Use a CompiledStructureModifier, if speed is essential.

              +
              Author:
              +
              Kristian
              +
            • +
            +
            +
            +
              +
            • + + + +
                +
              • + + +

                Constructor Summary

                + + + + + + + + + + + + + + +
                Constructors 
                ModifierConstructor and Description
                protected StructureModifier() +
                Consumers of this method should call "initialize".
                +
                 StructureModifier(java.lang.Class targetType, + java.lang.Class superclassExclude, + boolean requireDefault) +
                Creates a structure modifier.
                +
                +
              • +
              + +
                +
              • + + +

                Method Summary

                + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                Methods 
                Modifier and TypeMethod and Description
                java.util.List<java.lang.reflect.Field>getFields() +
                Retrieves a list of the fields matching the constraints of this structure modifier.
                +
                java.lang.ClassgetFieldType() +
                Retrieves the common type of each field.
                +
                java.lang.ObjectgetTarget() +
                Retrieves the object we're currently modifying.
                +
                java.lang.ClassgetTargetType() +
                Retrieves the type of the object we're modifying.
                +
                java.util.List<TField>getValues() +
                Retrieve every value stored in the fields of the current type.
                +
                protected voidinitialize(java.lang.Class targetType, + java.lang.Class fieldType, + java.util.List<java.lang.reflect.Field> data, + java.util.Map<java.lang.reflect.Field,java.lang.Integer> defaultFields, + EquivalentConverter<TField> converter, + java.util.Map<java.lang.Class,StructureModifier> subTypeCache) +
                Initialize every field of this class.
                +
                protected voidinitialize(StructureModifier<TField> other) +
                Initialize using the same field types.
                +
                StructureModifier<TField>modify(int fieldIndex, + com.google.common.base.Function<TField,TField> select) +
                Correctly modifies the value of a field.
                +
                TFieldread(int fieldIndex) +
                Reads the value of a field given its index.
                +
                TFieldreadSafely(int fieldIndex) +
                Reads the value of a field if and ONLY IF it exists.
                +
                protected voidsetConverter(EquivalentConverter<TField> converter) +
                Set the current object converter.
                +
                intsize() +
                Retrieve the number of readable types.
                +
                protected <T> StructureModifier<T>withFieldType(java.lang.Class fieldType, + java.util.List<java.lang.reflect.Field> filtered, + java.util.Map<java.lang.reflect.Field,java.lang.Integer> defaults, + EquivalentConverter<T> converter) +
                Create a new structure modifier for the new field type.
                +
                StructureModifier<TField>withTarget(java.lang.Object target) +
                Retrieves a structure modifier of the same type for a different object target.
                +
                <T> StructureModifier<T>withType(java.lang.Class fieldType) +
                Retrieves a structure modifier that only reads and writes fields of a given type.
                +
                <T> StructureModifier<T>withType(java.lang.Class fieldType, + EquivalentConverter<T> converter) +
                Retrieves a structure modifier that only reads and writes fields of a given type.
                +
                StructureModifier<TField>write(int fieldIndex, + TField value) +
                Writes the value of a field given its index.
                +
                StructureModifier<TField>writeDefaults() +
                Sets all non-primitive fields to a more fitting default value.
                +
                StructureModifier<TField>writeSafely(int fieldIndex, + TField value) +
                Writes the value of a given field IF and ONLY if it exists.
                +
                +
                  +
                • + + +

                  Methods inherited from class java.lang.Object

                  +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
                • +
                +
              • +
              +
            • +
            +
            +
            +
              +
            • + +
                +
              • + + +

                Field Detail

                + + + +
                  +
                • +

                  targetType

                  +
                  protected java.lang.Class targetType
                  +
                • +
                + + + +
                  +
                • +

                  target

                  +
                  protected java.lang.Object target
                  +
                • +
                + + + + + + + +
                  +
                • +

                  fieldType

                  +
                  protected java.lang.Class fieldType
                  +
                • +
                + + + +
                  +
                • +

                  data

                  +
                  protected java.util.List<java.lang.reflect.Field> data
                  +
                • +
                + + + +
                  +
                • +

                  defaultFields

                  +
                  protected java.util.Map<java.lang.reflect.Field,java.lang.Integer> defaultFields
                  +
                • +
                + + + +
                  +
                • +

                  subtypeCache

                  +
                  protected java.util.Map<java.lang.Class,StructureModifier> subtypeCache
                  +
                • +
                + + + +
                  +
                • +

                  customConvertHandling

                  +
                  protected boolean customConvertHandling
                  +
                • +
                +
              • +
              + +
                +
              • + + +

                Constructor Detail

                + + + +
                  +
                • +

                  StructureModifier

                  +
                  public StructureModifier(java.lang.Class targetType,
                  +                 java.lang.Class superclassExclude,
                  +                 boolean requireDefault)
                  +
                  Creates a structure modifier.
                  +
                  Parameters:
                  targetType - - the structure to modify.
                  superclassExclude - - a superclass to exclude.
                  requireDefault - - whether or not we will be using writeDefaults().
                  +
                • +
                + + + +
                  +
                • +

                  StructureModifier

                  +
                  protected StructureModifier()
                  +
                  Consumers of this method should call "initialize".
                  +
                • +
                +
              • +
              + +
                +
              • + + +

                Method Detail

                + + + +
                  +
                • +

                  initialize

                  +
                  protected void initialize(StructureModifier<TField> other)
                  +
                  Initialize using the same field types.
                  +
                  Parameters:
                  other - - information to set.
                  +
                • +
                + + + +
                  +
                • +

                  initialize

                  +
                  protected void initialize(java.lang.Class targetType,
                  +              java.lang.Class fieldType,
                  +              java.util.List<java.lang.reflect.Field> data,
                  +              java.util.Map<java.lang.reflect.Field,java.lang.Integer> defaultFields,
                  +              EquivalentConverter<TField> converter,
                  +              java.util.Map<java.lang.Class,StructureModifier> subTypeCache)
                  +
                  Initialize every field of this class.
                  +
                  Parameters:
                  targetType - - type of the object we're reading and writing from.
                  fieldType - - the common type of the fields we're modifying.
                  data - - list of fields to modify.
                  defaultFields - - list of fields that will be automatically initialized.
                  converter - - converts between the common field type and the actual type the consumer expects.
                  subTypeCache - - a structure modifier cache.
                  +
                • +
                + + + +
                  +
                • +

                  read

                  +
                  public TField read(int fieldIndex)
                  +            throws FieldAccessException
                  +
                  Reads the value of a field given its index.
                  +
                  Parameters:
                  fieldIndex - - index of the field.
                  +
                  Returns:
                  Value of the field.
                  +
                  Throws:
                  +
                  FieldAccessException - The field doesn't exist, or it cannot be accessed under the current security contraints.
                  +
                • +
                + + + +
                  +
                • +

                  readSafely

                  +
                  public TField readSafely(int fieldIndex)
                  +                  throws FieldAccessException
                  +
                  Reads the value of a field if and ONLY IF it exists.
                  +
                  Parameters:
                  fieldIndex - - index of the field.
                  +
                  Returns:
                  Value of the field, or NULL if it doesn't exist.
                  +
                  Throws:
                  +
                  FieldAccessException - The field cannot be accessed under the current security contraints.
                  +
                • +
                + + + + + +
                  +
                • +

                  write

                  +
                  public StructureModifier<TField> write(int fieldIndex,
                  +                              TField value)
                  +                                throws FieldAccessException
                  +
                  Writes the value of a field given its index.
                  +
                  Parameters:
                  fieldIndex - - index of the field.
                  value - - new value of the field.
                  +
                  Returns:
                  This structure modifier - for chaining.
                  +
                  Throws:
                  +
                  FieldAccessException - The field doesn't exist, or it cannot be accessed under the current security contraints.
                  +
                • +
                + + + + + +
                  +
                • +

                  writeSafely

                  +
                  public StructureModifier<TField> writeSafely(int fieldIndex,
                  +                                    TField value)
                  +                                      throws FieldAccessException
                  +
                  Writes the value of a given field IF and ONLY if it exists.
                  +
                  Parameters:
                  fieldIndex - - index of the potential field.
                  value - - new value of the field.
                  +
                  Returns:
                  This structure modifer - for chaining.
                  +
                  Throws:
                  +
                  FieldAccessException - The field cannot be accessed under the current security contraints.
                  +
                • +
                + + + +
                  +
                • +

                  modify

                  +
                  public StructureModifier<TField> modify(int fieldIndex,
                  +                               com.google.common.base.Function<TField,TField> select)
                  +                                 throws FieldAccessException
                  +
                  Correctly modifies the value of a field.
                  +
                  Parameters:
                  fieldIndex - - index of the field to modify.
                  select - - the function that modifies the field value.
                  +
                  Returns:
                  This structure modifier - for chaining.
                  +
                  Throws:
                  +
                  FieldAccessException - The field cannot be accessed under the current security contraints.
                  +
                • +
                + + + +
                  +
                • +

                  withType

                  +
                  public <T> StructureModifier<T> withType(java.lang.Class fieldType)
                  +
                  Retrieves a structure modifier that only reads and writes fields of a given type.
                  +
                  Parameters:
                  fieldType - - the type, or supertype, of every field to modify.
                  +
                  Returns:
                  A structure modifier for fields of this type.
                  +
                • +
                + + + + + + + +
                  +
                • +

                  withType

                  +
                  public <T> StructureModifier<T> withType(java.lang.Class fieldType,
                  +                                EquivalentConverter<T> converter)
                  +
                  Retrieves a structure modifier that only reads and writes fields of a given type.
                  +
                  Parameters:
                  fieldType - - the type, or supertype, of every field to modify.
                  converter - - converts objects into the given type.
                  +
                  Returns:
                  A structure modifier for fields of this type.
                  +
                • +
                + + + +
                  +
                • +

                  getFieldType

                  +
                  public java.lang.Class getFieldType()
                  +
                  Retrieves the common type of each field.
                  +
                  Returns:
                  Common type of each field.
                  +
                • +
                + + + +
                  +
                • +

                  getTargetType

                  +
                  public java.lang.Class getTargetType()
                  +
                  Retrieves the type of the object we're modifying.
                  +
                  Returns:
                  Type of the object.
                  +
                • +
                + + + +
                  +
                • +

                  getTarget

                  +
                  public java.lang.Object getTarget()
                  +
                  Retrieves the object we're currently modifying.
                  +
                  Returns:
                  Object we're modifying.
                  +
                • +
                + + + +
                  +
                • +

                  size

                  +
                  public int size()
                  +
                  Retrieve the number of readable types.
                  +
                  Returns:
                  Readable types.
                  +
                • +
                + + + +
                  +
                • +

                  withFieldType

                  +
                  protected <T> StructureModifier<T> withFieldType(java.lang.Class fieldType,
                  +                                     java.util.List<java.lang.reflect.Field> filtered,
                  +                                     java.util.Map<java.lang.reflect.Field,java.lang.Integer> defaults,
                  +                                     EquivalentConverter<T> converter)
                  +
                  Create a new structure modifier for the new field type.
                  +
                  Parameters:
                  fieldType - - common type of each field.
                  filtered - - list of fields after filtering the original modifier.
                  defaults - - list of default values after filtering the original.
                  converter - - the new converter.
                  +
                  Returns:
                  A new structure modifier.
                  +
                • +
                + + + +
                  +
                • +

                  withTarget

                  +
                  public StructureModifier<TField> withTarget(java.lang.Object target)
                  +
                  Retrieves a structure modifier of the same type for a different object target.
                  +
                  Parameters:
                  target - - different target of the same type.
                  +
                  Returns:
                  Structure modifier with the new target.
                  +
                • +
                + + + +
                  +
                • +

                  setConverter

                  +
                  protected void setConverter(EquivalentConverter<TField> converter)
                  +
                  Set the current object converter. Should only be called during construction.
                  +
                  Parameters:
                  converter - - current object converter.
                  +
                • +
                + + + +
                  +
                • +

                  getFields

                  +
                  public java.util.List<java.lang.reflect.Field> getFields()
                  +
                  Retrieves a list of the fields matching the constraints of this structure modifier.
                  +
                  Returns:
                  List of fields.
                  +
                • +
                + + + +
                  +
                • +

                  getValues

                  +
                  public java.util.List<TField> getValues()
                  +                                 throws FieldAccessException
                  +
                  Retrieve every value stored in the fields of the current type.
                  +
                  Returns:
                  Every field value.
                  +
                  Throws:
                  +
                  FieldAccessException - Unable to access one or all of the fields
                  +
                • +
                +
              • +
              +
            • +
            +
            +
            + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/StructureModifierTest.html b/Javadoc/com/comphenix/protocol/reflect/StructureModifierTest.html index 72ba1a5c..93a929a8 100644 --- a/Javadoc/com/comphenix/protocol/reflect/StructureModifierTest.html +++ b/Javadoc/com/comphenix/protocol/reflect/StructureModifierTest.html @@ -1,259 +1,259 @@ - - - - - -StructureModifierTest - - - - - - - - - - - -
            -
            com.comphenix.protocol.reflect
            -

            Class StructureModifierTest

            -
            -
            -
              -
            • java.lang.Object
            • -
            • -
                -
              • com.comphenix.protocol.reflect.StructureModifierTest
              • -
              -
            • -
            -
            -
              -
            • -
              -
              -
              public class StructureModifierTest
              -extends java.lang.Object
              -
            • -
            -
            -
            -
              -
            • - - - -
                -
              • - - -

                Method Summary

                - - - - - - - - - - -
                Methods 
                Modifier and TypeMethod and Description
                voidtest() 
                -
                  -
                • - - -

                  Methods inherited from class java.lang.Object

                  -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
                • -
                -
              • -
              -
            • -
            -
            -
            - -
            -
            - - - - - - - + + + + + +StructureModifierTest + + + + + + + + + + + +
            +
            com.comphenix.protocol.reflect
            +

            Class StructureModifierTest

            +
            +
            +
              +
            • java.lang.Object
            • +
            • +
                +
              • com.comphenix.protocol.reflect.StructureModifierTest
              • +
              +
            • +
            +
            +
              +
            • +
              +
              +
              public class StructureModifierTest
              +extends java.lang.Object
              +
            • +
            +
            +
            +
              +
            • + + + +
                +
              • + + +

                Method Summary

                + + + + + + + + + + +
                Methods 
                Modifier and TypeMethod and Description
                voidtest() 
                +
                  +
                • + + +

                  Methods inherited from class java.lang.Object

                  +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
                • +
                +
              • +
              +
            • +
            +
            +
            + +
            +
            + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/VolatileField.html b/Javadoc/com/comphenix/protocol/reflect/VolatileField.html index 27223cf6..3b5d8d4a 100644 --- a/Javadoc/com/comphenix/protocol/reflect/VolatileField.html +++ b/Javadoc/com/comphenix/protocol/reflect/VolatileField.html @@ -1,458 +1,458 @@ - - - - - -VolatileField - - - - - - - - - - - -
            -
            com.comphenix.protocol.reflect
            -

            Class VolatileField

            -
            -
            -
              -
            • java.lang.Object
            • -
            • -
                -
              • com.comphenix.protocol.reflect.VolatileField
              • -
              -
            • -
            -
            -
              -
            • -
              -
              -
              public class VolatileField
              -extends java.lang.Object
              -
              Represents a field that will revert to its original state when this class is garbaged collected.
              -
              Author:
              -
              Kristian
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Constructor Summary

                - - - - - - - - - - - -
                Constructors 
                Constructor and Description
                VolatileField(java.lang.reflect.Field field, - java.lang.Object container) -
                Initializes a volatile field with an associated object.
                -
                VolatileField(java.lang.reflect.Field field, - java.lang.Object container, - boolean forceAccess) -
                Initializes a volatile field with an associated object.
                -
                -
              • -
              - -
                -
              • - - -

                Method Summary

                - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                Methods 
                Modifier and TypeMethod and Description
                protected voidfinalize() 
                java.lang.ObjectgetContainer() -
                Retrieves the object the field is stored.
                -
                java.lang.reflect.FieldgetField() -
                Retrieves the current field.
                -
                java.lang.ObjectgetOldValue() -
                Retrieves the field value before the previous setValue(), unless saveValue() has been called.
                -
                java.lang.ObjectgetValue() -
                Retrieves the current field value.
                -
                booleanisCurrentSet() -
                Determine whether or not we'll need to revert the value.
                -
                booleanisForceAccess() -
                Retrieves whether or not not to override any scope restrictions.
                -
                voidrevertValue() -
                Revert to the previously set value.
                -
                voidsaveValue() -
                Ensure that the current value is still set after this class has been garbaged collected.
                -
                voidsetForceAccess(boolean forceAccess) -
                Sets whether or not not to override any scope restrictions.
                -
                voidsetValue(java.lang.Object newValue) -
                Sets the current value.
                -
                -
                  -
                • - - -

                  Methods inherited from class java.lang.Object

                  -clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
                • -
                -
              • -
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Constructor Detail

                - - - -
                  -
                • -

                  VolatileField

                  -
                  public VolatileField(java.lang.reflect.Field field,
                  -             java.lang.Object container)
                  -
                  Initializes a volatile field with an associated object.
                  -
                  Parameters:
                  field - - the field.
                  container - - the object this field belongs to.
                  -
                • -
                - - - -
                  -
                • -

                  VolatileField

                  -
                  public VolatileField(java.lang.reflect.Field field,
                  -             java.lang.Object container,
                  -             boolean forceAccess)
                  -
                  Initializes a volatile field with an associated object.
                  -
                  Parameters:
                  field - - the field.
                  container - - the object this field belongs to.
                  forceAccess - - whether or not to override any scope restrictions.
                  -
                • -
                -
              • -
              - -
                -
              • - - -

                Method Detail

                - - - -
                  -
                • -

                  getField

                  -
                  public java.lang.reflect.Field getField()
                  -
                  Retrieves the current field.
                  -
                  Returns:
                  The stored field.
                  -
                • -
                - - - -
                  -
                • -

                  getContainer

                  -
                  public java.lang.Object getContainer()
                  -
                  Retrieves the object the field is stored.
                  -
                  Returns:
                  The reference object.
                  -
                • -
                - - - -
                  -
                • -

                  isForceAccess

                  -
                  public boolean isForceAccess()
                  -
                  Retrieves whether or not not to override any scope restrictions.
                  -
                  Returns:
                  TRUE if we override scope, FALSE otherwise.
                  -
                • -
                - - - -
                  -
                • -

                  setForceAccess

                  -
                  public void setForceAccess(boolean forceAccess)
                  -
                  Sets whether or not not to override any scope restrictions.
                  -
                  Parameters:
                  forceAccess - - TRUE if we override scope, FALSE otherwise.
                  -
                • -
                - - - -
                  -
                • -

                  getValue

                  -
                  public java.lang.Object getValue()
                  -
                  Retrieves the current field value.
                  -
                  Returns:
                  The current field value.
                  -
                • -
                - - - -
                  -
                • -

                  getOldValue

                  -
                  public java.lang.Object getOldValue()
                  -
                  Retrieves the field value before the previous setValue(), unless saveValue() has been called.
                  -
                  Returns:
                  Previous value.
                  -
                • -
                - - - -
                  -
                • -

                  setValue

                  -
                  public void setValue(java.lang.Object newValue)
                  -
                  Sets the current value. This will be reverted unless saveValue() is called.
                  -
                  Parameters:
                  newValue - - new field value.
                  -
                • -
                - - - -
                  -
                • -

                  saveValue

                  -
                  public void saveValue()
                  -
                  Ensure that the current value is still set after this class has been garbaged collected.
                  -
                • -
                - - - -
                  -
                • -

                  revertValue

                  -
                  public void revertValue()
                  -
                  Revert to the previously set value.
                  -
                • -
                - - - -
                  -
                • -

                  isCurrentSet

                  -
                  public boolean isCurrentSet()
                  -
                  Determine whether or not we'll need to revert the value.
                  -
                • -
                - - - -
                  -
                • -

                  finalize

                  -
                  protected void finalize()
                  -                 throws java.lang.Throwable
                  -
                  -
                  Overrides:
                  -
                  finalize in class java.lang.Object
                  -
                  Throws:
                  -
                  java.lang.Throwable
                  -
                • -
                -
              • -
              -
            • -
            -
            -
            - - - - - - - + + + + + +VolatileField + + + + + + + + + + + +
            +
            com.comphenix.protocol.reflect
            +

            Class VolatileField

            +
            +
            +
              +
            • java.lang.Object
            • +
            • +
                +
              • com.comphenix.protocol.reflect.VolatileField
              • +
              +
            • +
            +
            +
              +
            • +
              +
              +
              public class VolatileField
              +extends java.lang.Object
              +
              Represents a field that will revert to its original state when this class is garbaged collected.
              +
              Author:
              +
              Kristian
              +
            • +
            +
            +
            +
              +
            • + +
                +
              • + + +

                Constructor Summary

                + + + + + + + + + + + +
                Constructors 
                Constructor and Description
                VolatileField(java.lang.reflect.Field field, + java.lang.Object container) +
                Initializes a volatile field with an associated object.
                +
                VolatileField(java.lang.reflect.Field field, + java.lang.Object container, + boolean forceAccess) +
                Initializes a volatile field with an associated object.
                +
                +
              • +
              + +
                +
              • + + +

                Method Summary

                + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                Methods 
                Modifier and TypeMethod and Description
                protected voidfinalize() 
                java.lang.ObjectgetContainer() +
                Retrieves the object the field is stored.
                +
                java.lang.reflect.FieldgetField() +
                Retrieves the current field.
                +
                java.lang.ObjectgetOldValue() +
                Retrieves the field value before the previous setValue(), unless saveValue() has been called.
                +
                java.lang.ObjectgetValue() +
                Retrieves the current field value.
                +
                booleanisCurrentSet() +
                Determine whether or not we'll need to revert the value.
                +
                booleanisForceAccess() +
                Retrieves whether or not not to override any scope restrictions.
                +
                voidrevertValue() +
                Revert to the previously set value.
                +
                voidsaveValue() +
                Ensure that the current value is still set after this class has been garbaged collected.
                +
                voidsetForceAccess(boolean forceAccess) +
                Sets whether or not not to override any scope restrictions.
                +
                voidsetValue(java.lang.Object newValue) +
                Sets the current value.
                +
                +
                  +
                • + + +

                  Methods inherited from class java.lang.Object

                  +clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
                • +
                +
              • +
              +
            • +
            +
            +
            +
              +
            • + +
                +
              • + + +

                Constructor Detail

                + + + +
                  +
                • +

                  VolatileField

                  +
                  public VolatileField(java.lang.reflect.Field field,
                  +             java.lang.Object container)
                  +
                  Initializes a volatile field with an associated object.
                  +
                  Parameters:
                  field - - the field.
                  container - - the object this field belongs to.
                  +
                • +
                + + + +
                  +
                • +

                  VolatileField

                  +
                  public VolatileField(java.lang.reflect.Field field,
                  +             java.lang.Object container,
                  +             boolean forceAccess)
                  +
                  Initializes a volatile field with an associated object.
                  +
                  Parameters:
                  field - - the field.
                  container - - the object this field belongs to.
                  forceAccess - - whether or not to override any scope restrictions.
                  +
                • +
                +
              • +
              + +
                +
              • + + +

                Method Detail

                + + + +
                  +
                • +

                  getField

                  +
                  public java.lang.reflect.Field getField()
                  +
                  Retrieves the current field.
                  +
                  Returns:
                  The stored field.
                  +
                • +
                + + + +
                  +
                • +

                  getContainer

                  +
                  public java.lang.Object getContainer()
                  +
                  Retrieves the object the field is stored.
                  +
                  Returns:
                  The reference object.
                  +
                • +
                + + + +
                  +
                • +

                  isForceAccess

                  +
                  public boolean isForceAccess()
                  +
                  Retrieves whether or not not to override any scope restrictions.
                  +
                  Returns:
                  TRUE if we override scope, FALSE otherwise.
                  +
                • +
                + + + +
                  +
                • +

                  setForceAccess

                  +
                  public void setForceAccess(boolean forceAccess)
                  +
                  Sets whether or not not to override any scope restrictions.
                  +
                  Parameters:
                  forceAccess - - TRUE if we override scope, FALSE otherwise.
                  +
                • +
                + + + +
                  +
                • +

                  getValue

                  +
                  public java.lang.Object getValue()
                  +
                  Retrieves the current field value.
                  +
                  Returns:
                  The current field value.
                  +
                • +
                + + + +
                  +
                • +

                  getOldValue

                  +
                  public java.lang.Object getOldValue()
                  +
                  Retrieves the field value before the previous setValue(), unless saveValue() has been called.
                  +
                  Returns:
                  Previous value.
                  +
                • +
                + + + +
                  +
                • +

                  setValue

                  +
                  public void setValue(java.lang.Object newValue)
                  +
                  Sets the current value. This will be reverted unless saveValue() is called.
                  +
                  Parameters:
                  newValue - - new field value.
                  +
                • +
                + + + +
                  +
                • +

                  saveValue

                  +
                  public void saveValue()
                  +
                  Ensure that the current value is still set after this class has been garbaged collected.
                  +
                • +
                + + + +
                  +
                • +

                  revertValue

                  +
                  public void revertValue()
                  +
                  Revert to the previously set value.
                  +
                • +
                + + + +
                  +
                • +

                  isCurrentSet

                  +
                  public boolean isCurrentSet()
                  +
                  Determine whether or not we'll need to revert the value.
                  +
                • +
                + + + +
                  +
                • +

                  finalize

                  +
                  protected void finalize()
                  +                 throws java.lang.Throwable
                  +
                  +
                  Overrides:
                  +
                  finalize in class java.lang.Object
                  +
                  Throws:
                  +
                  java.lang.Throwable
                  +
                • +
                +
              • +
              +
            • +
            +
            +
            + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/class-use/EquivalentConverter.html b/Javadoc/com/comphenix/protocol/reflect/class-use/EquivalentConverter.html index fb5160ce..9b5d544e 100644 --- a/Javadoc/com/comphenix/protocol/reflect/class-use/EquivalentConverter.html +++ b/Javadoc/com/comphenix/protocol/reflect/class-use/EquivalentConverter.html @@ -1,197 +1,197 @@ - - - - - -Uses of Interface com.comphenix.protocol.reflect.EquivalentConverter - - - - - - - - - - -
            -

            Uses of Interface
            com.comphenix.protocol.reflect.EquivalentConverter

            -
            -
            - -
            - - - - - - + + + + + +Uses of Interface com.comphenix.protocol.reflect.EquivalentConverter + + + + + + + + + + +
            +

            Uses of Interface
            com.comphenix.protocol.reflect.EquivalentConverter

            +
            +
            + +
            + + + + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/class-use/FieldAccessException.html b/Javadoc/com/comphenix/protocol/reflect/class-use/FieldAccessException.html index 55dd7dc5..f38988d3 100644 --- a/Javadoc/com/comphenix/protocol/reflect/class-use/FieldAccessException.html +++ b/Javadoc/com/comphenix/protocol/reflect/class-use/FieldAccessException.html @@ -1,368 +1,368 @@ - - - - - -Uses of Class com.comphenix.protocol.reflect.FieldAccessException - - - - - - - - - - -
            -

            Uses of Class
            com.comphenix.protocol.reflect.FieldAccessException

            -
            -
            - -
            - - - - - - + + + + + +Uses of Class com.comphenix.protocol.reflect.FieldAccessException + + + + + + + + + + +
            +

            Uses of Class
            com.comphenix.protocol.reflect.FieldAccessException

            +
            +
            + +
            + + + + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/class-use/FieldUtils.html b/Javadoc/com/comphenix/protocol/reflect/class-use/FieldUtils.html index 82ed8a41..22fe66f3 100644 --- a/Javadoc/com/comphenix/protocol/reflect/class-use/FieldUtils.html +++ b/Javadoc/com/comphenix/protocol/reflect/class-use/FieldUtils.html @@ -1,115 +1,115 @@ - - - - - -Uses of Class com.comphenix.protocol.reflect.FieldUtils - - - - - - - - - - -
            -

            Uses of Class
            com.comphenix.protocol.reflect.FieldUtils

            -
            -
            No usage of com.comphenix.protocol.reflect.FieldUtils
            - - - - - - + + + + + +Uses of Class com.comphenix.protocol.reflect.FieldUtils + + + + + + + + + + +
            +

            Uses of Class
            com.comphenix.protocol.reflect.FieldUtils

            +
            +
            No usage of com.comphenix.protocol.reflect.FieldUtils
            + + + + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/class-use/FuzzyReflection.html b/Javadoc/com/comphenix/protocol/reflect/class-use/FuzzyReflection.html index 747b9d68..a109bc56 100644 --- a/Javadoc/com/comphenix/protocol/reflect/class-use/FuzzyReflection.html +++ b/Javadoc/com/comphenix/protocol/reflect/class-use/FuzzyReflection.html @@ -1,177 +1,177 @@ - - - - - -Uses of Class com.comphenix.protocol.reflect.FuzzyReflection - - - - - - - - - - -
            -

            Uses of Class
            com.comphenix.protocol.reflect.FuzzyReflection

            -
            -
            - -
            - - - - - - + + + + + +Uses of Class com.comphenix.protocol.reflect.FuzzyReflection + + + + + + + + + + +
            +

            Uses of Class
            com.comphenix.protocol.reflect.FuzzyReflection

            +
            +
            + +
            + + + + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/class-use/IntEnum.html b/Javadoc/com/comphenix/protocol/reflect/class-use/IntEnum.html index ff59ceff..7fe04ea0 100644 --- a/Javadoc/com/comphenix/protocol/reflect/class-use/IntEnum.html +++ b/Javadoc/com/comphenix/protocol/reflect/class-use/IntEnum.html @@ -1,163 +1,163 @@ - - - - - -Uses of Class com.comphenix.protocol.reflect.IntEnum - - - - - - - - - - -
            -

            Uses of Class
            com.comphenix.protocol.reflect.IntEnum

            -
            -
            - -
            - - - - - - + + + + + +Uses of Class com.comphenix.protocol.reflect.IntEnum + + + + + + + + + + +
            +

            Uses of Class
            com.comphenix.protocol.reflect.IntEnum

            +
            +
            + +
            + + + + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/class-use/MethodUtils.html b/Javadoc/com/comphenix/protocol/reflect/class-use/MethodUtils.html index e8b5ea4f..1988a667 100644 --- a/Javadoc/com/comphenix/protocol/reflect/class-use/MethodUtils.html +++ b/Javadoc/com/comphenix/protocol/reflect/class-use/MethodUtils.html @@ -1,115 +1,115 @@ - - - - - -Uses of Class com.comphenix.protocol.reflect.MethodUtils - - - - - - - - - - -
            -

            Uses of Class
            com.comphenix.protocol.reflect.MethodUtils

            -
            -
            No usage of com.comphenix.protocol.reflect.MethodUtils
            - - - - - - + + + + + +Uses of Class com.comphenix.protocol.reflect.MethodUtils + + + + + + + + + + +
            +

            Uses of Class
            com.comphenix.protocol.reflect.MethodUtils

            +
            +
            No usage of com.comphenix.protocol.reflect.MethodUtils
            + + + + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/class-use/ObjectCloner.html b/Javadoc/com/comphenix/protocol/reflect/class-use/ObjectCloner.html index bc5ad8b3..f00ede2e 100644 --- a/Javadoc/com/comphenix/protocol/reflect/class-use/ObjectCloner.html +++ b/Javadoc/com/comphenix/protocol/reflect/class-use/ObjectCloner.html @@ -1,115 +1,115 @@ - - - - - -Uses of Class com.comphenix.protocol.reflect.ObjectCloner - - - - - - - - - - -
            -

            Uses of Class
            com.comphenix.protocol.reflect.ObjectCloner

            -
            -
            No usage of com.comphenix.protocol.reflect.ObjectCloner
            - - - - - - + + + + + +Uses of Class com.comphenix.protocol.reflect.ObjectCloner + + + + + + + + + + +
            +

            Uses of Class
            com.comphenix.protocol.reflect.ObjectCloner

            +
            +
            No usage of com.comphenix.protocol.reflect.ObjectCloner
            + + + + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/class-use/PrimitiveUtils.html b/Javadoc/com/comphenix/protocol/reflect/class-use/PrimitiveUtils.html index 398d6e61..851d4549 100644 --- a/Javadoc/com/comphenix/protocol/reflect/class-use/PrimitiveUtils.html +++ b/Javadoc/com/comphenix/protocol/reflect/class-use/PrimitiveUtils.html @@ -1,115 +1,115 @@ - - - - - -Uses of Class com.comphenix.protocol.reflect.PrimitiveUtils - - - - - - - - - - -
            -

            Uses of Class
            com.comphenix.protocol.reflect.PrimitiveUtils

            -
            -
            No usage of com.comphenix.protocol.reflect.PrimitiveUtils
            - - - - - - + + + + + +Uses of Class com.comphenix.protocol.reflect.PrimitiveUtils + + + + + + + + + + +
            +

            Uses of Class
            com.comphenix.protocol.reflect.PrimitiveUtils

            +
            +
            No usage of com.comphenix.protocol.reflect.PrimitiveUtils
            + + + + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/class-use/StructureModifier.html b/Javadoc/com/comphenix/protocol/reflect/class-use/StructureModifier.html index c67b543e..90ac6577 100644 --- a/Javadoc/com/comphenix/protocol/reflect/class-use/StructureModifier.html +++ b/Javadoc/com/comphenix/protocol/reflect/class-use/StructureModifier.html @@ -1,468 +1,468 @@ - - - - - -Uses of Class com.comphenix.protocol.reflect.StructureModifier - - - - - - - - - - -
            -

            Uses of Class
            com.comphenix.protocol.reflect.StructureModifier

            -
            -
            - -
            - - - - - - + + + + + +Uses of Class com.comphenix.protocol.reflect.StructureModifier + + + + + + + + + + +
            +

            Uses of Class
            com.comphenix.protocol.reflect.StructureModifier

            +
            +
            + +
            + + + + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/class-use/StructureModifierTest.html b/Javadoc/com/comphenix/protocol/reflect/class-use/StructureModifierTest.html index 52c2aa67..b19a580d 100644 --- a/Javadoc/com/comphenix/protocol/reflect/class-use/StructureModifierTest.html +++ b/Javadoc/com/comphenix/protocol/reflect/class-use/StructureModifierTest.html @@ -1,115 +1,115 @@ - - - - - -Uses of Class com.comphenix.protocol.reflect.StructureModifierTest - - - - - - - - - - -
            -

            Uses of Class
            com.comphenix.protocol.reflect.StructureModifierTest

            -
            -
            No usage of com.comphenix.protocol.reflect.StructureModifierTest
            - - - - - - + + + + + +Uses of Class com.comphenix.protocol.reflect.StructureModifierTest + + + + + + + + + + +
            +

            Uses of Class
            com.comphenix.protocol.reflect.StructureModifierTest

            +
            +
            No usage of com.comphenix.protocol.reflect.StructureModifierTest
            + + + + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/class-use/VolatileField.html b/Javadoc/com/comphenix/protocol/reflect/class-use/VolatileField.html index c5fe1f7b..6d4be46a 100644 --- a/Javadoc/com/comphenix/protocol/reflect/class-use/VolatileField.html +++ b/Javadoc/com/comphenix/protocol/reflect/class-use/VolatileField.html @@ -1,115 +1,115 @@ - - - - - -Uses of Class com.comphenix.protocol.reflect.VolatileField - - - - - - - - - - -
            -

            Uses of Class
            com.comphenix.protocol.reflect.VolatileField

            -
            -
            No usage of com.comphenix.protocol.reflect.VolatileField
            - - - - - - + + + + + +Uses of Class com.comphenix.protocol.reflect.VolatileField + + + + + + + + + + +
            +

            Uses of Class
            com.comphenix.protocol.reflect.VolatileField

            +
            +
            No usage of com.comphenix.protocol.reflect.VolatileField
            + + + + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/compiler/BackgroundCompiler.html b/Javadoc/com/comphenix/protocol/reflect/compiler/BackgroundCompiler.html index 5c157848..4009e155 100644 --- a/Javadoc/com/comphenix/protocol/reflect/compiler/BackgroundCompiler.html +++ b/Javadoc/com/comphenix/protocol/reflect/compiler/BackgroundCompiler.html @@ -1,465 +1,465 @@ - - - - - -BackgroundCompiler - - - - - - - - - - - -
            -
            com.comphenix.protocol.reflect.compiler
            -

            Class BackgroundCompiler

            -
            -
            -
              -
            • java.lang.Object
            • -
            • -
                -
              • com.comphenix.protocol.reflect.compiler.BackgroundCompiler
              • -
              -
            • -
            -
            -
              -
            • -
              -
              -
              public class BackgroundCompiler
              -extends java.lang.Object
              -
              Compiles structure modifiers on a background thread. -

              - This is necessary as we cannot block the main thread.

              -
              Author:
              -
              Kristian
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Field Summary

                - - - - - - - - - - -
                Fields 
                Modifier and TypeField and Description
                static intSHUTDOWN_DELAY_MS 
                -
              • -
              - -
                -
              • - - -

                Constructor Summary

                - - - - - - - - - - - -
                Constructors 
                Constructor and Description
                BackgroundCompiler(java.lang.ClassLoader loader) -
                Initialize a background compiler.
                -
                BackgroundCompiler(java.lang.ClassLoader loader, - java.util.concurrent.ExecutorService executor) -
                Initialize a background compiler utilizing the given thread pool.
                -
                -
              • -
              - -
                -
              • - - -

                Method Summary

                - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                Methods 
                Modifier and TypeMethod and Description
                StructureCompilergetCompiler() -
                Retrieve the current structure compiler.
                -
                static BackgroundCompilergetInstance() -
                Retrieves the current background compiler.
                -
                booleanisEnabled() -
                Retrieve whether or not the background compiler is enabled.
                -
                voidscheduleCompilation(java.util.Map<java.lang.Class,StructureModifier> cache, - java.lang.Class key) -
                Ensure that the indirectly given structure modifier is eventually compiled.
                -
                <TKey> voidscheduleCompilation(StructureModifier<TKey> uncompiled, - CompileListener<TKey> listener) -
                Ensure that the given structure modifier is eventually compiled.
                -
                voidsetEnabled(boolean enabled) -
                Sets whether or not the background compiler is enabled.
                -
                static voidsetInstance(BackgroundCompiler backgroundCompiler) -
                Sets the single background compiler we're using.
                -
                voidshutdownAll() -
                Clean up after ourselves using the default timeout.
                -
                voidshutdownAll(long timeout, - java.util.concurrent.TimeUnit unit) -
                Clean up after ourselves.
                -
                -
                  -
                • - - -

                  Methods inherited from class java.lang.Object

                  -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
                • -
                -
              • -
              -
            • -
            -
            -
            -
              -
            • - - - -
                -
              • - - -

                Constructor Detail

                - - - -
                  -
                • -

                  BackgroundCompiler

                  -
                  public BackgroundCompiler(java.lang.ClassLoader loader)
                  -
                  Initialize a background compiler.
                  -
                  Parameters:
                  loader - - class loader from Bukkit.
                  -
                • -
                - - - -
                  -
                • -

                  BackgroundCompiler

                  -
                  public BackgroundCompiler(java.lang.ClassLoader loader,
                  -                  java.util.concurrent.ExecutorService executor)
                  -
                  Initialize a background compiler utilizing the given thread pool.
                  -
                  Parameters:
                  loader - - class loader from Bukkit.
                  executor - - thread pool we'll use.
                  -
                • -
                -
              • -
              - -
                -
              • - - -

                Method Detail

                - - - -
                  -
                • -

                  getInstance

                  -
                  public static BackgroundCompiler getInstance()
                  -
                  Retrieves the current background compiler.
                  -
                  Returns:
                  Current background compiler.
                  -
                • -
                - - - -
                  -
                • -

                  setInstance

                  -
                  public static void setInstance(BackgroundCompiler backgroundCompiler)
                  -
                  Sets the single background compiler we're using.
                  -
                  Parameters:
                  backgroundCompiler - - current background compiler, or NULL if the library is not loaded.
                  -
                • -
                - - - -
                  -
                • -

                  scheduleCompilation

                  -
                  public void scheduleCompilation(java.util.Map<java.lang.Class,StructureModifier> cache,
                  -                       java.lang.Class key)
                  -
                  Ensure that the indirectly given structure modifier is eventually compiled.
                  -
                  Parameters:
                  cache - - store of structure modifiers.
                  key - - key of the structure modifier to compile.
                  -
                • -
                - - - -
                  -
                • -

                  scheduleCompilation

                  -
                  public <TKey> void scheduleCompilation(StructureModifier<TKey> uncompiled,
                  -                              CompileListener<TKey> listener)
                  -
                  Ensure that the given structure modifier is eventually compiled.
                  -
                  Parameters:
                  uncompiled - - structure modifier to compile.
                  listener - - listener responsible for responding to the compilation.
                  -
                • -
                - - - -
                  -
                • -

                  shutdownAll

                  -
                  public void shutdownAll()
                  -
                  Clean up after ourselves using the default timeout.
                  -
                • -
                - - - -
                  -
                • -

                  shutdownAll

                  -
                  public void shutdownAll(long timeout,
                  -               java.util.concurrent.TimeUnit unit)
                  -
                  Clean up after ourselves.
                  -
                  Parameters:
                  timeout - - the maximum time to wait.
                  unit - - the time unit of the timeout argument.
                  -
                • -
                - - - -
                  -
                • -

                  isEnabled

                  -
                  public boolean isEnabled()
                  -
                  Retrieve whether or not the background compiler is enabled.
                  -
                  Returns:
                  TRUE if it is enabled, FALSE otherwise.
                  -
                • -
                - - - -
                  -
                • -

                  setEnabled

                  -
                  public void setEnabled(boolean enabled)
                  -
                  Sets whether or not the background compiler is enabled.
                  -
                  Parameters:
                  enabled - - TRUE to enable it, FALSE otherwise.
                  -
                • -
                - - - -
                  -
                • -

                  getCompiler

                  -
                  public StructureCompiler getCompiler()
                  -
                  Retrieve the current structure compiler.
                  -
                  Returns:
                  Current structure compiler.
                  -
                • -
                -
              • -
              -
            • -
            -
            -
            - - - - - - - + + + + + +BackgroundCompiler + + + + + + + + + + + +
            +
            com.comphenix.protocol.reflect.compiler
            +

            Class BackgroundCompiler

            +
            +
            +
              +
            • java.lang.Object
            • +
            • +
                +
              • com.comphenix.protocol.reflect.compiler.BackgroundCompiler
              • +
              +
            • +
            +
            +
              +
            • +
              +
              +
              public class BackgroundCompiler
              +extends java.lang.Object
              +
              Compiles structure modifiers on a background thread. +

              + This is necessary as we cannot block the main thread.

              +
              Author:
              +
              Kristian
              +
            • +
            +
            +
            +
              +
            • + +
                +
              • + + +

                Field Summary

                + + + + + + + + + + +
                Fields 
                Modifier and TypeField and Description
                static intSHUTDOWN_DELAY_MS 
                +
              • +
              + +
                +
              • + + +

                Constructor Summary

                + + + + + + + + + + + +
                Constructors 
                Constructor and Description
                BackgroundCompiler(java.lang.ClassLoader loader) +
                Initialize a background compiler.
                +
                BackgroundCompiler(java.lang.ClassLoader loader, + java.util.concurrent.ExecutorService executor) +
                Initialize a background compiler utilizing the given thread pool.
                +
                +
              • +
              + +
                +
              • + + +

                Method Summary

                + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                Methods 
                Modifier and TypeMethod and Description
                StructureCompilergetCompiler() +
                Retrieve the current structure compiler.
                +
                static BackgroundCompilergetInstance() +
                Retrieves the current background compiler.
                +
                booleanisEnabled() +
                Retrieve whether or not the background compiler is enabled.
                +
                voidscheduleCompilation(java.util.Map<java.lang.Class,StructureModifier> cache, + java.lang.Class key) +
                Ensure that the indirectly given structure modifier is eventually compiled.
                +
                <TKey> voidscheduleCompilation(StructureModifier<TKey> uncompiled, + CompileListener<TKey> listener) +
                Ensure that the given structure modifier is eventually compiled.
                +
                voidsetEnabled(boolean enabled) +
                Sets whether or not the background compiler is enabled.
                +
                static voidsetInstance(BackgroundCompiler backgroundCompiler) +
                Sets the single background compiler we're using.
                +
                voidshutdownAll() +
                Clean up after ourselves using the default timeout.
                +
                voidshutdownAll(long timeout, + java.util.concurrent.TimeUnit unit) +
                Clean up after ourselves.
                +
                +
                  +
                • + + +

                  Methods inherited from class java.lang.Object

                  +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
                • +
                +
              • +
              +
            • +
            +
            +
            +
              +
            • + + + +
                +
              • + + +

                Constructor Detail

                + + + +
                  +
                • +

                  BackgroundCompiler

                  +
                  public BackgroundCompiler(java.lang.ClassLoader loader)
                  +
                  Initialize a background compiler.
                  +
                  Parameters:
                  loader - - class loader from Bukkit.
                  +
                • +
                + + + +
                  +
                • +

                  BackgroundCompiler

                  +
                  public BackgroundCompiler(java.lang.ClassLoader loader,
                  +                  java.util.concurrent.ExecutorService executor)
                  +
                  Initialize a background compiler utilizing the given thread pool.
                  +
                  Parameters:
                  loader - - class loader from Bukkit.
                  executor - - thread pool we'll use.
                  +
                • +
                +
              • +
              + +
                +
              • + + +

                Method Detail

                + + + +
                  +
                • +

                  getInstance

                  +
                  public static BackgroundCompiler getInstance()
                  +
                  Retrieves the current background compiler.
                  +
                  Returns:
                  Current background compiler.
                  +
                • +
                + + + +
                  +
                • +

                  setInstance

                  +
                  public static void setInstance(BackgroundCompiler backgroundCompiler)
                  +
                  Sets the single background compiler we're using.
                  +
                  Parameters:
                  backgroundCompiler - - current background compiler, or NULL if the library is not loaded.
                  +
                • +
                + + + +
                  +
                • +

                  scheduleCompilation

                  +
                  public void scheduleCompilation(java.util.Map<java.lang.Class,StructureModifier> cache,
                  +                       java.lang.Class key)
                  +
                  Ensure that the indirectly given structure modifier is eventually compiled.
                  +
                  Parameters:
                  cache - - store of structure modifiers.
                  key - - key of the structure modifier to compile.
                  +
                • +
                + + + +
                  +
                • +

                  scheduleCompilation

                  +
                  public <TKey> void scheduleCompilation(StructureModifier<TKey> uncompiled,
                  +                              CompileListener<TKey> listener)
                  +
                  Ensure that the given structure modifier is eventually compiled.
                  +
                  Parameters:
                  uncompiled - - structure modifier to compile.
                  listener - - listener responsible for responding to the compilation.
                  +
                • +
                + + + +
                  +
                • +

                  shutdownAll

                  +
                  public void shutdownAll()
                  +
                  Clean up after ourselves using the default timeout.
                  +
                • +
                + + + +
                  +
                • +

                  shutdownAll

                  +
                  public void shutdownAll(long timeout,
                  +               java.util.concurrent.TimeUnit unit)
                  +
                  Clean up after ourselves.
                  +
                  Parameters:
                  timeout - - the maximum time to wait.
                  unit - - the time unit of the timeout argument.
                  +
                • +
                + + + +
                  +
                • +

                  isEnabled

                  +
                  public boolean isEnabled()
                  +
                  Retrieve whether or not the background compiler is enabled.
                  +
                  Returns:
                  TRUE if it is enabled, FALSE otherwise.
                  +
                • +
                + + + +
                  +
                • +

                  setEnabled

                  +
                  public void setEnabled(boolean enabled)
                  +
                  Sets whether or not the background compiler is enabled.
                  +
                  Parameters:
                  enabled - - TRUE to enable it, FALSE otherwise.
                  +
                • +
                + + + +
                  +
                • +

                  getCompiler

                  +
                  public StructureCompiler getCompiler()
                  +
                  Retrieve the current structure compiler.
                  +
                  Returns:
                  Current structure compiler.
                  +
                • +
                +
              • +
              +
            • +
            +
            +
            + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/compiler/CompileListener.html b/Javadoc/com/comphenix/protocol/reflect/compiler/CompileListener.html index 393b4cff..330958c0 100644 --- a/Javadoc/com/comphenix/protocol/reflect/compiler/CompileListener.html +++ b/Javadoc/com/comphenix/protocol/reflect/compiler/CompileListener.html @@ -1,214 +1,214 @@ - - - - - -CompileListener - - - - - - - - - - - -
            -
            com.comphenix.protocol.reflect.compiler
            -

            Interface CompileListener<TKey>

            -
            -
            -
            -
              -
            • -
              Type Parameters:
              TKey - - type of the structure modifier field.
              -
              -
              -
              public interface CompileListener<TKey>
              -
              Used to save the result of an compilation.
              -
              Author:
              -
              Kristian
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Method Summary

                - - - - - - - - - - -
                Methods 
                Modifier and TypeMethod and Description
                voidonCompiled(StructureModifier<TKey> compiledModifier) -
                Invoked when a structure modifier has been successfully compiled.
                -
                -
              • -
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Method Detail

                - - - -
                  -
                • -

                  onCompiled

                  -
                  void onCompiled(StructureModifier<TKey> compiledModifier)
                  -
                  Invoked when a structure modifier has been successfully compiled.
                  -
                  Parameters:
                  compiledModifier - - the compiled structure modifier.
                  -
                • -
                -
              • -
              -
            • -
            -
            -
            - - - - - - - + + + + + +CompileListener + + + + + + + + + + + +
            +
            com.comphenix.protocol.reflect.compiler
            +

            Interface CompileListener<TKey>

            +
            +
            +
            +
              +
            • +
              Type Parameters:
              TKey - - type of the structure modifier field.
              +
              +
              +
              public interface CompileListener<TKey>
              +
              Used to save the result of an compilation.
              +
              Author:
              +
              Kristian
              +
            • +
            +
            +
            +
              +
            • + +
                +
              • + + +

                Method Summary

                + + + + + + + + + + +
                Methods 
                Modifier and TypeMethod and Description
                voidonCompiled(StructureModifier<TKey> compiledModifier) +
                Invoked when a structure modifier has been successfully compiled.
                +
                +
              • +
              +
            • +
            +
            +
            +
              +
            • + +
                +
              • + + +

                Method Detail

                + + + +
                  +
                • +

                  onCompiled

                  +
                  void onCompiled(StructureModifier<TKey> compiledModifier)
                  +
                  Invoked when a structure modifier has been successfully compiled.
                  +
                  Parameters:
                  compiledModifier - - the compiled structure modifier.
                  +
                • +
                +
              • +
              +
            • +
            +
            +
            + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/compiler/CompiledStructureModifier.html b/Javadoc/com/comphenix/protocol/reflect/compiler/CompiledStructureModifier.html index da5ce6af..600fa7ab 100644 --- a/Javadoc/com/comphenix/protocol/reflect/compiler/CompiledStructureModifier.html +++ b/Javadoc/com/comphenix/protocol/reflect/compiler/CompiledStructureModifier.html @@ -1,434 +1,434 @@ - - - - - -CompiledStructureModifier - - - - - - - - - - - -
            -
            com.comphenix.protocol.reflect.compiler
            -

            Class CompiledStructureModifier<TField>

            -
            -
            - -
            -
              -
            • -
              Type Parameters:
              TField - Field type.
              -
              -
              -
              public abstract class CompiledStructureModifier<TField>
              -extends StructureModifier<TField>
              -
              Represents a compiled structure modifier.
              -
              Author:
              -
              Kristian
              -
            • -
            -
            -
            - -
            -
            - -
            -
            - - - - - - - + + + + + +CompiledStructureModifier + + + + + + + + + + + +
            +
            com.comphenix.protocol.reflect.compiler
            +

            Class CompiledStructureModifier<TField>

            +
            +
            + +
            +
              +
            • +
              Type Parameters:
              TField - Field type.
              +
              +
              +
              public abstract class CompiledStructureModifier<TField>
              +extends StructureModifier<TField>
              +
              Represents a compiled structure modifier.
              +
              Author:
              +
              Kristian
              +
            • +
            +
            +
            + +
            +
            + +
            +
            + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/compiler/StructureCompiler.html b/Javadoc/com/comphenix/protocol/reflect/compiler/StructureCompiler.html index 2a1f24bc..8c25d5eb 100644 --- a/Javadoc/com/comphenix/protocol/reflect/compiler/StructureCompiler.html +++ b/Javadoc/com/comphenix/protocol/reflect/compiler/StructureCompiler.html @@ -1,233 +1,233 @@ - - - - - -StructureCompiler - - - - - - - - - - - -
            -
            com.comphenix.protocol.reflect.compiler
            -

            Class StructureCompiler

            -
            -
            -
              -
            • java.lang.Object
            • -
            • -
                -
              • com.comphenix.protocol.reflect.compiler.StructureCompiler
              • -
              -
            • -
            -
            -
              -
            • -
              -
              -
              public final class StructureCompiler
              -extends java.lang.Object
              -
              Represents a StructureModifier compiler.
              -
              Author:
              -
              Kristian
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Method Summary

                - - - - - - - - - - -
                Methods 
                Modifier and TypeMethod and Description
                <TField> StructureModifier<TField>compile(StructureModifier<TField> source) -
                Compiles the given structure modifier.
                -
                -
                  -
                • - - -

                  Methods inherited from class java.lang.Object

                  -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
                • -
                -
              • -
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Method Detail

                - - - -
                  -
                • -

                  compile

                  -
                  public <TField> StructureModifier<TField> compile(StructureModifier<TField> source)
                  -
                  Compiles the given structure modifier. -

                  - WARNING: Do NOT call this method in the main thread. Compiling may easily take 10 ms, which is already - over 1/4 of a tick (50 ms). Let the background thread automatically compile the structure modifiers instead.

                  -
                  Parameters:
                  source - - structure modifier to compile.
                  -
                  Returns:
                  A compiled structure modifier.
                  -
                • -
                -
              • -
              -
            • -
            -
            -
            - - - - - - - + + + + + +StructureCompiler + + + + + + + + + + + +
            +
            com.comphenix.protocol.reflect.compiler
            +

            Class StructureCompiler

            +
            +
            +
              +
            • java.lang.Object
            • +
            • +
                +
              • com.comphenix.protocol.reflect.compiler.StructureCompiler
              • +
              +
            • +
            +
            +
              +
            • +
              +
              +
              public final class StructureCompiler
              +extends java.lang.Object
              +
              Represents a StructureModifier compiler.
              +
              Author:
              +
              Kristian
              +
            • +
            +
            +
            +
              +
            • + +
                +
              • + + +

                Method Summary

                + + + + + + + + + + +
                Methods 
                Modifier and TypeMethod and Description
                <TField> StructureModifier<TField>compile(StructureModifier<TField> source) +
                Compiles the given structure modifier.
                +
                +
                  +
                • + + +

                  Methods inherited from class java.lang.Object

                  +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
                • +
                +
              • +
              +
            • +
            +
            +
            +
              +
            • + +
                +
              • + + +

                Method Detail

                + + + +
                  +
                • +

                  compile

                  +
                  public <TField> StructureModifier<TField> compile(StructureModifier<TField> source)
                  +
                  Compiles the given structure modifier. +

                  + WARNING: Do NOT call this method in the main thread. Compiling may easily take 10 ms, which is already + over 1/4 of a tick (50 ms). Let the background thread automatically compile the structure modifiers instead.

                  +
                  Parameters:
                  source - - structure modifier to compile.
                  +
                  Returns:
                  A compiled structure modifier.
                  +
                • +
                +
              • +
              +
            • +
            +
            +
            + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/compiler/class-use/BackgroundCompiler.html b/Javadoc/com/comphenix/protocol/reflect/compiler/class-use/BackgroundCompiler.html index 8c784d8b..51ecedf1 100644 --- a/Javadoc/com/comphenix/protocol/reflect/compiler/class-use/BackgroundCompiler.html +++ b/Javadoc/com/comphenix/protocol/reflect/compiler/class-use/BackgroundCompiler.html @@ -1,172 +1,172 @@ - - - - - -Uses of Class com.comphenix.protocol.reflect.compiler.BackgroundCompiler - - - - - - - - - - -
            -

            Uses of Class
            com.comphenix.protocol.reflect.compiler.BackgroundCompiler

            -
            -
            - -
            - - - - - - + + + + + +Uses of Class com.comphenix.protocol.reflect.compiler.BackgroundCompiler + + + + + + + + + + +
            +

            Uses of Class
            com.comphenix.protocol.reflect.compiler.BackgroundCompiler

            +
            +
            + +
            + + + + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/compiler/class-use/CompileListener.html b/Javadoc/com/comphenix/protocol/reflect/compiler/class-use/CompileListener.html index 6a5c0220..b2f1adaf 100644 --- a/Javadoc/com/comphenix/protocol/reflect/compiler/class-use/CompileListener.html +++ b/Javadoc/com/comphenix/protocol/reflect/compiler/class-use/CompileListener.html @@ -1,158 +1,158 @@ - - - - - -Uses of Interface com.comphenix.protocol.reflect.compiler.CompileListener - - - - - - - - - - -
            -

            Uses of Interface
            com.comphenix.protocol.reflect.compiler.CompileListener

            -
            -
            - -
            - - - - - - + + + + + +Uses of Interface com.comphenix.protocol.reflect.compiler.CompileListener + + + + + + + + + + +
            +

            Uses of Interface
            com.comphenix.protocol.reflect.compiler.CompileListener

            +
            +
            + +
            + + + + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/compiler/class-use/CompiledStructureModifier.html b/Javadoc/com/comphenix/protocol/reflect/compiler/class-use/CompiledStructureModifier.html index f4ef3a08..2ab3abc8 100644 --- a/Javadoc/com/comphenix/protocol/reflect/compiler/class-use/CompiledStructureModifier.html +++ b/Javadoc/com/comphenix/protocol/reflect/compiler/class-use/CompiledStructureModifier.html @@ -1,115 +1,115 @@ - - - - - -Uses of Class com.comphenix.protocol.reflect.compiler.CompiledStructureModifier - - - - - - - - - - -
            -

            Uses of Class
            com.comphenix.protocol.reflect.compiler.CompiledStructureModifier

            -
            -
            No usage of com.comphenix.protocol.reflect.compiler.CompiledStructureModifier
            - - - - - - + + + + + +Uses of Class com.comphenix.protocol.reflect.compiler.CompiledStructureModifier + + + + + + + + + + +
            +

            Uses of Class
            com.comphenix.protocol.reflect.compiler.CompiledStructureModifier

            +
            +
            No usage of com.comphenix.protocol.reflect.compiler.CompiledStructureModifier
            + + + + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/compiler/class-use/StructureCompiler.html b/Javadoc/com/comphenix/protocol/reflect/compiler/class-use/StructureCompiler.html index 0e249f52..a90e3aa9 100644 --- a/Javadoc/com/comphenix/protocol/reflect/compiler/class-use/StructureCompiler.html +++ b/Javadoc/com/comphenix/protocol/reflect/compiler/class-use/StructureCompiler.html @@ -1,170 +1,170 @@ - - - - - -Uses of Class com.comphenix.protocol.reflect.compiler.StructureCompiler - - - - - - - - - - -
            -

            Uses of Class
            com.comphenix.protocol.reflect.compiler.StructureCompiler

            -
            -
            - -
            - - - - - - + + + + + +Uses of Class com.comphenix.protocol.reflect.compiler.StructureCompiler + + + + + + + + + + +
            +

            Uses of Class
            com.comphenix.protocol.reflect.compiler.StructureCompiler

            +
            +
            + +
            + + + + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/compiler/package-frame.html b/Javadoc/com/comphenix/protocol/reflect/compiler/package-frame.html index 951238c4..3055dc44 100644 --- a/Javadoc/com/comphenix/protocol/reflect/compiler/package-frame.html +++ b/Javadoc/com/comphenix/protocol/reflect/compiler/package-frame.html @@ -1,25 +1,25 @@ - - - - - -com.comphenix.protocol.reflect.compiler - - - - -

            com.comphenix.protocol.reflect.compiler

            - - - + + + + + +com.comphenix.protocol.reflect.compiler + + + + +

            com.comphenix.protocol.reflect.compiler

            + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/compiler/package-summary.html b/Javadoc/com/comphenix/protocol/reflect/compiler/package-summary.html index 1543a721..9a9d65d7 100644 --- a/Javadoc/com/comphenix/protocol/reflect/compiler/package-summary.html +++ b/Javadoc/com/comphenix/protocol/reflect/compiler/package-summary.html @@ -1,164 +1,164 @@ - - - - - -com.comphenix.protocol.reflect.compiler - - - - - - - -
            - - - - - -
            - - -
            -

            Package com.comphenix.protocol.reflect.compiler

            -
            -
            -
              -
            • - - - - - - - - - - - - -
              Interface Summary 
              InterfaceDescription
              CompileListener<TKey> -
              Used to save the result of an compilation.
              -
              -
            • -
            • - - - - - - - - - - - - - - - - - - - - -
              Class Summary 
              ClassDescription
              BackgroundCompiler -
              Compiles structure modifiers on a background thread.
              -
              CompiledStructureModifier<TField> -
              Represents a compiled structure modifier.
              -
              StructureCompiler -
              Represents a StructureModifier compiler.
              -
              -
            • -
            -
            - -
            - - - - - -
            - - - - + + + + + +com.comphenix.protocol.reflect.compiler + + + + + + + +
            + + + + + +
            + + +
            +

            Package com.comphenix.protocol.reflect.compiler

            +
            +
            +
              +
            • + + + + + + + + + + + + +
              Interface Summary 
              InterfaceDescription
              CompileListener<TKey> +
              Used to save the result of an compilation.
              +
              +
            • +
            • + + + + + + + + + + + + + + + + + + + + +
              Class Summary 
              ClassDescription
              BackgroundCompiler +
              Compiles structure modifiers on a background thread.
              +
              CompiledStructureModifier<TField> +
              Represents a compiled structure modifier.
              +
              StructureCompiler +
              Represents a StructureModifier compiler.
              +
              +
            • +
            +
            + +
            + + + + + +
            + + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/compiler/package-tree.html b/Javadoc/com/comphenix/protocol/reflect/compiler/package-tree.html index a3e0ba48..1727d974 100644 --- a/Javadoc/com/comphenix/protocol/reflect/compiler/package-tree.html +++ b/Javadoc/com/comphenix/protocol/reflect/compiler/package-tree.html @@ -1,138 +1,138 @@ - - - - - -com.comphenix.protocol.reflect.compiler Class Hierarchy - - - - - - - -
            - - - - - -
            - - -
            -

            Hierarchy For Package com.comphenix.protocol.reflect.compiler

            -Package Hierarchies: - -
            -
            -

            Class Hierarchy

            - -

            Interface Hierarchy

            - -
            - -
            - - - - - -
            - - - - + + + + + +com.comphenix.protocol.reflect.compiler Class Hierarchy + + + + + + + +
            + + + + + +
            + + +
            +

            Hierarchy For Package com.comphenix.protocol.reflect.compiler

            +Package Hierarchies: + +
            +
            +

            Class Hierarchy

            + +

            Interface Hierarchy

            + +
            + +
            + + + + + +
            + + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/compiler/package-use.html b/Javadoc/com/comphenix/protocol/reflect/compiler/package-use.html index 79b90fc6..851884ae 100644 --- a/Javadoc/com/comphenix/protocol/reflect/compiler/package-use.html +++ b/Javadoc/com/comphenix/protocol/reflect/compiler/package-use.html @@ -1,160 +1,160 @@ - - - - - -Uses of Package com.comphenix.protocol.reflect.compiler - - - - - - - - - - -
            -

            Uses of Package
            com.comphenix.protocol.reflect.compiler

            -
            -
            - -
            - - - - - - + + + + + +Uses of Package com.comphenix.protocol.reflect.compiler + + + + + + + + + + +
            +

            Uses of Package
            com.comphenix.protocol.reflect.compiler

            +
            +
            + +
            + + + + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/CollectionGenerator.html b/Javadoc/com/comphenix/protocol/reflect/instances/CollectionGenerator.html index 56e06f34..644885ec 100644 --- a/Javadoc/com/comphenix/protocol/reflect/instances/CollectionGenerator.html +++ b/Javadoc/com/comphenix/protocol/reflect/instances/CollectionGenerator.html @@ -1,313 +1,313 @@ - - - - - -CollectionGenerator - - - - - - - - - - - -
            -
            com.comphenix.protocol.reflect.instances
            -

            Class CollectionGenerator

            -
            -
            -
              -
            • java.lang.Object
            • -
            • -
                -
              • com.comphenix.protocol.reflect.instances.CollectionGenerator
              • -
              -
            • -
            -
            -
              -
            • -
              -
              All Implemented Interfaces:
              -
              InstanceProvider
              -
              -
              -
              -
              public class CollectionGenerator
              -extends java.lang.Object
              -implements InstanceProvider
              -
              Provides simple constructors for collection interfaces.
              -
              Author:
              -
              Kristian
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Field Summary

                - - - - - - - - - - -
                Fields 
                Modifier and TypeField and Description
                static CollectionGeneratorINSTANCE -
                Shared instance of this generator.
                -
                -
              • -
              - - - -
                -
              • - - -

                Method Summary

                - - - - - - - - - - -
                Methods 
                Modifier and TypeMethod and Description
                java.lang.Objectcreate(java.lang.Class<?> type) -
                Create an instance given a type, if possible.
                -
                -
                  -
                • - - -

                  Methods inherited from class java.lang.Object

                  -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
                • -
                -
              • -
              -
            • -
            -
            -
            -
              -
            • - - - -
                -
              • - - -

                Constructor Detail

                - - - -
                  -
                • -

                  CollectionGenerator

                  -
                  public CollectionGenerator()
                  -
                • -
                -
              • -
              - -
                -
              • - - -

                Method Detail

                - - - -
                  -
                • -

                  create

                  -
                  public java.lang.Object create(@Nullable
                  -                      java.lang.Class<?> type)
                  -
                  Description copied from interface: InstanceProvider
                  -
                  Create an instance given a type, if possible.
                  -
                  -
                  Specified by:
                  -
                  create in interface InstanceProvider
                  -
                  Parameters:
                  type - - type to create.
                  -
                  Returns:
                  The instance, or NULL if the type cannot be created.
                  -
                • -
                -
              • -
              -
            • -
            -
            -
            - - - - - - - + + + + + +CollectionGenerator + + + + + + + + + + + +
            +
            com.comphenix.protocol.reflect.instances
            +

            Class CollectionGenerator

            +
            +
            +
              +
            • java.lang.Object
            • +
            • +
                +
              • com.comphenix.protocol.reflect.instances.CollectionGenerator
              • +
              +
            • +
            +
            +
              +
            • +
              +
              All Implemented Interfaces:
              +
              InstanceProvider
              +
              +
              +
              +
              public class CollectionGenerator
              +extends java.lang.Object
              +implements InstanceProvider
              +
              Provides simple constructors for collection interfaces.
              +
              Author:
              +
              Kristian
              +
            • +
            +
            +
            +
              +
            • + +
                +
              • + + +

                Field Summary

                + + + + + + + + + + +
                Fields 
                Modifier and TypeField and Description
                static CollectionGeneratorINSTANCE +
                Shared instance of this generator.
                +
                +
              • +
              + + + +
                +
              • + + +

                Method Summary

                + + + + + + + + + + +
                Methods 
                Modifier and TypeMethod and Description
                java.lang.Objectcreate(java.lang.Class<?> type) +
                Create an instance given a type, if possible.
                +
                +
                  +
                • + + +

                  Methods inherited from class java.lang.Object

                  +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
                • +
                +
              • +
              +
            • +
            +
            +
            +
              +
            • + +
                +
              • + + +

                Field Detail

                + + + +
                  +
                • +

                  INSTANCE

                  +
                  public static final CollectionGenerator INSTANCE
                  +
                  Shared instance of this generator.
                  +
                • +
                +
              • +
              + +
                +
              • + + +

                Constructor Detail

                + + + +
                  +
                • +

                  CollectionGenerator

                  +
                  public CollectionGenerator()
                  +
                • +
                +
              • +
              + +
                +
              • + + +

                Method Detail

                + + + +
                  +
                • +

                  create

                  +
                  public java.lang.Object create(@Nullable
                  +                      java.lang.Class<?> type)
                  +
                  Description copied from interface: InstanceProvider
                  +
                  Create an instance given a type, if possible.
                  +
                  +
                  Specified by:
                  +
                  create in interface InstanceProvider
                  +
                  Parameters:
                  type - - type to create.
                  +
                  Returns:
                  The instance, or NULL if the type cannot be created.
                  +
                • +
                +
              • +
              +
            • +
            +
            +
            + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/DefaultInstances.html b/Javadoc/com/comphenix/protocol/reflect/instances/DefaultInstances.html index 7c99560f..8138e81e 100644 --- a/Javadoc/com/comphenix/protocol/reflect/instances/DefaultInstances.html +++ b/Javadoc/com/comphenix/protocol/reflect/instances/DefaultInstances.html @@ -1,564 +1,564 @@ - - - - - -DefaultInstances - - - - - - - - - - - -
            -
            com.comphenix.protocol.reflect.instances
            -

            Class DefaultInstances

            -
            -
            -
              -
            • java.lang.Object
            • -
            • -
                -
              • com.comphenix.protocol.reflect.instances.DefaultInstances
              • -
              -
            • -
            -
            -
              -
            • -
              -
              -
              public class DefaultInstances
              -extends java.lang.Object
              -
              Used to construct default instances of any type.
              -
              Author:
              -
              Kristian
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Field Summary

                - - - - - - - - - - -
                Fields 
                Modifier and TypeField and Description
                static DefaultInstancesDEFAULT -
                Standard default instance provider.
                -
                -
              • -
              - - - -
                -
              • - - -

                Method Summary

                - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                Methods 
                Modifier and TypeMethod and Description
                protected <T> booleancontains(T[] elements, - T elementToFind) 
                protected <T> TcreateInstance(java.lang.Class<T> type, - java.lang.reflect.Constructor<T> constructor, - java.lang.Class<?>[] types, - java.lang.Object[] params) -
                Used by the default instance provider to create a class from a given constructor.
                -
                DefaultInstancesforEnhancer(net.sf.cglib.proxy.Enhancer enhancer) -
                Construct default instances using the CGLIB enhancer object instead.
                -
                static DefaultInstancesfromArray(InstanceProvider... instaceProviders) -
                Construct a default instance generator using the given instance providers.
                -
                <T> TgetDefault(java.lang.Class<T> type) -
                Retrieves a default instance or value that is assignable to this type.
                -
                <T> TgetDefault(java.lang.Class<T> type, - java.util.List<InstanceProvider> providers) -
                Retrieves a default instance or value that is assignable to this type.
                -
                intgetMaximumRecursion() -
                Retrieve the the maximum height of the hierachy of creates types.
                -
                <T> java.lang.reflect.Constructor<T>getMinimumConstructor(java.lang.Class<T> type) -
                Retrieve the constructor with the fewest number of parameters.
                -
                com.google.common.collect.ImmutableList<InstanceProvider>getRegistered() -
                Retrieves a immutable list of every default object providers that generates instances.
                -
                booleanisNonNull() -
                Retrieve whether or not the constructor's parameters must be non-null.
                -
                voidsetMaximumRecursion(int maximumRecursion) -
                Set the maximum height of the hierachy of creates types.
                -
                voidsetNonNull(boolean nonNull) -
                Set whether or not the constructor's parameters must be non-null.
                -
                -
                  -
                • - - -

                  Methods inherited from class java.lang.Object

                  -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
                • -
                -
              • -
              -
            • -
            -
            -
            -
              -
            • - -
                -
              • - - -

                Field Detail

                - - - -
                  -
                • -

                  DEFAULT

                  -
                  public static DefaultInstances DEFAULT
                  -
                  Standard default instance provider.
                  -
                • -
                -
              • -
              - -
                -
              • - - -

                Constructor Detail

                - - - -
                  -
                • -

                  DefaultInstances

                  -
                  public DefaultInstances(com.google.common.collect.ImmutableList<InstanceProvider> registered)
                  -
                  Construct a default instance generator using the given instance providers.
                  -
                  Parameters:
                  registered - - list of instance providers.
                  -
                • -
                - - - -
                  -
                • -

                  DefaultInstances

                  -
                  public DefaultInstances(DefaultInstances other)
                  -
                  Copy a given instance provider.
                  -
                  Parameters:
                  other - - instance provider to copy.
                  -
                • -
                - - - -
                  -
                • -

                  DefaultInstances

                  -
                  public DefaultInstances(InstanceProvider... instaceProviders)
                  -
                  Construct a default instance generator using the given instance providers.
                  -
                  Parameters:
                  instaceProviders - - array of instance providers.
                  -
                • -
                -
              • -
              - -
                -
              • - - -

                Method Detail

                - - - -
                  -
                • -

                  fromArray

                  -
                  public static DefaultInstances fromArray(InstanceProvider... instaceProviders)
                  -
                  Construct a default instance generator using the given instance providers.
                  -
                  Parameters:
                  instaceProviders - - array of instance providers.
                  -
                  Returns:
                  An default instance generator.
                  -
                • -
                - - - -
                  -
                • -

                  getRegistered

                  -
                  public com.google.common.collect.ImmutableList<InstanceProvider> getRegistered()
                  -
                  Retrieves a immutable list of every default object providers that generates instances.
                  -
                  Returns:
                  Table of instance providers.
                  -
                • -
                - - - -
                  -
                • -

                  isNonNull

                  -
                  public boolean isNonNull()
                  -
                  Retrieve whether or not the constructor's parameters must be non-null.
                  -
                  Returns:
                  TRUE if they must be non-null, FALSE otherwise.
                  -
                • -
                - - - -
                  -
                • -

                  setNonNull

                  -
                  public void setNonNull(boolean nonNull)
                  -
                  Set whether or not the constructor's parameters must be non-null.
                  -
                  Parameters:
                  nonNull - - TRUE if they must be non-null, FALSE otherwise.
                  -
                • -
                - - - -
                  -
                • -

                  getMaximumRecursion

                  -
                  public int getMaximumRecursion()
                  -
                  Retrieve the the maximum height of the hierachy of creates types.
                  -
                  Returns:
                  Maximum height.
                  -
                • -
                - - - -
                  -
                • -

                  setMaximumRecursion

                  -
                  public void setMaximumRecursion(int maximumRecursion)
                  -
                  Set the maximum height of the hierachy of creates types. Used to prevent cycles.
                  -
                  Parameters:
                  maximumRecursion - - maximum recursion height.
                  -
                • -
                - - - -
                  -
                • -

                  getDefault

                  -
                  public <T> T getDefault(java.lang.Class<T> type)
                  -
                  Retrieves a default instance or value that is assignable to this type. -

                  - This includes, but isn't limited too: -

                    -
                  • Primitive types. Returns either zero or null.
                  • -
                  • Primitive wrappers.
                  • -
                  • String types. Returns an empty string.
                  • -
                  • Arrays. Returns a zero-length array of the same type.
                  • -
                  • Enums. Returns the first declared element.
                  • -
                  • Collection interfaces, such as List and Set. Returns the most appropriate empty container.
                  • -
                  • Any type with a public constructor that has parameters with defaults.
                  • -
                  -
            -
            Parameters:
            type - - the type to construct a default value.
            -
            Returns:
            A default value/instance, or NULL if not possible.
            - -
          - - - -
            -
          • -

            getMinimumConstructor

            -
            public <T> java.lang.reflect.Constructor<T> getMinimumConstructor(java.lang.Class<T> type)
            -
            Retrieve the constructor with the fewest number of parameters.
            -
            Parameters:
            type - - type to construct.
            -
            Returns:
            A constructor with the fewest number of parameters, or NULL if the type has no constructors.
            -
          • -
          - - - -
            -
          • -

            getDefault

            -
            public <T> T getDefault(java.lang.Class<T> type,
            -               java.util.List<InstanceProvider> providers)
            -
            Retrieves a default instance or value that is assignable to this type. -

            - This includes, but isn't limited too: -

              -
            • Primitive types. Returns either zero or null.
            • -
            • Primitive wrappers.
            • -
            • String types. Returns an empty string.
            • -
            • Arrays. Returns a zero-length array of the same type.
            • -
            • Enums. Returns the first declared element.
            • -
            • Collection interfaces, such as List and Set. Returns the most appropriate empty container.
            • -
            • Any type with a public constructor that has parameters with defaults.
            • -
            -
          -
          Parameters:
          type - - the type to construct a default value.
          providers - - instance providers used during the construction.
          -
          Returns:
          A default value/instance, or NULL if not possible.
          - -
        - - - -
          -
        • -

          forEnhancer

          -
          public DefaultInstances forEnhancer(net.sf.cglib.proxy.Enhancer enhancer)
          -
          Construct default instances using the CGLIB enhancer object instead.
          -
          Parameters:
          enhancer - - a CGLIB enhancer to use.
          -
          Returns:
          A default instance generator that uses the CGLIB enhancer.
          -
        • -
        - - - -
          -
        • -

          createInstance

          -
          protected <T> T createInstance(java.lang.Class<T> type,
          -                   java.lang.reflect.Constructor<T> constructor,
          -                   java.lang.Class<?>[] types,
          -                   java.lang.Object[] params)
          -
          Used by the default instance provider to create a class from a given constructor. - The default method uses reflection.
          -
          Parameters:
          type - - the type to create.
          constructor - - the constructor to use.
          types - - type of each parameter in order.
          params - - value of each parameter in order.
          -
          Returns:
          The constructed instance.
          -
        • -
        - - - - - -
          -
        • -

          contains

          -
          protected <T> boolean contains(T[] elements,
          -                   T elementToFind)
          -
        • -
        -
      • -
      - -
    - - - - - - - - - + + + + + +DefaultInstances + + + + + + + + + + + +
    +
    com.comphenix.protocol.reflect.instances
    +

    Class DefaultInstances

    +
    +
    +
      +
    • java.lang.Object
    • +
    • +
        +
      • com.comphenix.protocol.reflect.instances.DefaultInstances
      • +
      +
    • +
    +
    +
      +
    • +
      +
      +
      public class DefaultInstances
      +extends java.lang.Object
      +
      Used to construct default instances of any type.
      +
      Author:
      +
      Kristian
      +
    • +
    +
    +
    +
      +
    • + +
        +
      • + + +

        Field Summary

        + + + + + + + + + + +
        Fields 
        Modifier and TypeField and Description
        static DefaultInstancesDEFAULT +
        Standard default instance provider.
        +
        +
      • +
      + + + +
        +
      • + + +

        Method Summary

        + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
        Methods 
        Modifier and TypeMethod and Description
        protected <T> booleancontains(T[] elements, + T elementToFind) 
        protected <T> TcreateInstance(java.lang.Class<T> type, + java.lang.reflect.Constructor<T> constructor, + java.lang.Class<?>[] types, + java.lang.Object[] params) +
        Used by the default instance provider to create a class from a given constructor.
        +
        DefaultInstancesforEnhancer(net.sf.cglib.proxy.Enhancer enhancer) +
        Construct default instances using the CGLIB enhancer object instead.
        +
        static DefaultInstancesfromArray(InstanceProvider... instaceProviders) +
        Construct a default instance generator using the given instance providers.
        +
        <T> TgetDefault(java.lang.Class<T> type) +
        Retrieves a default instance or value that is assignable to this type.
        +
        <T> TgetDefault(java.lang.Class<T> type, + java.util.List<InstanceProvider> providers) +
        Retrieves a default instance or value that is assignable to this type.
        +
        intgetMaximumRecursion() +
        Retrieve the the maximum height of the hierachy of creates types.
        +
        <T> java.lang.reflect.Constructor<T>getMinimumConstructor(java.lang.Class<T> type) +
        Retrieve the constructor with the fewest number of parameters.
        +
        com.google.common.collect.ImmutableList<InstanceProvider>getRegistered() +
        Retrieves a immutable list of every default object providers that generates instances.
        +
        booleanisNonNull() +
        Retrieve whether or not the constructor's parameters must be non-null.
        +
        voidsetMaximumRecursion(int maximumRecursion) +
        Set the maximum height of the hierachy of creates types.
        +
        voidsetNonNull(boolean nonNull) +
        Set whether or not the constructor's parameters must be non-null.
        +
        +
          +
        • + + +

          Methods inherited from class java.lang.Object

          +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
        • +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + +
        +
      • + + +

        Field Detail

        + + + +
          +
        • +

          DEFAULT

          +
          public static final DefaultInstances DEFAULT
          +
          Standard default instance provider.
          +
        • +
        +
      • +
      + +
        +
      • + + +

        Constructor Detail

        + + + +
          +
        • +

          DefaultInstances

          +
          public DefaultInstances(com.google.common.collect.ImmutableList<InstanceProvider> registered)
          +
          Construct a default instance generator using the given instance providers.
          +
          Parameters:
          registered - - list of instance providers.
          +
        • +
        + + + +
          +
        • +

          DefaultInstances

          +
          public DefaultInstances(DefaultInstances other)
          +
          Copy a given instance provider.
          +
          Parameters:
          other - - instance provider to copy.
          +
        • +
        + + + +
          +
        • +

          DefaultInstances

          +
          public DefaultInstances(InstanceProvider... instaceProviders)
          +
          Construct a default instance generator using the given instance providers.
          +
          Parameters:
          instaceProviders - - array of instance providers.
          +
        • +
        +
      • +
      + +
        +
      • + + +

        Method Detail

        + + + +
          +
        • +

          fromArray

          +
          public static DefaultInstances fromArray(InstanceProvider... instaceProviders)
          +
          Construct a default instance generator using the given instance providers.
          +
          Parameters:
          instaceProviders - - array of instance providers.
          +
          Returns:
          An default instance generator.
          +
        • +
        + + + +
          +
        • +

          getRegistered

          +
          public com.google.common.collect.ImmutableList<InstanceProvider> getRegistered()
          +
          Retrieves a immutable list of every default object providers that generates instances.
          +
          Returns:
          Table of instance providers.
          +
        • +
        + + + +
          +
        • +

          isNonNull

          +
          public boolean isNonNull()
          +
          Retrieve whether or not the constructor's parameters must be non-null.
          +
          Returns:
          TRUE if they must be non-null, FALSE otherwise.
          +
        • +
        + + + +
          +
        • +

          setNonNull

          +
          public void setNonNull(boolean nonNull)
          +
          Set whether or not the constructor's parameters must be non-null.
          +
          Parameters:
          nonNull - - TRUE if they must be non-null, FALSE otherwise.
          +
        • +
        + + + +
          +
        • +

          getMaximumRecursion

          +
          public int getMaximumRecursion()
          +
          Retrieve the the maximum height of the hierachy of creates types.
          +
          Returns:
          Maximum height.
          +
        • +
        + + + +
          +
        • +

          setMaximumRecursion

          +
          public void setMaximumRecursion(int maximumRecursion)
          +
          Set the maximum height of the hierachy of creates types. Used to prevent cycles.
          +
          Parameters:
          maximumRecursion - - maximum recursion height.
          +
        • +
        + + + +
          +
        • +

          getDefault

          +
          public <T> T getDefault(java.lang.Class<T> type)
          +
          Retrieves a default instance or value that is assignable to this type. +

          + This includes, but isn't limited too: +

            +
          • Primitive types. Returns either zero or null.
          • +
          • Primitive wrappers.
          • +
          • String types. Returns an empty string.
          • +
          • Arrays. Returns a zero-length array of the same type.
          • +
          • Enums. Returns the first declared element.
          • +
          • Collection interfaces, such as List and Set. Returns the most appropriate empty container.
          • +
          • Any type with a public constructor that has parameters with defaults.
          • +
          +
    +
    Parameters:
    type - - the type to construct a default value.
    +
    Returns:
    A default value/instance, or NULL if not possible.
    + + + + + +
      +
    • +

      getMinimumConstructor

      +
      public <T> java.lang.reflect.Constructor<T> getMinimumConstructor(java.lang.Class<T> type)
      +
      Retrieve the constructor with the fewest number of parameters.
      +
      Parameters:
      type - - type to construct.
      +
      Returns:
      A constructor with the fewest number of parameters, or NULL if the type has no constructors.
      +
    • +
    + + + +
      +
    • +

      getDefault

      +
      public <T> T getDefault(java.lang.Class<T> type,
      +               java.util.List<InstanceProvider> providers)
      +
      Retrieves a default instance or value that is assignable to this type. +

      + This includes, but isn't limited too: +

        +
      • Primitive types. Returns either zero or null.
      • +
      • Primitive wrappers.
      • +
      • String types. Returns an empty string.
      • +
      • Arrays. Returns a zero-length array of the same type.
      • +
      • Enums. Returns the first declared element.
      • +
      • Collection interfaces, such as List and Set. Returns the most appropriate empty container.
      • +
      • Any type with a public constructor that has parameters with defaults.
      • +
      +
    +
    Parameters:
    type - - the type to construct a default value.
    providers - - instance providers used during the construction.
    +
    Returns:
    A default value/instance, or NULL if not possible.
    + + + + + +
      +
    • +

      forEnhancer

      +
      public DefaultInstances forEnhancer(net.sf.cglib.proxy.Enhancer enhancer)
      +
      Construct default instances using the CGLIB enhancer object instead.
      +
      Parameters:
      enhancer - - a CGLIB enhancer to use.
      +
      Returns:
      A default instance generator that uses the CGLIB enhancer.
      +
    • +
    + + + +
      +
    • +

      createInstance

      +
      protected <T> T createInstance(java.lang.Class<T> type,
      +                   java.lang.reflect.Constructor<T> constructor,
      +                   java.lang.Class<?>[] types,
      +                   java.lang.Object[] params)
      +
      Used by the default instance provider to create a class from a given constructor. + The default method uses reflection.
      +
      Parameters:
      type - - the type to create.
      constructor - - the constructor to use.
      types - - type of each parameter in order.
      params - - value of each parameter in order.
      +
      Returns:
      The constructed instance.
      +
    • +
    + + + + + +
      +
    • +

      contains

      +
      protected <T> boolean contains(T[] elements,
      +                   T elementToFind)
      +
    • +
    + + + + + + + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/ExistingGenerator.html b/Javadoc/com/comphenix/protocol/reflect/instances/ExistingGenerator.html index 79ded752..cc8af01b 100644 --- a/Javadoc/com/comphenix/protocol/reflect/instances/ExistingGenerator.html +++ b/Javadoc/com/comphenix/protocol/reflect/instances/ExistingGenerator.html @@ -1,304 +1,304 @@ - - - - - -ExistingGenerator - - - - - - - - - - - -
    -
    com.comphenix.protocol.reflect.instances
    -

    Class ExistingGenerator

    -
    -
    -
      -
    • java.lang.Object
    • -
    • -
        -
      • com.comphenix.protocol.reflect.instances.ExistingGenerator
      • -
      -
    • -
    -
    -
      -
    • -
      -
      All Implemented Interfaces:
      -
      InstanceProvider
      -
      -
      -
      -
      public class ExistingGenerator
      -extends java.lang.Object
      -implements InstanceProvider
      -
      Provides instance constructors using a list of existing values. -

      - Only one instance per individual class.

      -
      Author:
      -
      Kristian
      -
    • -
    -
    -
    -
      -
    • - -
        -
      • - - -

        Method Summary

        - - - - - - - - - - - - - - - - - - - - - - -
        Methods 
        Modifier and TypeMethod and Description
        java.lang.Objectcreate(java.lang.Class<?> type) -
        Create an instance given a type, if possible.
        -
        static ExistingGeneratorfromObjectArray(java.lang.Object[] values) -
        Create an instance generator from a pre-defined array of values.
        -
        static ExistingGeneratorfromObjectFields(java.lang.Object object) -
        Automatically create an instance provider from a objects public and private fields.
        -
        static ExistingGeneratorfromObjectFields(java.lang.Object object, - java.lang.Class<?> type) -
        Automatically create an instance provider from a objects public and private fields.
        -
        -
          -
        • - - -

          Methods inherited from class java.lang.Object

          -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
        • -
        -
      • -
      -
    • -
    -
    -
    -
      -
    • - -
        -
      • - - -

        Method Detail

        - - - -
          -
        • -

          fromObjectFields

          -
          public static ExistingGenerator fromObjectFields(java.lang.Object object)
          -
          Automatically create an instance provider from a objects public and private fields. -

          - If two or more fields share the same type, the last declared non-null field will take - precedent.

          -
          Parameters:
          object - - object to create an instance generator from.
          -
          Returns:
          The instance generator.
          -
        • -
        - - - -
          -
        • -

          fromObjectFields

          -
          public static ExistingGenerator fromObjectFields(java.lang.Object object,
          -                                 java.lang.Class<?> type)
          -
          Automatically create an instance provider from a objects public and private fields. -

          - If two or more fields share the same type, the last declared non-null field will take - precedent.

          -
          Parameters:
          object - - object to create an instance generator from.
          type - - the type to cast the object.
          -
          Returns:
          The instance generator.
          -
        • -
        - - - -
          -
        • -

          fromObjectArray

          -
          public static ExistingGenerator fromObjectArray(java.lang.Object[] values)
          -
          Create an instance generator from a pre-defined array of values.
          -
          Parameters:
          values - - values to provide.
          -
          Returns:
          An instance provider that uses these values.
          -
        • -
        - - - -
          -
        • -

          create

          -
          public java.lang.Object create(@Nullable
          -                      java.lang.Class<?> type)
          -
          Description copied from interface: InstanceProvider
          -
          Create an instance given a type, if possible.
          -
          -
          Specified by:
          -
          create in interface InstanceProvider
          -
          Parameters:
          type - - type to create.
          -
          Returns:
          The instance, or NULL if the type cannot be created.
          -
        • -
        -
      • -
      -
    • -
    -
    -
    - - - - - - - + + + + + +ExistingGenerator + + + + + + + + + + + +
    +
    com.comphenix.protocol.reflect.instances
    +

    Class ExistingGenerator

    +
    +
    +
      +
    • java.lang.Object
    • +
    • +
        +
      • com.comphenix.protocol.reflect.instances.ExistingGenerator
      • +
      +
    • +
    +
    +
      +
    • +
      +
      All Implemented Interfaces:
      +
      InstanceProvider
      +
      +
      +
      +
      public class ExistingGenerator
      +extends java.lang.Object
      +implements InstanceProvider
      +
      Provides instance constructors using a list of existing values. +

      + Only one instance per individual class.

      +
      Author:
      +
      Kristian
      +
    • +
    +
    +
    +
      +
    • + +
        +
      • + + +

        Method Summary

        + + + + + + + + + + + + + + + + + + + + + + +
        Methods 
        Modifier and TypeMethod and Description
        java.lang.Objectcreate(java.lang.Class<?> type) +
        Create an instance given a type, if possible.
        +
        static ExistingGeneratorfromObjectArray(java.lang.Object[] values) +
        Create an instance generator from a pre-defined array of values.
        +
        static ExistingGeneratorfromObjectFields(java.lang.Object object) +
        Automatically create an instance provider from a objects public and private fields.
        +
        static ExistingGeneratorfromObjectFields(java.lang.Object object, + java.lang.Class<?> type) +
        Automatically create an instance provider from a objects public and private fields.
        +
        +
          +
        • + + +

          Methods inherited from class java.lang.Object

          +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
        • +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + +
        +
      • + + +

        Method Detail

        + + + +
          +
        • +

          fromObjectFields

          +
          public static ExistingGenerator fromObjectFields(java.lang.Object object)
          +
          Automatically create an instance provider from a objects public and private fields. +

          + If two or more fields share the same type, the last declared non-null field will take + precedent.

          +
          Parameters:
          object - - object to create an instance generator from.
          +
          Returns:
          The instance generator.
          +
        • +
        + + + +
          +
        • +

          fromObjectFields

          +
          public static ExistingGenerator fromObjectFields(java.lang.Object object,
          +                                 java.lang.Class<?> type)
          +
          Automatically create an instance provider from a objects public and private fields. +

          + If two or more fields share the same type, the last declared non-null field will take + precedent.

          +
          Parameters:
          object - - object to create an instance generator from.
          type - - the type to cast the object.
          +
          Returns:
          The instance generator.
          +
        • +
        + + + +
          +
        • +

          fromObjectArray

          +
          public static ExistingGenerator fromObjectArray(java.lang.Object[] values)
          +
          Create an instance generator from a pre-defined array of values.
          +
          Parameters:
          values - - values to provide.
          +
          Returns:
          An instance provider that uses these values.
          +
        • +
        + + + +
          +
        • +

          create

          +
          public java.lang.Object create(@Nullable
          +                      java.lang.Class<?> type)
          +
          Description copied from interface: InstanceProvider
          +
          Create an instance given a type, if possible.
          +
          +
          Specified by:
          +
          create in interface InstanceProvider
          +
          Parameters:
          type - - type to create.
          +
          Returns:
          The instance, or NULL if the type cannot be created.
          +
        • +
        +
      • +
      +
    • +
    +
    +
    + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/InstanceProvider.html b/Javadoc/com/comphenix/protocol/reflect/instances/InstanceProvider.html index cdca126b..87ea371b 100644 --- a/Javadoc/com/comphenix/protocol/reflect/instances/InstanceProvider.html +++ b/Javadoc/com/comphenix/protocol/reflect/instances/InstanceProvider.html @@ -1,219 +1,219 @@ - - - - - -InstanceProvider - - - - - - - - - - - -
    -
    com.comphenix.protocol.reflect.instances
    -

    Interface InstanceProvider

    -
    -
    -
    - -
    -
    -
      -
    • - -
        -
      • - - -

        Method Summary

        - - - - - - - - - - -
        Methods 
        Modifier and TypeMethod and Description
        java.lang.Objectcreate(java.lang.Class<?> type) -
        Create an instance given a type, if possible.
        -
        -
      • -
      -
    • -
    -
    -
    -
      -
    • - -
        -
      • - - -

        Method Detail

        - - - -
          -
        • -

          create

          -
          java.lang.Object create(@Nullable
          -                      java.lang.Class<?> type)
          -
          Create an instance given a type, if possible.
          -
          Parameters:
          type - - type to create.
          -
          Returns:
          The instance, or NULL if the type cannot be created.
          -
        • -
        -
      • -
      -
    • -
    -
    -
    - - - - - - - + + + + + +InstanceProvider + + + + + + + + + + + +
    +
    com.comphenix.protocol.reflect.instances
    +

    Interface InstanceProvider

    +
    +
    +
    + +
    +
    +
      +
    • + +
        +
      • + + +

        Method Summary

        + + + + + + + + + + +
        Methods 
        Modifier and TypeMethod and Description
        java.lang.Objectcreate(java.lang.Class<?> type) +
        Create an instance given a type, if possible.
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + +
        +
      • + + +

        Method Detail

        + + + +
          +
        • +

          create

          +
          java.lang.Object create(@Nullable
          +                      java.lang.Class<?> type)
          +
          Create an instance given a type, if possible.
          +
          Parameters:
          type - - type to create.
          +
          Returns:
          The instance, or NULL if the type cannot be created.
          +
        • +
        +
      • +
      +
    • +
    +
    +
    + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/PrimitiveGenerator.html b/Javadoc/com/comphenix/protocol/reflect/instances/PrimitiveGenerator.html index 41b6fd3c..795cabf4 100644 --- a/Javadoc/com/comphenix/protocol/reflect/instances/PrimitiveGenerator.html +++ b/Javadoc/com/comphenix/protocol/reflect/instances/PrimitiveGenerator.html @@ -1,347 +1,347 @@ - - - - - -PrimitiveGenerator - - - - - - - - - - - -
    -
    com.comphenix.protocol.reflect.instances
    -

    Class PrimitiveGenerator

    -
    -
    -
      -
    • java.lang.Object
    • -
    • -
        -
      • com.comphenix.protocol.reflect.instances.PrimitiveGenerator
      • -
      -
    • -
    -
    -
      -
    • -
      -
      All Implemented Interfaces:
      -
      InstanceProvider
      -
      -
      -
      -
      public class PrimitiveGenerator
      -extends java.lang.Object
      -implements InstanceProvider
      -
      Provides constructors for primtive types, wrappers, arrays and strings.
      -
      Author:
      -
      Kristian
      -
    • -
    -
    -
    -
      -
    • - -
        -
      • - - -

        Field Summary

        - - - - - - - - - - - - - - -
        Fields 
        Modifier and TypeField and Description
        static PrimitiveGeneratorINSTANCE -
        Shared instance of this generator.
        -
        static java.lang.StringSTRING_DEFAULT -
        Default value for Strings.
        -
        -
      • -
      - -
        -
      • - - -

        Constructor Summary

        - - - - - - - - -
        Constructors 
        Constructor and Description
        PrimitiveGenerator(java.lang.String stringDefault) 
        -
      • -
      - -
        -
      • - - -

        Method Summary

        - - - - - - - - - - - - - - -
        Methods 
        Modifier and TypeMethod and Description
        java.lang.Objectcreate(java.lang.Class<?> type) -
        Create an instance given a type, if possible.
        -
        java.lang.StringgetStringDefault() -
        Retrieve the string default.
        -
        -
          -
        • - - -

          Methods inherited from class java.lang.Object

          -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
        • -
        -
      • -
      -
    • -
    -
    -
    -
      -
    • - -
        -
      • - - -

        Field Detail

        - - - -
          -
        • -

          STRING_DEFAULT

          -
          public static final java.lang.String STRING_DEFAULT
          -
          Default value for Strings.
          -
          See Also:
          Constant Field Values
          -
        • -
        - - - -
          -
        • -

          INSTANCE

          -
          public static PrimitiveGenerator INSTANCE
          -
          Shared instance of this generator.
          -
        • -
        -
      • -
      - -
        -
      • - - -

        Constructor Detail

        - - - -
          -
        • -

          PrimitiveGenerator

          -
          public PrimitiveGenerator(java.lang.String stringDefault)
          -
        • -
        -
      • -
      - -
        -
      • - - -

        Method Detail

        - - - -
          -
        • -

          getStringDefault

          -
          public java.lang.String getStringDefault()
          -
          Retrieve the string default.
          -
          Returns:
          Default instance of a string.
          -
        • -
        - - - -
          -
        • -

          create

          -
          public java.lang.Object create(@Nullable
          -                      java.lang.Class<?> type)
          -
          Description copied from interface: InstanceProvider
          -
          Create an instance given a type, if possible.
          -
          -
          Specified by:
          -
          create in interface InstanceProvider
          -
          Parameters:
          type - - type to create.
          -
          Returns:
          The instance, or NULL if the type cannot be created.
          -
        • -
        -
      • -
      -
    • -
    -
    -
    - - - - - - - + + + + + +PrimitiveGenerator + + + + + + + + + + + +
    +
    com.comphenix.protocol.reflect.instances
    +

    Class PrimitiveGenerator

    +
    +
    +
      +
    • java.lang.Object
    • +
    • +
        +
      • com.comphenix.protocol.reflect.instances.PrimitiveGenerator
      • +
      +
    • +
    +
    +
      +
    • +
      +
      All Implemented Interfaces:
      +
      InstanceProvider
      +
      +
      +
      +
      public class PrimitiveGenerator
      +extends java.lang.Object
      +implements InstanceProvider
      +
      Provides constructors for primtive types, wrappers, arrays and strings.
      +
      Author:
      +
      Kristian
      +
    • +
    +
    +
    +
      +
    • + +
        +
      • + + +

        Field Summary

        + + + + + + + + + + + + + + +
        Fields 
        Modifier and TypeField and Description
        static PrimitiveGeneratorINSTANCE +
        Shared instance of this generator.
        +
        static java.lang.StringSTRING_DEFAULT +
        Default value for Strings.
        +
        +
      • +
      + +
        +
      • + + +

        Constructor Summary

        + + + + + + + + +
        Constructors 
        Constructor and Description
        PrimitiveGenerator(java.lang.String stringDefault) 
        +
      • +
      + +
        +
      • + + +

        Method Summary

        + + + + + + + + + + + + + + +
        Methods 
        Modifier and TypeMethod and Description
        java.lang.Objectcreate(java.lang.Class<?> type) +
        Create an instance given a type, if possible.
        +
        java.lang.StringgetStringDefault() +
        Retrieve the string default.
        +
        +
          +
        • + + +

          Methods inherited from class java.lang.Object

          +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
        • +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + +
        +
      • + + +

        Field Detail

        + + + +
          +
        • +

          STRING_DEFAULT

          +
          public static final java.lang.String STRING_DEFAULT
          +
          Default value for Strings.
          +
          See Also:
          Constant Field Values
          +
        • +
        + + + +
          +
        • +

          INSTANCE

          +
          public static PrimitiveGenerator INSTANCE
          +
          Shared instance of this generator.
          +
        • +
        +
      • +
      + +
        +
      • + + +

        Constructor Detail

        + + + +
          +
        • +

          PrimitiveGenerator

          +
          public PrimitiveGenerator(java.lang.String stringDefault)
          +
        • +
        +
      • +
      + +
        +
      • + + +

        Method Detail

        + + + +
          +
        • +

          getStringDefault

          +
          public java.lang.String getStringDefault()
          +
          Retrieve the string default.
          +
          Returns:
          Default instance of a string.
          +
        • +
        + + + +
          +
        • +

          create

          +
          public java.lang.Object create(@Nullable
          +                      java.lang.Class<?> type)
          +
          Description copied from interface: InstanceProvider
          +
          Create an instance given a type, if possible.
          +
          +
          Specified by:
          +
          create in interface InstanceProvider
          +
          Parameters:
          type - - type to create.
          +
          Returns:
          The instance, or NULL if the type cannot be created.
          +
        • +
        +
      • +
      +
    • +
    +
    +
    + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/class-use/CollectionGenerator.html b/Javadoc/com/comphenix/protocol/reflect/instances/class-use/CollectionGenerator.html index c997315d..a8e97a75 100644 --- a/Javadoc/com/comphenix/protocol/reflect/instances/class-use/CollectionGenerator.html +++ b/Javadoc/com/comphenix/protocol/reflect/instances/class-use/CollectionGenerator.html @@ -1,157 +1,157 @@ - - - - - -Uses of Class com.comphenix.protocol.reflect.instances.CollectionGenerator - - - - - - - - - - -
    -

    Uses of Class
    com.comphenix.protocol.reflect.instances.CollectionGenerator

    -
    -
    - -
    - - - - - - + + + + + +Uses of Class com.comphenix.protocol.reflect.instances.CollectionGenerator + + + + + + + + + + +
    +

    Uses of Class
    com.comphenix.protocol.reflect.instances.CollectionGenerator

    +
    +
    + +
    + + + + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/class-use/DefaultInstances.html b/Javadoc/com/comphenix/protocol/reflect/instances/class-use/DefaultInstances.html index aed131a3..35d14b14 100644 --- a/Javadoc/com/comphenix/protocol/reflect/instances/class-use/DefaultInstances.html +++ b/Javadoc/com/comphenix/protocol/reflect/instances/class-use/DefaultInstances.html @@ -1,191 +1,191 @@ - - - - - -Uses of Class com.comphenix.protocol.reflect.instances.DefaultInstances - - - - - - - - - - -
    -

    Uses of Class
    com.comphenix.protocol.reflect.instances.DefaultInstances

    -
    -
    - -
    - - - - - - + + + + + +Uses of Class com.comphenix.protocol.reflect.instances.DefaultInstances + + + + + + + + + + +
    +

    Uses of Class
    com.comphenix.protocol.reflect.instances.DefaultInstances

    +
    +
    + +
    + + + + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/class-use/ExistingGenerator.html b/Javadoc/com/comphenix/protocol/reflect/instances/class-use/ExistingGenerator.html index bd74f1de..02211c11 100644 --- a/Javadoc/com/comphenix/protocol/reflect/instances/class-use/ExistingGenerator.html +++ b/Javadoc/com/comphenix/protocol/reflect/instances/class-use/ExistingGenerator.html @@ -1,170 +1,170 @@ - - - - - -Uses of Class com.comphenix.protocol.reflect.instances.ExistingGenerator - - - - - - - - - - -
    -

    Uses of Class
    com.comphenix.protocol.reflect.instances.ExistingGenerator

    -
    -
    - -
    - - - - - - + + + + + +Uses of Class com.comphenix.protocol.reflect.instances.ExistingGenerator + + + + + + + + + + +
    +

    Uses of Class
    com.comphenix.protocol.reflect.instances.ExistingGenerator

    +
    +
    + +
    + + + + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/class-use/InstanceProvider.html b/Javadoc/com/comphenix/protocol/reflect/instances/class-use/InstanceProvider.html index 7d10fe59..8e2b5903 100644 --- a/Javadoc/com/comphenix/protocol/reflect/instances/class-use/InstanceProvider.html +++ b/Javadoc/com/comphenix/protocol/reflect/instances/class-use/InstanceProvider.html @@ -1,241 +1,241 @@ - - - - - -Uses of Interface com.comphenix.protocol.reflect.instances.InstanceProvider - - - - - - - - - - -
    -

    Uses of Interface
    com.comphenix.protocol.reflect.instances.InstanceProvider

    -
    -
    - -
    - - - - - - + + + + + +Uses of Interface com.comphenix.protocol.reflect.instances.InstanceProvider + + + + + + + + + + +
    +

    Uses of Interface
    com.comphenix.protocol.reflect.instances.InstanceProvider

    +
    +
    + +
    + + + + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/class-use/PrimitiveGenerator.html b/Javadoc/com/comphenix/protocol/reflect/instances/class-use/PrimitiveGenerator.html index cf88de5c..52817824 100644 --- a/Javadoc/com/comphenix/protocol/reflect/instances/class-use/PrimitiveGenerator.html +++ b/Javadoc/com/comphenix/protocol/reflect/instances/class-use/PrimitiveGenerator.html @@ -1,157 +1,157 @@ - - - - - -Uses of Class com.comphenix.protocol.reflect.instances.PrimitiveGenerator - - - - - - - - - - -
    -

    Uses of Class
    com.comphenix.protocol.reflect.instances.PrimitiveGenerator

    -
    -
    - -
    - - - - - - + + + + + +Uses of Class com.comphenix.protocol.reflect.instances.PrimitiveGenerator + + + + + + + + + + +
    +

    Uses of Class
    com.comphenix.protocol.reflect.instances.PrimitiveGenerator

    +
    +
    + +
    + + + + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/package-frame.html b/Javadoc/com/comphenix/protocol/reflect/instances/package-frame.html index 262afbae..03515346 100644 --- a/Javadoc/com/comphenix/protocol/reflect/instances/package-frame.html +++ b/Javadoc/com/comphenix/protocol/reflect/instances/package-frame.html @@ -1,26 +1,26 @@ - - - - - -com.comphenix.protocol.reflect.instances - - - - -

    com.comphenix.protocol.reflect.instances

    - - - + + + + + +com.comphenix.protocol.reflect.instances + + + + +

    com.comphenix.protocol.reflect.instances

    + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/package-summary.html b/Javadoc/com/comphenix/protocol/reflect/instances/package-summary.html index fae2481d..d3a780d6 100644 --- a/Javadoc/com/comphenix/protocol/reflect/instances/package-summary.html +++ b/Javadoc/com/comphenix/protocol/reflect/instances/package-summary.html @@ -1,170 +1,170 @@ - - - - - -com.comphenix.protocol.reflect.instances - - - - - - - -
    - - - - - -
    - - -
    -

    Package com.comphenix.protocol.reflect.instances

    -
    -
    -
      -
    • - - - - - - - - - - - - -
      Interface Summary 
      InterfaceDescription
      InstanceProvider -
      Represents a type generator for specific types.
      -
      -
    • -
    • - - - - - - - - - - - - - - - - - - - - - - - - -
      Class Summary 
      ClassDescription
      CollectionGenerator -
      Provides simple constructors for collection interfaces.
      -
      DefaultInstances -
      Used to construct default instances of any type.
      -
      ExistingGenerator -
      Provides instance constructors using a list of existing values.
      -
      PrimitiveGenerator -
      Provides constructors for primtive types, wrappers, arrays and strings.
      -
      -
    • -
    -
    - -
    - - - - - -
    - - - - + + + + + +com.comphenix.protocol.reflect.instances + + + + + + + +
    + + + + + +
    + + +
    +

    Package com.comphenix.protocol.reflect.instances

    +
    +
    +
      +
    • + + + + + + + + + + + + +
      Interface Summary 
      InterfaceDescription
      InstanceProvider +
      Represents a type generator for specific types.
      +
      +
    • +
    • + + + + + + + + + + + + + + + + + + + + + + + + +
      Class Summary 
      ClassDescription
      CollectionGenerator +
      Provides simple constructors for collection interfaces.
      +
      DefaultInstances +
      Used to construct default instances of any type.
      +
      ExistingGenerator +
      Provides instance constructors using a list of existing values.
      +
      PrimitiveGenerator +
      Provides constructors for primtive types, wrappers, arrays and strings.
      +
      +
    • +
    +
    + +
    + + + + + +
    + + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/package-tree.html b/Javadoc/com/comphenix/protocol/reflect/instances/package-tree.html index 5b9e36c5..b8c02ced 100644 --- a/Javadoc/com/comphenix/protocol/reflect/instances/package-tree.html +++ b/Javadoc/com/comphenix/protocol/reflect/instances/package-tree.html @@ -1,135 +1,135 @@ - - - - - -com.comphenix.protocol.reflect.instances Class Hierarchy - - - - - - - -
    - - - - - -
    - - -
    -

    Hierarchy For Package com.comphenix.protocol.reflect.instances

    -Package Hierarchies: - -
    -
    -

    Class Hierarchy

    - -

    Interface Hierarchy

    - -
    - -
    - - - - - -
    - - - - + + + + + +com.comphenix.protocol.reflect.instances Class Hierarchy + + + + + + + +
    + + + + + +
    + + +
    +

    Hierarchy For Package com.comphenix.protocol.reflect.instances

    +Package Hierarchies: + +
    +
    +

    Class Hierarchy

    + +

    Interface Hierarchy

    + +
    + +
    + + + + + +
    + + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/package-use.html b/Javadoc/com/comphenix/protocol/reflect/instances/package-use.html index 5d56e20d..e9b5ff8c 100644 --- a/Javadoc/com/comphenix/protocol/reflect/instances/package-use.html +++ b/Javadoc/com/comphenix/protocol/reflect/instances/package-use.html @@ -1,170 +1,170 @@ - - - - - -Uses of Package com.comphenix.protocol.reflect.instances - - - - - - - - - - -
    -

    Uses of Package
    com.comphenix.protocol.reflect.instances

    -
    -
    - -
    - - - - - - + + + + + +Uses of Package com.comphenix.protocol.reflect.instances + + + + + + + + + + +
    +

    Uses of Package
    com.comphenix.protocol.reflect.instances

    +
    +
    + +
    + + + + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/package-frame.html b/Javadoc/com/comphenix/protocol/reflect/package-frame.html index f34bb062..e34f8f3a 100644 --- a/Javadoc/com/comphenix/protocol/reflect/package-frame.html +++ b/Javadoc/com/comphenix/protocol/reflect/package-frame.html @@ -1,35 +1,35 @@ - - - - - -com.comphenix.protocol.reflect - - - - -

    com.comphenix.protocol.reflect

    - - - + + + + + +com.comphenix.protocol.reflect + + + + +

    com.comphenix.protocol.reflect

    + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/package-summary.html b/Javadoc/com/comphenix/protocol/reflect/package-summary.html index 34bfbeb5..a66bcc88 100644 --- a/Javadoc/com/comphenix/protocol/reflect/package-summary.html +++ b/Javadoc/com/comphenix/protocol/reflect/package-summary.html @@ -1,216 +1,216 @@ - - - - - -com.comphenix.protocol.reflect - - - - - - - -
    - - - - - -
    - - -
    -

    Package com.comphenix.protocol.reflect

    -
    -
    -
      -
    • - - - - - - - - - - - - -
      Interface Summary 
      InterfaceDescription
      EquivalentConverter<TType> -
      Interface that converts generic objects into types and back.
      -
      -
    • -
    • - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Class Summary 
      ClassDescription
      FieldUtils -
      Utilities for working with fields by reflection.
      -
      FuzzyReflection -
      Retrieves fields and methods by signature, not just name.
      -
      IntEnum -
      Represents a traditional int field enum.
      -
      MethodUtils -
      Utility reflection methods focussed on methods in general rather than properties in particular.
      -
      ObjectCloner -
      Can copy an object field by field.
      -
      PrimitiveUtils -
      Contains static utility methods pertaining to primitive types and their - corresponding wrapper types.
      -
      StructureModifier<TField> -
      Provides list-oriented access to the fields of a Minecraft packet.
      -
      StructureModifierTest 
      VolatileField -
      Represents a field that will revert to its original state when this class is garbaged collected.
      -
      -
    • -
    • - - - - - - - - - - - - -
      Exception Summary 
      ExceptionDescription
      FieldAccessException -
      Invoked when a field is inaccessible due to security limitations, or when it simply doesn't exist.
      -
      -
    • -
    -
    - -
    - - - - - -
    - - - - + + + + + +com.comphenix.protocol.reflect + + + + + + + +
    + + + + + +
    + + +
    +

    Package com.comphenix.protocol.reflect

    +
    +
    +
      +
    • + + + + + + + + + + + + +
      Interface Summary 
      InterfaceDescription
      EquivalentConverter<TType> +
      Interface that converts generic objects into types and back.
      +
      +
    • +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Class Summary 
      ClassDescription
      FieldUtils +
      Utilities for working with fields by reflection.
      +
      FuzzyReflection +
      Retrieves fields and methods by signature, not just name.
      +
      IntEnum +
      Represents a traditional int field enum.
      +
      MethodUtils +
      Utility reflection methods focussed on methods in general rather than properties in particular.
      +
      ObjectCloner +
      Can copy an object field by field.
      +
      PrimitiveUtils +
      Contains static utility methods pertaining to primitive types and their + corresponding wrapper types.
      +
      StructureModifier<TField> +
      Provides list-oriented access to the fields of a Minecraft packet.
      +
      StructureModifierTest 
      VolatileField +
      Represents a field that will revert to its original state when this class is garbaged collected.
      +
      +
    • +
    • + + + + + + + + + + + + +
      Exception Summary 
      ExceptionDescription
      FieldAccessException +
      Invoked when a field is inaccessible due to security limitations, or when it simply doesn't exist.
      +
      +
    • +
    +
    + +
    + + + + + +
    + + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/package-tree.html b/Javadoc/com/comphenix/protocol/reflect/package-tree.html index 46613016..c8eb99a9 100644 --- a/Javadoc/com/comphenix/protocol/reflect/package-tree.html +++ b/Javadoc/com/comphenix/protocol/reflect/package-tree.html @@ -1,149 +1,149 @@ - - - - - -com.comphenix.protocol.reflect Class Hierarchy - - - - - - - -
    - - - - - -
    - - -
    -

    Hierarchy For Package com.comphenix.protocol.reflect

    -Package Hierarchies: - -
    -
    -

    Class Hierarchy

    - -

    Interface Hierarchy

    - -
    - -
    - - - - - -
    - - - - + + + + + +com.comphenix.protocol.reflect Class Hierarchy + + + + + + + +
    + + + + + +
    + + +
    +

    Hierarchy For Package com.comphenix.protocol.reflect

    +Package Hierarchies: + +
    +
    +

    Class Hierarchy

    + +

    Interface Hierarchy

    + +
    + +
    + + + + + +
    + + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/package-use.html b/Javadoc/com/comphenix/protocol/reflect/package-use.html index bd96d9b8..f5063fc5 100644 --- a/Javadoc/com/comphenix/protocol/reflect/package-use.html +++ b/Javadoc/com/comphenix/protocol/reflect/package-use.html @@ -1,285 +1,285 @@ - - - - - -Uses of Package com.comphenix.protocol.reflect - - - - - - - - - - -
    -

    Uses of Package
    com.comphenix.protocol.reflect

    -
    -
    - -
    - - - - - - + + + + + +Uses of Package com.comphenix.protocol.reflect + + + + + + + + + + +
    +

    Uses of Package
    com.comphenix.protocol.reflect

    +
    +
    + +
    + + + + + + diff --git a/Javadoc/constant-values.html b/Javadoc/constant-values.html index 9096a578..5167d67f 100644 --- a/Javadoc/constant-values.html +++ b/Javadoc/constant-values.html @@ -1,870 +1,891 @@ - - - - - -Constant Field Values - - - - - - - -
    - - - - - -
    - - -
    -

    Constant Field Values

    -

    Contents

    - -
    -
    - - -

    com.comphenix.*

    - - - -
      -
    • - - - - - - - - - - - - - - -
      com.comphenix.protocol.reflect.instances.PrimitiveGenerator 
      Modifier and TypeConstant FieldValue
      - -public static final java.lang.StringSTRING_DEFAULT""
      -
    • -
    -
    - -
    - - - - - -
    - - - - + + + + + +Constant Field Values + + + + + + + +
    + + + + + +
    + + +
    +

    Constant Field Values

    +

    Contents

    + +
    +
    + + +

    com.comphenix.*

    + + +
      +
    • + + + + + + + + + + + + + + +
      com.comphenix.protocol.reflect.FuzzyReflection 
      Modifier and TypeConstant FieldValue
      + +public static final java.lang.StringMINECRAFT_OBJECT"net\\.minecraft(\\.\\w+)+"
      +
    • +
    + +
      +
    • + + + + + + + + + + + + + + +
      com.comphenix.protocol.reflect.instances.PrimitiveGenerator 
      Modifier and TypeConstant FieldValue
      + +public static final java.lang.StringSTRING_DEFAULT""
      +
    • +
    +
    + +
    + + + + + +
    + + + + diff --git a/Javadoc/deprecated-list.html b/Javadoc/deprecated-list.html index fb5a8bf6..15c82f7e 100644 --- a/Javadoc/deprecated-list.html +++ b/Javadoc/deprecated-list.html @@ -1,115 +1,115 @@ - - - - - -Deprecated List - - - - - - - -
    - - - - - -
    - - -
    -

    Deprecated API

    -

    Contents

    -
    - -
    - - - - - -
    - - - - + + + + + +Deprecated List + + + + + + + +
    + + + + + +
    + + +
    +

    Deprecated API

    +

    Contents

    +
    + +
    + + + + + +
    + + + + diff --git a/Javadoc/help-doc.html b/Javadoc/help-doc.html index cf1f2de2..04b0cd51 100644 --- a/Javadoc/help-doc.html +++ b/Javadoc/help-doc.html @@ -1,220 +1,220 @@ - - - - - -API Help - - - - - - - -
    - - - - - -
    - - -
    -

    How This API Document Is Organized

    -
    This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
    -
    -
    -
      -
    • -

      Overview

      -

      The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.

      -
    • -
    • -

      Package

      -

      Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:

      -
        -
      • Interfaces (italic)
      • -
      • Classes
      • -
      • Enums
      • -
      • Exceptions
      • -
      • Errors
      • -
      • Annotation Types
      • -
      -
    • -
    • -

      Class/Interface

      -

      Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

      -
        -
      • Class inheritance diagram
      • -
      • Direct Subclasses
      • -
      • All Known Subinterfaces
      • -
      • All Known Implementing Classes
      • -
      • Class/interface declaration
      • -
      • Class/interface description
      • -
      -
        -
      • Nested Class Summary
      • -
      • Field Summary
      • -
      • Constructor Summary
      • -
      • Method Summary
      • -
      -
        -
      • Field Detail
      • -
      • Constructor Detail
      • -
      • Method Detail
      • -
      -

      Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.

      -
    • -
    • -

      Annotation Type

      -

      Each annotation type has its own separate page with the following sections:

      -
        -
      • Annotation Type declaration
      • -
      • Annotation Type description
      • -
      • Required Element Summary
      • -
      • Optional Element Summary
      • -
      • Element Detail
      • -
      -
    • -
    • -

      Enum

      -

      Each enum has its own separate page with the following sections:

      -
        -
      • Enum declaration
      • -
      • Enum description
      • -
      • Enum Constant Summary
      • -
      • Enum Constant Detail
      • -
      -
    • -
    • -

      Use

      -

      Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.

      -
    • -
    • -

      Tree (Class Hierarchy)

      -

      There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.

      -
        -
      • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
      • -
      • When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
      • -
      -
    • -
    • -

      Deprecated API

      -

      The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.

      -
    • -
    • -

      Index

      -

      The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.

      -
    • -
    • -

      Prev/Next

      -

      These links take you to the next or previous class, interface, package, or related page.

      -
    • -
    • -

      Frames/No Frames

      -

      These links show and hide the HTML frames. All pages are available with or without frames.

      -
    • -
    • -

      All Classes

      -

      The All Classes link shows all classes and interfaces except non-static nested types.

      -
    • -
    • -

      Serialized Form

      -

      Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.

      -
    • -
    • -

      Constant Field Values

      -

      The Constant Field Values page lists the static final fields and their values.

      -
    • -
    -This help file applies to API documentation generated using the standard doclet.
    - -
    - - - - - -
    - - - - + + + + + +API Help + + + + + + + +
    + + + + + +
    + + +
    +

    How This API Document Is Organized

    +
    This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
    +
    +
    +
      +
    • +

      Overview

      +

      The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.

      +
    • +
    • +

      Package

      +

      Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:

      +
        +
      • Interfaces (italic)
      • +
      • Classes
      • +
      • Enums
      • +
      • Exceptions
      • +
      • Errors
      • +
      • Annotation Types
      • +
      +
    • +
    • +

      Class/Interface

      +

      Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

      +
        +
      • Class inheritance diagram
      • +
      • Direct Subclasses
      • +
      • All Known Subinterfaces
      • +
      • All Known Implementing Classes
      • +
      • Class/interface declaration
      • +
      • Class/interface description
      • +
      +
        +
      • Nested Class Summary
      • +
      • Field Summary
      • +
      • Constructor Summary
      • +
      • Method Summary
      • +
      +
        +
      • Field Detail
      • +
      • Constructor Detail
      • +
      • Method Detail
      • +
      +

      Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.

      +
    • +
    • +

      Annotation Type

      +

      Each annotation type has its own separate page with the following sections:

      +
        +
      • Annotation Type declaration
      • +
      • Annotation Type description
      • +
      • Required Element Summary
      • +
      • Optional Element Summary
      • +
      • Element Detail
      • +
      +
    • +
    • +

      Enum

      +

      Each enum has its own separate page with the following sections:

      +
        +
      • Enum declaration
      • +
      • Enum description
      • +
      • Enum Constant Summary
      • +
      • Enum Constant Detail
      • +
      +
    • +
    • +

      Use

      +

      Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.

      +
    • +
    • +

      Tree (Class Hierarchy)

      +

      There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.

      +
        +
      • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
      • +
      • When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
      • +
      +
    • +
    • +

      Deprecated API

      +

      The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.

      +
    • +
    • +

      Index

      +

      The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.

      +
    • +
    • +

      Prev/Next

      +

      These links take you to the next or previous class, interface, package, or related page.

      +
    • +
    • +

      Frames/No Frames

      +

      These links show and hide the HTML frames. All pages are available with or without frames.

      +
    • +
    • +

      All Classes

      +

      The All Classes link shows all classes and interfaces except non-static nested types.

      +
    • +
    • +

      Serialized Form

      +

      Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.

      +
    • +
    • +

      Constant Field Values

      +

      The Constant Field Values page lists the static final fields and their values.

      +
    • +
    +This help file applies to API documentation generated using the standard doclet.
    + +
    + + + + + +
    + + + + diff --git a/Javadoc/index-files/index-1.html b/Javadoc/index-files/index-1.html index 6d805b54..ede67fdc 100644 --- a/Javadoc/index-files/index-1.html +++ b/Javadoc/index-files/index-1.html @@ -1,186 +1,186 @@ - - - - - -A-Index - - - - - - - -
    - - - - - -
    - - -
    A B C D E F G H I K L M N O P R S T U V W  - - -

    A

    -
    -
    ABILITIES - Static variable in class com.comphenix.protocol.Packets.Client
    -
     
    -
    ABILITIES - Static variable in class com.comphenix.protocol.Packets.Server
    -
     
    -
    AbstractConcurrentListenerMultimap<TListener> - Class in com.comphenix.protocol.concurrency
    -
    -
    A thread-safe implementation of a listener multimap.
    -
    -
    AbstractConcurrentListenerMultimap() - Constructor for class com.comphenix.protocol.concurrency.AbstractConcurrentListenerMultimap
    -
     
    -
    add(T) - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
    -
    -
    Inserts the given element in the proper location.
    -
    -
    ADD_EXP_ORB - Static variable in class com.comphenix.protocol.Packets.Server
    -
     
    -
    addAll(Collection<? extends T>) - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
    -
     
    -
    addListener(TListener, ListeningWhitelist) - Method in class com.comphenix.protocol.concurrency.AbstractConcurrentListenerMultimap
    -
    -
    Adds a listener to its requested list of packet recievers.
    -
    -
    addPacketHandler(int) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
    -
    -
    Add an underlying packet handler of the given ID.
    -
    -
    addPacketListener(PacketListener) - Method in class com.comphenix.protocol.injector.PacketFilterManager
    -
     
    -
    addPacketListener(PacketListener) - Method in interface com.comphenix.protocol.ProtocolManager
    -
    -
    Adds a packet listener.
    -
    -
    Application - Class in com.comphenix.protocol
    -
    -
    Ignore this class.
    -
    -
    Application() - Constructor for class com.comphenix.protocol.Application
    -
     
    -
    ARM_ANIMATION - Static variable in class com.comphenix.protocol.Packets.Client
    -
     
    -
    ARM_ANIMATION - Static variable in class com.comphenix.protocol.Packets.Server
    -
     
    -
    AsyncFilterManager - Class in com.comphenix.protocol.async
    -
    -
    Represents a filter manager for asynchronous packets.
    -
    -
    AsyncFilterManager(Logger, BukkitScheduler, ProtocolManager) - Constructor for class com.comphenix.protocol.async.AsyncFilterManager
    -
     
    -
    AsynchronousManager - Interface in com.comphenix.protocol
    -
    -
    Represents a asynchronous packet handler.
    -
    -
    AsyncListenerHandler - Class in com.comphenix.protocol.async
    -
    -
    Represents a handler for an asynchronous event.
    -
    -
    AsyncListenerHandler(Thread, AsyncFilterManager, PacketListener) - Constructor for class com.comphenix.protocol.async.AsyncListenerHandler
    -
     
    -
    AsyncMarker - Class in com.comphenix.protocol.async
    -
    -
    Contains information about the packet that is being processed by asynchronous listeners.
    -
    -
    AsyncRunnable - Interface in com.comphenix.protocol.async
    -
    -
    A runnable representing a asynchronous event listener.
    -
    -
    ATTACH_ENTITY - Static variable in class com.comphenix.protocol.Packets.Server
    -
     
    -
    -A B C D E F G H I K L M N O P R S T U V W 
    - -
    - - - - - -
    - - - - + + + + + +A-Index + + + + + + + +
    + + + + + +
    + + +
    A B C D E F G H I K L M N O P R S T U V W  + + +

    A

    +
    +
    ABILITIES - Static variable in class com.comphenix.protocol.Packets.Client
    +
     
    +
    ABILITIES - Static variable in class com.comphenix.protocol.Packets.Server
    +
     
    +
    AbstractConcurrentListenerMultimap<TListener> - Class in com.comphenix.protocol.concurrency
    +
    +
    A thread-safe implementation of a listener multimap.
    +
    +
    AbstractConcurrentListenerMultimap() - Constructor for class com.comphenix.protocol.concurrency.AbstractConcurrentListenerMultimap
    +
     
    +
    add(T) - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
    +
    +
    Inserts the given element in the proper location.
    +
    +
    ADD_EXP_ORB - Static variable in class com.comphenix.protocol.Packets.Server
    +
     
    +
    addAll(Collection<? extends T>) - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
    +
     
    +
    addListener(TListener, ListeningWhitelist) - Method in class com.comphenix.protocol.concurrency.AbstractConcurrentListenerMultimap
    +
    +
    Adds a listener to its requested list of packet recievers.
    +
    +
    addPacketHandler(int) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
    +
    +
    Add an underlying packet handler of the given ID.
    +
    +
    addPacketListener(PacketListener) - Method in class com.comphenix.protocol.injector.PacketFilterManager
    +
     
    +
    addPacketListener(PacketListener) - Method in interface com.comphenix.protocol.ProtocolManager
    +
    +
    Adds a packet listener.
    +
    +
    Application - Class in com.comphenix.protocol
    +
    +
    Ignore this class.
    +
    +
    Application() - Constructor for class com.comphenix.protocol.Application
    +
     
    +
    ARM_ANIMATION - Static variable in class com.comphenix.protocol.Packets.Client
    +
     
    +
    ARM_ANIMATION - Static variable in class com.comphenix.protocol.Packets.Server
    +
     
    +
    AsyncFilterManager - Class in com.comphenix.protocol.async
    +
    +
    Represents a filter manager for asynchronous packets.
    +
    +
    AsyncFilterManager(Logger, BukkitScheduler, ProtocolManager) - Constructor for class com.comphenix.protocol.async.AsyncFilterManager
    +
     
    +
    AsynchronousManager - Interface in com.comphenix.protocol
    +
    +
    Represents a asynchronous packet handler.
    +
    +
    AsyncListenerHandler - Class in com.comphenix.protocol.async
    +
    +
    Represents a handler for an asynchronous event.
    +
    +
    AsyncListenerHandler(Thread, AsyncFilterManager, PacketListener) - Constructor for class com.comphenix.protocol.async.AsyncListenerHandler
    +
     
    +
    AsyncMarker - Class in com.comphenix.protocol.async
    +
    +
    Contains information about the packet that is being processed by asynchronous listeners.
    +
    +
    AsyncRunnable - Interface in com.comphenix.protocol.async
    +
    +
    A runnable representing a asynchronous event listener.
    +
    +
    ATTACH_ENTITY - Static variable in class com.comphenix.protocol.Packets.Server
    +
     
    +
    +A B C D E F G H I K L M N O P R S T U V W 
    + +
    + + + + + +
    + + + + diff --git a/Javadoc/index-files/index-10.html b/Javadoc/index-files/index-10.html index 5fb6cb2f..bcc14288 100644 --- a/Javadoc/index-files/index-10.html +++ b/Javadoc/index-files/index-10.html @@ -1,136 +1,136 @@ - - - - - -K-Index - - - - - - - -
    - - - - - -
    - - -
    A B C D E F G H I K L M N O P R S T U V W  - - -

    K

    -
    -
    KEEP_ALIVE - Static variable in class com.comphenix.protocol.Packets.Client
    -
     
    -
    KEEP_ALIVE - Static variable in class com.comphenix.protocol.Packets.Server
    -
     
    -
    KEY_REQUEST - Static variable in class com.comphenix.protocol.Packets.Server
    -
     
    -
    KEY_RESPONSE - Static variable in class com.comphenix.protocol.Packets.Client
    -
     
    -
    KEY_RESPONSE - Static variable in class com.comphenix.protocol.Packets.Server
    -
     
    -
    keySet() - Method in class com.comphenix.protocol.concurrency.AbstractConcurrentListenerMultimap
    -
    -
    Retrieve every registered packet ID:
    -
    -
    KICK_DISCONNECT - Static variable in class com.comphenix.protocol.Packets.Client
    -
     
    -
    KICK_DISCONNECT - Static variable in class com.comphenix.protocol.Packets.Server
    -
     
    -
    -A B C D E F G H I K L M N O P R S T U V W 
    - -
    - - - - - -
    - - - - + + + + + +K-Index + + + + + + + +
    + + + + + +
    + + +
    A B C D E F G H I K L M N O P R S T U V W  + + +

    K

    +
    +
    KEEP_ALIVE - Static variable in class com.comphenix.protocol.Packets.Client
    +
     
    +
    KEEP_ALIVE - Static variable in class com.comphenix.protocol.Packets.Server
    +
     
    +
    KEY_REQUEST - Static variable in class com.comphenix.protocol.Packets.Server
    +
     
    +
    KEY_RESPONSE - Static variable in class com.comphenix.protocol.Packets.Client
    +
     
    +
    KEY_RESPONSE - Static variable in class com.comphenix.protocol.Packets.Server
    +
     
    +
    keySet() - Method in class com.comphenix.protocol.concurrency.AbstractConcurrentListenerMultimap
    +
    +
    Retrieve every registered packet ID:
    +
    +
    KICK_DISCONNECT - Static variable in class com.comphenix.protocol.Packets.Client
    +
     
    +
    KICK_DISCONNECT - Static variable in class com.comphenix.protocol.Packets.Server
    +
     
    +
    +A B C D E F G H I K L M N O P R S T U V W 
    + +
    + + + + + +
    + + + + diff --git a/Javadoc/index-files/index-11.html b/Javadoc/index-files/index-11.html index c4768eaf..ed6e07e3 100644 --- a/Javadoc/index-files/index-11.html +++ b/Javadoc/index-files/index-11.html @@ -1,144 +1,152 @@ - - - - - -L-Index - - - - - - - -
    - - - - - -
    - - -
    A B C D E F G H I K L M N O P R S T U V W  - - -

    L

    -
    -
    ListenerInvoker - Interface in com.comphenix.protocol.injector
    -
    -
    Represents an object that initiate the packet listeners.
    -
    -
    ListenerPriority - Enum in com.comphenix.protocol.events
    -
    -
    Represents a packet event priority, similar to the Bukkit EventPriority.
    -
    -
    ListeningWhitelist - Class in com.comphenix.protocol.events
    -
    -
    Determines which packets will be observed by a listener, and with what priority.
    -
    -
    ListeningWhitelist(ListenerPriority, Set<Integer>) - Constructor for class com.comphenix.protocol.events.ListeningWhitelist
    -
    -
    Creates a packet whitelist for a given priority with a set of packet IDs.
    -
    -
    ListeningWhitelist(ListenerPriority, Integer...) - Constructor for class com.comphenix.protocol.events.ListeningWhitelist
    -
    -
    Creates a packet whitelist of a given priority for a list of packets.
    -
    -
    LOCALE_AND_VIEW_DISTANCE - Static variable in class com.comphenix.protocol.Packets.Client
    -
     
    -
    LOGIN - Static variable in class com.comphenix.protocol.Packets.Client
    -
     
    -
    LOGIN - Static variable in class com.comphenix.protocol.Packets.Server
    -
     
    -
    -A B C D E F G H I K L M N O P R S T U V W 
    - -
    - - - - - -
    - - - - + + + + + +L-Index + + + + + + + +
    + + + + + +
    + + +
    A B C D E F G H I K L M N O P R S T U V W  + + +

    L

    +
    +
    ListenerInvoker - Interface in com.comphenix.protocol.injector
    +
    +
    Represents an object that initiate the packet listeners.
    +
    +
    ListenerPriority - Enum in com.comphenix.protocol.events
    +
    +
    Represents a packet event priority, similar to the Bukkit EventPriority.
    +
    +
    ListeningWhitelist - Class in com.comphenix.protocol.events
    +
    +
    Determines which packets will be observed by a listener, and with what priority.
    +
    +
    ListeningWhitelist(ListenerPriority, Set<Integer>) - Constructor for class com.comphenix.protocol.events.ListeningWhitelist
    +
    +
    Creates a packet whitelist for a given priority with a set of packet IDs.
    +
    +
    ListeningWhitelist(ListenerPriority, Set<Integer>, GamePhase) - Constructor for class com.comphenix.protocol.events.ListeningWhitelist
    +
    +
    Creates a packet whitelist for a given priority with a set of packet IDs.
    +
    +
    ListeningWhitelist(ListenerPriority, Integer...) - Constructor for class com.comphenix.protocol.events.ListeningWhitelist
    +
    +
    Creates a packet whitelist of a given priority for a list of packets.
    +
    +
    ListeningWhitelist(ListenerPriority, Integer[], GamePhase) - Constructor for class com.comphenix.protocol.events.ListeningWhitelist
    +
    +
    Creates a packet whitelist for a given priority with a set of packet IDs.
    +
    +
    LOCALE_AND_VIEW_DISTANCE - Static variable in class com.comphenix.protocol.Packets.Client
    +
     
    +
    LOGIN - Static variable in class com.comphenix.protocol.Packets.Client
    +
     
    +
    LOGIN - Static variable in class com.comphenix.protocol.Packets.Server
    +
     
    +
    +A B C D E F G H I K L M N O P R S T U V W 
    + +
    + + + + + +
    + + + + diff --git a/Javadoc/index-files/index-12.html b/Javadoc/index-files/index-12.html index 80bb23a1..ca52c259 100644 --- a/Javadoc/index-files/index-12.html +++ b/Javadoc/index-files/index-12.html @@ -1,146 +1,154 @@ - - - - - -M-Index - - - - - - - -
    - - - - - -
    - - -
    A B C D E F G H I K L M N O P R S T U V W  - - -

    M

    -
    -
    main(String[]) - Static method in class com.comphenix.protocol.Application
    -
     
    -
    MAP_CHUNK - Static variable in class com.comphenix.protocol.Packets.Server
    -
     
    -
    MAP_CHUNK_BULK - Static variable in class com.comphenix.protocol.Packets.Server
    -
     
    -
    members - Variable in class com.comphenix.protocol.reflect.IntEnum
    -
     
    -
    MethodUtils - Class in com.comphenix.protocol.reflect
    -
    -
    Utility reflection methods focussed on methods in general rather than properties in particular.
    -
    -
    MethodUtils() - Constructor for class com.comphenix.protocol.reflect.MethodUtils
    -
     
    -
    MINECRAFT_OBJECT - Static variable in class com.comphenix.protocol.reflect.FuzzyReflection
    -
    -
    Matches a Minecraft object.
    -
    -
    MOB_EFFECT - Static variable in class com.comphenix.protocol.Packets.Server
    -
     
    -
    MOB_SPAWN - Static variable in class com.comphenix.protocol.Packets.Server
    -
     
    -
    modify(int, Function<TField, TField>) - Method in class com.comphenix.protocol.reflect.StructureModifier
    -
    -
    Correctly modifies the value of a field.
    -
    -
    MULTI_BLOCK_CHANGE - Static variable in class com.comphenix.protocol.Packets.Server
    -
     
    -
    -A B C D E F G H I K L M N O P R S T U V W 
    - -
    - - - - - -
    - - - - + + + + + +M-Index + + + + + + + +
    + + + + + +
    + + +
    A B C D E F G H I K L M N O P R S T U V W  + + +

    M

    +
    +
    main(String[]) - Static method in class com.comphenix.protocol.Application
    +
     
    +
    MAP_CHUNK - Static variable in class com.comphenix.protocol.Packets.Server
    +
     
    +
    MAP_CHUNK_BULK - Static variable in class com.comphenix.protocol.Packets.Server
    +
     
    +
    members - Variable in class com.comphenix.protocol.reflect.IntEnum
    +
     
    +
    MethodUtils - Class in com.comphenix.protocol.reflect
    +
    +
    Utility reflection methods focussed on methods in general rather than properties in particular.
    +
    +
    MethodUtils() - Constructor for class com.comphenix.protocol.reflect.MethodUtils
    +
     
    +
    MINECRAFT_OBJECT - Static variable in class com.comphenix.protocol.reflect.FuzzyReflection
    +
    +
    Matches a Minecraft object.
    +
    +
    MOB_EFFECT - Static variable in class com.comphenix.protocol.Packets.Server
    +
     
    +
    MOB_SPAWN - Static variable in class com.comphenix.protocol.Packets.Server
    +
     
    +
    modify(int, Function<TField, TField>) - Method in class com.comphenix.protocol.reflect.StructureModifier
    +
    +
    Correctly modifies the value of a field.
    +
    +
    MonitorAdapter - Class in com.comphenix.protocol.events
    +
    +
    Represents a listener that is notified of every sent and recieved packet.
    +
    +
    MonitorAdapter(Plugin, ConnectionSide) - Constructor for class com.comphenix.protocol.events.MonitorAdapter
    +
     
    +
    MonitorAdapter(Plugin, ConnectionSide, Logger) - Constructor for class com.comphenix.protocol.events.MonitorAdapter
    +
     
    +
    MULTI_BLOCK_CHANGE - Static variable in class com.comphenix.protocol.Packets.Server
    +
     
    +
    +A B C D E F G H I K L M N O P R S T U V W 
    + +
    + + + + + +
    + + + + diff --git a/Javadoc/index-files/index-13.html b/Javadoc/index-files/index-13.html index 61687474..b9cd6254 100644 --- a/Javadoc/index-files/index-13.html +++ b/Javadoc/index-files/index-13.html @@ -1,132 +1,132 @@ - - - - - -N-Index - - - - - - - -
    - - - - - -
    - - -
    A B C D E F G H I K L M N O P R S T U V W  - - -

    N

    -
    -
    NAMED_ENTITY_SPAWN - Static variable in class com.comphenix.protocol.Packets.Server
    -
     
    -
    NAMED_SOUND_EFFECT - Static variable in class com.comphenix.protocol.Packets.Server
    -
     
    -
    NetworkServerInjector - Class in com.comphenix.protocol.injector.player
    -
    -
    Represents a player hook into the NetServerHandler class.
    -
    -
    NetworkServerInjector(ClassLoader, Logger, Player, ListenerInvoker, Set<Integer>, InjectedServerConnection) - Constructor for class com.comphenix.protocol.injector.player.NetworkServerInjector
    -
     
    -
    newPacket(int) - Static method in class com.comphenix.protocol.injector.StructureCache
    -
    -
    Creates an empty Minecraft packet of the given ID.
    -
    -
    -A B C D E F G H I K L M N O P R S T U V W 
    - -
    - - - - - -
    - - - - + + + + + +N-Index + + + + + + + +
    + + + + + +
    + + +
    A B C D E F G H I K L M N O P R S T U V W  + + +

    N

    +
    +
    NAMED_ENTITY_SPAWN - Static variable in class com.comphenix.protocol.Packets.Server
    +
     
    +
    NAMED_SOUND_EFFECT - Static variable in class com.comphenix.protocol.Packets.Server
    +
     
    +
    NetworkServerInjector - Class in com.comphenix.protocol.injector.player
    +
    +
    Represents a player hook into the NetServerHandler class.
    +
    +
    NetworkServerInjector(ClassLoader, Logger, Player, ListenerInvoker, IntegerSet, InjectedServerConnection) - Constructor for class com.comphenix.protocol.injector.player.NetworkServerInjector
    +
     
    +
    newPacket(int) - Static method in class com.comphenix.protocol.injector.StructureCache
    +
    +
    Creates an empty Minecraft packet of the given ID.
    +
    +
    +A B C D E F G H I K L M N O P R S T U V W 
    + +
    + + + + + +
    + + + + diff --git a/Javadoc/index-files/index-14.html b/Javadoc/index-files/index-14.html index c28a3628..ce7275aa 100644 --- a/Javadoc/index-files/index-14.html +++ b/Javadoc/index-files/index-14.html @@ -1,148 +1,148 @@ - - - - - -O-Index - - - - - - - -
    - - - - - -
    - - -
    A B C D E F G H I K L M N O P R S T U V W  - - -

    O

    -
    -
    ObjectCloner - Class in com.comphenix.protocol.reflect
    -
    -
    Can copy an object field by field.
    -
    -
    ObjectCloner() - Constructor for class com.comphenix.protocol.reflect.ObjectCloner
    -
     
    -
    onCompiled(StructureModifier<TKey>) - Method in interface com.comphenix.protocol.reflect.compiler.CompileListener
    -
    -
    Invoked when a structure modifier has been successfully compiled.
    -
    -
    onDisable() - Method in class com.comphenix.protocol.ProtocolLibrary
    -
     
    -
    onEnable() - Method in class com.comphenix.protocol.ProtocolLibrary
    -
     
    -
    onLoad() - Method in class com.comphenix.protocol.ProtocolLibrary
    -
     
    -
    onPacketReceiving(PacketEvent) - Method in class com.comphenix.protocol.events.PacketAdapter
    -
     
    -
    onPacketReceiving(PacketEvent) - Method in interface com.comphenix.protocol.events.PacketListener
    -
    -
    Invoked right before a recieved packet from a client is being processed.
    -
    -
    onPacketSending(PacketEvent) - Method in class com.comphenix.protocol.events.PacketAdapter
    -
     
    -
    onPacketSending(PacketEvent) - Method in interface com.comphenix.protocol.events.PacketListener
    -
    -
    Invoked right before a packet is transmitted from the server to the client.
    -
    -
    OPEN_WINDOW - Static variable in class com.comphenix.protocol.Packets.Server
    -
     
    -
    -A B C D E F G H I K L M N O P R S T U V W 
    - -
    - - - - - -
    - - - - + + + + + +O-Index + + + + + + + +
    + + + + + +
    + + +
    A B C D E F G H I K L M N O P R S T U V W  + + +

    O

    +
    +
    ObjectCloner - Class in com.comphenix.protocol.reflect
    +
    +
    Can copy an object field by field.
    +
    +
    ObjectCloner() - Constructor for class com.comphenix.protocol.reflect.ObjectCloner
    +
     
    +
    onCompiled(StructureModifier<TKey>) - Method in interface com.comphenix.protocol.reflect.compiler.CompileListener
    +
    +
    Invoked when a structure modifier has been successfully compiled.
    +
    +
    onDisable() - Method in class com.comphenix.protocol.ProtocolLibrary
    +
     
    +
    onEnable() - Method in class com.comphenix.protocol.ProtocolLibrary
    +
     
    +
    onLoad() - Method in class com.comphenix.protocol.ProtocolLibrary
    +
     
    +
    onPacketReceiving(PacketEvent) - Method in class com.comphenix.protocol.events.PacketAdapter
    +
     
    +
    onPacketReceiving(PacketEvent) - Method in interface com.comphenix.protocol.events.PacketListener
    +
    +
    Invoked right before a recieved packet from a client is being processed.
    +
    +
    onPacketSending(PacketEvent) - Method in class com.comphenix.protocol.events.PacketAdapter
    +
     
    +
    onPacketSending(PacketEvent) - Method in interface com.comphenix.protocol.events.PacketListener
    +
    +
    Invoked right before a packet is transmitted from the server to the client.
    +
    +
    OPEN_WINDOW - Static variable in class com.comphenix.protocol.Packets.Server
    +
     
    +
    +A B C D E F G H I K L M N O P R S T U V W 
    + +
    + + + + + +
    + + + + diff --git a/Javadoc/index-files/index-15.html b/Javadoc/index-files/index-15.html index fc65eacb..699d7c69 100644 --- a/Javadoc/index-files/index-15.html +++ b/Javadoc/index-files/index-15.html @@ -1,263 +1,285 @@ - - - - - -P-Index - - - - - - - -
    - - - - - -
    - - -
    A B C D E F G H I K L M N O P R S T U V W  - - -

    P

    -
    -
    PacketAdapter - Class in com.comphenix.protocol.events
    -
    -
    Represents a packet listener with useful constructors.
    -
    -
    PacketAdapter(Plugin, ConnectionSide, Integer...) - Constructor for class com.comphenix.protocol.events.PacketAdapter
    -
    -
    Initialize a packet listener with default priority.
    -
    -
    PacketAdapter(Plugin, ConnectionSide, ListenerPriority, Integer...) - Constructor for class com.comphenix.protocol.events.PacketAdapter
    -
    -
    Initialize a packet listener for a single connection side.
    -
    -
    PacketConstructor - Class in com.comphenix.protocol.injector
    -
    -
    A packet constructor that uses an internal Minecraft.
    -
    -
    PacketConstructor.Unwrapper - Interface in com.comphenix.protocol.injector
    -
    -
    Represents a unwrapper for a constructor parameter.
    -
    -
    PacketContainer - Class in com.comphenix.protocol.events
    -
    -
    Represents a Minecraft packet indirectly.
    -
    -
    PacketContainer(int) - Constructor for class com.comphenix.protocol.events.PacketContainer
    -
    -
    Creates a packet container for a new packet.
    -
    -
    PacketContainer(int, Packet) - Constructor for class com.comphenix.protocol.events.PacketContainer
    -
    -
    Creates a packet container for an existing packet.
    -
    -
    PacketContainer(int, Packet, StructureModifier<Object>) - Constructor for class com.comphenix.protocol.events.PacketContainer
    -
    -
    Creates a packet container for an existing packet.
    -
    -
    PacketEvent - Class in com.comphenix.protocol.events
    -
     
    -
    PacketEvent(Object) - Constructor for class com.comphenix.protocol.events.PacketEvent
    -
    -
    Use the static constructors to create instances of this event.
    -
    -
    PacketFilterManager - Class in com.comphenix.protocol.injector
    -
     
    -
    PacketFilterManager(ClassLoader, Server, Logger) - Constructor for class com.comphenix.protocol.injector.PacketFilterManager
    -
    -
    Only create instances of this class if protocol lib is disabled.
    -
    -
    PacketFilterManager.PlayerInjectHooks - Enum in com.comphenix.protocol.injector
    -
    -
    Sets the inject hook type.
    -
    -
    PacketListener - Interface in com.comphenix.protocol.events
    -
    -
    Represents a listener that recieves notifications when packets are sent or recieved.
    -
    -
    Packets - Class in com.comphenix.protocol
    -
    -
    List of known packet IDs since 1.3.2.
    -
    -
    Packets() - Constructor for class com.comphenix.protocol.Packets
    -
     
    -
    Packets.Client - Class in com.comphenix.protocol
    -
    -
    List of packets sent by the client.
    -
    -
    Packets.Server - Class in com.comphenix.protocol
    -
    -
    List of packets sent only by the server.
    -
    -
    PacketStream - Interface in com.comphenix.protocol
    -
    -
    Represents a object capable of sending or receiving packets.
    -
    -
    PICKUP_SPAWN - Static variable in class com.comphenix.protocol.Packets.Server
    -
     
    -
    PLACE - Static variable in class com.comphenix.protocol.Packets.Client
    -
     
    -
    PLAY_NOTE_BLOCK - Static variable in class com.comphenix.protocol.Packets.Server
    -
     
    -
    PLAYER_INFO - Static variable in class com.comphenix.protocol.Packets.Server
    -
     
    -
    PLAYER_LOOK - Static variable in class com.comphenix.protocol.Packets.Client
    -
     
    -
    PLAYER_LOOK - Static variable in class com.comphenix.protocol.Packets.Server
    -
     
    -
    PLAYER_LOOK_MOVE - Static variable in class com.comphenix.protocol.Packets.Client
    -
     
    -
    PLAYER_LOOK_MOVE - Static variable in class com.comphenix.protocol.Packets.Server
    -
     
    -
    PLAYER_POSITION - Static variable in class com.comphenix.protocol.Packets.Client
    -
     
    -
    PLAYER_POSITION - Static variable in class com.comphenix.protocol.Packets.Server
    -
     
    -
    PlayerInjectionHandler - Class in com.comphenix.protocol.injector.player
    -
    -
    Responsible for injecting into a player's sendPacket method.
    -
    -
    PlayerInjectionHandler(ClassLoader, Logger, ListenerInvoker, Server) - Constructor for class com.comphenix.protocol.injector.player.PlayerInjectionHandler
    -
     
    -
    PlayerLoggedOutException - Exception in com.comphenix.protocol.injector
    -
    -
    Invoked when attempting to use a player that has already logged out.
    -
    -
    PlayerLoggedOutException() - Constructor for exception com.comphenix.protocol.injector.PlayerLoggedOutException
    -
     
    -
    PlayerLoggedOutException(String, Throwable) - Constructor for exception com.comphenix.protocol.injector.PlayerLoggedOutException
    -
     
    -
    PlayerLoggedOutException(String) - Constructor for exception com.comphenix.protocol.injector.PlayerLoggedOutException
    -
     
    -
    PlayerLoggedOutException(Throwable) - Constructor for exception com.comphenix.protocol.injector.PlayerLoggedOutException
    -
     
    -
    plugin - Variable in class com.comphenix.protocol.events.PacketAdapter
    -
     
    -
    PrimitiveGenerator - Class in com.comphenix.protocol.reflect.instances
    -
    -
    Provides constructors for primtive types, wrappers, arrays and strings.
    -
    -
    PrimitiveGenerator(String) - Constructor for class com.comphenix.protocol.reflect.instances.PrimitiveGenerator
    -
     
    -
    PrimitiveUtils - Class in com.comphenix.protocol.reflect
    -
    -
    Contains static utility methods pertaining to primitive types and their - corresponding wrapper types.
    -
    -
    PrioritizedListener<TListener> - Class in com.comphenix.protocol.injector
    -
    -
    Represents a listener with a priority.
    -
    -
    PrioritizedListener(TListener, ListenerPriority) - Constructor for class com.comphenix.protocol.injector.PrioritizedListener
    -
     
    -
    processPacket(Player, Packet) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
    -
    -
    Process a packet as if it were sent by the given player.
    -
    -
    ProtocolLibrary - Class in com.comphenix.protocol
    -
    -
    The main entry point for ProtocolLib.
    -
    -
    ProtocolLibrary() - Constructor for class com.comphenix.protocol.ProtocolLibrary
    -
     
    -
    ProtocolManager - Interface in com.comphenix.protocol
    -
    -
    Represents an API for accessing the Minecraft protocol.
    -
    -
    -A B C D E F G H I K L M N O P R S T U V W 
    - -
    - - - - - -
    - - - - + + + + + +P-Index + + + + + + + +
    + + + + + +
    + + +
    A B C D E F G H I K L M N O P R S T U V W  + + +

    P

    +
    +
    PacketAdapter - Class in com.comphenix.protocol.events
    +
    +
    Represents a packet listener with useful constructors.
    +
    +
    PacketAdapter(Plugin, ConnectionSide, Integer...) - Constructor for class com.comphenix.protocol.events.PacketAdapter
    +
    +
    Initialize a packet listener with default priority.
    +
    +
    PacketAdapter(Plugin, ConnectionSide, ListenerPriority, Set<Integer>) - Constructor for class com.comphenix.protocol.events.PacketAdapter
    +
    +
    Initialize a packet listener for a single connection side.
    +
    +
    PacketAdapter(Plugin, ConnectionSide, GamePhase, Set<Integer>) - Constructor for class com.comphenix.protocol.events.PacketAdapter
    +
    +
    Initialize a packet listener for a single connection side.
    +
    +
    PacketAdapter(Plugin, ConnectionSide, ListenerPriority, GamePhase, Set<Integer>) - Constructor for class com.comphenix.protocol.events.PacketAdapter
    +
    +
    Initialize a packet listener for a single connection side.
    +
    +
    PacketAdapter(Plugin, ConnectionSide, ListenerPriority, Integer...) - Constructor for class com.comphenix.protocol.events.PacketAdapter
    +
    +
    Initialize a packet listener for a single connection side.
    +
    +
    PacketAdapter(Plugin, ConnectionSide, GamePhase, Integer...) - Constructor for class com.comphenix.protocol.events.PacketAdapter
    +
    +
    Initialize a packet listener for a single connection side.
    +
    +
    PacketAdapter(Plugin, ConnectionSide, ListenerPriority, GamePhase, Integer...) - Constructor for class com.comphenix.protocol.events.PacketAdapter
    +
    +
    Initialize a packet listener for a single connection side.
    +
    +
    PacketConstructor - Class in com.comphenix.protocol.injector
    +
    +
    A packet constructor that uses an internal Minecraft.
    +
    +
    PacketConstructor.Unwrapper - Interface in com.comphenix.protocol.injector
    +
    +
    Represents a unwrapper for a constructor parameter.
    +
    +
    PacketContainer - Class in com.comphenix.protocol.events
    +
    +
    Represents a Minecraft packet indirectly.
    +
    +
    PacketContainer(int) - Constructor for class com.comphenix.protocol.events.PacketContainer
    +
    +
    Creates a packet container for a new packet.
    +
    +
    PacketContainer(int, Packet) - Constructor for class com.comphenix.protocol.events.PacketContainer
    +
    +
    Creates a packet container for an existing packet.
    +
    +
    PacketContainer(int, Packet, StructureModifier<Object>) - Constructor for class com.comphenix.protocol.events.PacketContainer
    +
    +
    Creates a packet container for an existing packet.
    +
    +
    PacketEvent - Class in com.comphenix.protocol.events
    +
     
    +
    PacketEvent(Object) - Constructor for class com.comphenix.protocol.events.PacketEvent
    +
    +
    Use the static constructors to create instances of this event.
    +
    +
    PacketFilterManager - Class in com.comphenix.protocol.injector
    +
     
    +
    PacketFilterManager(ClassLoader, Server, DelayedSingleTask, Logger) - Constructor for class com.comphenix.protocol.injector.PacketFilterManager
    +
    +
    Only create instances of this class if protocol lib is disabled.
    +
    +
    PacketFilterManager.PlayerInjectHooks - Enum in com.comphenix.protocol.injector
    +
    +
    Sets the inject hook type.
    +
    +
    PacketListener - Interface in com.comphenix.protocol.events
    +
    +
    Represents a listener that recieves notifications when packets are sent or recieved.
    +
    +
    Packets - Class in com.comphenix.protocol
    +
    +
    List of known packet IDs since 1.3.2.
    +
    +
    Packets() - Constructor for class com.comphenix.protocol.Packets
    +
     
    +
    Packets.Client - Class in com.comphenix.protocol
    +
    +
    List of packets sent by the client.
    +
    +
    Packets.Server - Class in com.comphenix.protocol
    +
    +
    List of packets sent only by the server.
    +
    +
    PacketStream - Interface in com.comphenix.protocol
    +
    +
    Represents a object capable of sending or receiving packets.
    +
    +
    PICKUP_SPAWN - Static variable in class com.comphenix.protocol.Packets.Server
    +
     
    +
    PLACE - Static variable in class com.comphenix.protocol.Packets.Client
    +
     
    +
    PLAY_NOTE_BLOCK - Static variable in class com.comphenix.protocol.Packets.Server
    +
     
    +
    PLAYER_INFO - Static variable in class com.comphenix.protocol.Packets.Server
    +
     
    +
    PLAYER_LOOK - Static variable in class com.comphenix.protocol.Packets.Client
    +
     
    +
    PLAYER_LOOK - Static variable in class com.comphenix.protocol.Packets.Server
    +
     
    +
    PLAYER_LOOK_MOVE - Static variable in class com.comphenix.protocol.Packets.Client
    +
     
    +
    PLAYER_LOOK_MOVE - Static variable in class com.comphenix.protocol.Packets.Server
    +
     
    +
    PLAYER_POSITION - Static variable in class com.comphenix.protocol.Packets.Client
    +
     
    +
    PLAYER_POSITION - Static variable in class com.comphenix.protocol.Packets.Server
    +
     
    +
    PlayerInjectionHandler - Class in com.comphenix.protocol.injector.player
    +
    +
    Responsible for injecting into a player's sendPacket method.
    +
    +
    PlayerInjectionHandler(ClassLoader, Logger, Predicate<GamePhase>, ListenerInvoker, Server) - Constructor for class com.comphenix.protocol.injector.player.PlayerInjectionHandler
    +
     
    +
    PlayerLoggedOutException - Exception in com.comphenix.protocol.injector
    +
    +
    Invoked when attempting to use a player that has already logged out.
    +
    +
    PlayerLoggedOutException() - Constructor for exception com.comphenix.protocol.injector.PlayerLoggedOutException
    +
     
    +
    PlayerLoggedOutException(String, Throwable) - Constructor for exception com.comphenix.protocol.injector.PlayerLoggedOutException
    +
     
    +
    PlayerLoggedOutException(String) - Constructor for exception com.comphenix.protocol.injector.PlayerLoggedOutException
    +
     
    +
    PlayerLoggedOutException(Throwable) - Constructor for exception com.comphenix.protocol.injector.PlayerLoggedOutException
    +
     
    +
    plugin - Variable in class com.comphenix.protocol.events.PacketAdapter
    +
     
    +
    plugin - Variable in class com.comphenix.protocol.injector.DelayedSingleTask
    +
     
    +
    PrimitiveGenerator - Class in com.comphenix.protocol.reflect.instances
    +
    +
    Provides constructors for primtive types, wrappers, arrays and strings.
    +
    +
    PrimitiveGenerator(String) - Constructor for class com.comphenix.protocol.reflect.instances.PrimitiveGenerator
    +
     
    +
    PrimitiveUtils - Class in com.comphenix.protocol.reflect
    +
    +
    Contains static utility methods pertaining to primitive types and their + corresponding wrapper types.
    +
    +
    PrioritizedListener<TListener> - Class in com.comphenix.protocol.injector
    +
    +
    Represents a listener with a priority.
    +
    +
    PrioritizedListener(TListener, ListenerPriority) - Constructor for class com.comphenix.protocol.injector.PrioritizedListener
    +
     
    +
    processPacket(Player, Packet) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
    +
    +
    Process a packet as if it were sent by the given player.
    +
    +
    ProtocolLibrary - Class in com.comphenix.protocol
    +
    +
    The main entry point for ProtocolLib.
    +
    +
    ProtocolLibrary() - Constructor for class com.comphenix.protocol.ProtocolLibrary
    +
     
    +
    ProtocolManager - Interface in com.comphenix.protocol
    +
    +
    Represents an API for accessing the Minecraft protocol.
    +
    +
    +A B C D E F G H I K L M N O P R S T U V W 
    + +
    + + + + + +
    + + + + diff --git a/Javadoc/index-files/index-16.html b/Javadoc/index-files/index-16.html index e197bab2..454bb22e 100644 --- a/Javadoc/index-files/index-16.html +++ b/Javadoc/index-files/index-16.html @@ -1,244 +1,244 @@ - - - - - -R-Index - - - - - - - -
    - - - - - -
    - - -
    A B C D E F G H I K L M N O P R S T U V W  - - -

    R

    -
    -
    read(int) - Method in class com.comphenix.protocol.reflect.compiler.CompiledStructureModifier
    -
     
    -
    read(int) - Method in class com.comphenix.protocol.reflect.StructureModifier
    -
    -
    Reads the value of a field given its index.
    -
    -
    readField(Field, Object) - Static method in class com.comphenix.protocol.reflect.FieldUtils
    -
    -
    Read an accessible Field.
    -
    -
    readField(Field, Object, boolean) - Static method in class com.comphenix.protocol.reflect.FieldUtils
    -
    -
    Read a Field.
    -
    -
    readField(Object, String) - Static method in class com.comphenix.protocol.reflect.FieldUtils
    -
    -
    Read the named public field.
    -
    -
    readField(Object, String, boolean) - Static method in class com.comphenix.protocol.reflect.FieldUtils
    -
    -
    Read the named field.
    -
    -
    readGenerated(int) - Method in class com.comphenix.protocol.reflect.compiler.CompiledStructureModifier
    -
     
    -
    readSafely(int) - Method in class com.comphenix.protocol.reflect.StructureModifier
    -
    -
    Reads the value of a field if and ONLY IF it exists.
    -
    -
    readStaticField(Field) - Static method in class com.comphenix.protocol.reflect.FieldUtils
    -
    -
    Read an accessible static Field.
    -
    -
    readStaticField(Field, boolean) - Static method in class com.comphenix.protocol.reflect.FieldUtils
    -
    -
    Read a static Field.
    -
    -
    readStaticField(Class, String) - Static method in class com.comphenix.protocol.reflect.FieldUtils
    -
    -
    Read the named public static field.
    -
    -
    readStaticField(Class, String, boolean) - Static method in class com.comphenix.protocol.reflect.FieldUtils
    -
    -
    Read the named static field.
    -
    -
    receivingWhitelist - Variable in class com.comphenix.protocol.events.PacketAdapter
    -
     
    -
    recieveClientPacket(Player, PacketContainer) - Method in class com.comphenix.protocol.injector.PacketFilterManager
    -
     
    -
    recieveClientPacket(Player, PacketContainer, boolean) - Method in class com.comphenix.protocol.injector.PacketFilterManager
    -
     
    -
    recieveClientPacket(Player, PacketContainer) - Method in interface com.comphenix.protocol.PacketStream
    -
    -
    Simulate recieving a certain packet from a given player.
    -
    -
    recieveClientPacket(Player, PacketContainer, boolean) - Method in interface com.comphenix.protocol.PacketStream
    -
    -
    Simulate recieving a certain packet from a given player.
    -
    -
    registerAll() - Method in class com.comphenix.protocol.reflect.IntEnum
    -
    -
    Registers every public int field as a member.
    -
    -
    registerAsyncHandler(PacketListener) - Method in class com.comphenix.protocol.async.AsyncFilterManager
    -
     
    -
    registerAsyncHandler(PacketListener, boolean) - Method in class com.comphenix.protocol.async.AsyncFilterManager
    -
    -
    Registers an asynchronous packet handler.
    -
    -
    registerAsyncHandler(PacketListener) - Method in interface com.comphenix.protocol.AsynchronousManager
    -
    -
    Registers an asynchronous packet handler.
    -
    -
    registerEvents(PluginManager, Plugin) - Method in class com.comphenix.protocol.injector.PacketFilterManager
    -
    -
    Register this protocol manager on Bukkit.
    -
    -
    registerMember(int, String) - Method in class com.comphenix.protocol.reflect.IntEnum
    -
    -
    Registers a member.
    -
    -
    REL_ENTITY_MOVE - Static variable in class com.comphenix.protocol.Packets.Server
    -
     
    -
    REL_ENTITY_MOVE_LOOK - Static variable in class com.comphenix.protocol.Packets.Server
    -
     
    -
    remove(Object) - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
    -
    -
    Removes from the list by making a new list with every element except the one given.
    -
    -
    remove(int) - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
    -
    -
    Removes from the list by making a copy of every element except the one with the given index.
    -
    -
    REMOVE_MOB_EFFECT - Static variable in class com.comphenix.protocol.Packets.Server
    -
     
    -
    removeAll(Collection<?>) - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
    -
     
    -
    removeListener(TListener, ListeningWhitelist) - Method in class com.comphenix.protocol.concurrency.AbstractConcurrentListenerMultimap
    -
    -
    Removes the given listener from the packet event list.
    -
    -
    removePacketHandler(int) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
    -
    -
    Remove an underlying packet handler of ths ID.
    -
    -
    removePacketListener(PacketListener) - Method in class com.comphenix.protocol.injector.PacketFilterManager
    -
     
    -
    removePacketListener(PacketListener) - Method in interface com.comphenix.protocol.ProtocolManager
    -
    -
    Removes a given packet listener.
    -
    -
    removePacketListeners(Plugin) - Method in class com.comphenix.protocol.injector.PacketFilterManager
    -
     
    -
    removePacketListeners(Plugin) - Method in interface com.comphenix.protocol.ProtocolManager
    -
    -
    Removes every listener associated with the given plugin.
    -
    -
    RESPAWN - Static variable in class com.comphenix.protocol.Packets.Client
    -
     
    -
    RESPAWN - Static variable in class com.comphenix.protocol.Packets.Server
    -
     
    -
    retainAll(Collection<?>) - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
    -
     
    -
    revertValue() - Method in class com.comphenix.protocol.reflect.VolatileField
    -
    -
    Revert to the previously set value.
    -
    -
    -A B C D E F G H I K L M N O P R S T U V W 
    - -
    - - - - - -
    - - - - + + + + + +R-Index + + + + + + + +
    + + + + + +
    + + +
    A B C D E F G H I K L M N O P R S T U V W  + + +

    R

    +
    +
    read(int) - Method in class com.comphenix.protocol.reflect.compiler.CompiledStructureModifier
    +
     
    +
    read(int) - Method in class com.comphenix.protocol.reflect.StructureModifier
    +
    +
    Reads the value of a field given its index.
    +
    +
    readField(Field, Object) - Static method in class com.comphenix.protocol.reflect.FieldUtils
    +
    +
    Read an accessible Field.
    +
    +
    readField(Field, Object, boolean) - Static method in class com.comphenix.protocol.reflect.FieldUtils
    +
    +
    Read a Field.
    +
    +
    readField(Object, String) - Static method in class com.comphenix.protocol.reflect.FieldUtils
    +
    +
    Read the named public field.
    +
    +
    readField(Object, String, boolean) - Static method in class com.comphenix.protocol.reflect.FieldUtils
    +
    +
    Read the named field.
    +
    +
    readGenerated(int) - Method in class com.comphenix.protocol.reflect.compiler.CompiledStructureModifier
    +
     
    +
    readSafely(int) - Method in class com.comphenix.protocol.reflect.StructureModifier
    +
    +
    Reads the value of a field if and ONLY IF it exists.
    +
    +
    readStaticField(Field) - Static method in class com.comphenix.protocol.reflect.FieldUtils
    +
    +
    Read an accessible static Field.
    +
    +
    readStaticField(Field, boolean) - Static method in class com.comphenix.protocol.reflect.FieldUtils
    +
    +
    Read a static Field.
    +
    +
    readStaticField(Class, String) - Static method in class com.comphenix.protocol.reflect.FieldUtils
    +
    +
    Read the named public static field.
    +
    +
    readStaticField(Class, String, boolean) - Static method in class com.comphenix.protocol.reflect.FieldUtils
    +
    +
    Read the named static field.
    +
    +
    receivingWhitelist - Variable in class com.comphenix.protocol.events.PacketAdapter
    +
     
    +
    recieveClientPacket(Player, PacketContainer) - Method in class com.comphenix.protocol.injector.PacketFilterManager
    +
     
    +
    recieveClientPacket(Player, PacketContainer, boolean) - Method in class com.comphenix.protocol.injector.PacketFilterManager
    +
     
    +
    recieveClientPacket(Player, PacketContainer) - Method in interface com.comphenix.protocol.PacketStream
    +
    +
    Simulate recieving a certain packet from a given player.
    +
    +
    recieveClientPacket(Player, PacketContainer, boolean) - Method in interface com.comphenix.protocol.PacketStream
    +
    +
    Simulate recieving a certain packet from a given player.
    +
    +
    registerAll() - Method in class com.comphenix.protocol.reflect.IntEnum
    +
    +
    Registers every public int field as a member.
    +
    +
    registerAsyncHandler(PacketListener) - Method in class com.comphenix.protocol.async.AsyncFilterManager
    +
     
    +
    registerAsyncHandler(PacketListener, boolean) - Method in class com.comphenix.protocol.async.AsyncFilterManager
    +
    +
    Registers an asynchronous packet handler.
    +
    +
    registerAsyncHandler(PacketListener) - Method in interface com.comphenix.protocol.AsynchronousManager
    +
    +
    Registers an asynchronous packet handler.
    +
    +
    registerEvents(PluginManager, Plugin) - Method in class com.comphenix.protocol.injector.PacketFilterManager
    +
    +
    Register this protocol manager on Bukkit.
    +
    +
    registerMember(int, String) - Method in class com.comphenix.protocol.reflect.IntEnum
    +
    +
    Registers a member.
    +
    +
    REL_ENTITY_MOVE - Static variable in class com.comphenix.protocol.Packets.Server
    +
     
    +
    REL_ENTITY_MOVE_LOOK - Static variable in class com.comphenix.protocol.Packets.Server
    +
     
    +
    remove(Object) - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
    +
    +
    Removes from the list by making a new list with every element except the one given.
    +
    +
    remove(int) - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
    +
    +
    Removes from the list by making a copy of every element except the one with the given index.
    +
    +
    REMOVE_MOB_EFFECT - Static variable in class com.comphenix.protocol.Packets.Server
    +
     
    +
    removeAll(Collection<?>) - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
    +
     
    +
    removeListener(TListener, ListeningWhitelist) - Method in class com.comphenix.protocol.concurrency.AbstractConcurrentListenerMultimap
    +
    +
    Removes the given listener from the packet event list.
    +
    +
    removePacketHandler(int) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
    +
    +
    Remove an underlying packet handler of ths ID.
    +
    +
    removePacketListener(PacketListener) - Method in class com.comphenix.protocol.injector.PacketFilterManager
    +
     
    +
    removePacketListener(PacketListener) - Method in interface com.comphenix.protocol.ProtocolManager
    +
    +
    Removes a given packet listener.
    +
    +
    removePacketListeners(Plugin) - Method in class com.comphenix.protocol.injector.PacketFilterManager
    +
     
    +
    removePacketListeners(Plugin) - Method in interface com.comphenix.protocol.ProtocolManager
    +
    +
    Removes every listener associated with the given plugin.
    +
    +
    RESPAWN - Static variable in class com.comphenix.protocol.Packets.Client
    +
     
    +
    RESPAWN - Static variable in class com.comphenix.protocol.Packets.Server
    +
     
    +
    retainAll(Collection<?>) - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
    +
     
    +
    revertValue() - Method in class com.comphenix.protocol.reflect.VolatileField
    +
    +
    Revert to the previously set value.
    +
    +
    +A B C D E F G H I K L M N O P R S T U V W 
    + +
    + + + + + +
    + + + + diff --git a/Javadoc/index-files/index-17.html b/Javadoc/index-files/index-17.html index f610ff3f..554bbb88 100644 --- a/Javadoc/index-files/index-17.html +++ b/Javadoc/index-files/index-17.html @@ -1,357 +1,373 @@ - - - - - -S-Index - - - - - - - -
    - - - - - -
    - - -
    A B C D E F G H I K L M N O P R S T U V W  - - -

    S

    -
    -
    saveValue() - Method in class com.comphenix.protocol.reflect.VolatileField
    -
    -
    Ensure that the current value is still set after this class has been garbaged collected.
    -
    -
    scheduleAsyncTask(Plugin, Runnable) - Method in class com.comphenix.protocol.async.AsyncFilterManager
    -
    -
    Used to create a default asynchronous task.
    -
    -
    scheduleCompilation(Map<Class, StructureModifier>, Class) - Method in class com.comphenix.protocol.reflect.compiler.BackgroundCompiler
    -
    -
    Ensure that the indirectly given structure modifier is eventually compiled.
    -
    -
    scheduleCompilation(StructureModifier<TKey>, CompileListener<TKey>) - Method in class com.comphenix.protocol.reflect.compiler.BackgroundCompiler
    -
    -
    Ensure that the given structure modifier is eventually compiled.
    -
    -
    sendingWhitelist - Variable in class com.comphenix.protocol.events.PacketAdapter
    -
     
    -
    sendProcessedPackets(int, boolean) - Method in class com.comphenix.protocol.async.AsyncFilterManager
    -
    -
    Send any due packets, or clean up packets that have expired.
    -
    -
    sendServerPacket(Player, PacketContainer) - Method in class com.comphenix.protocol.injector.PacketFilterManager
    -
     
    -
    sendServerPacket(Player, PacketContainer, boolean) - Method in class com.comphenix.protocol.injector.PacketFilterManager
    -
     
    -
    sendServerPacket(Packet, boolean) - Method in class com.comphenix.protocol.injector.player.NetworkServerInjector
    -
     
    -
    sendServerPacket(Player, PacketContainer, boolean) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
    -
     
    -
    sendServerPacket(Player, PacketContainer) - Method in interface com.comphenix.protocol.PacketStream
    -
    -
    Send a packet to the given player.
    -
    -
    sendServerPacket(Player, PacketContainer, boolean) - Method in interface com.comphenix.protocol.PacketStream
    -
    -
    Send a packet to the given player.
    -
    -
    SET_CREATIVE_SLOT - Static variable in class com.comphenix.protocol.Packets.Client
    -
     
    -
    SET_CREATIVE_SLOT - Static variable in class com.comphenix.protocol.Packets.Server
    -
     
    -
    SET_EXPERIENCE - Static variable in class com.comphenix.protocol.Packets.Server
    -
     
    -
    SET_SLOT - Static variable in class com.comphenix.protocol.Packets.Server
    -
     
    -
    setAsyncCancelled(boolean) - Method in class com.comphenix.protocol.async.AsyncMarker
    -
    -
    Set whether or not the asynchronous handling should be cancelled.
    -
    -
    setAsyncMarker(AsyncMarker) - Method in class com.comphenix.protocol.events.PacketEvent
    -
    -
    Set the asynchronous marker.
    -
    -
    setCacheMethods(boolean) - Static method in class com.comphenix.protocol.reflect.MethodUtils
    -
    -
    Set whether methods should be cached for greater performance or not, - default is true.
    -
    -
    setCancelled(boolean) - Method in class com.comphenix.protocol.events.PacketEvent
    -
    -
    Sets whether or not the packet should be cancelled.
    -
    -
    setConverter(EquivalentConverter<TField>) - Method in class com.comphenix.protocol.reflect.StructureModifier
    -
    -
    Set the current object converter.
    -
    -
    setEnabled(boolean) - Method in class com.comphenix.protocol.reflect.compiler.BackgroundCompiler
    -
    -
    Sets whether or not the background compiler is enabled.
    -
    -
    setForceAccess(boolean) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
    -
    -
    Sets whether or not not to override any scope restrictions.
    -
    -
    setForceAccess(boolean) - Method in class com.comphenix.protocol.reflect.VolatileField
    -
    -
    Sets whether or not not to override any scope restrictions.
    -
    -
    setInstance(BackgroundCompiler) - Static method in class com.comphenix.protocol.reflect.compiler.BackgroundCompiler
    -
    -
    Sets the single background compiler we're using.
    -
    -
    setMaximumRecursion(int) - Method in class com.comphenix.protocol.reflect.instances.DefaultInstances
    -
    -
    Set the maximum height of the hierachy of creates types.
    -
    -
    setNewSendingIndex(long) - Method in class com.comphenix.protocol.async.AsyncMarker
    -
    -
    Sets the desired sending order after processing has completed.
    -
    -
    setNonNull(boolean) - Method in class com.comphenix.protocol.reflect.instances.DefaultInstances
    -
    -
    Set whether or not the constructor's parameters must be non-null.
    -
    -
    setPacket(PacketContainer) - Method in class com.comphenix.protocol.events.PacketEvent
    -
    -
    Replace the packet that will be sent to the player.
    -
    -
    setPacketStream(PacketStream) - Method in class com.comphenix.protocol.async.AsyncMarker
    -
    -
    Sets the output packet stream responsible for transmitting this packet.
    -
    -
    setPlayerHook(PacketFilterManager.PlayerInjectHooks) - Method in class com.comphenix.protocol.injector.PacketFilterManager
    -
    -
    Sets how the server packets are read.
    -
    -
    setPlayerHook(PacketFilterManager.PlayerInjectHooks) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
    -
    -
    Sets how the server packets are read.
    -
    -
    setProcessingLock(Object) - Method in class com.comphenix.protocol.async.AsyncMarker
    -
     
    -
    setTimeout(long) - Method in class com.comphenix.protocol.async.AsyncMarker
    -
    -
    Set the time the packet will be forcefully rejected.
    -
    -
    setValue(Object) - Method in class com.comphenix.protocol.reflect.VolatileField
    -
    -
    Sets the current value.
    -
    -
    setWorkers(int) - Method in class com.comphenix.protocol.async.AsyncListenerHandler
    -
    -
    Set the current number of workers.
    -
    -
    SHUTDOWN_DELAY_MS - Static variable in class com.comphenix.protocol.reflect.compiler.BackgroundCompiler
    -
     
    -
    shutdownAll() - Method in class com.comphenix.protocol.reflect.compiler.BackgroundCompiler
    -
    -
    Clean up after ourselves using the default timeout.
    -
    -
    shutdownAll(long, TimeUnit) - Method in class com.comphenix.protocol.reflect.compiler.BackgroundCompiler
    -
    -
    Clean up after ourselves.
    -
    -
    signalFreeProcessingSlot(PacketEvent) - Method in class com.comphenix.protocol.async.AsyncFilterManager
    -
    -
    Signal that a packet has finished processing.
    -
    -
    signalPacketTransmission(PacketEvent) - Method in class com.comphenix.protocol.async.AsyncFilterManager
    -
     
    -
    signalPacketTransmission(PacketEvent) - Method in interface com.comphenix.protocol.AsynchronousManager
    -
    -
    Signal that a packet is ready to be transmitted.
    -
    -
    size() - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
    -
    -
    Retrieve the size of the list.
    -
    -
    size() - Method in class com.comphenix.protocol.reflect.StructureModifier
    -
    -
    Retrieve the number of readable types.
    -
    -
    SortedCopyOnWriteArray<T extends java.lang.Comparable<T>> - Class in com.comphenix.protocol.concurrency
    -
    -
    An implicitly sorted array list that preserves insertion order and maintains duplicates.
    -
    -
    SortedCopyOnWriteArray() - Constructor for class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
    -
    -
    Construct an empty sorted array.
    -
    -
    SortedCopyOnWriteArray(Collection<T>) - Constructor for class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
    -
    -
    Create a sorted array from the given list.
    -
    -
    SortedCopyOnWriteArray(Collection<T>, boolean) - Constructor for class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
    -
    -
    Create a sorted array from the given list.
    -
    -
    SortedCopyOnWriteArrayTest - Class in com.comphenix.protocol.injector
    -
     
    -
    SortedCopyOnWriteArrayTest() - Constructor for class com.comphenix.protocol.injector.SortedCopyOnWriteArrayTest
    -
     
    -
    SPAWN_POSITION - Static variable in class com.comphenix.protocol.Packets.Server
    -
     
    -
    start() - Method in class com.comphenix.protocol.async.AsyncListenerHandler
    -
    -
    Start a singler worker thread handling the asynchronous listener.
    -
    -
    start(Function<AsyncRunnable, Void>) - Method in class com.comphenix.protocol.async.AsyncListenerHandler
    -
    -
    Start a singler worker thread handling the asynchronous listener.
    -
    -
    start(int) - Method in class com.comphenix.protocol.async.AsyncListenerHandler
    -
    -
    Start multiple worker threads for this listener.
    -
    -
    STATISTIC - Static variable in class com.comphenix.protocol.Packets.Server
    -
     
    -
    Statistics - Class in com.comphenix.protocol.metrics
    -
     
    -
    Statistics(Plugin) - Constructor for class com.comphenix.protocol.metrics.Statistics
    -
     
    -
    stop() - Method in class com.comphenix.protocol.async.AsyncListenerHandler
    -
    -
    Stop a worker thread.
    -
    -
    stop(int) - Method in class com.comphenix.protocol.async.AsyncListenerHandler
    -
    -
    Stop the given amount of worker threads.
    -
    -
    stop() - Method in interface com.comphenix.protocol.async.AsyncRunnable
    -
    -
    Stop the given runnable.
    -
    -
    STRING_DEFAULT - Static variable in class com.comphenix.protocol.reflect.instances.PrimitiveGenerator
    -
    -
    Default value for Strings.
    -
    -
    StructureCache - Class in com.comphenix.protocol.injector
    -
    -
    Caches structure modifiers.
    -
    -
    StructureCache() - Constructor for class com.comphenix.protocol.injector.StructureCache
    -
     
    -
    StructureCompiler - Class in com.comphenix.protocol.reflect.compiler
    -
    -
    Represents a StructureModifier compiler.
    -
    -
    structureModifier - Variable in class com.comphenix.protocol.events.PacketContainer
    -
     
    -
    StructureModifier<TField> - Class in com.comphenix.protocol.reflect
    -
    -
    Provides list-oriented access to the fields of a Minecraft packet.
    -
    -
    StructureModifier(Class, Class, boolean) - Constructor for class com.comphenix.protocol.reflect.StructureModifier
    -
    -
    Creates a structure modifier.
    -
    -
    StructureModifier() - Constructor for class com.comphenix.protocol.reflect.StructureModifier
    -
    -
    Consumers of this method should call "initialize".
    -
    -
    StructureModifierTest - Class in com.comphenix.protocol.reflect
    -
     
    -
    StructureModifierTest() - Constructor for class com.comphenix.protocol.reflect.StructureModifierTest
    -
     
    -
    subtypeCache - Variable in class com.comphenix.protocol.reflect.StructureModifier
    -
     
    -
    -A B C D E F G H I K L M N O P R S T U V W 
    - -
    - - - - - -
    - - - - + + + + + +S-Index + + + + + + + +
    + + + + + +
    + + +
    A B C D E F G H I K L M N O P R S T U V W  + + +

    S

    +
    +
    saveValue() - Method in class com.comphenix.protocol.reflect.VolatileField
    +
    +
    Ensure that the current value is still set after this class has been garbaged collected.
    +
    +
    schedule(long, Runnable) - Method in class com.comphenix.protocol.injector.DelayedSingleTask
    +
    +
    Schedule a single task for execution.
    +
    +
    scheduleAsyncTask(Plugin, Runnable) - Method in class com.comphenix.protocol.async.AsyncFilterManager
    +
    +
    Used to create a default asynchronous task.
    +
    +
    scheduleCompilation(Map<Class, StructureModifier>, Class) - Method in class com.comphenix.protocol.reflect.compiler.BackgroundCompiler
    +
    +
    Ensure that the indirectly given structure modifier is eventually compiled.
    +
    +
    scheduleCompilation(StructureModifier<TKey>, CompileListener<TKey>) - Method in class com.comphenix.protocol.reflect.compiler.BackgroundCompiler
    +
    +
    Ensure that the given structure modifier is eventually compiled.
    +
    +
    scheduleDataInputRefresh(Player) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
    +
    +
    Inform the current PlayerInjector that it should update the DataInputStream next.
    +
    +
    scheduler - Variable in class com.comphenix.protocol.injector.DelayedSingleTask
    +
     
    +
    sendingWhitelist - Variable in class com.comphenix.protocol.events.PacketAdapter
    +
     
    +
    sendProcessedPackets(int, boolean) - Method in class com.comphenix.protocol.async.AsyncFilterManager
    +
    +
    Send any due packets, or clean up packets that have expired.
    +
    +
    sendServerPacket(Player, PacketContainer) - Method in class com.comphenix.protocol.injector.PacketFilterManager
    +
     
    +
    sendServerPacket(Player, PacketContainer, boolean) - Method in class com.comphenix.protocol.injector.PacketFilterManager
    +
     
    +
    sendServerPacket(Packet, boolean) - Method in class com.comphenix.protocol.injector.player.NetworkServerInjector
    +
     
    +
    sendServerPacket(Player, PacketContainer, boolean) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
    +
    +
    Send the given packet to the given reciever.
    +
    +
    sendServerPacket(Player, PacketContainer) - Method in interface com.comphenix.protocol.PacketStream
    +
    +
    Send a packet to the given player.
    +
    +
    sendServerPacket(Player, PacketContainer, boolean) - Method in interface com.comphenix.protocol.PacketStream
    +
    +
    Send a packet to the given player.
    +
    +
    SET_CREATIVE_SLOT - Static variable in class com.comphenix.protocol.Packets.Client
    +
     
    +
    SET_CREATIVE_SLOT - Static variable in class com.comphenix.protocol.Packets.Server
    +
     
    +
    SET_EXPERIENCE - Static variable in class com.comphenix.protocol.Packets.Server
    +
     
    +
    SET_SLOT - Static variable in class com.comphenix.protocol.Packets.Server
    +
     
    +
    setAsyncCancelled(boolean) - Method in class com.comphenix.protocol.async.AsyncMarker
    +
    +
    Set whether or not the asynchronous handling should be cancelled.
    +
    +
    setAsyncMarker(AsyncMarker) - Method in class com.comphenix.protocol.events.PacketEvent
    +
    +
    Set the asynchronous marker.
    +
    +
    setCacheMethods(boolean) - Static method in class com.comphenix.protocol.reflect.MethodUtils
    +
    +
    Set whether methods should be cached for greater performance or not, + default is true.
    +
    +
    setCancelled(boolean) - Method in class com.comphenix.protocol.events.PacketEvent
    +
    +
    Sets whether or not the packet should be cancelled.
    +
    +
    setConverter(EquivalentConverter<TField>) - Method in class com.comphenix.protocol.reflect.StructureModifier
    +
    +
    Set the current object converter.
    +
    +
    setEnabled(boolean) - Method in class com.comphenix.protocol.reflect.compiler.BackgroundCompiler
    +
    +
    Sets whether or not the background compiler is enabled.
    +
    +
    setForceAccess(boolean) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
    +
    +
    Sets whether or not not to override any scope restrictions.
    +
    +
    setForceAccess(boolean) - Method in class com.comphenix.protocol.reflect.VolatileField
    +
    +
    Sets whether or not not to override any scope restrictions.
    +
    +
    setInstance(BackgroundCompiler) - Static method in class com.comphenix.protocol.reflect.compiler.BackgroundCompiler
    +
    +
    Sets the single background compiler we're using.
    +
    +
    setMaximumRecursion(int) - Method in class com.comphenix.protocol.reflect.instances.DefaultInstances
    +
    +
    Set the maximum height of the hierachy of creates types.
    +
    +
    setNewSendingIndex(long) - Method in class com.comphenix.protocol.async.AsyncMarker
    +
    +
    Sets the desired sending order after processing has completed.
    +
    +
    setNonNull(boolean) - Method in class com.comphenix.protocol.reflect.instances.DefaultInstances
    +
    +
    Set whether or not the constructor's parameters must be non-null.
    +
    +
    setPacket(PacketContainer) - Method in class com.comphenix.protocol.events.PacketEvent
    +
    +
    Replace the packet that will be sent to the player.
    +
    +
    setPacketStream(PacketStream) - Method in class com.comphenix.protocol.async.AsyncMarker
    +
    +
    Sets the output packet stream responsible for transmitting this packet.
    +
    +
    setPlayerHook(PacketFilterManager.PlayerInjectHooks) - Method in class com.comphenix.protocol.injector.PacketFilterManager
    +
    +
    Sets how the server packets are read.
    +
    +
    setPlayerHook(PacketFilterManager.PlayerInjectHooks) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
    +
    +
    Sets how the server packets are read.
    +
    +
    setPlayerHook(GamePhase, PacketFilterManager.PlayerInjectHooks) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
    +
    +
    Sets how the server packets are read.
    +
    +
    setProcessingLock(Object) - Method in class com.comphenix.protocol.async.AsyncMarker
    +
     
    +
    setTimeout(long) - Method in class com.comphenix.protocol.async.AsyncMarker
    +
    +
    Set the time the packet will be forcefully rejected.
    +
    +
    setValue(Object) - Method in class com.comphenix.protocol.reflect.VolatileField
    +
    +
    Sets the current value.
    +
    +
    setWorkers(int) - Method in class com.comphenix.protocol.async.AsyncListenerHandler
    +
    +
    Set the current number of workers.
    +
    +
    SHUTDOWN_DELAY_MS - Static variable in class com.comphenix.protocol.reflect.compiler.BackgroundCompiler
    +
     
    +
    shutdownAll() - Method in class com.comphenix.protocol.reflect.compiler.BackgroundCompiler
    +
    +
    Clean up after ourselves using the default timeout.
    +
    +
    shutdownAll(long, TimeUnit) - Method in class com.comphenix.protocol.reflect.compiler.BackgroundCompiler
    +
    +
    Clean up after ourselves.
    +
    +
    signalFreeProcessingSlot(PacketEvent) - Method in class com.comphenix.protocol.async.AsyncFilterManager
    +
    +
    Signal that a packet has finished processing.
    +
    +
    signalPacketTransmission(PacketEvent) - Method in class com.comphenix.protocol.async.AsyncFilterManager
    +
     
    +
    signalPacketTransmission(PacketEvent) - Method in interface com.comphenix.protocol.AsynchronousManager
    +
    +
    Signal that a packet is ready to be transmitted.
    +
    +
    size() - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
    +
    +
    Retrieve the size of the list.
    +
    +
    size() - Method in class com.comphenix.protocol.reflect.StructureModifier
    +
    +
    Retrieve the number of readable types.
    +
    +
    SortedCopyOnWriteArray<T extends java.lang.Comparable<T>> - Class in com.comphenix.protocol.concurrency
    +
    +
    An implicitly sorted array list that preserves insertion order and maintains duplicates.
    +
    +
    SortedCopyOnWriteArray() - Constructor for class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
    +
    +
    Construct an empty sorted array.
    +
    +
    SortedCopyOnWriteArray(Collection<T>) - Constructor for class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
    +
    +
    Create a sorted array from the given list.
    +
    +
    SortedCopyOnWriteArray(Collection<T>, boolean) - Constructor for class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
    +
    +
    Create a sorted array from the given list.
    +
    +
    SortedCopyOnWriteArrayTest - Class in com.comphenix.protocol.injector
    +
     
    +
    SortedCopyOnWriteArrayTest() - Constructor for class com.comphenix.protocol.injector.SortedCopyOnWriteArrayTest
    +
     
    +
    SPAWN_POSITION - Static variable in class com.comphenix.protocol.Packets.Server
    +
     
    +
    start() - Method in class com.comphenix.protocol.async.AsyncListenerHandler
    +
    +
    Start a singler worker thread handling the asynchronous listener.
    +
    +
    start(Function<AsyncRunnable, Void>) - Method in class com.comphenix.protocol.async.AsyncListenerHandler
    +
    +
    Start a singler worker thread handling the asynchronous listener.
    +
    +
    start(int) - Method in class com.comphenix.protocol.async.AsyncListenerHandler
    +
    +
    Start multiple worker threads for this listener.
    +
    +
    STATISTIC - Static variable in class com.comphenix.protocol.Packets.Server
    +
     
    +
    Statistics - Class in com.comphenix.protocol.metrics
    +
     
    +
    Statistics(Plugin) - Constructor for class com.comphenix.protocol.metrics.Statistics
    +
     
    +
    stop() - Method in class com.comphenix.protocol.async.AsyncListenerHandler
    +
    +
    Stop a worker thread.
    +
    +
    stop(int) - Method in class com.comphenix.protocol.async.AsyncListenerHandler
    +
    +
    Stop the given amount of worker threads.
    +
    +
    stop() - Method in interface com.comphenix.protocol.async.AsyncRunnable
    +
    +
    Stop the given runnable.
    +
    +
    STRING_DEFAULT - Static variable in class com.comphenix.protocol.reflect.instances.PrimitiveGenerator
    +
    +
    Default value for Strings.
    +
    +
    StructureCache - Class in com.comphenix.protocol.injector
    +
    +
    Caches structure modifiers.
    +
    +
    StructureCache() - Constructor for class com.comphenix.protocol.injector.StructureCache
    +
     
    +
    StructureCompiler - Class in com.comphenix.protocol.reflect.compiler
    +
    +
    Represents a StructureModifier compiler.
    +
    +
    structureModifier - Variable in class com.comphenix.protocol.events.PacketContainer
    +
     
    +
    StructureModifier<TField> - Class in com.comphenix.protocol.reflect
    +
    +
    Provides list-oriented access to the fields of a Minecraft packet.
    +
    +
    StructureModifier(Class, Class, boolean) - Constructor for class com.comphenix.protocol.reflect.StructureModifier
    +
    +
    Creates a structure modifier.
    +
    +
    StructureModifier() - Constructor for class com.comphenix.protocol.reflect.StructureModifier
    +
    +
    Consumers of this method should call "initialize".
    +
    +
    StructureModifierTest - Class in com.comphenix.protocol.reflect
    +
     
    +
    StructureModifierTest() - Constructor for class com.comphenix.protocol.reflect.StructureModifierTest
    +
     
    +
    subtypeCache - Variable in class com.comphenix.protocol.reflect.StructureModifier
    +
     
    +
    +A B C D E F G H I K L M N O P R S T U V W 
    + +
    + + + + + +
    + + + + diff --git a/Javadoc/index-files/index-18.html b/Javadoc/index-files/index-18.html index 30dbb50f..c1aeb329 100644 --- a/Javadoc/index-files/index-18.html +++ b/Javadoc/index-files/index-18.html @@ -1,150 +1,152 @@ - - - - - -T-Index - - - - - - - -
    - - - - - -
    - - -
    A B C D E F G H I K L M N O P R S T U V W  - - -

    T

    -
    -
    TAB_COMPLETE - Static variable in class com.comphenix.protocol.Packets.Client
    -
     
    -
    TAB_COMPLETE - Static variable in class com.comphenix.protocol.Packets.Server
    -
     
    -
    target - Variable in class com.comphenix.protocol.reflect.StructureModifier
    -
     
    -
    targetType - Variable in class com.comphenix.protocol.reflect.StructureModifier
    -
     
    -
    test() - Method in class com.comphenix.protocol.reflect.StructureModifierTest
    -
     
    -
    testInsertion() - Method in class com.comphenix.protocol.injector.SortedCopyOnWriteArrayTest
    -
     
    -
    testOrder() - Method in class com.comphenix.protocol.injector.SortedCopyOnWriteArrayTest
    -
     
    -
    TILE_ENTITY_DATA - Static variable in class com.comphenix.protocol.Packets.Server
    -
     
    -
    toArray() - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
    -
     
    -
    toArray(T[]) - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
    -
     
    -
    toNonPrimitiveClass(Class) - Static method in class com.comphenix.protocol.reflect.MethodUtils
    -
    -
    Find a non primitive representation for given primitive class.
    -
    -
    toString() - Method in class com.comphenix.protocol.events.ListeningWhitelist
    -
     
    -
    toString() - Method in class com.comphenix.protocol.events.PacketAdapter
    -
     
    -
    TRANSACTION - Static variable in class com.comphenix.protocol.Packets.Client
    -
     
    -
    TRANSACTION - Static variable in class com.comphenix.protocol.Packets.Server
    -
     
    -
    -A B C D E F G H I K L M N O P R S T U V W 
    - -
    - - - - - -
    - - - - + + + + + +T-Index + + + + + + + +
    + + + + + +
    + + +
    A B C D E F G H I K L M N O P R S T U V W  + + +

    T

    +
    +
    TAB_COMPLETE - Static variable in class com.comphenix.protocol.Packets.Client
    +
     
    +
    TAB_COMPLETE - Static variable in class com.comphenix.protocol.Packets.Server
    +
     
    +
    target - Variable in class com.comphenix.protocol.reflect.StructureModifier
    +
     
    +
    targetType - Variable in class com.comphenix.protocol.reflect.StructureModifier
    +
     
    +
    taskID - Variable in class com.comphenix.protocol.injector.DelayedSingleTask
    +
     
    +
    test() - Method in class com.comphenix.protocol.reflect.StructureModifierTest
    +
     
    +
    testInsertion() - Method in class com.comphenix.protocol.injector.SortedCopyOnWriteArrayTest
    +
     
    +
    testOrder() - Method in class com.comphenix.protocol.injector.SortedCopyOnWriteArrayTest
    +
     
    +
    TILE_ENTITY_DATA - Static variable in class com.comphenix.protocol.Packets.Server
    +
     
    +
    toArray() - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
    +
     
    +
    toArray(T[]) - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
    +
     
    +
    toNonPrimitiveClass(Class) - Static method in class com.comphenix.protocol.reflect.MethodUtils
    +
    +
    Find a non primitive representation for given primitive class.
    +
    +
    toString() - Method in class com.comphenix.protocol.events.ListeningWhitelist
    +
     
    +
    toString() - Method in class com.comphenix.protocol.events.PacketAdapter
    +
     
    +
    TRANSACTION - Static variable in class com.comphenix.protocol.Packets.Client
    +
     
    +
    TRANSACTION - Static variable in class com.comphenix.protocol.Packets.Server
    +
     
    +
    +A B C D E F G H I K L M N O P R S T U V W 
    + +
    + + + + + +
    + + + + diff --git a/Javadoc/index-files/index-19.html b/Javadoc/index-files/index-19.html index 314fc2e9..d20d42f0 100644 --- a/Javadoc/index-files/index-19.html +++ b/Javadoc/index-files/index-19.html @@ -1,161 +1,169 @@ - - - - - -U-Index - - - - - - - -
    - - - - - -
    - - -
    A B C D E F G H I K L M N O P R S T U V W  - - -

    U

    -
    -
    uninjectPlayer(Player) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
    -
    -
    Unregisters the given player.
    -
    -
    unregisterAsyncHandler(AsyncListenerHandler) - Method in class com.comphenix.protocol.async.AsyncFilterManager
    -
     
    -
    unregisterAsyncHandler(AsyncListenerHandler) - Method in interface com.comphenix.protocol.AsynchronousManager
    -
    -
    Unregisters and closes the given asynchronous handler.
    -
    -
    unregisterAsyncHandlers(Plugin) - Method in class com.comphenix.protocol.async.AsyncFilterManager
    -
     
    -
    unregisterAsyncHandlers(Plugin) - Method in interface com.comphenix.protocol.AsynchronousManager
    -
    -
    Unregisters every asynchronous handler associated with this plugin.
    -
    -
    unwrap(Class<T>) - Static method in class com.comphenix.protocol.reflect.PrimitiveUtils
    -
    -
    Returns the corresponding primitive type of type if it is a - wrapper type; otherwise returns type itself.
    -
    -
    unwrapItem(Object) - Method in class com.comphenix.protocol.injector.BukkitUnwrapper
    -
     
    -
    unwrapItem(Object) - Method in interface com.comphenix.protocol.injector.PacketConstructor.Unwrapper
    -
    -
    Convert the given wrapped object to the equivalent net.minecraft.server object.
    -
    -
    UPDATE_HEALTH - Static variable in class com.comphenix.protocol.Packets.Server
    -
     
    -
    UPDATE_SIGN - Static variable in class com.comphenix.protocol.Packets.Client
    -
     
    -
    UPDATE_SIGN - Static variable in class com.comphenix.protocol.Packets.Server
    -
     
    -
    UPDATE_TIME - Static variable in class com.comphenix.protocol.Packets.Server
    -
     
    -
    updateEntity(Entity, List<Player>) - Method in class com.comphenix.protocol.injector.PacketFilterManager
    -
     
    -
    updateEntity(Entity, List<Player>) - Method in interface com.comphenix.protocol.ProtocolManager
    -
    -
    Completely refresh all clients about an entity.
    -
    -
    USE_ENTITY - Static variable in class com.comphenix.protocol.Packets.Client
    -
     
    -
    -A B C D E F G H I K L M N O P R S T U V W 
    - -
    - - - - - -
    - - - - + + + + + +U-Index + + + + + + + +
    + + + + + +
    + + +
    A B C D E F G H I K L M N O P R S T U V W  + + +

    U

    +
    +
    uninitializePlayers(Player[]) - Method in class com.comphenix.protocol.injector.PacketFilterManager
    +
    +
    Uninitialize the packet injection of every player.
    +
    +
    uninjectPlayer(Player) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
    +
    +
    Unregisters the given player.
    +
    +
    uninjectPlayer(InetSocketAddress) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
    +
    +
    Unregisters a player by the given address.
    +
    +
    unregisterAsyncHandler(AsyncListenerHandler) - Method in class com.comphenix.protocol.async.AsyncFilterManager
    +
     
    +
    unregisterAsyncHandler(AsyncListenerHandler) - Method in interface com.comphenix.protocol.AsynchronousManager
    +
    +
    Unregisters and closes the given asynchronous handler.
    +
    +
    unregisterAsyncHandlers(Plugin) - Method in class com.comphenix.protocol.async.AsyncFilterManager
    +
     
    +
    unregisterAsyncHandlers(Plugin) - Method in interface com.comphenix.protocol.AsynchronousManager
    +
    +
    Unregisters every asynchronous handler associated with this plugin.
    +
    +
    unwrap(Class<T>) - Static method in class com.comphenix.protocol.reflect.PrimitiveUtils
    +
    +
    Returns the corresponding primitive type of type if it is a + wrapper type; otherwise returns type itself.
    +
    +
    unwrapItem(Object) - Method in class com.comphenix.protocol.injector.BukkitUnwrapper
    +
     
    +
    unwrapItem(Object) - Method in interface com.comphenix.protocol.injector.PacketConstructor.Unwrapper
    +
    +
    Convert the given wrapped object to the equivalent net.minecraft.server object.
    +
    +
    UPDATE_HEALTH - Static variable in class com.comphenix.protocol.Packets.Server
    +
     
    +
    UPDATE_SIGN - Static variable in class com.comphenix.protocol.Packets.Client
    +
     
    +
    UPDATE_SIGN - Static variable in class com.comphenix.protocol.Packets.Server
    +
     
    +
    UPDATE_TIME - Static variable in class com.comphenix.protocol.Packets.Server
    +
     
    +
    updateEntity(Entity, List<Player>) - Method in class com.comphenix.protocol.injector.PacketFilterManager
    +
     
    +
    updateEntity(Entity, List<Player>) - Method in interface com.comphenix.protocol.ProtocolManager
    +
    +
    Completely refresh all clients about an entity.
    +
    +
    USE_ENTITY - Static variable in class com.comphenix.protocol.Packets.Client
    +
     
    +
    +A B C D E F G H I K L M N O P R S T U V W 
    + +
    + + + + + +
    + + + + diff --git a/Javadoc/index-files/index-2.html b/Javadoc/index-files/index-2.html index 5a47ddde..781dc4e6 100644 --- a/Javadoc/index-files/index-2.html +++ b/Javadoc/index-files/index-2.html @@ -1,148 +1,148 @@ - - - - - -B-Index - - - - - - - -
    - - - - - -
    - - -
    A B C D E F G H I K L M N O P R S T U V W  - - -

    B

    -
    -
    BackgroundCompiler - Class in com.comphenix.protocol.reflect.compiler
    -
    -
    Compiles structure modifiers on a background thread.
    -
    -
    BackgroundCompiler(ClassLoader) - Constructor for class com.comphenix.protocol.reflect.compiler.BackgroundCompiler
    -
    -
    Initialize a background compiler.
    -
    -
    BackgroundCompiler(ClassLoader, ExecutorService) - Constructor for class com.comphenix.protocol.reflect.compiler.BackgroundCompiler
    -
    -
    Initialize a background compiler utilizing the given thread pool.
    -
    -
    BED - Static variable in class com.comphenix.protocol.Packets.Server
    -
     
    -
    BLOCK_BREAK_ANIMATION - Static variable in class com.comphenix.protocol.Packets.Server
    -
     
    -
    BLOCK_CHANGE - Static variable in class com.comphenix.protocol.Packets.Server
    -
     
    -
    BLOCK_DIG - Static variable in class com.comphenix.protocol.Packets.Client
    -
     
    -
    BLOCK_ITEM_SWITCH - Static variable in class com.comphenix.protocol.Packets.Client
    -
     
    -
    BukkitUnwrapper - Class in com.comphenix.protocol.injector
    -
    -
    Represents an object capable of converting wrapped Bukkit objects into NMS objects.
    -
    -
    BukkitUnwrapper() - Constructor for class com.comphenix.protocol.injector.BukkitUnwrapper
    -
     
    -
    BUTTON_CLICK - Static variable in class com.comphenix.protocol.Packets.Client
    -
     
    -
    -A B C D E F G H I K L M N O P R S T U V W 
    - -
    - - - - - -
    - - - - + + + + + +B-Index + + + + + + + +
    + + + + + +
    + + +
    A B C D E F G H I K L M N O P R S T U V W  + + +

    B

    +
    +
    BackgroundCompiler - Class in com.comphenix.protocol.reflect.compiler
    +
    +
    Compiles structure modifiers on a background thread.
    +
    +
    BackgroundCompiler(ClassLoader) - Constructor for class com.comphenix.protocol.reflect.compiler.BackgroundCompiler
    +
    +
    Initialize a background compiler.
    +
    +
    BackgroundCompiler(ClassLoader, ExecutorService) - Constructor for class com.comphenix.protocol.reflect.compiler.BackgroundCompiler
    +
    +
    Initialize a background compiler utilizing the given thread pool.
    +
    +
    BED - Static variable in class com.comphenix.protocol.Packets.Server
    +
     
    +
    BLOCK_BREAK_ANIMATION - Static variable in class com.comphenix.protocol.Packets.Server
    +
     
    +
    BLOCK_CHANGE - Static variable in class com.comphenix.protocol.Packets.Server
    +
     
    +
    BLOCK_DIG - Static variable in class com.comphenix.protocol.Packets.Client
    +
     
    +
    BLOCK_ITEM_SWITCH - Static variable in class com.comphenix.protocol.Packets.Client
    +
     
    +
    BukkitUnwrapper - Class in com.comphenix.protocol.injector
    +
    +
    Represents an object capable of converting wrapped Bukkit objects into NMS objects.
    +
    +
    BukkitUnwrapper() - Constructor for class com.comphenix.protocol.injector.BukkitUnwrapper
    +
     
    +
    BUTTON_CLICK - Static variable in class com.comphenix.protocol.Packets.Client
    +
     
    +
    +A B C D E F G H I K L M N O P R S T U V W 
    + +
    + + + + + +
    + + + + diff --git a/Javadoc/index-files/index-20.html b/Javadoc/index-files/index-20.html index f86bdbcf..a532bcf5 100644 --- a/Javadoc/index-files/index-20.html +++ b/Javadoc/index-files/index-20.html @@ -1,179 +1,188 @@ - - - - - -V-Index - - - - - - - -
    - - - - - -
    - - -
    A B C D E F G H I K L M N O P R S T U V W  - - -

    V

    -
    -
    valueOf(String) - Static method in enum com.comphenix.protocol.events.ConnectionSide
    -
    -
    Returns the enum constant of this type with the specified name.
    -
    -
    valueOf(String) - Static method in enum com.comphenix.protocol.events.ListenerPriority
    -
    -
    Returns the enum constant of this type with the specified name.
    -
    -
    valueOf(String) - Static method in enum com.comphenix.protocol.injector.PacketFilterManager.PlayerInjectHooks
    -
    -
    Returns the enum constant of this type with the specified name.
    -
    -
    valueOf(String) - Static method in class com.comphenix.protocol.Packets
    -
    -
    Find a packet by name.
    -
    -
    valueOf(String) - Method in class com.comphenix.protocol.reflect.IntEnum
    -
    -
    Retrieve the ID of the member with the given name.
    -
    -
    values() - Method in class com.comphenix.protocol.concurrency.AbstractConcurrentListenerMultimap
    -
    -
    Retrieve every listener.
    -
    -
    values() - Static method in enum com.comphenix.protocol.events.ConnectionSide
    -
    -
    Returns an array containing the constants of this enum type, in -the order they are declared.
    -
    -
    values() - Static method in enum com.comphenix.protocol.events.ListenerPriority
    -
    -
    Returns an array containing the constants of this enum type, in -the order they are declared.
    -
    -
    values() - Static method in enum com.comphenix.protocol.injector.PacketFilterManager.PlayerInjectHooks
    -
    -
    Returns an array containing the constants of this enum type, in -the order they are declared.
    -
    -
    values() - Method in class com.comphenix.protocol.reflect.IntEnum
    -
    -
    Retrieve the ID of every registered member.
    -
    -
    VEHICLE_SPAWN - Static variable in class com.comphenix.protocol.Packets.Server
    -
     
    -
    verifyWhitelist(PacketListener, ListeningWhitelist) - Static method in class com.comphenix.protocol.injector.PacketFilterManager
    -
    -
    Determine if the packet IDs in a whitelist is valid.
    -
    -
    VolatileField - Class in com.comphenix.protocol.reflect
    -
    -
    Represents a field that will revert to its original state when this class is garbaged collected.
    -
    -
    VolatileField(Field, Object) - Constructor for class com.comphenix.protocol.reflect.VolatileField
    -
    -
    Initializes a volatile field with an associated object.
    -
    -
    VolatileField(Field, Object, boolean) - Constructor for class com.comphenix.protocol.reflect.VolatileField
    -
    -
    Initializes a volatile field with an associated object.
    -
    -
    -A B C D E F G H I K L M N O P R S T U V W 
    - -
    - - - - - -
    - - - - + + + + + +V-Index + + + + + + + +
    + + + + + +
    + + +
    A B C D E F G H I K L M N O P R S T U V W  + + +

    V

    +
    +
    valueOf(String) - Static method in enum com.comphenix.protocol.events.ConnectionSide
    +
    +
    Returns the enum constant of this type with the specified name.
    +
    +
    valueOf(String) - Static method in enum com.comphenix.protocol.events.ListenerPriority
    +
    +
    Returns the enum constant of this type with the specified name.
    +
    +
    valueOf(String) - Static method in enum com.comphenix.protocol.injector.GamePhase
    +
    +
    Returns the enum constant of this type with the specified name.
    +
    +
    valueOf(String) - Static method in enum com.comphenix.protocol.injector.PacketFilterManager.PlayerInjectHooks
    +
    +
    Returns the enum constant of this type with the specified name.
    +
    +
    valueOf(String) - Static method in class com.comphenix.protocol.Packets
    +
    +
    Find a packet by name.
    +
    +
    valueOf(String) - Method in class com.comphenix.protocol.reflect.IntEnum
    +
    +
    Retrieve the ID of the member with the given name.
    +
    +
    values() - Method in class com.comphenix.protocol.concurrency.AbstractConcurrentListenerMultimap
    +
    +
    Retrieve every listener.
    +
    +
    values() - Static method in enum com.comphenix.protocol.events.ConnectionSide
    +
    +
    Returns an array containing the constants of this enum type, in +the order they are declared.
    +
    +
    values() - Static method in enum com.comphenix.protocol.events.ListenerPriority
    +
    +
    Returns an array containing the constants of this enum type, in +the order they are declared.
    +
    +
    values() - Static method in enum com.comphenix.protocol.injector.GamePhase
    +
    +
    Returns an array containing the constants of this enum type, in +the order they are declared.
    +
    +
    values() - Static method in enum com.comphenix.protocol.injector.PacketFilterManager.PlayerInjectHooks
    +
    +
    Returns an array containing the constants of this enum type, in +the order they are declared.
    +
    +
    values() - Method in class com.comphenix.protocol.reflect.IntEnum
    +
    +
    Retrieve the ID of every registered member.
    +
    +
    VEHICLE_SPAWN - Static variable in class com.comphenix.protocol.Packets.Server
    +
     
    +
    verifyWhitelist(PacketListener, ListeningWhitelist) - Static method in class com.comphenix.protocol.injector.PacketFilterManager
    +
    +
    Determine if the packet IDs in a whitelist is valid.
    +
    +
    VolatileField - Class in com.comphenix.protocol.reflect
    +
    +
    Represents a field that will revert to its original state when this class is garbaged collected.
    +
    +
    VolatileField(Field, Object) - Constructor for class com.comphenix.protocol.reflect.VolatileField
    +
    +
    Initializes a volatile field with an associated object.
    +
    +
    VolatileField(Field, Object, boolean) - Constructor for class com.comphenix.protocol.reflect.VolatileField
    +
    +
    Initializes a volatile field with an associated object.
    +
    +
    +A B C D E F G H I K L M N O P R S T U V W 
    + +
    + + + + + +
    + + + + diff --git a/Javadoc/index-files/index-21.html b/Javadoc/index-files/index-21.html index f26f6e41..35393ed4 100644 --- a/Javadoc/index-files/index-21.html +++ b/Javadoc/index-files/index-21.html @@ -1,207 +1,207 @@ - - - - - -W-Index - - - - - - - -
    - - - - - -
    - - -
    A B C D E F G H I K L M N O P R S T U V W  - - -

    W

    -
    -
    WEATHER - Static variable in class com.comphenix.protocol.Packets.Server
    -
     
    -
    WINDOW_CLICK - Static variable in class com.comphenix.protocol.Packets.Client
    -
     
    -
    WINDOW_ITEMS - Static variable in class com.comphenix.protocol.Packets.Server
    -
     
    -
    withFieldType(Class, List<Field>, Map<Field, Integer>, EquivalentConverter<T>) - Method in class com.comphenix.protocol.reflect.StructureModifier
    -
    -
    Create a new structure modifier for the new field type.
    -
    -
    withPacket(int, Object[]) - Method in class com.comphenix.protocol.injector.PacketConstructor
    -
    -
    Create a packet constructor that creates packets using the given types.
    -
    -
    withTarget(Object) - Method in class com.comphenix.protocol.reflect.compiler.CompiledStructureModifier
    -
     
    -
    withTarget(Object) - Method in class com.comphenix.protocol.reflect.StructureModifier
    -
    -
    Retrieves a structure modifier of the same type for a different object target.
    -
    -
    withType(Class) - Method in class com.comphenix.protocol.reflect.StructureModifier
    -
    -
    Retrieves a structure modifier that only reads and writes fields of a given type.
    -
    -
    withType(Class, EquivalentConverter<T>) - Method in class com.comphenix.protocol.reflect.StructureModifier
    -
    -
    Retrieves a structure modifier that only reads and writes fields of a given type.
    -
    -
    withUnwrappers(List<PacketConstructor.Unwrapper>) - Method in class com.comphenix.protocol.injector.PacketConstructor
    -
    -
    Return a copy of the current constructor with a different list of unwrappers.
    -
    -
    WORLD_EVENT - Static variable in class com.comphenix.protocol.Packets.Server
    -
     
    -
    wrap(Class<T>) - Static method in class com.comphenix.protocol.reflect.PrimitiveUtils
    -
    -
    Returns the corresponding wrapper type of type if it is a - primitive type; otherwise returns type itself.
    -
    -
    write(int, Object) - Method in class com.comphenix.protocol.reflect.compiler.CompiledStructureModifier
    -
     
    -
    write(int, TField) - Method in class com.comphenix.protocol.reflect.StructureModifier
    -
    -
    Writes the value of a field given its index.
    -
    -
    writeDefaults() - Method in class com.comphenix.protocol.reflect.compiler.CompiledStructureModifier
    -
     
    -
    writeDefaults() - Method in class com.comphenix.protocol.reflect.StructureModifier
    -
    -
    Sets all non-primitive fields to a more fitting default value.
    -
    -
    writeField(Field, Object, Object) - Static method in class com.comphenix.protocol.reflect.FieldUtils
    -
    -
    Write an accessible field.
    -
    -
    writeField(Field, Object, Object, boolean) - Static method in class com.comphenix.protocol.reflect.FieldUtils
    -
    -
    Write a field.
    -
    -
    writeField(Object, String, Object) - Static method in class com.comphenix.protocol.reflect.FieldUtils
    -
    -
    Write a public field.
    -
    -
    writeField(Object, String, Object, boolean) - Static method in class com.comphenix.protocol.reflect.FieldUtils
    -
    -
    Write a field.
    -
    -
    writeGenerated(int, Object) - Method in class com.comphenix.protocol.reflect.compiler.CompiledStructureModifier
    -
     
    -
    writeSafely(int, TField) - Method in class com.comphenix.protocol.reflect.StructureModifier
    -
    -
    Writes the value of a given field IF and ONLY if it exists.
    -
    -
    writeStaticField(Field, Object) - Static method in class com.comphenix.protocol.reflect.FieldUtils
    -
    -
    Write a public static Field.
    -
    -
    writeStaticField(Field, Object, boolean) - Static method in class com.comphenix.protocol.reflect.FieldUtils
    -
    -
    Write a static Field.
    -
    -
    writeStaticField(Class, String, Object) - Static method in class com.comphenix.protocol.reflect.FieldUtils
    -
    -
    Write a named public static Field.
    -
    -
    writeStaticField(Class, String, Object, boolean) - Static method in class com.comphenix.protocol.reflect.FieldUtils
    -
    -
    Write a named static Field.
    -
    -
    -A B C D E F G H I K L M N O P R S T U V W 
    - -
    - - - - - -
    - - - - + + + + + +W-Index + + + + + + + +
    + + + + + +
    + + +
    A B C D E F G H I K L M N O P R S T U V W  + + +

    W

    +
    +
    WEATHER - Static variable in class com.comphenix.protocol.Packets.Server
    +
     
    +
    WINDOW_CLICK - Static variable in class com.comphenix.protocol.Packets.Client
    +
     
    +
    WINDOW_ITEMS - Static variable in class com.comphenix.protocol.Packets.Server
    +
     
    +
    withFieldType(Class, List<Field>, Map<Field, Integer>, EquivalentConverter<T>) - Method in class com.comphenix.protocol.reflect.StructureModifier
    +
    +
    Create a new structure modifier for the new field type.
    +
    +
    withPacket(int, Object[]) - Method in class com.comphenix.protocol.injector.PacketConstructor
    +
    +
    Create a packet constructor that creates packets using the given types.
    +
    +
    withTarget(Object) - Method in class com.comphenix.protocol.reflect.compiler.CompiledStructureModifier
    +
     
    +
    withTarget(Object) - Method in class com.comphenix.protocol.reflect.StructureModifier
    +
    +
    Retrieves a structure modifier of the same type for a different object target.
    +
    +
    withType(Class) - Method in class com.comphenix.protocol.reflect.StructureModifier
    +
    +
    Retrieves a structure modifier that only reads and writes fields of a given type.
    +
    +
    withType(Class, EquivalentConverter<T>) - Method in class com.comphenix.protocol.reflect.StructureModifier
    +
    +
    Retrieves a structure modifier that only reads and writes fields of a given type.
    +
    +
    withUnwrappers(List<PacketConstructor.Unwrapper>) - Method in class com.comphenix.protocol.injector.PacketConstructor
    +
    +
    Return a copy of the current constructor with a different list of unwrappers.
    +
    +
    WORLD_EVENT - Static variable in class com.comphenix.protocol.Packets.Server
    +
     
    +
    wrap(Class<T>) - Static method in class com.comphenix.protocol.reflect.PrimitiveUtils
    +
    +
    Returns the corresponding wrapper type of type if it is a + primitive type; otherwise returns type itself.
    +
    +
    write(int, Object) - Method in class com.comphenix.protocol.reflect.compiler.CompiledStructureModifier
    +
     
    +
    write(int, TField) - Method in class com.comphenix.protocol.reflect.StructureModifier
    +
    +
    Writes the value of a field given its index.
    +
    +
    writeDefaults() - Method in class com.comphenix.protocol.reflect.compiler.CompiledStructureModifier
    +
     
    +
    writeDefaults() - Method in class com.comphenix.protocol.reflect.StructureModifier
    +
    +
    Sets all non-primitive fields to a more fitting default value.
    +
    +
    writeField(Field, Object, Object) - Static method in class com.comphenix.protocol.reflect.FieldUtils
    +
    +
    Write an accessible field.
    +
    +
    writeField(Field, Object, Object, boolean) - Static method in class com.comphenix.protocol.reflect.FieldUtils
    +
    +
    Write a field.
    +
    +
    writeField(Object, String, Object) - Static method in class com.comphenix.protocol.reflect.FieldUtils
    +
    +
    Write a public field.
    +
    +
    writeField(Object, String, Object, boolean) - Static method in class com.comphenix.protocol.reflect.FieldUtils
    +
    +
    Write a field.
    +
    +
    writeGenerated(int, Object) - Method in class com.comphenix.protocol.reflect.compiler.CompiledStructureModifier
    +
     
    +
    writeSafely(int, TField) - Method in class com.comphenix.protocol.reflect.StructureModifier
    +
    +
    Writes the value of a given field IF and ONLY if it exists.
    +
    +
    writeStaticField(Field, Object) - Static method in class com.comphenix.protocol.reflect.FieldUtils
    +
    +
    Write a public static Field.
    +
    +
    writeStaticField(Field, Object, boolean) - Static method in class com.comphenix.protocol.reflect.FieldUtils
    +
    +
    Write a static Field.
    +
    +
    writeStaticField(Class, String, Object) - Static method in class com.comphenix.protocol.reflect.FieldUtils
    +
    +
    Write a named public static Field.
    +
    +
    writeStaticField(Class, String, Object, boolean) - Static method in class com.comphenix.protocol.reflect.FieldUtils
    +
    +
    Write a named static Field.
    +
    +
    +A B C D E F G H I K L M N O P R S T U V W 
    + +
    + + + + + +
    + + + + diff --git a/Javadoc/index-files/index-3.html b/Javadoc/index-files/index-3.html index da10f024..7d9a3683 100644 --- a/Javadoc/index-files/index-3.html +++ b/Javadoc/index-files/index-3.html @@ -1,290 +1,300 @@ - - - - - -C-Index - - - - - - - -
    - - - - - -
    - - -
    A B C D E F G H I K L M N O P R S T U V W  - - -

    C

    -
    -
    cancel() - Method in class com.comphenix.protocol.async.AsyncListenerHandler
    -
    -
    Cancel the handler.
    -
    -
    canInject() - Method in class com.comphenix.protocol.injector.player.NetworkServerInjector
    -
     
    -
    CHAT - Static variable in class com.comphenix.protocol.Packets.Client
    -
     
    -
    CHAT - Static variable in class com.comphenix.protocol.Packets.Server
    -
     
    -
    checkListener(PacketListener) - Method in class com.comphenix.protocol.injector.player.NetworkServerInjector
    -
     
    -
    checkListener(Set<PacketListener>) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
    -
    -
    Determine if the given listeners are valid.
    -
    -
    checkListener(PacketListener) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
    -
    -
    Determine if a listener is valid or not.
    -
    -
    checkNotNull(T) - Static method in class com.comphenix.protocol.reflect.PrimitiveUtils
    -
     
    -
    cleanupAll() - Method in class com.comphenix.protocol.async.AsyncFilterManager
    -
     
    -
    cleanupAll() - Method in interface com.comphenix.protocol.AsynchronousManager
    -
    -
    Remove listeners, close threads and transmit every delayed packet.
    -
    -
    cleanupAll() - Method in class com.comphenix.protocol.injector.player.NetworkServerInjector
    -
     
    -
    clear() - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
    -
     
    -
    clearCache() - Static method in class com.comphenix.protocol.reflect.MethodUtils
    -
    -
    Clear the method cache.
    -
    -
    clearListeners() - Method in class com.comphenix.protocol.concurrency.AbstractConcurrentListenerMultimap
    -
    -
    Remove all packet listeners.
    -
    -
    CLIENT_COMMAND - Static variable in class com.comphenix.protocol.Packets.Client
    -
     
    -
    close() - Method in class com.comphenix.protocol.injector.PacketFilterManager
    -
    -
    Called when ProtocolLib is closing.
    -
    -
    close() - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
    -
     
    -
    CLOSE_WINDOW - Static variable in class com.comphenix.protocol.Packets.Client
    -
     
    -
    CLOSE_WINDOW - Static variable in class com.comphenix.protocol.Packets.Server
    -
     
    -
    COLLECT - Static variable in class com.comphenix.protocol.Packets.Server
    -
     
    -
    CollectionGenerator - Class in com.comphenix.protocol.reflect.instances
    -
    -
    Provides simple constructors for collection interfaces.
    -
    -
    CollectionGenerator() - Constructor for class com.comphenix.protocol.reflect.instances.CollectionGenerator
    -
     
    -
    com.comphenix.protocol.async - package com.comphenix.protocol.async
    -
     
    -
    com.comphenix.protocol.concurrency - package com.comphenix.protocol.concurrency
    -
     
    -
    com.comphenix.protocol.events - package com.comphenix.protocol.events
    -
     
    -
    com.comphenix.protocol.injector - package com.comphenix.protocol.injector
    -
     
    -
    com.comphenix.protocol.injector.player - package com.comphenix.protocol.injector.player
    -
     
    -
    com.comphenix.protocol.metrics - package com.comphenix.protocol.metrics
    -
     
    -
    com.comphenix.protocol.reflect - package com.comphenix.protocol.reflect
    -
     
    -
    com.comphenix.protocol.reflect.compiler - package com.comphenix.protocol.reflect.compiler
    -
     
    -
    com.comphenix.protocol.reflect.instances - package com.comphenix.protocol.reflect.instances
    -
     
    -
    compareTo(AsyncMarker) - Method in class com.comphenix.protocol.async.AsyncMarker
    -
     
    -
    compareTo(PrioritizedListener<TListener>) - Method in class com.comphenix.protocol.injector.PrioritizedListener
    -
     
    -
    compile(StructureModifier<TField>) - Method in class com.comphenix.protocol.reflect.compiler.StructureCompiler
    -
    -
    Compiles the given structure modifier.
    -
    -
    CompiledStructureModifier<TField> - Class in com.comphenix.protocol.reflect.compiler
    -
    -
    Represents a compiled structure modifier.
    -
    -
    CompiledStructureModifier() - Constructor for class com.comphenix.protocol.reflect.compiler.CompiledStructureModifier
    -
     
    -
    CompileListener<TKey> - Interface in com.comphenix.protocol.reflect.compiler
    -
    -
    Used to save the result of an compilation.
    -
    -
    compiler - Variable in class com.comphenix.protocol.reflect.compiler.CompiledStructureModifier
    -
     
    -
    ConnectionSide - Enum in com.comphenix.protocol.events
    -
    -
    Used to set a packet filter.
    -
    -
    connectionSide - Variable in class com.comphenix.protocol.events.PacketAdapter
    -
     
    -
    contains(Object) - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
    -
     
    -
    contains(T[], T) - Method in class com.comphenix.protocol.reflect.instances.DefaultInstances
    -
     
    -
    containsAll(Collection<?>) - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
    -
     
    -
    containsAny(ListeningWhitelist, int...) - Static method in class com.comphenix.protocol.events.ListeningWhitelist
    -
    -
    Determine if any of the given IDs can be found in the whitelist.
    -
    -
    converter - Variable in class com.comphenix.protocol.reflect.StructureModifier
    -
     
    -
    copyTo(Object, Object, Class<?>) - Static method in class com.comphenix.protocol.reflect.ObjectCloner
    -
    -
    Copy every field in object A to object B.
    -
    -
    CRAFT_PROGRESS_BAR - Static variable in class com.comphenix.protocol.Packets.Server
    -
     
    -
    create(Class<?>) - Method in class com.comphenix.protocol.reflect.instances.CollectionGenerator
    -
     
    -
    create(Class<?>) - Method in class com.comphenix.protocol.reflect.instances.ExistingGenerator
    -
     
    -
    create(Class<?>) - Method in interface com.comphenix.protocol.reflect.instances.InstanceProvider
    -
    -
    Create an instance given a type, if possible.
    -
    -
    create(Class<?>) - Method in class com.comphenix.protocol.reflect.instances.PrimitiveGenerator
    -
     
    -
    createAsyncMarker() - Method in class com.comphenix.protocol.async.AsyncFilterManager
    -
    -
    Construct a asynchronous marker with all the default values.
    -
    -
    createAsyncMarker(long, long) - Method in class com.comphenix.protocol.async.AsyncFilterManager
    -
    -
    Construct an async marker with the given sending priority delta and timeout delta.
    -
    -
    createInstance(Class<T>, Constructor<T>, Class<?>[], Object[]) - Method in class com.comphenix.protocol.reflect.instances.DefaultInstances
    -
    -
    Used by the default instance provider to create a class from a given constructor.
    -
    -
    createPacket(Object...) - Method in class com.comphenix.protocol.injector.PacketConstructor
    -
    -
    Construct a packet using the special builtin Minecraft constructors.
    -
    -
    createPacket(int) - Method in class com.comphenix.protocol.injector.PacketFilterManager
    -
     
    -
    createPacket(int, boolean) - Method in class com.comphenix.protocol.injector.PacketFilterManager
    -
     
    -
    createPacket(int) - Method in interface com.comphenix.protocol.ProtocolManager
    -
    -
    Constructs a new encapsulated Minecraft packet with the given ID.
    -
    -
    createPacket(int, boolean) - Method in interface com.comphenix.protocol.ProtocolManager
    -
    -
    Constructs a new encapsulated Minecraft packet with the given ID.
    -
    -
    createPacketConstructor(int, Object...) - Method in class com.comphenix.protocol.injector.PacketFilterManager
    -
     
    -
    createPacketConstructor(int, Object...) - Method in interface com.comphenix.protocol.ProtocolManager
    -
    -
    Construct a packet using the special builtin Minecraft constructors.
    -
    -
    CUSTOM_PAYLOAD - Static variable in class com.comphenix.protocol.Packets.Client
    -
     
    -
    CUSTOM_PAYLOAD - Static variable in class com.comphenix.protocol.Packets.Server
    -
     
    -
    customConvertHandling - Variable in class com.comphenix.protocol.reflect.StructureModifier
    -
     
    -
    -A B C D E F G H I K L M N O P R S T U V W 
    - -
    - - - - - -
    - - - - + + + + + +C-Index + + + + + + + +
    + + + + + +
    + + +
    A B C D E F G H I K L M N O P R S T U V W  + + +

    C

    +
    +
    cancel() - Method in class com.comphenix.protocol.async.AsyncListenerHandler
    +
    +
    Cancel the handler.
    +
    +
    cancel() - Method in class com.comphenix.protocol.injector.DelayedSingleTask
    +
    +
    Cancel a future task from being executed.
    +
    +
    canInject(GamePhase) - Method in class com.comphenix.protocol.injector.player.NetworkServerInjector
    +
     
    +
    CHAT - Static variable in class com.comphenix.protocol.Packets.Client
    +
     
    +
    CHAT - Static variable in class com.comphenix.protocol.Packets.Server
    +
     
    +
    checkListener(PacketListener) - Method in class com.comphenix.protocol.injector.player.NetworkServerInjector
    +
     
    +
    checkListener(Set<PacketListener>) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
    +
    +
    Determine if the given listeners are valid.
    +
    +
    checkListener(PacketListener) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
    +
    +
    Determine if a listener is valid or not.
    +
    +
    checkNotNull(T) - Static method in class com.comphenix.protocol.reflect.PrimitiveUtils
    +
     
    +
    cleanupAll() - Method in class com.comphenix.protocol.async.AsyncFilterManager
    +
     
    +
    cleanupAll() - Method in interface com.comphenix.protocol.AsynchronousManager
    +
    +
    Remove listeners, close threads and transmit every delayed packet.
    +
    +
    cleanupAll() - Method in class com.comphenix.protocol.injector.player.NetworkServerInjector
    +
     
    +
    clear() - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
    +
     
    +
    clearCache() - Static method in class com.comphenix.protocol.reflect.MethodUtils
    +
    +
    Clear the method cache.
    +
    +
    clearListeners() - Method in class com.comphenix.protocol.concurrency.AbstractConcurrentListenerMultimap
    +
    +
    Remove all packet listeners.
    +
    +
    CLIENT_COMMAND - Static variable in class com.comphenix.protocol.Packets.Client
    +
     
    +
    close() - Method in class com.comphenix.protocol.injector.DelayedSingleTask
    +
    +
    Stop the current task and all future tasks scheduled by this instance.
    +
    +
    close() - Method in class com.comphenix.protocol.injector.PacketFilterManager
    +
    +
    Called when ProtocolLib is closing.
    +
    +
    close() - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
    +
     
    +
    CLOSE_WINDOW - Static variable in class com.comphenix.protocol.Packets.Client
    +
     
    +
    CLOSE_WINDOW - Static variable in class com.comphenix.protocol.Packets.Server
    +
     
    +
    closed - Variable in class com.comphenix.protocol.injector.DelayedSingleTask
    +
     
    +
    COLLECT - Static variable in class com.comphenix.protocol.Packets.Server
    +
     
    +
    CollectionGenerator - Class in com.comphenix.protocol.reflect.instances
    +
    +
    Provides simple constructors for collection interfaces.
    +
    +
    CollectionGenerator() - Constructor for class com.comphenix.protocol.reflect.instances.CollectionGenerator
    +
     
    +
    com.comphenix.protocol.async - package com.comphenix.protocol.async
    +
     
    +
    com.comphenix.protocol.concurrency - package com.comphenix.protocol.concurrency
    +
     
    +
    com.comphenix.protocol.events - package com.comphenix.protocol.events
    +
     
    +
    com.comphenix.protocol.injector - package com.comphenix.protocol.injector
    +
     
    +
    com.comphenix.protocol.injector.player - package com.comphenix.protocol.injector.player
    +
     
    +
    com.comphenix.protocol.metrics - package com.comphenix.protocol.metrics
    +
     
    +
    com.comphenix.protocol.reflect - package com.comphenix.protocol.reflect
    +
     
    +
    com.comphenix.protocol.reflect.compiler - package com.comphenix.protocol.reflect.compiler
    +
     
    +
    com.comphenix.protocol.reflect.instances - package com.comphenix.protocol.reflect.instances
    +
     
    +
    compareTo(AsyncMarker) - Method in class com.comphenix.protocol.async.AsyncMarker
    +
     
    +
    compareTo(PrioritizedListener<TListener>) - Method in class com.comphenix.protocol.injector.PrioritizedListener
    +
     
    +
    compile(StructureModifier<TField>) - Method in class com.comphenix.protocol.reflect.compiler.StructureCompiler
    +
    +
    Compiles the given structure modifier.
    +
    +
    CompiledStructureModifier<TField> - Class in com.comphenix.protocol.reflect.compiler
    +
    +
    Represents a compiled structure modifier.
    +
    +
    CompiledStructureModifier() - Constructor for class com.comphenix.protocol.reflect.compiler.CompiledStructureModifier
    +
     
    +
    CompileListener<TKey> - Interface in com.comphenix.protocol.reflect.compiler
    +
    +
    Used to save the result of an compilation.
    +
    +
    compiler - Variable in class com.comphenix.protocol.reflect.compiler.CompiledStructureModifier
    +
     
    +
    ConnectionSide - Enum in com.comphenix.protocol.events
    +
    +
    Used to set a packet filter.
    +
    +
    connectionSide - Variable in class com.comphenix.protocol.events.PacketAdapter
    +
     
    +
    contains(Object) - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
    +
     
    +
    contains(T[], T) - Method in class com.comphenix.protocol.reflect.instances.DefaultInstances
    +
     
    +
    containsAll(Collection<?>) - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
    +
     
    +
    containsAny(ListeningWhitelist, int...) - Static method in class com.comphenix.protocol.events.ListeningWhitelist
    +
    +
    Determine if any of the given IDs can be found in the whitelist.
    +
    +
    converter - Variable in class com.comphenix.protocol.reflect.StructureModifier
    +
     
    +
    copyTo(Object, Object, Class<?>) - Static method in class com.comphenix.protocol.reflect.ObjectCloner
    +
    +
    Copy every field in object A to object B.
    +
    +
    CRAFT_PROGRESS_BAR - Static variable in class com.comphenix.protocol.Packets.Server
    +
     
    +
    create(Class<?>) - Method in class com.comphenix.protocol.reflect.instances.CollectionGenerator
    +
     
    +
    create(Class<?>) - Method in class com.comphenix.protocol.reflect.instances.ExistingGenerator
    +
     
    +
    create(Class<?>) - Method in interface com.comphenix.protocol.reflect.instances.InstanceProvider
    +
    +
    Create an instance given a type, if possible.
    +
    +
    create(Class<?>) - Method in class com.comphenix.protocol.reflect.instances.PrimitiveGenerator
    +
     
    +
    createAsyncMarker() - Method in class com.comphenix.protocol.async.AsyncFilterManager
    +
    +
    Construct a asynchronous marker with all the default values.
    +
    +
    createAsyncMarker(long, long) - Method in class com.comphenix.protocol.async.AsyncFilterManager
    +
    +
    Construct an async marker with the given sending priority delta and timeout delta.
    +
    +
    createInstance(Class<T>, Constructor<T>, Class<?>[], Object[]) - Method in class com.comphenix.protocol.reflect.instances.DefaultInstances
    +
    +
    Used by the default instance provider to create a class from a given constructor.
    +
    +
    createPacket(Object...) - Method in class com.comphenix.protocol.injector.PacketConstructor
    +
    +
    Construct a packet using the special builtin Minecraft constructors.
    +
    +
    createPacket(int) - Method in class com.comphenix.protocol.injector.PacketFilterManager
    +
     
    +
    createPacket(int, boolean) - Method in class com.comphenix.protocol.injector.PacketFilterManager
    +
     
    +
    createPacket(int) - Method in interface com.comphenix.protocol.ProtocolManager
    +
    +
    Constructs a new encapsulated Minecraft packet with the given ID.
    +
    +
    createPacket(int, boolean) - Method in interface com.comphenix.protocol.ProtocolManager
    +
    +
    Constructs a new encapsulated Minecraft packet with the given ID.
    +
    +
    createPacketConstructor(int, Object...) - Method in class com.comphenix.protocol.injector.PacketFilterManager
    +
     
    +
    createPacketConstructor(int, Object...) - Method in interface com.comphenix.protocol.ProtocolManager
    +
    +
    Construct a packet using the special builtin Minecraft constructors.
    +
    +
    CUSTOM_PAYLOAD - Static variable in class com.comphenix.protocol.Packets.Client
    +
     
    +
    CUSTOM_PAYLOAD - Static variable in class com.comphenix.protocol.Packets.Server
    +
     
    +
    customConvertHandling - Variable in class com.comphenix.protocol.reflect.StructureModifier
    +
     
    +
    +A B C D E F G H I K L M N O P R S T U V W 
    + +
    + + + + + +
    + + + + diff --git a/Javadoc/index-files/index-4.html b/Javadoc/index-files/index-4.html index 4a307d63..2eaf512c 100644 --- a/Javadoc/index-files/index-4.html +++ b/Javadoc/index-files/index-4.html @@ -1,156 +1,168 @@ - - - - - -D-Index - - - - - - - -
    - - - - - -
    - - -
    A B C D E F G H I K L M N O P R S T U V W  - - -

    D

    -
    -
    data - Variable in class com.comphenix.protocol.reflect.StructureModifier
    -
     
    -
    DEFAULT - Static variable in class com.comphenix.protocol.injector.PacketConstructor
    -
    -
    A packet constructor that automatically converts Bukkit types to their NMS conterpart.
    -
    -
    DEFAULT - Static variable in class com.comphenix.protocol.reflect.instances.DefaultInstances
    -
    -
    Standard default instance provider.
    -
    -
    DEFAULT_SENDING_DELTA - Static variable in class com.comphenix.protocol.async.AsyncMarker
    -
    -
    Default number of packets to skip.
    -
    -
    DEFAULT_TIMEOUT_DELTA - Static variable in class com.comphenix.protocol.async.AsyncMarker
    -
    -
    Default number of milliseconds until a packet will rejected.
    -
    -
    defaultFields - Variable in class com.comphenix.protocol.reflect.StructureModifier
    -
     
    -
    DefaultInstances - Class in com.comphenix.protocol.reflect.instances
    -
    -
    Used to construct default instances of any type.
    -
    -
    DefaultInstances(ImmutableList<InstanceProvider>) - Constructor for class com.comphenix.protocol.reflect.instances.DefaultInstances
    -
    -
    Construct a default instance generator using the given instance providers.
    -
    -
    DefaultInstances(DefaultInstances) - Constructor for class com.comphenix.protocol.reflect.instances.DefaultInstances
    -
    -
    Copy a given instance provider.
    -
    -
    DefaultInstances(InstanceProvider...) - Constructor for class com.comphenix.protocol.reflect.instances.DefaultInstances
    -
    -
    Construct a default instance generator using the given instance providers.
    -
    -
    DESTROY_ENTITY - Static variable in class com.comphenix.protocol.Packets.Server
    -
     
    -
    -A B C D E F G H I K L M N O P R S T U V W 
    - -
    - - - - - -
    - - - - + + + + + +D-Index + + + + + + + +
    + + + + + +
    + + +
    A B C D E F G H I K L M N O P R S T U V W  + + +

    D

    +
    +
    data - Variable in class com.comphenix.protocol.reflect.StructureModifier
    +
     
    +
    DEFAULT - Static variable in class com.comphenix.protocol.injector.PacketConstructor
    +
    +
    A packet constructor that automatically converts Bukkit types to their NMS conterpart.
    +
    +
    DEFAULT - Static variable in class com.comphenix.protocol.reflect.instances.DefaultInstances
    +
    +
    Standard default instance provider.
    +
    +
    DEFAULT_SENDING_DELTA - Static variable in class com.comphenix.protocol.async.AsyncMarker
    +
    +
    Default number of packets to skip.
    +
    +
    DEFAULT_TIMEOUT_DELTA - Static variable in class com.comphenix.protocol.async.AsyncMarker
    +
    +
    Default number of milliseconds until a packet will rejected.
    +
    +
    defaultFields - Variable in class com.comphenix.protocol.reflect.StructureModifier
    +
     
    +
    DefaultInstances - Class in com.comphenix.protocol.reflect.instances
    +
    +
    Used to construct default instances of any type.
    +
    +
    DefaultInstances(ImmutableList<InstanceProvider>) - Constructor for class com.comphenix.protocol.reflect.instances.DefaultInstances
    +
    +
    Construct a default instance generator using the given instance providers.
    +
    +
    DefaultInstances(DefaultInstances) - Constructor for class com.comphenix.protocol.reflect.instances.DefaultInstances
    +
    +
    Copy a given instance provider.
    +
    +
    DefaultInstances(InstanceProvider...) - Constructor for class com.comphenix.protocol.reflect.instances.DefaultInstances
    +
    +
    Construct a default instance generator using the given instance providers.
    +
    +
    DelayedSingleTask - Class in com.comphenix.protocol.injector
    +
    +
    Represents a single delayed task.
    +
    +
    DelayedSingleTask(Plugin) - Constructor for class com.comphenix.protocol.injector.DelayedSingleTask
    +
    +
    Create a single task scheduler.
    +
    +
    DelayedSingleTask(Plugin, BukkitScheduler) - Constructor for class com.comphenix.protocol.injector.DelayedSingleTask
    +
    +
    Create a single task scheduler.
    +
    +
    DESTROY_ENTITY - Static variable in class com.comphenix.protocol.Packets.Server
    +
     
    +
    +A B C D E F G H I K L M N O P R S T U V W 
    + +
    + + + + + +
    + + + + diff --git a/Javadoc/index-files/index-5.html b/Javadoc/index-files/index-5.html index 61935c39..22f6dd75 100644 --- a/Javadoc/index-files/index-5.html +++ b/Javadoc/index-files/index-5.html @@ -1,166 +1,166 @@ - - - - - -E-Index - - - - - - - -
    - - - - - -
    - - -
    A B C D E F G H I K L M N O P R S T U V W  - - -

    E

    -
    -
    EMPTY_WHITELIST - Static variable in class com.comphenix.protocol.events.ListeningWhitelist
    -
    -
    A whitelist with no packets - indicates that the listener shouldn't observe any packets.
    -
    -
    enqueuePacket(PacketEvent) - Method in class com.comphenix.protocol.async.AsyncListenerHandler
    -
    -
    Queue a packet for processing.
    -
    -
    enqueueSyncPacket(PacketEvent, AsyncMarker) - Method in class com.comphenix.protocol.async.AsyncFilterManager
    -
    -
    Enqueue a packet for asynchronous processing.
    -
    -
    ENTITY - Static variable in class com.comphenix.protocol.Packets.Server
    -
     
    -
    ENTITY_ACTION - Static variable in class com.comphenix.protocol.Packets.Client
    -
     
    -
    ENTITY_EQUIPMENT - Static variable in class com.comphenix.protocol.Packets.Server
    -
     
    -
    ENTITY_HEAD_ROTATION - Static variable in class com.comphenix.protocol.Packets.Server
    -
     
    -
    ENTITY_LOCATION_ACTION - Static variable in class com.comphenix.protocol.Packets.Server
    -
     
    -
    ENTITY_LOOK - Static variable in class com.comphenix.protocol.Packets.Server
    -
     
    -
    ENTITY_METADATA - Static variable in class com.comphenix.protocol.Packets.Server
    -
     
    -
    ENTITY_PAINTING - Static variable in class com.comphenix.protocol.Packets.Server
    -
     
    -
    ENTITY_STATUS - Static variable in class com.comphenix.protocol.Packets.Server
    -
     
    -
    ENTITY_TELEPORT - Static variable in class com.comphenix.protocol.Packets.Server
    -
     
    -
    ENTITY_VELOCITY - Static variable in class com.comphenix.protocol.Packets.Server
    -
     
    -
    equals(Object) - Method in class com.comphenix.protocol.events.ListeningWhitelist
    -
     
    -
    equals(Object) - Method in class com.comphenix.protocol.injector.PrioritizedListener
    -
     
    -
    EquivalentConverter<TType> - Interface in com.comphenix.protocol.reflect
    -
    -
    Interface that converts generic objects into types and back.
    -
    -
    ExistingGenerator - Class in com.comphenix.protocol.reflect.instances
    -
    -
    Provides instance constructors using a list of existing values.
    -
    -
    EXPLOSION - Static variable in class com.comphenix.protocol.Packets.Server
    -
     
    -
    -A B C D E F G H I K L M N O P R S T U V W 
    - -
    - - - - - -
    - - - - + + + + + +E-Index + + + + + + + +
    + + + + + +
    + + +
    A B C D E F G H I K L M N O P R S T U V W  + + +

    E

    +
    +
    EMPTY_WHITELIST - Static variable in class com.comphenix.protocol.events.ListeningWhitelist
    +
    +
    A whitelist with no packets - indicates that the listener shouldn't observe any packets.
    +
    +
    enqueuePacket(PacketEvent) - Method in class com.comphenix.protocol.async.AsyncListenerHandler
    +
    +
    Queue a packet for processing.
    +
    +
    enqueueSyncPacket(PacketEvent, AsyncMarker) - Method in class com.comphenix.protocol.async.AsyncFilterManager
    +
    +
    Enqueue a packet for asynchronous processing.
    +
    +
    ENTITY - Static variable in class com.comphenix.protocol.Packets.Server
    +
     
    +
    ENTITY_ACTION - Static variable in class com.comphenix.protocol.Packets.Client
    +
     
    +
    ENTITY_EQUIPMENT - Static variable in class com.comphenix.protocol.Packets.Server
    +
     
    +
    ENTITY_HEAD_ROTATION - Static variable in class com.comphenix.protocol.Packets.Server
    +
     
    +
    ENTITY_LOCATION_ACTION - Static variable in class com.comphenix.protocol.Packets.Server
    +
     
    +
    ENTITY_LOOK - Static variable in class com.comphenix.protocol.Packets.Server
    +
     
    +
    ENTITY_METADATA - Static variable in class com.comphenix.protocol.Packets.Server
    +
     
    +
    ENTITY_PAINTING - Static variable in class com.comphenix.protocol.Packets.Server
    +
     
    +
    ENTITY_STATUS - Static variable in class com.comphenix.protocol.Packets.Server
    +
     
    +
    ENTITY_TELEPORT - Static variable in class com.comphenix.protocol.Packets.Server
    +
     
    +
    ENTITY_VELOCITY - Static variable in class com.comphenix.protocol.Packets.Server
    +
     
    +
    equals(Object) - Method in class com.comphenix.protocol.events.ListeningWhitelist
    +
     
    +
    equals(Object) - Method in class com.comphenix.protocol.injector.PrioritizedListener
    +
     
    +
    EquivalentConverter<TType> - Interface in com.comphenix.protocol.reflect
    +
    +
    Interface that converts generic objects into types and back.
    +
    +
    ExistingGenerator - Class in com.comphenix.protocol.reflect.instances
    +
    +
    Provides instance constructors using a list of existing values.
    +
    +
    EXPLOSION - Static variable in class com.comphenix.protocol.Packets.Server
    +
     
    +
    +A B C D E F G H I K L M N O P R S T U V W 
    + +
    + + + + + +
    + + + + diff --git a/Javadoc/index-files/index-6.html b/Javadoc/index-files/index-6.html index e653bd21..d1bf5ab5 100644 --- a/Javadoc/index-files/index-6.html +++ b/Javadoc/index-files/index-6.html @@ -1,208 +1,210 @@ - - - - - -F-Index - - - - - - - -
    - - - - - -
    - - -
    A B C D E F G H I K L M N O P R S T U V W  - - -

    F

    -
    -
    FieldAccessException - Exception in com.comphenix.protocol.reflect
    -
    -
    Invoked when a field is inaccessible due to security limitations, or when it simply doesn't exist.
    -
    -
    FieldAccessException() - Constructor for exception com.comphenix.protocol.reflect.FieldAccessException
    -
     
    -
    FieldAccessException(String, Throwable) - Constructor for exception com.comphenix.protocol.reflect.FieldAccessException
    -
     
    -
    FieldAccessException(String) - Constructor for exception com.comphenix.protocol.reflect.FieldAccessException
    -
     
    -
    FieldAccessException(Throwable) - Constructor for exception com.comphenix.protocol.reflect.FieldAccessException
    -
     
    -
    fieldType - Variable in class com.comphenix.protocol.reflect.StructureModifier
    -
     
    -
    FieldUtils - Class in com.comphenix.protocol.reflect
    -
    -
    Utilities for working with fields by reflection.
    -
    -
    FieldUtils() - Constructor for class com.comphenix.protocol.reflect.FieldUtils
    -
    -
    FieldUtils instances should NOT be constructed in standard programming.
    -
    -
    finalize() - Method in class com.comphenix.protocol.injector.PacketFilterManager
    -
     
    -
    finalize() - Method in class com.comphenix.protocol.reflect.VolatileField
    -
     
    -
    FLYING - Static variable in class com.comphenix.protocol.Packets.Client
    -
     
    -
    FLYING - Static variable in class com.comphenix.protocol.Packets.Server
    -
     
    -
    forEnhancer(Enhancer) - Method in class com.comphenix.protocol.reflect.instances.DefaultInstances
    -
    -
    Construct default instances using the CGLIB enhancer object instead.
    -
    -
    fromArray(InstanceProvider...) - Static method in class com.comphenix.protocol.reflect.instances.DefaultInstances
    -
    -
    Construct a default instance generator using the given instance providers.
    -
    -
    fromClass(Class<?>) - Static method in class com.comphenix.protocol.reflect.FuzzyReflection
    -
    -
    Retrieves a fuzzy reflection instance from a given class.
    -
    -
    fromClass(Class<?>, boolean) - Static method in class com.comphenix.protocol.reflect.FuzzyReflection
    -
    -
    Retrieves a fuzzy reflection instance from a given class.
    -
    -
    fromClient(Object, PacketContainer, Player) - Static method in class com.comphenix.protocol.events.PacketEvent
    -
    -
    Creates an event representing a client packet transmission.
    -
    -
    fromFormat(String, Object...) - Static method in exception com.comphenix.protocol.injector.PlayerLoggedOutException
    -
    -
    Construct an exception from a formatted message.
    -
    -
    fromFormat(String, Object...) - Static method in exception com.comphenix.protocol.reflect.FieldAccessException
    -
     
    -
    fromObject(Object) - Static method in class com.comphenix.protocol.reflect.FuzzyReflection
    -
    -
    Retrieves a fuzzy reflection instance from an object.
    -
    -
    fromObject(Object, boolean) - Static method in class com.comphenix.protocol.reflect.FuzzyReflection
    -
    -
    Retrieves a fuzzy reflection instance from an object.
    -
    -
    fromObjectArray(Object[]) - Static method in class com.comphenix.protocol.reflect.instances.ExistingGenerator
    -
    -
    Create an instance generator from a pre-defined array of values.
    -
    -
    fromObjectFields(Object) - Static method in class com.comphenix.protocol.reflect.instances.ExistingGenerator
    -
    -
    Automatically create an instance provider from a objects public and private fields.
    -
    -
    fromObjectFields(Object, Class<?>) - Static method in class com.comphenix.protocol.reflect.instances.ExistingGenerator
    -
    -
    Automatically create an instance provider from a objects public and private fields.
    -
    -
    fromServer(Object, PacketContainer, Player) - Static method in class com.comphenix.protocol.events.PacketEvent
    -
    -
    Creates an event representing a server packet transmission.
    -
    -
    fromSynchronous(PacketEvent, AsyncMarker) - Static method in class com.comphenix.protocol.events.PacketEvent
    -
    -
    Create an asynchronous packet event from a synchronous event and a async marker.
    -
    -
    FuzzyReflection - Class in com.comphenix.protocol.reflect
    -
    -
    Retrieves fields and methods by signature, not just name.
    -
    -
    FuzzyReflection(Class<?>, boolean) - Constructor for class com.comphenix.protocol.reflect.FuzzyReflection
    -
     
    -
    -A B C D E F G H I K L M N O P R S T U V W 
    - -
    - - - - - -
    - - - - + + + + + +F-Index + + + + + + + +
    + + + + + +
    + + +
    A B C D E F G H I K L M N O P R S T U V W  + + +

    F

    +
    +
    FieldAccessException - Exception in com.comphenix.protocol.reflect
    +
    +
    Invoked when a field is inaccessible due to security limitations, or when it simply doesn't exist.
    +
    +
    FieldAccessException() - Constructor for exception com.comphenix.protocol.reflect.FieldAccessException
    +
     
    +
    FieldAccessException(String, Throwable) - Constructor for exception com.comphenix.protocol.reflect.FieldAccessException
    +
     
    +
    FieldAccessException(String) - Constructor for exception com.comphenix.protocol.reflect.FieldAccessException
    +
     
    +
    FieldAccessException(Throwable) - Constructor for exception com.comphenix.protocol.reflect.FieldAccessException
    +
     
    +
    fieldType - Variable in class com.comphenix.protocol.reflect.StructureModifier
    +
     
    +
    FieldUtils - Class in com.comphenix.protocol.reflect
    +
    +
    Utilities for working with fields by reflection.
    +
    +
    FieldUtils() - Constructor for class com.comphenix.protocol.reflect.FieldUtils
    +
    +
    FieldUtils instances should NOT be constructed in standard programming.
    +
    +
    finalize() - Method in class com.comphenix.protocol.injector.DelayedSingleTask
    +
     
    +
    finalize() - Method in class com.comphenix.protocol.injector.PacketFilterManager
    +
     
    +
    finalize() - Method in class com.comphenix.protocol.reflect.VolatileField
    +
     
    +
    FLYING - Static variable in class com.comphenix.protocol.Packets.Client
    +
     
    +
    FLYING - Static variable in class com.comphenix.protocol.Packets.Server
    +
     
    +
    forEnhancer(Enhancer) - Method in class com.comphenix.protocol.reflect.instances.DefaultInstances
    +
    +
    Construct default instances using the CGLIB enhancer object instead.
    +
    +
    fromArray(InstanceProvider...) - Static method in class com.comphenix.protocol.reflect.instances.DefaultInstances
    +
    +
    Construct a default instance generator using the given instance providers.
    +
    +
    fromClass(Class<?>) - Static method in class com.comphenix.protocol.reflect.FuzzyReflection
    +
    +
    Retrieves a fuzzy reflection instance from a given class.
    +
    +
    fromClass(Class<?>, boolean) - Static method in class com.comphenix.protocol.reflect.FuzzyReflection
    +
    +
    Retrieves a fuzzy reflection instance from a given class.
    +
    +
    fromClient(Object, PacketContainer, Player) - Static method in class com.comphenix.protocol.events.PacketEvent
    +
    +
    Creates an event representing a client packet transmission.
    +
    +
    fromFormat(String, Object...) - Static method in exception com.comphenix.protocol.injector.PlayerLoggedOutException
    +
    +
    Construct an exception from a formatted message.
    +
    +
    fromFormat(String, Object...) - Static method in exception com.comphenix.protocol.reflect.FieldAccessException
    +
     
    +
    fromObject(Object) - Static method in class com.comphenix.protocol.reflect.FuzzyReflection
    +
    +
    Retrieves a fuzzy reflection instance from an object.
    +
    +
    fromObject(Object, boolean) - Static method in class com.comphenix.protocol.reflect.FuzzyReflection
    +
    +
    Retrieves a fuzzy reflection instance from an object.
    +
    +
    fromObjectArray(Object[]) - Static method in class com.comphenix.protocol.reflect.instances.ExistingGenerator
    +
    +
    Create an instance generator from a pre-defined array of values.
    +
    +
    fromObjectFields(Object) - Static method in class com.comphenix.protocol.reflect.instances.ExistingGenerator
    +
    +
    Automatically create an instance provider from a objects public and private fields.
    +
    +
    fromObjectFields(Object, Class<?>) - Static method in class com.comphenix.protocol.reflect.instances.ExistingGenerator
    +
    +
    Automatically create an instance provider from a objects public and private fields.
    +
    +
    fromServer(Object, PacketContainer, Player) - Static method in class com.comphenix.protocol.events.PacketEvent
    +
    +
    Creates an event representing a server packet transmission.
    +
    +
    fromSynchronous(PacketEvent, AsyncMarker) - Static method in class com.comphenix.protocol.events.PacketEvent
    +
    +
    Create an asynchronous packet event from a synchronous event and a async marker.
    +
    +
    FuzzyReflection - Class in com.comphenix.protocol.reflect
    +
    +
    Retrieves fields and methods by signature, not just name.
    +
    +
    FuzzyReflection(Class<?>, boolean) - Constructor for class com.comphenix.protocol.reflect.FuzzyReflection
    +
     
    +
    +A B C D E F G H I K L M N O P R S T U V W 
    + +
    + + + + + +
    + + + + diff --git a/Javadoc/index-files/index-7.html b/Javadoc/index-files/index-7.html index 3caa1dbc..371cd449 100644 --- a/Javadoc/index-files/index-7.html +++ b/Javadoc/index-files/index-7.html @@ -1,584 +1,614 @@ - - - - - -G-Index - - - - - - - -
    - - - - - -
    - - -
    A B C D E F G H I K L M N O P R S T U V W  - - -

    G

    -
    -
    get(int) - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
    -
    -
    Retrieves an element by index.
    -
    -
    GET_INFO - Static variable in class com.comphenix.protocol.Packets.Client
    -
     
    -
    getAccessibleMethod(Class, String, Class[]) - Static method in class com.comphenix.protocol.reflect.MethodUtils
    -
    -
    Return an accessible method (that is, one that can be invoked via - reflection) with given name and parameters.
    -
    -
    getAccessibleMethod(Method) - Static method in class com.comphenix.protocol.reflect.MethodUtils
    -
    -
    Return an accessible method (that is, one that can be invoked via - reflection) that implements the specified Method.
    -
    -
    getAccessibleMethod(Class, Method) - Static method in class com.comphenix.protocol.reflect.MethodUtils
    -
    -
    Return an accessible method (that is, one that can be invoked via - reflection) that implements the specified Method.
    -
    -
    getAsynchronousManager() - Method in class com.comphenix.protocol.injector.PacketFilterManager
    -
     
    -
    getAsynchronousManager() - Method in interface com.comphenix.protocol.ProtocolManager
    -
    -
    Retrieve the current asyncronous packet manager.
    -
    -
    getAsyncListener() - Method in class com.comphenix.protocol.async.AsyncListenerHandler
    -
     
    -
    getAsyncMarker() - Method in class com.comphenix.protocol.events.PacketEvent
    -
    -
    Retrieve the asynchronous marker.
    -
    -
    getClassLoader() - Method in class com.comphenix.protocol.injector.PacketFilterManager
    -
    -
    Retrieves the current plugin class loader.
    -
    -
    getClientPackets() - Static method in class com.comphenix.protocol.injector.PacketFilterManager
    -
    -
    Retrieve every known and supported client packet.
    -
    -
    getClientRegistry() - Static method in class com.comphenix.protocol.Packets
    -
    -
    A registry that parses between names and packet IDs.
    -
    -
    getCompiler() - Method in class com.comphenix.protocol.reflect.compiler.BackgroundCompiler
    -
    -
    Retrieve the current structure compiler.
    -
    -
    getContainer() - Method in class com.comphenix.protocol.reflect.VolatileField
    -
    -
    Retrieves the object the field is stored.
    -
    -
    getDeclaredName(int) - Static method in class com.comphenix.protocol.Packets
    -
    -
    Retrieves the name of a packet.
    -
    -
    getDeclaredName(Integer) - Method in class com.comphenix.protocol.reflect.IntEnum
    -
    -
    Retrieve the name of the member with the given id.
    -
    -
    getDefault(Class<T>) - Method in class com.comphenix.protocol.reflect.instances.DefaultInstances
    -
    -
    Retrieves a default instance or value that is assignable to this type.
    -
    -
    getDefault(Class<T>, List<InstanceProvider>) - Method in class com.comphenix.protocol.reflect.instances.DefaultInstances
    -
    -
    Retrieves a default instance or value that is assignable to this type.
    -
    -
    getEntityModifier(World) - Method in class com.comphenix.protocol.events.PacketContainer
    -
    -
    Retrieves a read/write structure for entity objects.
    -
    -
    getField(Class, String) - Static method in class com.comphenix.protocol.reflect.FieldUtils
    -
    -
    Gets an accessible Field by name respecting scope.
    -
    -
    getField(Class, String, boolean) - Static method in class com.comphenix.protocol.reflect.FieldUtils
    -
    -
    Gets an accessible Field by name breaking scope if - requested.
    -
    -
    getField() - Method in class com.comphenix.protocol.reflect.VolatileField
    -
    -
    Retrieves the current field.
    -
    -
    getFieldByName(String) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
    -
    -
    Retrieves a field by name.
    -
    -
    getFieldByType(String, Class<?>) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
    -
    -
    Retrieves the first field with a type equal to or more specific to the given type.
    -
    -
    getFieldByType(String) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
    -
    -
    Retrieves a field by type.
    -
    -
    getFieldByType(String, Set<Class>) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
    -
    -
    Retrieves a field by type.
    -
    -
    getFieldListByType(Class<?>) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
    -
    -
    Retrieves every field with a type equal to or more specific to the given type.
    -
    -
    getFields() - Method in class com.comphenix.protocol.reflect.FuzzyReflection
    -
    -
    Retrieves all private and public fields in declared order (after JDK 1.5).
    -
    -
    getFields() - Method in class com.comphenix.protocol.reflect.StructureModifier
    -
    -
    Retrieves a list of the fields matching the constraints of this structure modifier.
    -
    -
    getFieldType() - Method in class com.comphenix.protocol.reflect.StructureModifier
    -
    -
    Retrieves the common type of each field.
    -
    -
    getFriendlyWorkerName(int) - Method in class com.comphenix.protocol.async.AsyncListenerHandler
    -
    -
    Create a friendly thread name using the following convention:
    -
    -
    getGeneric(TType) - Method in interface com.comphenix.protocol.reflect.EquivalentConverter
    -
     
    -
    getHandle() - Method in class com.comphenix.protocol.events.PacketContainer
    -
    -
    Retrieves the underlying Minecraft packet.
    -
    -
    getID() - Method in interface com.comphenix.protocol.async.AsyncRunnable
    -
    -
    Retrieve a unique worker ID.
    -
    -
    getID() - Method in class com.comphenix.protocol.events.PacketContainer
    -
    -
    Retrieves the ID of this packet.
    -
    -
    getInitialTime() - Method in class com.comphenix.protocol.async.AsyncMarker
    -
    -
    Retrieve the time the packet was initially queued for asynchronous processing.
    -
    -
    getInstance() - Static method in class com.comphenix.protocol.reflect.compiler.BackgroundCompiler
    -
    -
    Retrieves the current background compiler.
    -
    -
    getItemArrayModifier() - Method in class com.comphenix.protocol.events.PacketContainer
    -
    -
    Retrieves a read/write structure for arrays of ItemStacks.
    -
    -
    getItemModifier() - Method in class com.comphenix.protocol.events.PacketContainer
    -
    -
    Retrieves a read/write structure for ItemStack.
    -
    -
    getListener(int) - Method in class com.comphenix.protocol.concurrency.AbstractConcurrentListenerMultimap
    -
    -
    Retrieve the registered listeners, in order from the lowest to the highest priority.
    -
    -
    getListener() - Method in class com.comphenix.protocol.injector.PrioritizedListener
    -
    -
    Retrieve the underlying listener.
    -
    -
    getListenerHandler() - Method in class com.comphenix.protocol.async.AsyncMarker
    -
    -
    Retrieve the current asynchronous listener handler.
    -
    -
    getListenerLoop() - Method in class com.comphenix.protocol.async.AsyncListenerHandler
    -
    -
    Create a worker that will initiate the listener loop.
    -
    -
    getLogger() - Method in class com.comphenix.protocol.async.AsyncFilterManager
    -
     
    -
    getLogger() - Method in interface com.comphenix.protocol.AsynchronousManager
    -
    -
    Retrieve the default error logger.
    -
    -
    getLogger() - Method in class com.comphenix.protocol.injector.PacketFilterManager
    -
     
    -
    getLogger() - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
    -
    -
    Retrieve the current logger.
    -
    -
    getMatchingAccessibleMethod(Class, String, Class[]) - Static method in class com.comphenix.protocol.reflect.MethodUtils
    -
    -
    Find an accessible method that matches the given name and has compatible parameters.
    -
    -
    getMaximumRecursion() - Method in class com.comphenix.protocol.reflect.instances.DefaultInstances
    -
    -
    Retrieve the the maximum height of the hierachy of creates types.
    -
    -
    getMethodByName(String) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
    -
    -
    Retrieves a method by looking at its name.
    -
    -
    getMethodByParameters(String, Class<?>...) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
    -
    -
    Retrieves a method by looking at the parameter types only.
    -
    -
    getMethodByParameters(String, Class<?>, Class<?>[]) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
    -
    -
    Retrieves a method by looking at the parameter types and return type only.
    -
    -
    getMethodByParameters(String, String, String[]) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
    -
    -
    Retrieves a method by looking at the parameter types and return type only.
    -
    -
    getMethodListByParameters(Class<?>, Class<?>[]) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
    -
    -
    Retrieves every method that has the given parameter types and return type.
    -
    -
    getMethods() - Method in class com.comphenix.protocol.reflect.FuzzyReflection
    -
    -
    Retrieves all private and public methods in declared order (after JDK 1.5).
    -
    -
    getMinimumConstructor(Class<T>) - Method in class com.comphenix.protocol.reflect.instances.DefaultInstances
    -
    -
    Retrieve the constructor with the fewest number of parameters.
    -
    -
    getModifier() - Method in class com.comphenix.protocol.events.PacketContainer
    -
    -
    Retrieves the generic structure modifier for this packet.
    -
    -
    getNewSendingIndex() - Method in class com.comphenix.protocol.async.AsyncMarker
    -
    -
    Retrieve the desired sending order after processing has completed.
    -
    -
    getOldValue() - Method in class com.comphenix.protocol.reflect.VolatileField
    -
    -
    Retrieves the field value before the previous setValue(), unless saveValue() has been called.
    -
    -
    getOriginalSendingIndex() - Method in class com.comphenix.protocol.async.AsyncMarker
    -
    -
    Retrieve the order the packet was originally transmitted.
    -
    -
    getPacket() - Method in class com.comphenix.protocol.events.PacketEvent
    -
    -
    Retrieves the packet that will be sent to the player.
    -
    -
    getPacketID() - Method in class com.comphenix.protocol.events.PacketEvent
    -
    -
    Retrieves the packet ID.
    -
    -
    getPacketID(Packet) - Method in interface com.comphenix.protocol.injector.ListenerInvoker
    -
    -
    Retrieve the associated ID of a packet.
    -
    -
    getPacketID() - Method in class com.comphenix.protocol.injector.PacketConstructor
    -
    -
    Retrieve the id of the packets this constructor creates.
    -
    -
    getPacketID(Packet) - Method in class com.comphenix.protocol.injector.PacketFilterManager
    -
     
    -
    getPacketListeners() - Method in class com.comphenix.protocol.injector.PacketFilterManager
    -
     
    -
    getPacketListeners() - Method in interface com.comphenix.protocol.ProtocolManager
    -
    -
    Retrieves a list of every registered packet listener.
    -
    -
    getPacketStream() - Method in class com.comphenix.protocol.async.AsyncFilterManager
    -
     
    -
    getPacketStream() - Method in class com.comphenix.protocol.async.AsyncMarker
    -
    -
    Retrieve the packet stream responsible for transmitting this packet.
    -
    -
    getPacketStream() - Method in interface com.comphenix.protocol.AsynchronousManager
    -
    -
    Retrieve the default packet stream.
    -
    -
    getPlayer() - Method in class com.comphenix.protocol.events.PacketEvent
    -
    -
    Retrieves the player that has sent the packet or is recieving it.
    -
    -
    getPlayerByConnection(DataInputStream) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
    -
     
    -
    getPlayerHook() - Method in class com.comphenix.protocol.injector.PacketFilterManager
    -
    -
    Retrieves how the server packets are read.
    -
    -
    getPlayerHook() - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
    -
    -
    Retrieves how the server packets are read.
    -
    -
    getPlugin() - Method in class com.comphenix.protocol.async.AsyncListenerHandler
    -
    -
    Retrieve the plugin associated with this async listener.
    -
    -
    getPlugin() - Method in class com.comphenix.protocol.events.PacketAdapter
    -
     
    -
    getPlugin() - Method in interface com.comphenix.protocol.events.PacketListener
    -
    -
    Retrieve the plugin that created list packet listener.
    -
    -
    getPluginName(PacketListener) - Static method in class com.comphenix.protocol.events.PacketAdapter
    -
    -
    Retrieves the name of the plugin that has been associated with the listener.
    -
    -
    getPrimitiveType(Class) - Static method in class com.comphenix.protocol.reflect.MethodUtils
    -
    -
    Gets the class for the primitive type corresponding to the primitive wrapper class given.
    -
    -
    getPrimitiveWrapper(Class) - Static method in class com.comphenix.protocol.reflect.MethodUtils
    -
    -
    Gets the wrapper object class for the given primitive type class.
    -
    -
    getPriority() - Method in class com.comphenix.protocol.events.ListeningWhitelist
    -
    -
    Retrieve the priority in the execution order of the packet listener.
    -
    -
    getPriority() - Method in class com.comphenix.protocol.injector.PrioritizedListener
    -
    -
    Retrieve the priority of this listener.
    -
    -
    getProcessingDelay() - Method in class com.comphenix.protocol.async.AsyncMarker
    -
    -
    Retrieve the number of times a packet must be signalled to be done before it's sent.
    -
    -
    getProcessingLock() - Method in class com.comphenix.protocol.async.AsyncMarker
    -
    -
    Processing lock used to synchronize access to the parent PacketEvent and PacketContainer.
    -
    -
    getProtocolManager() - Static method in class com.comphenix.protocol.ProtocolLibrary
    -
    -
    Retrieves the packet protocol manager.
    -
    -
    getQueuedSendingIndex() - Method in class com.comphenix.protocol.async.AsyncMarker
    -
    -
    Retrieve the sending index when the packet was queued.
    -
    -
    getReceivingFilters() - Method in class com.comphenix.protocol.async.AsyncFilterManager
    -
     
    -
    getReceivingFilters() - Method in interface com.comphenix.protocol.AsynchronousManager
    -
    -
    Retrieves a immutable set containing the ID of the recieved client packets that will be - observed by the asynchronous listeners.
    -
    -
    getReceivingFilters() - Method in class com.comphenix.protocol.injector.PacketFilterManager
    -
     
    -
    getReceivingFilters() - Method in interface com.comphenix.protocol.ProtocolManager
    -
    -
    Retrieves a immutable set containing the ID of the recieved client packets that will be observed by listeners.
    -
    -
    getReceivingWhitelist() - Method in class com.comphenix.protocol.events.PacketAdapter
    -
     
    -
    getReceivingWhitelist() - Method in interface com.comphenix.protocol.events.PacketListener
    -
    -
    Retrieve which packets sent by the client this listener will observe.
    -
    -
    getRegistered() - Method in class com.comphenix.protocol.reflect.instances.DefaultInstances
    -
    -
    Retrieves a immutable list of every default object providers that generates instances.
    -
    -
    getRegistry() - Static method in class com.comphenix.protocol.Packets.Client
    -
    -
    A registry that parses between names and packet IDs.
    -
    -
    getRegistry() - Static method in class com.comphenix.protocol.Packets.Server
    -
    -
    A registry that parses between names and packet IDs.
    -
    -
    getSendingFilters() - Method in class com.comphenix.protocol.async.AsyncFilterManager
    -
     
    -
    getSendingFilters() - Method in interface com.comphenix.protocol.AsynchronousManager
    -
    -
    Retrieves a immutable set containing the ID of the sent server packets that will be - observed by the asynchronous listeners.
    -
    -
    getSendingFilters() - Method in class com.comphenix.protocol.injector.PacketFilterManager
    -
     
    -
    getSendingFilters() - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
    -
    -
    Retrieve the current list of registered sending listeners.
    -
    -
    getSendingFilters() - Method in interface com.comphenix.protocol.ProtocolManager
    -
    -
    Retrieves a immutable set containing the ID of the sent server packets that will be observed by listeners.
    -
    -
    getSendingWhitelist() - Method in class com.comphenix.protocol.events.PacketAdapter
    -
     
    -
    getSendingWhitelist() - Method in interface com.comphenix.protocol.events.PacketListener
    -
    -
    Retrieve which packets sent by the server this listener will observe.
    -
    -
    getServerPackets() - Static method in class com.comphenix.protocol.injector.PacketFilterManager
    -
    -
    Retrieve every known and supported server packet.
    -
    -
    getServerRegistry() - Static method in class com.comphenix.protocol.Packets
    -
    -
    A registry that parses between names and packet IDs.
    -
    -
    getSlot() - Method in enum com.comphenix.protocol.events.ListenerPriority
    -
    -
    A low slot represents a low priority.
    -
    -
    getSource() - Method in class com.comphenix.protocol.reflect.FuzzyReflection
    -
    -
    Retrieves the underlying class.
    -
    -
    getSpecific(Object) - Method in interface com.comphenix.protocol.reflect.EquivalentConverter
    -
     
    -
    getSpecificModifier(Class<T>) - Method in class com.comphenix.protocol.events.PacketContainer
    -
    -
    Retrieves a read/write structure for every field with the given type.
    -
    -
    getSpecificType() - Method in interface com.comphenix.protocol.reflect.EquivalentConverter
    -
     
    -
    getStatistics() - Method in class com.comphenix.protocol.ProtocolLibrary
    -
    -
    Retrieve the metrics instance used to measure users of this library.
    -
    -
    getStringDefault() - Method in class com.comphenix.protocol.reflect.instances.PrimitiveGenerator
    -
    -
    Retrieve the string default.
    -
    -
    getStructure(int) - Static method in class com.comphenix.protocol.injector.StructureCache
    -
    -
    Retrieve a cached structure modifier for the given packet id.
    -
    -
    getStructure(int, boolean) - Static method in class com.comphenix.protocol.injector.StructureCache
    -
    -
    Retrieve a cached structure modifier for the given packet id.
    -
    -
    getSupported() - Static method in class com.comphenix.protocol.Packets.Client
    -
    -
    Retrieve every client packet the current version of Minecraft is aware of.
    -
    -
    getSupported() - Static method in class com.comphenix.protocol.Packets.Server
    -
    -
    Retrieve every client packet the current version of Minecraft is aware of.
    -
    -
    getTarget() - Method in class com.comphenix.protocol.reflect.StructureModifier
    -
    -
    Retrieves the object we're currently modifying.
    -
    -
    getTargetType() - Method in class com.comphenix.protocol.reflect.StructureModifier
    -
    -
    Retrieves the type of the object we're modifying.
    -
    -
    getTimeout() - Method in class com.comphenix.protocol.async.AsyncMarker
    -
    -
    Retrieve the time the packet will be forcefully rejected.
    -
    -
    getUnwrappers() - Method in class com.comphenix.protocol.injector.PacketConstructor
    -
     
    -
    getValue() - Method in class com.comphenix.protocol.reflect.VolatileField
    -
    -
    Retrieves the current field value.
    -
    -
    getValues() - Method in class com.comphenix.protocol.reflect.StructureModifier
    -
    -
    Retrieve every value stored in the fields of the current type.
    -
    -
    getWhitelist() - Method in class com.comphenix.protocol.events.ListeningWhitelist
    -
    -
    Retrieves the list of packets that will be observed by the listeners.
    -
    -
    getWorkerID() - Method in class com.comphenix.protocol.async.AsyncMarker
    -
    -
    Retrieve the current worker ID.
    -
    -
    getWorkers() - Method in class com.comphenix.protocol.async.AsyncListenerHandler
    -
    -
    Retrieve the current number of registered workers.
    -
    -
    getWorldTypeModifier() - Method in class com.comphenix.protocol.events.PacketContainer
    -
    -
    Retrieves a read/write structure for the world type enum.
    -
    -
    -A B C D E F G H I K L M N O P R S T U V W 
    - -
    - - - - - -
    - - - - + + + + + +G-Index + + + + + + + +
    + + + + + +
    + + +
    A B C D E F G H I K L M N O P R S T U V W  + + +

    G

    +
    +
    GamePhase - Enum in com.comphenix.protocol.injector
    +
    +
    The current player phase.
    +
    +
    get(int) - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
    +
    +
    Retrieves an element by index.
    +
    +
    GET_INFO - Static variable in class com.comphenix.protocol.Packets.Client
    +
     
    +
    getAccessibleMethod(Class, String, Class[]) - Static method in class com.comphenix.protocol.reflect.MethodUtils
    +
    +
    Return an accessible method (that is, one that can be invoked via + reflection) with given name and parameters.
    +
    +
    getAccessibleMethod(Method) - Static method in class com.comphenix.protocol.reflect.MethodUtils
    +
    +
    Return an accessible method (that is, one that can be invoked via + reflection) that implements the specified Method.
    +
    +
    getAccessibleMethod(Class, Method) - Static method in class com.comphenix.protocol.reflect.MethodUtils
    +
    +
    Return an accessible method (that is, one that can be invoked via + reflection) that implements the specified Method.
    +
    +
    getAsynchronousManager() - Method in class com.comphenix.protocol.injector.PacketFilterManager
    +
     
    +
    getAsynchronousManager() - Method in interface com.comphenix.protocol.ProtocolManager
    +
    +
    Retrieve the current asyncronous packet manager.
    +
    +
    getAsyncListener() - Method in class com.comphenix.protocol.async.AsyncListenerHandler
    +
     
    +
    getAsyncMarker() - Method in class com.comphenix.protocol.events.PacketEvent
    +
    +
    Retrieve the asynchronous marker.
    +
    +
    getClassLoader() - Method in class com.comphenix.protocol.injector.PacketFilterManager
    +
    +
    Retrieves the current plugin class loader.
    +
    +
    getClientPackets() - Static method in class com.comphenix.protocol.injector.PacketFilterManager
    +
    +
    Retrieve every known and supported client packet.
    +
    +
    getClientRegistry() - Static method in class com.comphenix.protocol.Packets
    +
    +
    A registry that parses between names and packet IDs.
    +
    +
    getCompiler() - Method in class com.comphenix.protocol.reflect.compiler.BackgroundCompiler
    +
    +
    Retrieve the current structure compiler.
    +
    +
    getContainer() - Method in class com.comphenix.protocol.reflect.VolatileField
    +
    +
    Retrieves the object the field is stored.
    +
    +
    getDeclaredName(int) - Static method in class com.comphenix.protocol.Packets
    +
    +
    Retrieves the name of a packet.
    +
    +
    getDeclaredName(Integer) - Method in class com.comphenix.protocol.reflect.IntEnum
    +
    +
    Retrieve the name of the member with the given id.
    +
    +
    getDefault(Class<T>) - Method in class com.comphenix.protocol.reflect.instances.DefaultInstances
    +
    +
    Retrieves a default instance or value that is assignable to this type.
    +
    +
    getDefault(Class<T>, List<InstanceProvider>) - Method in class com.comphenix.protocol.reflect.instances.DefaultInstances
    +
    +
    Retrieves a default instance or value that is assignable to this type.
    +
    +
    getEntityModifier(World) - Method in class com.comphenix.protocol.events.PacketContainer
    +
    +
    Retrieves a read/write structure for entity objects.
    +
    +
    getField(Class, String) - Static method in class com.comphenix.protocol.reflect.FieldUtils
    +
    +
    Gets an accessible Field by name respecting scope.
    +
    +
    getField(Class, String, boolean) - Static method in class com.comphenix.protocol.reflect.FieldUtils
    +
    +
    Gets an accessible Field by name breaking scope if + requested.
    +
    +
    getField() - Method in class com.comphenix.protocol.reflect.VolatileField
    +
    +
    Retrieves the current field.
    +
    +
    getFieldByName(String) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
    +
    +
    Retrieves a field by name.
    +
    +
    getFieldByType(String, Class<?>) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
    +
    +
    Retrieves the first field with a type equal to or more specific to the given type.
    +
    +
    getFieldByType(String) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
    +
    +
    Retrieves a field by type.
    +
    +
    getFieldByType(String, Set<Class>) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
    +
    +
    Retrieves a field by type.
    +
    +
    getFieldListByType(Class<?>) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
    +
    +
    Retrieves every field with a type equal to or more specific to the given type.
    +
    +
    getFields() - Method in class com.comphenix.protocol.reflect.FuzzyReflection
    +
    +
    Retrieves all private and public fields in declared order (after JDK 1.5).
    +
    +
    getFields() - Method in class com.comphenix.protocol.reflect.StructureModifier
    +
    +
    Retrieves a list of the fields matching the constraints of this structure modifier.
    +
    +
    getFieldType() - Method in class com.comphenix.protocol.reflect.StructureModifier
    +
    +
    Retrieves the common type of each field.
    +
    +
    getFriendlyWorkerName(int) - Method in class com.comphenix.protocol.async.AsyncListenerHandler
    +
    +
    Create a friendly thread name using the following convention:
    +
    +
    getGamePhase() - Method in class com.comphenix.protocol.events.ListeningWhitelist
    +
    +
    Retrieve which game phase this listener is active under.
    +
    +
    getGeneric(TType) - Method in interface com.comphenix.protocol.reflect.EquivalentConverter
    +
     
    +
    getHandle() - Method in class com.comphenix.protocol.events.PacketContainer
    +
    +
    Retrieves the underlying Minecraft packet.
    +
    +
    getHookType() - Method in class com.comphenix.protocol.injector.player.NetworkServerInjector
    +
     
    +
    getID() - Method in interface com.comphenix.protocol.async.AsyncRunnable
    +
    +
    Retrieve a unique worker ID.
    +
    +
    getID() - Method in class com.comphenix.protocol.events.PacketContainer
    +
    +
    Retrieves the ID of this packet.
    +
    +
    getInitialTime() - Method in class com.comphenix.protocol.async.AsyncMarker
    +
    +
    Retrieve the time the packet was initially queued for asynchronous processing.
    +
    +
    getInstance() - Static method in class com.comphenix.protocol.reflect.compiler.BackgroundCompiler
    +
    +
    Retrieves the current background compiler.
    +
    +
    getItemArrayModifier() - Method in class com.comphenix.protocol.events.PacketContainer
    +
    +
    Retrieves a read/write structure for arrays of ItemStacks.
    +
    +
    getItemModifier() - Method in class com.comphenix.protocol.events.PacketContainer
    +
    +
    Retrieves a read/write structure for ItemStack.
    +
    +
    getListener(int) - Method in class com.comphenix.protocol.concurrency.AbstractConcurrentListenerMultimap
    +
    +
    Retrieve the registered listeners, in order from the lowest to the highest priority.
    +
    +
    getListener() - Method in class com.comphenix.protocol.injector.PrioritizedListener
    +
    +
    Retrieve the underlying listener.
    +
    +
    getListenerHandler() - Method in class com.comphenix.protocol.async.AsyncMarker
    +
    +
    Retrieve the current asynchronous listener handler.
    +
    +
    getListenerLoop() - Method in class com.comphenix.protocol.async.AsyncListenerHandler
    +
    +
    Create a worker that will initiate the listener loop.
    +
    +
    getLogger() - Method in class com.comphenix.protocol.async.AsyncFilterManager
    +
     
    +
    getLogger() - Method in interface com.comphenix.protocol.AsynchronousManager
    +
    +
    Retrieve the default error logger.
    +
    +
    getLogger() - Method in class com.comphenix.protocol.injector.PacketFilterManager
    +
     
    +
    getLogger() - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
    +
    +
    Retrieve the current logger.
    +
    +
    getMatchingAccessibleMethod(Class, String, Class[]) - Static method in class com.comphenix.protocol.reflect.MethodUtils
    +
    +
    Find an accessible method that matches the given name and has compatible parameters.
    +
    +
    getMaximumRecursion() - Method in class com.comphenix.protocol.reflect.instances.DefaultInstances
    +
    +
    Retrieve the the maximum height of the hierachy of creates types.
    +
    +
    getMethodByName(String) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
    +
    +
    Retrieves a method by looking at its name.
    +
    +
    getMethodByParameters(String, Class<?>...) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
    +
    +
    Retrieves a method by looking at the parameter types only.
    +
    +
    getMethodByParameters(String, Class<?>, Class<?>[]) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
    +
    +
    Retrieves a method by looking at the parameter types and return type only.
    +
    +
    getMethodByParameters(String, String, String[]) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
    +
    +
    Retrieves a method by looking at the parameter types and return type only.
    +
    +
    getMethodListByParameters(Class<?>, Class<?>[]) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
    +
    +
    Retrieves every method that has the given parameter types and return type.
    +
    +
    getMethods() - Method in class com.comphenix.protocol.reflect.FuzzyReflection
    +
    +
    Retrieves all private and public methods in declared order (after JDK 1.5).
    +
    +
    getMinimumConstructor(Class<T>) - Method in class com.comphenix.protocol.reflect.instances.DefaultInstances
    +
    +
    Retrieve the constructor with the fewest number of parameters.
    +
    +
    getModifier() - Method in class com.comphenix.protocol.events.PacketContainer
    +
    +
    Retrieves the generic structure modifier for this packet.
    +
    +
    getNewSendingIndex() - Method in class com.comphenix.protocol.async.AsyncMarker
    +
    +
    Retrieve the desired sending order after processing has completed.
    +
    +
    getOldValue() - Method in class com.comphenix.protocol.reflect.VolatileField
    +
    +
    Retrieves the field value before the previous setValue(), unless saveValue() has been called.
    +
    +
    getOriginalSendingIndex() - Method in class com.comphenix.protocol.async.AsyncMarker
    +
    +
    Retrieve the order the packet was originally transmitted.
    +
    +
    getPacket() - Method in class com.comphenix.protocol.events.PacketEvent
    +
    +
    Retrieves the packet that will be sent to the player.
    +
    +
    getPacketID() - Method in class com.comphenix.protocol.events.PacketEvent
    +
    +
    Retrieves the packet ID.
    +
    +
    getPacketID(Packet) - Method in interface com.comphenix.protocol.injector.ListenerInvoker
    +
    +
    Retrieve the associated ID of a packet.
    +
    +
    getPacketID() - Method in class com.comphenix.protocol.injector.PacketConstructor
    +
    +
    Retrieve the id of the packets this constructor creates.
    +
    +
    getPacketID(Packet) - Method in class com.comphenix.protocol.injector.PacketFilterManager
    +
     
    +
    getPacketListeners() - Method in class com.comphenix.protocol.injector.PacketFilterManager
    +
     
    +
    getPacketListeners() - Method in interface com.comphenix.protocol.ProtocolManager
    +
    +
    Retrieves a list of every registered packet listener.
    +
    +
    getPacketStream() - Method in class com.comphenix.protocol.async.AsyncFilterManager
    +
     
    +
    getPacketStream() - Method in class com.comphenix.protocol.async.AsyncMarker
    +
    +
    Retrieve the packet stream responsible for transmitting this packet.
    +
    +
    getPacketStream() - Method in interface com.comphenix.protocol.AsynchronousManager
    +
    +
    Retrieve the default packet stream.
    +
    +
    getPlayer() - Method in class com.comphenix.protocol.events.PacketEvent
    +
    +
    Retrieves the player that has sent the packet or is recieving it.
    +
    +
    getPlayerByConnection(DataInputStream) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
    +
    +
    Retrieve a player by its DataInput connection.
    +
    +
    getPlayerHook() - Method in class com.comphenix.protocol.injector.PacketFilterManager
    +
    +
    Retrieves how the server packets are read.
    +
    +
    getPlayerHook() - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
    +
    +
    Retrieves how the server packets are read.
    +
    +
    getPlayerHook(GamePhase) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
    +
    +
    Retrieves how the server packets are read.
    +
    +
    getPlugin() - Method in class com.comphenix.protocol.async.AsyncListenerHandler
    +
    +
    Retrieve the plugin associated with this async listener.
    +
    +
    getPlugin() - Method in class com.comphenix.protocol.events.MonitorAdapter
    +
     
    +
    getPlugin() - Method in class com.comphenix.protocol.events.PacketAdapter
    +
     
    +
    getPlugin() - Method in interface com.comphenix.protocol.events.PacketListener
    +
    +
    Retrieve the plugin that created list packet listener.
    +
    +
    getPlugin() - Method in class com.comphenix.protocol.injector.DelayedSingleTask
    +
    +
    Retrieve the plugin this task belongs to.
    +
    +
    getPluginName(PacketListener) - Static method in class com.comphenix.protocol.events.PacketAdapter
    +
    +
    Retrieves the name of the plugin that has been associated with the listener.
    +
    +
    getPrimitiveType(Class) - Static method in class com.comphenix.protocol.reflect.MethodUtils
    +
    +
    Gets the class for the primitive type corresponding to the primitive wrapper class given.
    +
    +
    getPrimitiveWrapper(Class) - Static method in class com.comphenix.protocol.reflect.MethodUtils
    +
    +
    Gets the wrapper object class for the given primitive type class.
    +
    +
    getPriority() - Method in class com.comphenix.protocol.events.ListeningWhitelist
    +
    +
    Retrieve the priority in the execution order of the packet listener.
    +
    +
    getPriority() - Method in class com.comphenix.protocol.injector.PrioritizedListener
    +
    +
    Retrieve the priority of this listener.
    +
    +
    getProcessingDelay() - Method in class com.comphenix.protocol.async.AsyncMarker
    +
    +
    Retrieve the number of times a packet must be signalled to be done before it's sent.
    +
    +
    getProcessingLock() - Method in class com.comphenix.protocol.async.AsyncMarker
    +
    +
    Processing lock used to synchronize access to the parent PacketEvent and PacketContainer.
    +
    +
    getProtocolManager() - Static method in class com.comphenix.protocol.ProtocolLibrary
    +
    +
    Retrieves the packet protocol manager.
    +
    +
    getQueuedSendingIndex() - Method in class com.comphenix.protocol.async.AsyncMarker
    +
    +
    Retrieve the sending index when the packet was queued.
    +
    +
    getReceivingFilters() - Method in class com.comphenix.protocol.async.AsyncFilterManager
    +
     
    +
    getReceivingFilters() - Method in interface com.comphenix.protocol.AsynchronousManager
    +
    +
    Retrieves a immutable set containing the ID of the recieved client packets that will be + observed by the asynchronous listeners.
    +
    +
    getReceivingFilters() - Method in class com.comphenix.protocol.injector.PacketFilterManager
    +
     
    +
    getReceivingFilters() - Method in interface com.comphenix.protocol.ProtocolManager
    +
    +
    Retrieves a immutable set containing the ID of the recieved client packets that will be observed by listeners.
    +
    +
    getReceivingWhitelist() - Method in class com.comphenix.protocol.events.MonitorAdapter
    +
     
    +
    getReceivingWhitelist() - Method in class com.comphenix.protocol.events.PacketAdapter
    +
     
    +
    getReceivingWhitelist() - Method in interface com.comphenix.protocol.events.PacketListener
    +
    +
    Retrieve which packets sent by the client this listener will observe.
    +
    +
    getRegistered() - Method in class com.comphenix.protocol.reflect.instances.DefaultInstances
    +
    +
    Retrieves a immutable list of every default object providers that generates instances.
    +
    +
    getRegistry() - Static method in class com.comphenix.protocol.Packets.Client
    +
    +
    A registry that parses between names and packet IDs.
    +
    +
    getRegistry() - Static method in class com.comphenix.protocol.Packets.Server
    +
    +
    A registry that parses between names and packet IDs.
    +
    +
    getSendingFilters() - Method in class com.comphenix.protocol.async.AsyncFilterManager
    +
     
    +
    getSendingFilters() - Method in interface com.comphenix.protocol.AsynchronousManager
    +
    +
    Retrieves a immutable set containing the ID of the sent server packets that will be + observed by the asynchronous listeners.
    +
    +
    getSendingFilters() - Method in class com.comphenix.protocol.injector.PacketFilterManager
    +
     
    +
    getSendingFilters() - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
    +
    +
    Retrieve the current list of registered sending listeners.
    +
    +
    getSendingFilters() - Method in interface com.comphenix.protocol.ProtocolManager
    +
    +
    Retrieves a immutable set containing the ID of the sent server packets that will be observed by listeners.
    +
    +
    getSendingWhitelist() - Method in class com.comphenix.protocol.events.MonitorAdapter
    +
     
    +
    getSendingWhitelist() - Method in class com.comphenix.protocol.events.PacketAdapter
    +
     
    +
    getSendingWhitelist() - Method in interface com.comphenix.protocol.events.PacketListener
    +
    +
    Retrieve which packets sent by the server this listener will observe.
    +
    +
    getServerPackets() - Static method in class com.comphenix.protocol.injector.PacketFilterManager
    +
    +
    Retrieve every known and supported server packet.
    +
    +
    getServerRegistry() - Static method in class com.comphenix.protocol.Packets
    +
    +
    A registry that parses between names and packet IDs.
    +
    +
    getSlot() - Method in enum com.comphenix.protocol.events.ListenerPriority
    +
    +
    A low slot represents a low priority.
    +
    +
    getSource() - Method in class com.comphenix.protocol.reflect.FuzzyReflection
    +
    +
    Retrieves the underlying class.
    +
    +
    getSpecific(Object) - Method in interface com.comphenix.protocol.reflect.EquivalentConverter
    +
     
    +
    getSpecificModifier(Class<T>) - Method in class com.comphenix.protocol.events.PacketContainer
    +
    +
    Retrieves a read/write structure for every field with the given type.
    +
    +
    getSpecificType() - Method in interface com.comphenix.protocol.reflect.EquivalentConverter
    +
     
    +
    getStatistics() - Method in class com.comphenix.protocol.ProtocolLibrary
    +
    +
    Retrieve the metrics instance used to measure users of this library.
    +
    +
    getStringDefault() - Method in class com.comphenix.protocol.reflect.instances.PrimitiveGenerator
    +
    +
    Retrieve the string default.
    +
    +
    getStructure(int) - Static method in class com.comphenix.protocol.injector.StructureCache
    +
    +
    Retrieve a cached structure modifier for the given packet id.
    +
    +
    getStructure(int, boolean) - Static method in class com.comphenix.protocol.injector.StructureCache
    +
    +
    Retrieve a cached structure modifier for the given packet id.
    +
    +
    getSupported() - Static method in class com.comphenix.protocol.Packets.Client
    +
    +
    Retrieve every client packet the current version of Minecraft is aware of.
    +
    +
    getSupported() - Static method in class com.comphenix.protocol.Packets.Server
    +
    +
    Retrieve every client packet the current version of Minecraft is aware of.
    +
    +
    getTarget() - Method in class com.comphenix.protocol.reflect.StructureModifier
    +
    +
    Retrieves the object we're currently modifying.
    +
    +
    getTargetType() - Method in class com.comphenix.protocol.reflect.StructureModifier
    +
    +
    Retrieves the type of the object we're modifying.
    +
    +
    getTaskID() - Method in class com.comphenix.protocol.injector.DelayedSingleTask
    +
    +
    Retrieve the raw task ID.
    +
    +
    getTimeout() - Method in class com.comphenix.protocol.async.AsyncMarker
    +
    +
    Retrieve the time the packet will be forcefully rejected.
    +
    +
    getUnwrappers() - Method in class com.comphenix.protocol.injector.PacketConstructor
    +
     
    +
    getValue() - Method in class com.comphenix.protocol.reflect.VolatileField
    +
    +
    Retrieves the current field value.
    +
    +
    getValues() - Method in class com.comphenix.protocol.reflect.StructureModifier
    +
    +
    Retrieve every value stored in the fields of the current type.
    +
    +
    getWhitelist() - Method in class com.comphenix.protocol.events.ListeningWhitelist
    +
    +
    Retrieves the list of packets that will be observed by the listeners.
    +
    +
    getWorkerID() - Method in class com.comphenix.protocol.async.AsyncMarker
    +
    +
    Retrieve the current worker ID.
    +
    +
    getWorkers() - Method in class com.comphenix.protocol.async.AsyncListenerHandler
    +
    +
    Retrieve the current number of registered workers.
    +
    +
    getWorldTypeModifier() - Method in class com.comphenix.protocol.events.PacketContainer
    +
    +
    Retrieves a read/write structure for the world type enum.
    +
    +
    +A B C D E F G H I K L M N O P R S T U V W 
    + +
    + + + + + +
    + + + + diff --git a/Javadoc/index-files/index-8.html b/Javadoc/index-files/index-8.html index 0a8edec6..04a32f53 100644 --- a/Javadoc/index-files/index-8.html +++ b/Javadoc/index-files/index-8.html @@ -1,146 +1,154 @@ - - - - - -H-Index - - - - - - - -
    - - - - - -
    - - -
    A B C D E F G H I K L M N O P R S T U V W  - - -

    H

    -
    -
    handle - Variable in class com.comphenix.protocol.events.PacketContainer
    -
     
    -
    HANDSHAKE - Static variable in class com.comphenix.protocol.Packets.Client
    -
     
    -
    hasAsynchronousListeners(PacketEvent) - Method in class com.comphenix.protocol.async.AsyncFilterManager
    -
     
    -
    hasAsynchronousListeners(PacketEvent) - Method in interface com.comphenix.protocol.AsynchronousManager
    -
    -
    Determine if a given synchronous packet has asynchronous listeners.
    -
    -
    hasExpired() - Method in class com.comphenix.protocol.async.AsyncMarker
    -
    -
    Determine if this packet has expired.
    -
    -
    hasExpired(long) - Method in class com.comphenix.protocol.async.AsyncMarker
    -
    -
    Determine if this packet has expired given this time.
    -
    -
    hashCode() - Method in class com.comphenix.protocol.events.ListeningWhitelist
    -
     
    -
    hashCode() - Method in class com.comphenix.protocol.injector.PrioritizedListener
    -
     
    -
    hasListener(int) - Method in class com.comphenix.protocol.injector.player.NetworkServerInjector
    -
     
    -
    hasMember(int) - Method in class com.comphenix.protocol.reflect.IntEnum
    -
    -
    Determines whether or not the given member exists.
    -
    -
    -A B C D E F G H I K L M N O P R S T U V W 
    - -
    - - - - - -
    - - - - + + + + + +H-Index + + + + + + + +
    + + + + + +
    + + +
    A B C D E F G H I K L M N O P R S T U V W  + + +

    H

    +
    +
    handle - Variable in class com.comphenix.protocol.events.PacketContainer
    +
     
    +
    HANDSHAKE - Static variable in class com.comphenix.protocol.Packets.Client
    +
     
    +
    hasAsynchronousListeners(PacketEvent) - Method in class com.comphenix.protocol.async.AsyncFilterManager
    +
     
    +
    hasAsynchronousListeners(PacketEvent) - Method in interface com.comphenix.protocol.AsynchronousManager
    +
    +
    Determine if a given synchronous packet has asynchronous listeners.
    +
    +
    hasExpired() - Method in class com.comphenix.protocol.async.AsyncMarker
    +
    +
    Determine if this packet has expired.
    +
    +
    hasExpired(long) - Method in class com.comphenix.protocol.async.AsyncMarker
    +
    +
    Determine if this packet has expired given this time.
    +
    +
    hashCode() - Method in class com.comphenix.protocol.events.ListeningWhitelist
    +
     
    +
    hashCode() - Method in class com.comphenix.protocol.injector.PrioritizedListener
    +
     
    +
    hasListener(int) - Method in class com.comphenix.protocol.injector.player.NetworkServerInjector
    +
     
    +
    hasLogin() - Method in enum com.comphenix.protocol.injector.GamePhase
    +
    +
    Determine if the current value represents the login phase.
    +
    +
    hasMember(int) - Method in class com.comphenix.protocol.reflect.IntEnum
    +
    +
    Determines whether or not the given member exists.
    +
    +
    hasPlaying() - Method in enum com.comphenix.protocol.injector.GamePhase
    +
    +
    Determine if the current value represents the playing phase.
    +
    +
    +A B C D E F G H I K L M N O P R S T U V W 
    + +
    + + + + + +
    + + + + diff --git a/Javadoc/index-files/index-9.html b/Javadoc/index-files/index-9.html index 543a347a..8f2052cd 100644 --- a/Javadoc/index-files/index-9.html +++ b/Javadoc/index-files/index-9.html @@ -1,335 +1,343 @@ - - - - - -I-Index - - - - - - - -
    - - - - - -
    - - -
    A B C D E F G H I K L M N O P R S T U V W  - - -

    I

    -
    -
    id - Variable in class com.comphenix.protocol.events.PacketContainer
    -
     
    -
    incrementProcessingDelay() - Method in class com.comphenix.protocol.async.AsyncMarker
    -
    -
    Increment the number of times this packet must be signalled as done before its transmitted.
    -
    -
    initialize() - Method in class com.comphenix.protocol.injector.player.NetworkServerInjector
    -
     
    -
    initialize(StructureModifier<TField>) - Method in class com.comphenix.protocol.reflect.StructureModifier
    -
    -
    Initialize using the same field types.
    -
    -
    initialize(Class, Class, List<Field>, Map<Field, Integer>, EquivalentConverter<TField>, Map<Class, StructureModifier>) - Method in class com.comphenix.protocol.reflect.StructureModifier
    -
    -
    Initialize every field of this class.
    -
    -
    initializePlayers(Player[]) - Method in class com.comphenix.protocol.injector.PacketFilterManager
    -
    -
    Initialize the packet injection for every player.
    -
    -
    injectManager() - Method in class com.comphenix.protocol.injector.player.NetworkServerInjector
    -
     
    -
    injectPlayer(Player) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
    -
    -
    Initialize a player hook, allowing us to read server packets.
    -
    -
    INSTANCE - Static variable in class com.comphenix.protocol.reflect.instances.CollectionGenerator
    -
    -
    Shared instance of this generator.
    -
    -
    INSTANCE - Static variable in class com.comphenix.protocol.reflect.instances.PrimitiveGenerator
    -
    -
    Shared instance of this generator.
    -
    -
    InstanceProvider - Interface in com.comphenix.protocol.reflect.instances
    -
    -
    Represents a type generator for specific types.
    -
    -
    IntEnum - Class in com.comphenix.protocol.reflect
    -
    -
    Represents a traditional int field enum.
    -
    -
    IntEnum() - Constructor for class com.comphenix.protocol.reflect.IntEnum
    -
    -
    Registers every declared integer field.
    -
    -
    invokeExactMethod(Object, String, Object) - Static method in class com.comphenix.protocol.reflect.MethodUtils
    -
    -
    Invoke a method whose parameter type matches exactly the object - type.
    -
    -
    invokeExactMethod(Object, String, Object[]) - Static method in class com.comphenix.protocol.reflect.MethodUtils
    -
    -
    Invoke a method whose parameter types match exactly the object - types.
    -
    -
    invokeExactMethod(Object, String, Object[], Class[]) - Static method in class com.comphenix.protocol.reflect.MethodUtils
    -
    -
    Invoke a method whose parameter types match exactly the parameter - types given.
    -
    -
    invokeExactStaticMethod(Class, String, Object[], Class[]) - Static method in class com.comphenix.protocol.reflect.MethodUtils
    -
    -
    Invoke a static method whose parameter types match exactly the parameter - types given.
    -
    -
    invokeExactStaticMethod(Class, String, Object) - Static method in class com.comphenix.protocol.reflect.MethodUtils
    -
    -
    Invoke a static method whose parameter type matches exactly the object - type.
    -
    -
    invokeExactStaticMethod(Class, String, Object[]) - Static method in class com.comphenix.protocol.reflect.MethodUtils
    -
    -
    Invoke a static method whose parameter types match exactly the object - types.
    -
    -
    invokeMethod(Object, String, Object) - Static method in class com.comphenix.protocol.reflect.MethodUtils
    -
    -
    Invoke a named method whose parameter type matches the object type.
    -
    -
    invokeMethod(Object, String, Object[]) - Static method in class com.comphenix.protocol.reflect.MethodUtils
    -
    -
    Invoke a named method whose parameter type matches the object type.
    -
    -
    invokeMethod(Object, String, Object[], Class[]) - Static method in class com.comphenix.protocol.reflect.MethodUtils
    -
    -
    Invoke a named method whose parameter type matches the object type.
    -
    -
    invokePacketRecieving(PacketEvent) - Method in interface com.comphenix.protocol.injector.ListenerInvoker
    -
    -
    Invokes the given packet event for every registered listener.
    -
    -
    invokePacketRecieving(PacketEvent) - Method in class com.comphenix.protocol.injector.PacketFilterManager
    -
     
    -
    invokePacketSending(PacketEvent) - Method in interface com.comphenix.protocol.injector.ListenerInvoker
    -
    -
    Invokes the given packet event for every registered listener.
    -
    -
    invokePacketSending(PacketEvent) - Method in class com.comphenix.protocol.injector.PacketFilterManager
    -
     
    -
    invokeStaticMethod(Class, String, Object) - Static method in class com.comphenix.protocol.reflect.MethodUtils
    -
    -
    Invoke a named static method whose parameter type matches the object type.
    -
    -
    invokeStaticMethod(Class, String, Object[]) - Static method in class com.comphenix.protocol.reflect.MethodUtils
    -
    -
    Invoke a named static method whose parameter type matches the object type.
    -
    -
    invokeStaticMethod(Class, String, Object[], Class[]) - Static method in class com.comphenix.protocol.reflect.MethodUtils
    -
    -
    Invoke a named static method whose parameter type matches the object type.
    -
    -
    isAssignmentCompatible(Class, Class) - Static method in class com.comphenix.protocol.reflect.MethodUtils
    -
    -
    Determine whether a type can be used as a parameter in a method invocation.
    -
    -
    isAsyncCancelled() - Method in class com.comphenix.protocol.async.AsyncMarker
    -
    -
    Determine if the asynchronous handling should be cancelled.
    -
    -
    isAsynchronous() - Method in class com.comphenix.protocol.events.PacketEvent
    -
    -
    Determine if the packet event has been executed asynchronously or not.
    -
    -
    isCancelled() - Method in class com.comphenix.protocol.async.AsyncListenerHandler
    -
     
    -
    isCancelled() - Method in class com.comphenix.protocol.events.PacketEvent
    -
    -
    Retrieves whether or not the packet should be cancelled.
    -
    -
    isClosed() - Method in class com.comphenix.protocol.injector.PacketFilterManager
    -
     
    -
    isClosed() - Method in interface com.comphenix.protocol.ProtocolManager
    -
    -
    Determines whether or not this protocol mananger has been disabled.
    -
    -
    isCurrentSet() - Method in class com.comphenix.protocol.reflect.VolatileField
    -
    -
    Determine whether or not we'll need to revert the value.
    -
    -
    isEmpty() - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
    -
     
    -
    isEnabled() - Method in class com.comphenix.protocol.events.ListeningWhitelist
    -
    -
    Whether or not this whitelist has any enabled packets.
    -
    -
    isEnabled() - Method in class com.comphenix.protocol.reflect.compiler.BackgroundCompiler
    -
    -
    Retrieve whether or not the background compiler is enabled.
    -
    -
    isFinished() - Method in interface com.comphenix.protocol.async.AsyncRunnable
    -
    -
    Determine if this runnable has already run its course.
    -
    -
    isForceAccess() - Method in class com.comphenix.protocol.reflect.FuzzyReflection
    -
    -
    Retrieves whether or not not to override any scope restrictions.
    -
    -
    isForceAccess() - Method in class com.comphenix.protocol.reflect.VolatileField
    -
    -
    Retrieves whether or not not to override any scope restrictions.
    -
    -
    isForClient() - Method in enum com.comphenix.protocol.events.ConnectionSide
    -
     
    -
    isForServer() - Method in enum com.comphenix.protocol.events.ConnectionSide
    -
     
    -
    isMinecraftAsync(PacketEvent) - Method in class com.comphenix.protocol.async.AsyncMarker
    -
    -
    Determine if Minecraft allows asynchronous processing of this packet.
    -
    -
    isNonNull() - Method in class com.comphenix.protocol.reflect.instances.DefaultInstances
    -
    -
    Retrieve whether or not the constructor's parameters must be non-null.
    -
    -
    isPrimitive(Type) - Static method in class com.comphenix.protocol.reflect.PrimitiveUtils
    -
    -
    Returns true if this type is a primitive.
    -
    -
    isProcessed() - Method in class com.comphenix.protocol.async.AsyncMarker
    -
    -
    Retrieve whether or not this packet has been processed by the async listeners.
    -
    -
    isQueued() - Method in class com.comphenix.protocol.async.AsyncMarker
    -
    -
    Whether or not this packet is or has been queued for processing.
    -
    -
    isRunning() - Method in interface com.comphenix.protocol.async.AsyncRunnable
    -
    -
    Determine if we're running or not.
    -
    -
    isServerPacket() - Method in class com.comphenix.protocol.events.PacketEvent
    -
    -
    Whether or not this packet was created by the server.
    -
    -
    isSupported(int) - Static method in class com.comphenix.protocol.Packets.Client
    -
    -
    Determine if the given packet is a valid client packet in the current version of Minecraft.
    -
    -
    isSupported(int) - Static method in class com.comphenix.protocol.Packets.Server
    -
    -
    Determine if the given packet is a valid server packet in the current version of Minecraft.
    -
    -
    isTransmitted() - Method in class com.comphenix.protocol.async.AsyncMarker
    -
    -
    Retrieve whether or not this packet has already been sent.
    -
    -
    isWrapperType(Type) - Static method in class com.comphenix.protocol.reflect.PrimitiveUtils
    -
    -
    Returns true if type is one of the nine primitive-wrapper - types, such as Integer.
    -
    -
    ITEM_DATA - Static variable in class com.comphenix.protocol.Packets.Server
    -
     
    -
    iterator() - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
    -
    -
    Retrieves an iterator over the elements in the given list.
    -
    -
    -A B C D E F G H I K L M N O P R S T U V W 
    - -
    - - - - - -
    - - - - + + + + + +I-Index + + + + + + + +
    + + + + + +
    + + +
    A B C D E F G H I K L M N O P R S T U V W  + + +

    I

    +
    +
    id - Variable in class com.comphenix.protocol.events.PacketContainer
    +
     
    +
    incrementProcessingDelay() - Method in class com.comphenix.protocol.async.AsyncMarker
    +
    +
    Increment the number of times this packet must be signalled as done before its transmitted.
    +
    +
    initialize(Object) - Method in class com.comphenix.protocol.injector.player.NetworkServerInjector
    +
     
    +
    initialize(StructureModifier<TField>) - Method in class com.comphenix.protocol.reflect.StructureModifier
    +
    +
    Initialize using the same field types.
    +
    +
    initialize(Class, Class, List<Field>, Map<Field, Integer>, EquivalentConverter<TField>, Map<Class, StructureModifier>) - Method in class com.comphenix.protocol.reflect.StructureModifier
    +
    +
    Initialize every field of this class.
    +
    +
    initializePlayers(Player[]) - Method in class com.comphenix.protocol.injector.PacketFilterManager
    +
    +
    Initialize the packet injection for every player.
    +
    +
    injectManager() - Method in class com.comphenix.protocol.injector.player.NetworkServerInjector
    +
     
    +
    injectPlayer(Player) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
    +
    +
    Initialize a player hook, allowing us to read server packets.
    +
    +
    INSTANCE - Static variable in class com.comphenix.protocol.reflect.instances.CollectionGenerator
    +
    +
    Shared instance of this generator.
    +
    +
    INSTANCE - Static variable in class com.comphenix.protocol.reflect.instances.PrimitiveGenerator
    +
    +
    Shared instance of this generator.
    +
    +
    InstanceProvider - Interface in com.comphenix.protocol.reflect.instances
    +
    +
    Represents a type generator for specific types.
    +
    +
    IntEnum - Class in com.comphenix.protocol.reflect
    +
    +
    Represents a traditional int field enum.
    +
    +
    IntEnum() - Constructor for class com.comphenix.protocol.reflect.IntEnum
    +
    +
    Registers every declared integer field.
    +
    +
    invokeExactMethod(Object, String, Object) - Static method in class com.comphenix.protocol.reflect.MethodUtils
    +
    +
    Invoke a method whose parameter type matches exactly the object + type.
    +
    +
    invokeExactMethod(Object, String, Object[]) - Static method in class com.comphenix.protocol.reflect.MethodUtils
    +
    +
    Invoke a method whose parameter types match exactly the object + types.
    +
    +
    invokeExactMethod(Object, String, Object[], Class[]) - Static method in class com.comphenix.protocol.reflect.MethodUtils
    +
    +
    Invoke a method whose parameter types match exactly the parameter + types given.
    +
    +
    invokeExactStaticMethod(Class, String, Object[], Class[]) - Static method in class com.comphenix.protocol.reflect.MethodUtils
    +
    +
    Invoke a static method whose parameter types match exactly the parameter + types given.
    +
    +
    invokeExactStaticMethod(Class, String, Object) - Static method in class com.comphenix.protocol.reflect.MethodUtils
    +
    +
    Invoke a static method whose parameter type matches exactly the object + type.
    +
    +
    invokeExactStaticMethod(Class, String, Object[]) - Static method in class com.comphenix.protocol.reflect.MethodUtils
    +
    +
    Invoke a static method whose parameter types match exactly the object + types.
    +
    +
    invokeMethod(Object, String, Object) - Static method in class com.comphenix.protocol.reflect.MethodUtils
    +
    +
    Invoke a named method whose parameter type matches the object type.
    +
    +
    invokeMethod(Object, String, Object[]) - Static method in class com.comphenix.protocol.reflect.MethodUtils
    +
    +
    Invoke a named method whose parameter type matches the object type.
    +
    +
    invokeMethod(Object, String, Object[], Class[]) - Static method in class com.comphenix.protocol.reflect.MethodUtils
    +
    +
    Invoke a named method whose parameter type matches the object type.
    +
    +
    invokePacketRecieving(PacketEvent) - Method in interface com.comphenix.protocol.injector.ListenerInvoker
    +
    +
    Invokes the given packet event for every registered listener.
    +
    +
    invokePacketRecieving(PacketEvent) - Method in class com.comphenix.protocol.injector.PacketFilterManager
    +
     
    +
    invokePacketSending(PacketEvent) - Method in interface com.comphenix.protocol.injector.ListenerInvoker
    +
    +
    Invokes the given packet event for every registered listener.
    +
    +
    invokePacketSending(PacketEvent) - Method in class com.comphenix.protocol.injector.PacketFilterManager
    +
     
    +
    invokeStaticMethod(Class, String, Object) - Static method in class com.comphenix.protocol.reflect.MethodUtils
    +
    +
    Invoke a named static method whose parameter type matches the object type.
    +
    +
    invokeStaticMethod(Class, String, Object[]) - Static method in class com.comphenix.protocol.reflect.MethodUtils
    +
    +
    Invoke a named static method whose parameter type matches the object type.
    +
    +
    invokeStaticMethod(Class, String, Object[], Class[]) - Static method in class com.comphenix.protocol.reflect.MethodUtils
    +
    +
    Invoke a named static method whose parameter type matches the object type.
    +
    +
    isAssignmentCompatible(Class, Class) - Static method in class com.comphenix.protocol.reflect.MethodUtils
    +
    +
    Determine whether a type can be used as a parameter in a method invocation.
    +
    +
    isAsyncCancelled() - Method in class com.comphenix.protocol.async.AsyncMarker
    +
    +
    Determine if the asynchronous handling should be cancelled.
    +
    +
    isAsynchronous() - Method in class com.comphenix.protocol.events.PacketEvent
    +
    +
    Determine if the packet event has been executed asynchronously or not.
    +
    +
    isCancelled() - Method in class com.comphenix.protocol.async.AsyncListenerHandler
    +
     
    +
    isCancelled() - Method in class com.comphenix.protocol.events.PacketEvent
    +
    +
    Retrieves whether or not the packet should be cancelled.
    +
    +
    isClosed() - Method in class com.comphenix.protocol.injector.PacketFilterManager
    +
     
    +
    isClosed() - Method in interface com.comphenix.protocol.ProtocolManager
    +
    +
    Determines whether or not this protocol mananger has been disabled.
    +
    +
    isCurrentSet() - Method in class com.comphenix.protocol.reflect.VolatileField
    +
    +
    Determine whether or not we'll need to revert the value.
    +
    +
    isEmpty() - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
    +
     
    +
    isEnabled() - Method in class com.comphenix.protocol.events.ListeningWhitelist
    +
    +
    Whether or not this whitelist has any enabled packets.
    +
    +
    isEnabled() - Method in class com.comphenix.protocol.reflect.compiler.BackgroundCompiler
    +
    +
    Retrieve whether or not the background compiler is enabled.
    +
    +
    isFinished() - Method in interface com.comphenix.protocol.async.AsyncRunnable
    +
    +
    Determine if this runnable has already run its course.
    +
    +
    isForceAccess() - Method in class com.comphenix.protocol.reflect.FuzzyReflection
    +
    +
    Retrieves whether or not not to override any scope restrictions.
    +
    +
    isForceAccess() - Method in class com.comphenix.protocol.reflect.VolatileField
    +
    +
    Retrieves whether or not not to override any scope restrictions.
    +
    +
    isForClient() - Method in enum com.comphenix.protocol.events.ConnectionSide
    +
     
    +
    isForServer() - Method in enum com.comphenix.protocol.events.ConnectionSide
    +
     
    +
    isInjectionNecessary(GamePhase) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
    +
    +
    Determine if it's truly necessary to perform the given player injection.
    +
    +
    isMinecraftAsync(PacketEvent) - Method in class com.comphenix.protocol.async.AsyncMarker
    +
    +
    Determine if Minecraft allows asynchronous processing of this packet.
    +
    +
    isNonNull() - Method in class com.comphenix.protocol.reflect.instances.DefaultInstances
    +
    +
    Retrieve whether or not the constructor's parameters must be non-null.
    +
    +
    isPrimitive(Type) - Static method in class com.comphenix.protocol.reflect.PrimitiveUtils
    +
    +
    Returns true if this type is a primitive.
    +
    +
    isProcessed() - Method in class com.comphenix.protocol.async.AsyncMarker
    +
    +
    Retrieve whether or not this packet has been processed by the async listeners.
    +
    +
    isQueued() - Method in class com.comphenix.protocol.async.AsyncMarker
    +
    +
    Whether or not this packet is or has been queued for processing.
    +
    +
    isRunning() - Method in interface com.comphenix.protocol.async.AsyncRunnable
    +
    +
    Determine if we're running or not.
    +
    +
    isRunning() - Method in class com.comphenix.protocol.injector.DelayedSingleTask
    +
    +
    Whether or not a future task is scheduled to be executed.
    +
    +
    isServerPacket() - Method in class com.comphenix.protocol.events.PacketEvent
    +
    +
    Whether or not this packet was created by the server.
    +
    +
    isSupported(int) - Static method in class com.comphenix.protocol.Packets.Client
    +
    +
    Determine if the given packet is a valid client packet in the current version of Minecraft.
    +
    +
    isSupported(int) - Static method in class com.comphenix.protocol.Packets.Server
    +
    +
    Determine if the given packet is a valid server packet in the current version of Minecraft.
    +
    +
    isTransmitted() - Method in class com.comphenix.protocol.async.AsyncMarker
    +
    +
    Retrieve whether or not this packet has already been sent.
    +
    +
    isWrapperType(Type) - Static method in class com.comphenix.protocol.reflect.PrimitiveUtils
    +
    +
    Returns true if type is one of the nine primitive-wrapper + types, such as Integer.
    +
    +
    ITEM_DATA - Static variable in class com.comphenix.protocol.Packets.Server
    +
     
    +
    iterator() - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
    +
    +
    Retrieves an iterator over the elements in the given list.
    +
    +
    +A B C D E F G H I K L M N O P R S T U V W 
    + +
    + + + + + +
    + + + + diff --git a/Javadoc/index.html b/Javadoc/index.html index 8bf3bfe0..b2575f12 100644 --- a/Javadoc/index.html +++ b/Javadoc/index.html @@ -1,33 +1,33 @@ - - - - - -Generated Documentation (Untitled) - - - - - - - - - -<noscript> -<div>JavaScript is disabled on your browser.</div> -</noscript> -<h2>Frame Alert</h2> -<p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame version</a>.</p> - - - + + + + + +Generated Documentation (Untitled) + + + + + + + + + +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<h2>Frame Alert</h2> +<p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame version</a>.</p> + + + diff --git a/Javadoc/overview-frame.html b/Javadoc/overview-frame.html index b356b4f9..5ad129bf 100644 --- a/Javadoc/overview-frame.html +++ b/Javadoc/overview-frame.html @@ -1,29 +1,29 @@ - - - - - -Overview List - - - - - - -

     

    - - + + + + + +Overview List + + + + + + +

     

    + + diff --git a/Javadoc/overview-summary.html b/Javadoc/overview-summary.html index 4e33ec9b..79cb91b7 100644 --- a/Javadoc/overview-summary.html +++ b/Javadoc/overview-summary.html @@ -1,162 +1,162 @@ - - - - - -Overview - - - - - - - -
    - - - - - -
    - - - - -
    - - - - - -
    - - - - + + + + + +Overview + + + + + + + +
    + + + + + +
    + + + + +
    + + + + + +
    + + + + diff --git a/Javadoc/overview-tree.html b/Javadoc/overview-tree.html index 56024fd9..20bac17a 100644 --- a/Javadoc/overview-tree.html +++ b/Javadoc/overview-tree.html @@ -1,241 +1,244 @@ - - - - - -Class Hierarchy - - - - - - - -
    - - - - - -
    - - - -
    -

    Class Hierarchy

    - -

    Interface Hierarchy

    - -

    Enum Hierarchy

    - -
    - -
    - - - - - -
    - - - - + + + + + +Class Hierarchy + + + + + + + +
    + + + + + +
    + + + +
    +

    Class Hierarchy

    + +

    Interface Hierarchy

    + +

    Enum Hierarchy

    + +
    + +
    + + + + + +
    + + + + diff --git a/Javadoc/package-list b/Javadoc/package-list index a98acb1d..d32cab0d 100644 --- a/Javadoc/package-list +++ b/Javadoc/package-list @@ -1,10 +1,10 @@ -com.comphenix.protocol -com.comphenix.protocol.async -com.comphenix.protocol.concurrency -com.comphenix.protocol.events -com.comphenix.protocol.injector -com.comphenix.protocol.injector.player -com.comphenix.protocol.metrics -com.comphenix.protocol.reflect -com.comphenix.protocol.reflect.compiler -com.comphenix.protocol.reflect.instances +com.comphenix.protocol +com.comphenix.protocol.async +com.comphenix.protocol.concurrency +com.comphenix.protocol.events +com.comphenix.protocol.injector +com.comphenix.protocol.injector.player +com.comphenix.protocol.metrics +com.comphenix.protocol.reflect +com.comphenix.protocol.reflect.compiler +com.comphenix.protocol.reflect.instances diff --git a/Javadoc/serialized-form.html b/Javadoc/serialized-form.html index c0a810c3..5083cdf1 100644 --- a/Javadoc/serialized-form.html +++ b/Javadoc/serialized-form.html @@ -1,336 +1,328 @@ - - - - - -Serialized Form - - - - - - - -
    - - - - - -
    - - -
    -

    Serialized Form

    -
    -
    -
      -
    • -

      Package com.comphenix.protocol.async

      -
        -
      • - - -

        Class com.comphenix.protocol.async.AsyncMarker extends java.lang.Object implements Serializable

        -
        -
        serialVersionUID:
        -
        -2621498096616187384L
        -
        -
          -
        • - - -

          Serialized Fields

          -
            -
          • -

            initialTime

            -
            long initialTime
            -
          • -
          • -

            timeout

            -
            long timeout
            -
          • -
          • -

            originalSendingIndex

            -
            long originalSendingIndex
            -
          • -
          • -

            newSendingIndex

            -
            long newSendingIndex
            -
          • -
          • -

            queuedSendingIndex

            -
            java.lang.Long queuedSendingIndex
            -
          • -
          • -

            processed

            -
            boolean processed
            -
          • -
          • -

            transmitted

            -
            boolean transmitted
            -
          • -
          • -

            asyncCancelled

            -
            boolean asyncCancelled
            -
          • -
          • -

            processingDelay

            -
            java.util.concurrent.atomic.AtomicInteger processingDelay
            -
          • -
          • -

            processingLock

            -
            java.lang.Object processingLock
            -
          • -
          • -

            listenerHandler

            -
            AsyncListenerHandler listenerHandler
            -
          • -
          • -

            workerID

            -
            int workerID
            -
          • -
          -
        • -
        -
      • -
      -
    • -
    • -

      Package com.comphenix.protocol.events

      -
        -
      • - - -

        Class com.comphenix.protocol.events.PacketContainer extends java.lang.Object implements Serializable

        -
        -
        serialVersionUID:
        -
        2074805748222377230L
        -
        -
          -
        • - - -

          Serialization Methods

          -
            -
          • - - -

            readObject

            -
            private void readObject(java.io.ObjectInputStream input)
            -                 throws java.lang.ClassNotFoundException,
            -                        java.io.IOException
            -
            Throws:
            -
            java.lang.ClassNotFoundException
            -
            java.io.IOException
            -
          • -
          • - - -

            writeObject

            -
            private void writeObject(java.io.ObjectOutputStream output)
            -                  throws java.io.IOException
            -
            Throws:
            -
            java.io.IOException
            -
          • -
          -
        • -
        • - - -

          Serialized Fields

          -
            -
          • -

            id

            -
            int id
            -
          • -
          -
        • -
        -
      • -
      • - - -

        Class com.comphenix.protocol.events.PacketEvent extends java.util.EventObject implements Serializable

        -
        -
        serialVersionUID:
        -
        -5360289379097430620L
        -
        -
          -
        • - - -

          Serialization Methods

          -
            -
          • - - -

            readObject

            -
            private void readObject(java.io.ObjectInputStream input)
            -                 throws java.lang.ClassNotFoundException,
            -                        java.io.IOException
            -
            Throws:
            -
            java.lang.ClassNotFoundException
            -
            java.io.IOException
            -
          • -
          • - - -

            writeObject

            -
            private void writeObject(java.io.ObjectOutputStream output)
            -                  throws java.io.IOException
            -
            Throws:
            -
            java.io.IOException
            -
          • -
          -
        • -
        • - - -

          Serialized Fields

          -
            -
          • -

            packet

            -
            PacketContainer packet
            -
          • -
          • -

            serverPacket

            -
            boolean serverPacket
            -
          • -
          • -

            cancel

            -
            boolean cancel
            -
          • -
          • -

            asyncMarker

            -
            AsyncMarker asyncMarker
            -
          • -
          • -

            asynchronous

            -
            boolean asynchronous
            -
          • -
          -
        • -
        -
      • -
      -
    • -
    • -

      Package com.comphenix.protocol.injector

      - -
    • -
    • -

      Package com.comphenix.protocol.reflect

      - -
    • -
    -
    - -
    - - - - - -
    - - - - + + + + + +Serialized Form + + + + + + + +
    + + + + + +
    + + +
    +

    Serialized Form

    +
    +
    +
      +
    • +

      Package com.comphenix.protocol.async

      +
        +
      • + + +

        Class com.comphenix.protocol.async.AsyncMarker extends java.lang.Object implements Serializable

        +
        +
        serialVersionUID:
        +
        -2621498096616187384L
        +
        +
          +
        • + + +

          Serialized Fields

          +
            +
          • +

            initialTime

            +
            long initialTime
            +
          • +
          • +

            timeout

            +
            long timeout
            +
          • +
          • +

            originalSendingIndex

            +
            long originalSendingIndex
            +
          • +
          • +

            newSendingIndex

            +
            long newSendingIndex
            +
          • +
          • +

            queuedSendingIndex

            +
            java.lang.Long queuedSendingIndex
            +
          • +
          • +

            processed

            +
            boolean processed
            +
          • +
          • +

            transmitted

            +
            boolean transmitted
            +
          • +
          • +

            asyncCancelled

            +
            boolean asyncCancelled
            +
          • +
          • +

            processingDelay

            +
            java.util.concurrent.atomic.AtomicInteger processingDelay
            +
          • +
          • +

            processingLock

            +
            java.lang.Object processingLock
            +
          • +
          +
        • +
        +
      • +
      +
    • +
    • +

      Package com.comphenix.protocol.events

      +
        +
      • + + +

        Class com.comphenix.protocol.events.PacketContainer extends java.lang.Object implements Serializable

        +
        +
        serialVersionUID:
        +
        2074805748222377230L
        +
        +
          +
        • + + +

          Serialization Methods

          +
            +
          • + + +

            readObject

            +
            private void readObject(java.io.ObjectInputStream input)
            +                 throws java.lang.ClassNotFoundException,
            +                        java.io.IOException
            +
            Throws:
            +
            java.lang.ClassNotFoundException
            +
            java.io.IOException
            +
          • +
          • + + +

            writeObject

            +
            private void writeObject(java.io.ObjectOutputStream output)
            +                  throws java.io.IOException
            +
            Throws:
            +
            java.io.IOException
            +
          • +
          +
        • +
        • + + +

          Serialized Fields

          +
            +
          • +

            id

            +
            int id
            +
          • +
          +
        • +
        +
      • +
      • + + +

        Class com.comphenix.protocol.events.PacketEvent extends java.util.EventObject implements Serializable

        +
        +
        serialVersionUID:
        +
        -5360289379097430620L
        +
        +
          +
        • + + +

          Serialization Methods

          +
            +
          • + + +

            readObject

            +
            private void readObject(java.io.ObjectInputStream input)
            +                 throws java.lang.ClassNotFoundException,
            +                        java.io.IOException
            +
            Throws:
            +
            java.lang.ClassNotFoundException
            +
            java.io.IOException
            +
          • +
          • + + +

            writeObject

            +
            private void writeObject(java.io.ObjectOutputStream output)
            +                  throws java.io.IOException
            +
            Throws:
            +
            java.io.IOException
            +
          • +
          +
        • +
        • + + +

          Serialized Fields

          +
            +
          • +

            packet

            +
            PacketContainer packet
            +
          • +
          • +

            serverPacket

            +
            boolean serverPacket
            +
          • +
          • +

            cancel

            +
            boolean cancel
            +
          • +
          • +

            asyncMarker

            +
            AsyncMarker asyncMarker
            +
          • +
          • +

            asynchronous

            +
            boolean asynchronous
            +
          • +
          +
        • +
        +
      • +
      +
    • +
    • +

      Package com.comphenix.protocol.injector

      + +
    • +
    • +

      Package com.comphenix.protocol.reflect

      + +
    • +
    +
    + +
    + + + + + +
    + + + + From 32ed35d409e91c50d732bcceaed9785af430f4db Mon Sep 17 00:00:00 2001 From: "Kristian S. Stangeland" Date: Wed, 17 Oct 2012 08:11:11 +0200 Subject: [PATCH 10/30] Adding GamePhase too. --- .../protocol/injector/GamePhase.html | 379 ++++++++++++++++++ 1 file changed, 379 insertions(+) create mode 100644 Javadoc/com/comphenix/protocol/injector/GamePhase.html diff --git a/Javadoc/com/comphenix/protocol/injector/GamePhase.html b/Javadoc/com/comphenix/protocol/injector/GamePhase.html new file mode 100644 index 00000000..723cf8bc --- /dev/null +++ b/Javadoc/com/comphenix/protocol/injector/GamePhase.html @@ -0,0 +1,379 @@ + + + + + +GamePhase + + + + + + + + + + + +
    +
    com.comphenix.protocol.injector
    +

    Enum GamePhase

    +
    +
    +
      +
    • java.lang.Object
    • +
    • +
        +
      • java.lang.Enum<GamePhase>
      • +
      • +
          +
        • com.comphenix.protocol.injector.GamePhase
        • +
        +
      • +
      +
    • +
    +
    +
      +
    • +
      +
      All Implemented Interfaces:
      +
      java.io.Serializable, java.lang.Comparable<GamePhase>
      +
      +
      +
      +
      public enum GamePhase
      +extends java.lang.Enum<GamePhase>
      +
      The current player phase. This is used to limit the number of different injections.
      +
      Author:
      +
      Kristian
      +
    • +
    +
    +
    +
      +
    • + +
        +
      • + + +

        Enum Constant Summary

        + + + + + + + + + + + + + + +
        Enum Constants 
        Enum Constant and Description
        BOTH +
        Listen for every sent and received packet.
        +
        LOGIN +
        Only listen for packets sent or received before a player has logged in.
        +
        PLAYING +
        Only listen for packets sent or received after a player has logged in.
        +
        +
      • +
      + +
        +
      • + + +

        Method Summary

        + + + + + + + + + + + + + + + + + + + + + + +
        Methods 
        Modifier and TypeMethod and Description
        booleanhasLogin() +
        Determine if the current value represents the login phase.
        +
        booleanhasPlaying() +
        Determine if the current value represents the playing phase.
        +
        static GamePhasevalueOf(java.lang.String name) +
        Returns the enum constant of this type with the specified name.
        +
        static GamePhase[]values() +
        Returns an array containing the constants of this enum type, in +the order they are declared.
        +
        +
          +
        • + + +

          Methods inherited from class java.lang.Enum

          +clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
        • +
        +
          +
        • + + +

          Methods inherited from class java.lang.Object

          +getClass, notify, notifyAll, wait, wait, wait
        • +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + +
        +
      • + + +

        Enum Constant Detail

        + + + +
          +
        • +

          LOGIN

          +
          public static final GamePhase LOGIN
          +
          Only listen for packets sent or received before a player has logged in.
          +
        • +
        + + + +
          +
        • +

          PLAYING

          +
          public static final GamePhase PLAYING
          +
          Only listen for packets sent or received after a player has logged in.
          +
        • +
        + + + +
          +
        • +

          BOTH

          +
          public static final GamePhase BOTH
          +
          Listen for every sent and received packet.
          +
        • +
        +
      • +
      + +
        +
      • + + +

        Method Detail

        + + + +
          +
        • +

          values

          +
          public static GamePhase[] values()
          +
          Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
          +for (GamePhase c : GamePhase.values())
          +    System.out.println(c);
          +
          +
          Returns:
          an array containing the constants of this enum type, in +the order they are declared
          +
        • +
        + + + +
          +
        • +

          valueOf

          +
          public static GamePhase valueOf(java.lang.String name)
          +
          Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
          +
          Parameters:
          name - the name of the enum constant to be returned.
          +
          Returns:
          the enum constant with the specified name
          +
          Throws:
          +
          java.lang.IllegalArgumentException - if this enum type has no constant +with the specified name
          +
          java.lang.NullPointerException - if the argument is null
          +
        • +
        + + + +
          +
        • +

          hasLogin

          +
          public boolean hasLogin()
          +
          Determine if the current value represents the login phase.
          +
          Returns:
          TRUE if it does, FALSE otherwise.
          +
        • +
        + + + +
          +
        • +

          hasPlaying

          +
          public boolean hasPlaying()
          +
          Determine if the current value represents the playing phase.
          +
          Returns:
          TRUE if it does, FALSE otherwise.
          +
        • +
        +
      • +
      +
    • +
    +
    +
    + + + + + + + From f8a8a645ebc7b4d3105803bbae85400910fcf1fa Mon Sep 17 00:00:00 2001 From: "Kristian S. Stangeland" Date: Wed, 17 Oct 2012 08:16:18 +0200 Subject: [PATCH 11/30] Added JavaDoc again. What the ... feels like everything is falling apart. --- Javadoc/allclasses-frame.html | 2 +- Javadoc/allclasses-noframe.html | 2 +- .../com/comphenix/protocol/Application.html | 2 +- .../protocol/AsynchronousManager.html | 2 +- .../com/comphenix/protocol/PacketStream.html | 2 +- .../comphenix/protocol/Packets.Client.html | 2 +- .../comphenix/protocol/Packets.Server.html | 2 +- Javadoc/com/comphenix/protocol/Packets.html | 2 +- .../comphenix/protocol/ProtocolLibrary.html | 2 +- .../comphenix/protocol/ProtocolManager.html | 2 +- .../protocol/async/AsyncFilterManager.html | 2 +- .../protocol/async/AsyncListenerHandler.html | 2 +- .../comphenix/protocol/async/AsyncMarker.html | 2 +- .../protocol/async/AsyncRunnable.html | 2 +- .../async/class-use/AsyncFilterManager.html | 2 +- .../async/class-use/AsyncListenerHandler.html | 2 +- .../protocol/async/class-use/AsyncMarker.html | 2 +- .../async/class-use/AsyncRunnable.html | 2 +- .../protocol/async/package-frame.html | 2 +- .../protocol/async/package-summary.html | 2 +- .../protocol/async/package-tree.html | 2 +- .../comphenix/protocol/async/package-use.html | 2 +- .../protocol/class-use/Application.html | 2 +- .../class-use/AsynchronousManager.html | 2 +- .../protocol/class-use/PacketStream.html | 2 +- .../protocol/class-use/Packets.Client.html | 2 +- .../protocol/class-use/Packets.Server.html | 2 +- .../comphenix/protocol/class-use/Packets.html | 2 +- .../protocol/class-use/ProtocolLibrary.html | 2 +- .../protocol/class-use/ProtocolManager.html | 2 +- .../AbstractConcurrentListenerMultimap.html | 2 +- .../concurrency/SortedCopyOnWriteArray.html | 2 +- .../AbstractConcurrentListenerMultimap.html | 2 +- .../class-use/SortedCopyOnWriteArray.html | 2 +- .../protocol/concurrency/package-frame.html | 2 +- .../protocol/concurrency/package-summary.html | 2 +- .../protocol/concurrency/package-tree.html | 2 +- .../protocol/concurrency/package-use.html | 2 +- .../protocol/events/ConnectionSide.html | 2 +- .../protocol/events/ListenerPriority.html | 2 +- .../protocol/events/ListeningWhitelist.html | 2 +- .../protocol/events/MonitorAdapter.html | 339 +++++++ .../protocol/events/PacketAdapter.html | 2 +- .../protocol/events/PacketContainer.html | 2 +- .../protocol/events/PacketEvent.html | 2 +- .../protocol/events/PacketListener.html | 2 +- .../events/class-use/ConnectionSide.html | 2 +- .../events/class-use/ListenerPriority.html | 2 +- .../events/class-use/ListeningWhitelist.html | 2 +- .../events/class-use/PacketAdapter.html | 2 +- .../events/class-use/PacketContainer.html | 2 +- .../events/class-use/PacketEvent.html | 2 +- .../events/class-use/PacketListener.html | 2 +- .../protocol/events/package-frame.html | 2 +- .../protocol/events/package-summary.html | 2 +- .../protocol/events/package-tree.html | 2 +- .../protocol/events/package-use.html | 2 +- .../protocol/injector/BukkitUnwrapper.html | 2 +- .../injector/ConcurrentListenerMultimap.html | 359 ------- .../protocol/injector/DelayedSingleTask.html | 470 +++++++++ .../protocol/injector/GamePhase.html | 2 +- .../protocol/injector/ListenerInvoker.html | 2 +- .../NetworkFieldInjector.FakePacket.html | 165 --- .../injector/NetworkFieldInjector.html | 602 ----------- .../injector/NetworkObjectInjector.html | 581 ----------- .../injector/NetworkServerInjector.html | 665 ------------ .../PacketConstructor.BukkitUnwrapper.html | 269 ----- .../injector/PacketConstructor.Unwrapper.html | 2 +- .../protocol/injector/PacketConstructor.html | 2 +- ...PacketFilterManager.PlayerInjectHooks.html | 2 +- .../injector/PacketFilterManager.html | 2 +- .../injector/PlayerLoggedOutException.html | 2 +- .../injector/PrioritizedListener.html | 2 +- .../injector/SortedCopyOnWriteArrayTest.html | 2 +- .../protocol/injector/StructureCache.html | 2 +- .../injector/class-use/BukkitUnwrapper.html | 2 +- .../class-use/ConcurrentListenerMultimap.html | 115 --- .../injector/class-use/ListenerInvoker.html | 2 +- .../NetworkFieldInjector.FakePacket.html | 115 --- .../class-use/NetworkFieldInjector.html | 115 --- .../class-use/NetworkObjectInjector.html | 115 --- .../class-use/NetworkServerInjector.html | 115 --- .../PacketConstructor.BukkitUnwrapper.html | 115 --- .../PacketConstructor.Unwrapper.html | 2 +- .../injector/class-use/PacketConstructor.html | 2 +- ...PacketFilterManager.PlayerInjectHooks.html | 2 +- .../class-use/PacketFilterManager.html | 2 +- .../class-use/PlayerLoggedOutException.html | 2 +- .../class-use/PrioritizedListener.html | 2 +- .../class-use/SortedCopyOnWriteArrayTest.html | 2 +- .../injector/class-use/StructureCache.html | 2 +- .../protocol/injector/package-frame.html | 2 +- .../protocol/injector/package-summary.html | 2 +- .../protocol/injector/package-tree.html | 2 +- .../protocol/injector/package-use.html | 2 +- .../player/NetworkServerInjector.html | 2 +- .../player/PlayerInjectionHandler.html | 2 +- .../class-use/NetworkServerInjector.html | 2 +- .../class-use/PlayerInjectionHandler.html | 2 +- .../injector/player/package-frame.html | 2 +- .../injector/player/package-summary.html | 2 +- .../injector/player/package-tree.html | 2 +- .../protocol/injector/player/package-use.html | 2 +- .../protocol/metrics/Statistics.html | 2 +- .../metrics/class-use/Statistics.html | 2 +- .../protocol/metrics/package-frame.html | 2 +- .../protocol/metrics/package-summary.html | 2 +- .../protocol/metrics/package-tree.html | 2 +- .../protocol/metrics/package-use.html | 2 +- .../com/comphenix/protocol/package-frame.html | 2 +- .../comphenix/protocol/package-summary.html | 2 +- .../com/comphenix/protocol/package-tree.html | 2 +- .../com/comphenix/protocol/package-use.html | 2 +- .../protocol/reflect/EquivalentConverter.html | 2 +- .../reflect/FieldAccessException.html | 2 +- .../protocol/reflect/FieldUtils.html | 2 +- .../protocol/reflect/FuzzyReflection.html | 2 +- .../comphenix/protocol/reflect/IntEnum.html | 2 +- .../protocol/reflect/MethodUtils.html | 2 +- .../protocol/reflect/ObjectCloner.html | 2 +- .../protocol/reflect/PrimitiveUtils.html | 2 +- .../protocol/reflect/StructureModifier.html | 2 +- .../reflect/StructureModifierTest.html | 2 +- .../protocol/reflect/VolatileField.html | 2 +- .../class-use/EquivalentConverter.html | 2 +- .../class-use/FieldAccessException.html | 2 +- .../reflect/class-use/FieldUtils.html | 2 +- .../reflect/class-use/FuzzyReflection.html | 2 +- .../protocol/reflect/class-use/IntEnum.html | 2 +- .../reflect/class-use/MethodUtils.html | 2 +- .../reflect/class-use/ObjectCloner.html | 2 +- .../reflect/class-use/PrimitiveUtils.html | 2 +- .../reflect/class-use/StructureModifier.html | 2 +- .../class-use/StructureModifierTest.html | 2 +- .../reflect/class-use/VolatileField.html | 2 +- .../reflect/compiler/BackgroundCompiler.html | 2 +- .../reflect/compiler/CompileListener.html | 2 +- .../compiler/CompiledStructureModifier.html | 2 +- .../reflect/compiler/StructureCompiler.html | 2 +- .../class-use/BackgroundCompiler.html | 2 +- .../compiler/class-use/CompileListener.html | 2 +- .../class-use/CompiledStructureModifier.html | 2 +- .../compiler/class-use/StructureCompiler.html | 2 +- .../reflect/compiler/package-frame.html | 2 +- .../reflect/compiler/package-summary.html | 2 +- .../reflect/compiler/package-tree.html | 2 +- .../reflect/compiler/package-use.html | 2 +- .../instances/CollectionGenerator.html | 2 +- .../reflect/instances/DefaultInstances.html | 2 +- .../reflect/instances/ExistingGenerator.html | 2 +- .../reflect/instances/InstanceProvider.html | 2 +- .../reflect/instances/PrimitiveGenerator.html | 2 +- .../class-use/CollectionGenerator.html | 2 +- .../instances/class-use/DefaultInstances.html | 2 +- .../class-use/ExistingGenerator.html | 2 +- .../instances/class-use/InstanceProvider.html | 2 +- .../class-use/PrimitiveGenerator.html | 2 +- .../reflect/instances/package-frame.html | 2 +- .../reflect/instances/package-summary.html | 2 +- .../reflect/instances/package-tree.html | 2 +- .../reflect/instances/package-use.html | 2 +- .../protocol/reflect/package-frame.html | 2 +- .../protocol/reflect/package-summary.html | 2 +- .../protocol/reflect/package-tree.html | 2 +- .../protocol/reflect/package-use.html | 2 +- Javadoc/constant-values.html | 2 +- Javadoc/deprecated-list.html | 2 +- Javadoc/help-doc.html | 2 +- Javadoc/index-files/index-1.html | 2 +- Javadoc/index-files/index-10.html | 2 +- Javadoc/index-files/index-11.html | 2 +- Javadoc/index-files/index-12.html | 2 +- Javadoc/index-files/index-13.html | 2 +- Javadoc/index-files/index-14.html | 2 +- Javadoc/index-files/index-15.html | 2 +- Javadoc/index-files/index-16.html | 2 +- Javadoc/index-files/index-17.html | 2 +- Javadoc/index-files/index-18.html | 2 +- Javadoc/index-files/index-19.html | 2 +- Javadoc/index-files/index-2.html | 2 +- Javadoc/index-files/index-20.html | 2 +- Javadoc/index-files/index-21.html | 2 +- Javadoc/index-files/index-3.html | 2 +- Javadoc/index-files/index-4.html | 2 +- Javadoc/index-files/index-5.html | 2 +- Javadoc/index-files/index-6.html | 2 +- Javadoc/index-files/index-7.html | 2 +- Javadoc/index-files/index-8.html | 2 +- Javadoc/index-files/index-9.html | 2 +- Javadoc/index.html | 2 +- Javadoc/overview-frame.html | 2 +- Javadoc/overview-summary.html | 2 +- Javadoc/overview-tree.html | 2 +- Javadoc/serialized-form.html | 2 +- Javadoc/stylesheet.css | 948 +++++++++--------- 195 files changed, 1463 insertions(+), 3985 deletions(-) create mode 100644 Javadoc/com/comphenix/protocol/events/MonitorAdapter.html delete mode 100644 Javadoc/com/comphenix/protocol/injector/ConcurrentListenerMultimap.html create mode 100644 Javadoc/com/comphenix/protocol/injector/DelayedSingleTask.html delete mode 100644 Javadoc/com/comphenix/protocol/injector/NetworkFieldInjector.FakePacket.html delete mode 100644 Javadoc/com/comphenix/protocol/injector/NetworkFieldInjector.html delete mode 100644 Javadoc/com/comphenix/protocol/injector/NetworkObjectInjector.html delete mode 100644 Javadoc/com/comphenix/protocol/injector/NetworkServerInjector.html delete mode 100644 Javadoc/com/comphenix/protocol/injector/PacketConstructor.BukkitUnwrapper.html delete mode 100644 Javadoc/com/comphenix/protocol/injector/class-use/ConcurrentListenerMultimap.html delete mode 100644 Javadoc/com/comphenix/protocol/injector/class-use/NetworkFieldInjector.FakePacket.html delete mode 100644 Javadoc/com/comphenix/protocol/injector/class-use/NetworkFieldInjector.html delete mode 100644 Javadoc/com/comphenix/protocol/injector/class-use/NetworkObjectInjector.html delete mode 100644 Javadoc/com/comphenix/protocol/injector/class-use/NetworkServerInjector.html delete mode 100644 Javadoc/com/comphenix/protocol/injector/class-use/PacketConstructor.BukkitUnwrapper.html diff --git a/Javadoc/allclasses-frame.html b/Javadoc/allclasses-frame.html index f77125df..9f373076 100644 --- a/Javadoc/allclasses-frame.html +++ b/Javadoc/allclasses-frame.html @@ -2,7 +2,7 @@ - + All Classes diff --git a/Javadoc/allclasses-noframe.html b/Javadoc/allclasses-noframe.html index 716647be..31ad6f73 100644 --- a/Javadoc/allclasses-noframe.html +++ b/Javadoc/allclasses-noframe.html @@ -2,7 +2,7 @@ - + All Classes diff --git a/Javadoc/com/comphenix/protocol/Application.html b/Javadoc/com/comphenix/protocol/Application.html index 2bfe0181..fedd1ea6 100644 --- a/Javadoc/com/comphenix/protocol/Application.html +++ b/Javadoc/com/comphenix/protocol/Application.html @@ -2,7 +2,7 @@ - + Application diff --git a/Javadoc/com/comphenix/protocol/AsynchronousManager.html b/Javadoc/com/comphenix/protocol/AsynchronousManager.html index 2052f43e..f3b9c81e 100644 --- a/Javadoc/com/comphenix/protocol/AsynchronousManager.html +++ b/Javadoc/com/comphenix/protocol/AsynchronousManager.html @@ -2,7 +2,7 @@ - + AsynchronousManager diff --git a/Javadoc/com/comphenix/protocol/PacketStream.html b/Javadoc/com/comphenix/protocol/PacketStream.html index 40d57530..a0b342c5 100644 --- a/Javadoc/com/comphenix/protocol/PacketStream.html +++ b/Javadoc/com/comphenix/protocol/PacketStream.html @@ -2,7 +2,7 @@ - + PacketStream diff --git a/Javadoc/com/comphenix/protocol/Packets.Client.html b/Javadoc/com/comphenix/protocol/Packets.Client.html index 043109fe..729221b5 100644 --- a/Javadoc/com/comphenix/protocol/Packets.Client.html +++ b/Javadoc/com/comphenix/protocol/Packets.Client.html @@ -2,7 +2,7 @@ - + Packets.Client diff --git a/Javadoc/com/comphenix/protocol/Packets.Server.html b/Javadoc/com/comphenix/protocol/Packets.Server.html index 095270bf..808f4161 100644 --- a/Javadoc/com/comphenix/protocol/Packets.Server.html +++ b/Javadoc/com/comphenix/protocol/Packets.Server.html @@ -2,7 +2,7 @@ - + Packets.Server diff --git a/Javadoc/com/comphenix/protocol/Packets.html b/Javadoc/com/comphenix/protocol/Packets.html index a4a0b57f..a5d16699 100644 --- a/Javadoc/com/comphenix/protocol/Packets.html +++ b/Javadoc/com/comphenix/protocol/Packets.html @@ -2,7 +2,7 @@ - + Packets diff --git a/Javadoc/com/comphenix/protocol/ProtocolLibrary.html b/Javadoc/com/comphenix/protocol/ProtocolLibrary.html index 0fdc09e3..66744d06 100644 --- a/Javadoc/com/comphenix/protocol/ProtocolLibrary.html +++ b/Javadoc/com/comphenix/protocol/ProtocolLibrary.html @@ -2,7 +2,7 @@ - + ProtocolLibrary diff --git a/Javadoc/com/comphenix/protocol/ProtocolManager.html b/Javadoc/com/comphenix/protocol/ProtocolManager.html index c56286be..9b8c700e 100644 --- a/Javadoc/com/comphenix/protocol/ProtocolManager.html +++ b/Javadoc/com/comphenix/protocol/ProtocolManager.html @@ -2,7 +2,7 @@ - + ProtocolManager diff --git a/Javadoc/com/comphenix/protocol/async/AsyncFilterManager.html b/Javadoc/com/comphenix/protocol/async/AsyncFilterManager.html index da08eb31..4a46bf09 100644 --- a/Javadoc/com/comphenix/protocol/async/AsyncFilterManager.html +++ b/Javadoc/com/comphenix/protocol/async/AsyncFilterManager.html @@ -2,7 +2,7 @@ - + AsyncFilterManager diff --git a/Javadoc/com/comphenix/protocol/async/AsyncListenerHandler.html b/Javadoc/com/comphenix/protocol/async/AsyncListenerHandler.html index eb7e737d..9717a5c8 100644 --- a/Javadoc/com/comphenix/protocol/async/AsyncListenerHandler.html +++ b/Javadoc/com/comphenix/protocol/async/AsyncListenerHandler.html @@ -2,7 +2,7 @@ - + AsyncListenerHandler diff --git a/Javadoc/com/comphenix/protocol/async/AsyncMarker.html b/Javadoc/com/comphenix/protocol/async/AsyncMarker.html index ff1aa49c..196aafda 100644 --- a/Javadoc/com/comphenix/protocol/async/AsyncMarker.html +++ b/Javadoc/com/comphenix/protocol/async/AsyncMarker.html @@ -2,7 +2,7 @@ - + AsyncMarker diff --git a/Javadoc/com/comphenix/protocol/async/AsyncRunnable.html b/Javadoc/com/comphenix/protocol/async/AsyncRunnable.html index a16f8dd6..1a4fb51a 100644 --- a/Javadoc/com/comphenix/protocol/async/AsyncRunnable.html +++ b/Javadoc/com/comphenix/protocol/async/AsyncRunnable.html @@ -2,7 +2,7 @@ - + AsyncRunnable diff --git a/Javadoc/com/comphenix/protocol/async/class-use/AsyncFilterManager.html b/Javadoc/com/comphenix/protocol/async/class-use/AsyncFilterManager.html index bd6967f8..2acf4317 100644 --- a/Javadoc/com/comphenix/protocol/async/class-use/AsyncFilterManager.html +++ b/Javadoc/com/comphenix/protocol/async/class-use/AsyncFilterManager.html @@ -2,7 +2,7 @@ - + Uses of Class com.comphenix.protocol.async.AsyncFilterManager diff --git a/Javadoc/com/comphenix/protocol/async/class-use/AsyncListenerHandler.html b/Javadoc/com/comphenix/protocol/async/class-use/AsyncListenerHandler.html index dd7d2452..cf773998 100644 --- a/Javadoc/com/comphenix/protocol/async/class-use/AsyncListenerHandler.html +++ b/Javadoc/com/comphenix/protocol/async/class-use/AsyncListenerHandler.html @@ -2,7 +2,7 @@ - + Uses of Class com.comphenix.protocol.async.AsyncListenerHandler diff --git a/Javadoc/com/comphenix/protocol/async/class-use/AsyncMarker.html b/Javadoc/com/comphenix/protocol/async/class-use/AsyncMarker.html index 3118be15..2abd7ceb 100644 --- a/Javadoc/com/comphenix/protocol/async/class-use/AsyncMarker.html +++ b/Javadoc/com/comphenix/protocol/async/class-use/AsyncMarker.html @@ -2,7 +2,7 @@ - + Uses of Class com.comphenix.protocol.async.AsyncMarker diff --git a/Javadoc/com/comphenix/protocol/async/class-use/AsyncRunnable.html b/Javadoc/com/comphenix/protocol/async/class-use/AsyncRunnable.html index c9d390bb..3fd9c2d0 100644 --- a/Javadoc/com/comphenix/protocol/async/class-use/AsyncRunnable.html +++ b/Javadoc/com/comphenix/protocol/async/class-use/AsyncRunnable.html @@ -2,7 +2,7 @@ - + Uses of Interface com.comphenix.protocol.async.AsyncRunnable diff --git a/Javadoc/com/comphenix/protocol/async/package-frame.html b/Javadoc/com/comphenix/protocol/async/package-frame.html index 88c70ad9..cc89fd5e 100644 --- a/Javadoc/com/comphenix/protocol/async/package-frame.html +++ b/Javadoc/com/comphenix/protocol/async/package-frame.html @@ -2,7 +2,7 @@ - + com.comphenix.protocol.async diff --git a/Javadoc/com/comphenix/protocol/async/package-summary.html b/Javadoc/com/comphenix/protocol/async/package-summary.html index 4c4861e1..c24b11ac 100644 --- a/Javadoc/com/comphenix/protocol/async/package-summary.html +++ b/Javadoc/com/comphenix/protocol/async/package-summary.html @@ -2,7 +2,7 @@ - + com.comphenix.protocol.async diff --git a/Javadoc/com/comphenix/protocol/async/package-tree.html b/Javadoc/com/comphenix/protocol/async/package-tree.html index 36eab492..7e36278b 100644 --- a/Javadoc/com/comphenix/protocol/async/package-tree.html +++ b/Javadoc/com/comphenix/protocol/async/package-tree.html @@ -2,7 +2,7 @@ - + com.comphenix.protocol.async Class Hierarchy diff --git a/Javadoc/com/comphenix/protocol/async/package-use.html b/Javadoc/com/comphenix/protocol/async/package-use.html index 2d2aaa1b..02a7634a 100644 --- a/Javadoc/com/comphenix/protocol/async/package-use.html +++ b/Javadoc/com/comphenix/protocol/async/package-use.html @@ -2,7 +2,7 @@ - + Uses of Package com.comphenix.protocol.async diff --git a/Javadoc/com/comphenix/protocol/class-use/Application.html b/Javadoc/com/comphenix/protocol/class-use/Application.html index cfeb32a6..f4e7c141 100644 --- a/Javadoc/com/comphenix/protocol/class-use/Application.html +++ b/Javadoc/com/comphenix/protocol/class-use/Application.html @@ -2,7 +2,7 @@ - + Uses of Class com.comphenix.protocol.Application diff --git a/Javadoc/com/comphenix/protocol/class-use/AsynchronousManager.html b/Javadoc/com/comphenix/protocol/class-use/AsynchronousManager.html index 6596869b..4369254f 100644 --- a/Javadoc/com/comphenix/protocol/class-use/AsynchronousManager.html +++ b/Javadoc/com/comphenix/protocol/class-use/AsynchronousManager.html @@ -2,7 +2,7 @@ - + Uses of Interface com.comphenix.protocol.AsynchronousManager diff --git a/Javadoc/com/comphenix/protocol/class-use/PacketStream.html b/Javadoc/com/comphenix/protocol/class-use/PacketStream.html index e4eaa831..53d3e26e 100644 --- a/Javadoc/com/comphenix/protocol/class-use/PacketStream.html +++ b/Javadoc/com/comphenix/protocol/class-use/PacketStream.html @@ -2,7 +2,7 @@ - + Uses of Interface com.comphenix.protocol.PacketStream diff --git a/Javadoc/com/comphenix/protocol/class-use/Packets.Client.html b/Javadoc/com/comphenix/protocol/class-use/Packets.Client.html index 695d4ea8..874198b6 100644 --- a/Javadoc/com/comphenix/protocol/class-use/Packets.Client.html +++ b/Javadoc/com/comphenix/protocol/class-use/Packets.Client.html @@ -2,7 +2,7 @@ - + Uses of Class com.comphenix.protocol.Packets.Client diff --git a/Javadoc/com/comphenix/protocol/class-use/Packets.Server.html b/Javadoc/com/comphenix/protocol/class-use/Packets.Server.html index 4fa933f7..663e2dc7 100644 --- a/Javadoc/com/comphenix/protocol/class-use/Packets.Server.html +++ b/Javadoc/com/comphenix/protocol/class-use/Packets.Server.html @@ -2,7 +2,7 @@ - + Uses of Class com.comphenix.protocol.Packets.Server diff --git a/Javadoc/com/comphenix/protocol/class-use/Packets.html b/Javadoc/com/comphenix/protocol/class-use/Packets.html index 9a74e201..6205e615 100644 --- a/Javadoc/com/comphenix/protocol/class-use/Packets.html +++ b/Javadoc/com/comphenix/protocol/class-use/Packets.html @@ -2,7 +2,7 @@ - + Uses of Class com.comphenix.protocol.Packets diff --git a/Javadoc/com/comphenix/protocol/class-use/ProtocolLibrary.html b/Javadoc/com/comphenix/protocol/class-use/ProtocolLibrary.html index cc4a31bf..b66e02a3 100644 --- a/Javadoc/com/comphenix/protocol/class-use/ProtocolLibrary.html +++ b/Javadoc/com/comphenix/protocol/class-use/ProtocolLibrary.html @@ -2,7 +2,7 @@ - + Uses of Class com.comphenix.protocol.ProtocolLibrary diff --git a/Javadoc/com/comphenix/protocol/class-use/ProtocolManager.html b/Javadoc/com/comphenix/protocol/class-use/ProtocolManager.html index 0f7f1043..1a3f2b29 100644 --- a/Javadoc/com/comphenix/protocol/class-use/ProtocolManager.html +++ b/Javadoc/com/comphenix/protocol/class-use/ProtocolManager.html @@ -2,7 +2,7 @@ - + Uses of Interface com.comphenix.protocol.ProtocolManager diff --git a/Javadoc/com/comphenix/protocol/concurrency/AbstractConcurrentListenerMultimap.html b/Javadoc/com/comphenix/protocol/concurrency/AbstractConcurrentListenerMultimap.html index a9fb798a..0aee76d9 100644 --- a/Javadoc/com/comphenix/protocol/concurrency/AbstractConcurrentListenerMultimap.html +++ b/Javadoc/com/comphenix/protocol/concurrency/AbstractConcurrentListenerMultimap.html @@ -2,7 +2,7 @@ - + AbstractConcurrentListenerMultimap diff --git a/Javadoc/com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html b/Javadoc/com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html index 1d72225c..a4e02144 100644 --- a/Javadoc/com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html +++ b/Javadoc/com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html @@ -2,7 +2,7 @@ - + SortedCopyOnWriteArray diff --git a/Javadoc/com/comphenix/protocol/concurrency/class-use/AbstractConcurrentListenerMultimap.html b/Javadoc/com/comphenix/protocol/concurrency/class-use/AbstractConcurrentListenerMultimap.html index 9b6d763d..2ae8d6df 100644 --- a/Javadoc/com/comphenix/protocol/concurrency/class-use/AbstractConcurrentListenerMultimap.html +++ b/Javadoc/com/comphenix/protocol/concurrency/class-use/AbstractConcurrentListenerMultimap.html @@ -2,7 +2,7 @@ - + Uses of Class com.comphenix.protocol.concurrency.AbstractConcurrentListenerMultimap diff --git a/Javadoc/com/comphenix/protocol/concurrency/class-use/SortedCopyOnWriteArray.html b/Javadoc/com/comphenix/protocol/concurrency/class-use/SortedCopyOnWriteArray.html index 7fa392c4..226b5074 100644 --- a/Javadoc/com/comphenix/protocol/concurrency/class-use/SortedCopyOnWriteArray.html +++ b/Javadoc/com/comphenix/protocol/concurrency/class-use/SortedCopyOnWriteArray.html @@ -2,7 +2,7 @@ - + Uses of Class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray diff --git a/Javadoc/com/comphenix/protocol/concurrency/package-frame.html b/Javadoc/com/comphenix/protocol/concurrency/package-frame.html index 59fecadf..76052b83 100644 --- a/Javadoc/com/comphenix/protocol/concurrency/package-frame.html +++ b/Javadoc/com/comphenix/protocol/concurrency/package-frame.html @@ -2,7 +2,7 @@ - + com.comphenix.protocol.concurrency diff --git a/Javadoc/com/comphenix/protocol/concurrency/package-summary.html b/Javadoc/com/comphenix/protocol/concurrency/package-summary.html index 2710a1fa..7bc15bcf 100644 --- a/Javadoc/com/comphenix/protocol/concurrency/package-summary.html +++ b/Javadoc/com/comphenix/protocol/concurrency/package-summary.html @@ -2,7 +2,7 @@ - + com.comphenix.protocol.concurrency diff --git a/Javadoc/com/comphenix/protocol/concurrency/package-tree.html b/Javadoc/com/comphenix/protocol/concurrency/package-tree.html index 83543168..0c6da3ec 100644 --- a/Javadoc/com/comphenix/protocol/concurrency/package-tree.html +++ b/Javadoc/com/comphenix/protocol/concurrency/package-tree.html @@ -2,7 +2,7 @@ - + com.comphenix.protocol.concurrency Class Hierarchy diff --git a/Javadoc/com/comphenix/protocol/concurrency/package-use.html b/Javadoc/com/comphenix/protocol/concurrency/package-use.html index bd3d8b1d..37245127 100644 --- a/Javadoc/com/comphenix/protocol/concurrency/package-use.html +++ b/Javadoc/com/comphenix/protocol/concurrency/package-use.html @@ -2,7 +2,7 @@ - + Uses of Package com.comphenix.protocol.concurrency diff --git a/Javadoc/com/comphenix/protocol/events/ConnectionSide.html b/Javadoc/com/comphenix/protocol/events/ConnectionSide.html index 206b520f..13feeea2 100644 --- a/Javadoc/com/comphenix/protocol/events/ConnectionSide.html +++ b/Javadoc/com/comphenix/protocol/events/ConnectionSide.html @@ -2,7 +2,7 @@ - + ConnectionSide diff --git a/Javadoc/com/comphenix/protocol/events/ListenerPriority.html b/Javadoc/com/comphenix/protocol/events/ListenerPriority.html index 8a32298f..bce614f9 100644 --- a/Javadoc/com/comphenix/protocol/events/ListenerPriority.html +++ b/Javadoc/com/comphenix/protocol/events/ListenerPriority.html @@ -2,7 +2,7 @@ - + ListenerPriority diff --git a/Javadoc/com/comphenix/protocol/events/ListeningWhitelist.html b/Javadoc/com/comphenix/protocol/events/ListeningWhitelist.html index aa9e56d4..0e654b54 100644 --- a/Javadoc/com/comphenix/protocol/events/ListeningWhitelist.html +++ b/Javadoc/com/comphenix/protocol/events/ListeningWhitelist.html @@ -2,7 +2,7 @@ - + ListeningWhitelist diff --git a/Javadoc/com/comphenix/protocol/events/MonitorAdapter.html b/Javadoc/com/comphenix/protocol/events/MonitorAdapter.html new file mode 100644 index 00000000..a92cbed1 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/events/MonitorAdapter.html @@ -0,0 +1,339 @@ + + + + + +MonitorAdapter + + + + + + + + + + + +
    +
    com.comphenix.protocol.events
    +

    Class MonitorAdapter

    +
    +
    +
      +
    • java.lang.Object
    • +
    • +
        +
      • com.comphenix.protocol.events.MonitorAdapter
      • +
      +
    • +
    +
    +
      +
    • +
      +
      All Implemented Interfaces:
      +
      PacketListener
      +
      +
      +
      +
      public abstract class MonitorAdapter
      +extends java.lang.Object
      +implements PacketListener
      +
      Represents a listener that is notified of every sent and recieved packet.
      +
      Author:
      +
      Kristian
      +
    • +
    +
    +
    + +
    +
    +
      +
    • + +
        +
      • + + +

        Constructor Detail

        + + + +
          +
        • +

          MonitorAdapter

          +
          public MonitorAdapter(org.bukkit.plugin.Plugin plugin,
          +              ConnectionSide side)
          +
        • +
        + + + +
          +
        • +

          MonitorAdapter

          +
          public MonitorAdapter(org.bukkit.plugin.Plugin plugin,
          +              ConnectionSide side,
          +              java.util.logging.Logger logger)
          +
        • +
        +
      • +
      + +
        +
      • + + +

        Method Detail

        + + + +
          +
        • +

          getSendingWhitelist

          +
          public ListeningWhitelist getSendingWhitelist()
          +
          Description copied from interface: PacketListener
          +
          Retrieve which packets sent by the server this listener will observe.
          +
          +
          Specified by:
          +
          getSendingWhitelist in interface PacketListener
          +
          Returns:
          List of server packets to observe, along with the priority.
          +
        • +
        + + + +
          +
        • +

          getReceivingWhitelist

          +
          public ListeningWhitelist getReceivingWhitelist()
          +
          Description copied from interface: PacketListener
          +
          Retrieve which packets sent by the client this listener will observe.
          +
          +
          Specified by:
          +
          getReceivingWhitelist in interface PacketListener
          +
          Returns:
          List of server packets to observe, along with the priority.
          +
        • +
        + + + +
          +
        • +

          getPlugin

          +
          public org.bukkit.plugin.Plugin getPlugin()
          +
          Description copied from interface: PacketListener
          +
          Retrieve the plugin that created list packet listener.
          +
          +
          Specified by:
          +
          getPlugin in interface PacketListener
          +
          Returns:
          The plugin, or NULL if not available.
          +
        • +
        +
      • +
      +
    • +
    +
    +
    + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/events/PacketAdapter.html b/Javadoc/com/comphenix/protocol/events/PacketAdapter.html index a6afd709..e4f9af29 100644 --- a/Javadoc/com/comphenix/protocol/events/PacketAdapter.html +++ b/Javadoc/com/comphenix/protocol/events/PacketAdapter.html @@ -2,7 +2,7 @@ - + PacketAdapter diff --git a/Javadoc/com/comphenix/protocol/events/PacketContainer.html b/Javadoc/com/comphenix/protocol/events/PacketContainer.html index 96f8461d..c01847ca 100644 --- a/Javadoc/com/comphenix/protocol/events/PacketContainer.html +++ b/Javadoc/com/comphenix/protocol/events/PacketContainer.html @@ -2,7 +2,7 @@ - + PacketContainer diff --git a/Javadoc/com/comphenix/protocol/events/PacketEvent.html b/Javadoc/com/comphenix/protocol/events/PacketEvent.html index 72c8e70f..e2f3aacc 100644 --- a/Javadoc/com/comphenix/protocol/events/PacketEvent.html +++ b/Javadoc/com/comphenix/protocol/events/PacketEvent.html @@ -2,7 +2,7 @@ - + PacketEvent diff --git a/Javadoc/com/comphenix/protocol/events/PacketListener.html b/Javadoc/com/comphenix/protocol/events/PacketListener.html index 2fc605ae..8dcf8c35 100644 --- a/Javadoc/com/comphenix/protocol/events/PacketListener.html +++ b/Javadoc/com/comphenix/protocol/events/PacketListener.html @@ -2,7 +2,7 @@ - + PacketListener diff --git a/Javadoc/com/comphenix/protocol/events/class-use/ConnectionSide.html b/Javadoc/com/comphenix/protocol/events/class-use/ConnectionSide.html index b6d05e7e..27db71c2 100644 --- a/Javadoc/com/comphenix/protocol/events/class-use/ConnectionSide.html +++ b/Javadoc/com/comphenix/protocol/events/class-use/ConnectionSide.html @@ -2,7 +2,7 @@ - + Uses of Class com.comphenix.protocol.events.ConnectionSide diff --git a/Javadoc/com/comphenix/protocol/events/class-use/ListenerPriority.html b/Javadoc/com/comphenix/protocol/events/class-use/ListenerPriority.html index 17de192e..7e3dd8bc 100644 --- a/Javadoc/com/comphenix/protocol/events/class-use/ListenerPriority.html +++ b/Javadoc/com/comphenix/protocol/events/class-use/ListenerPriority.html @@ -2,7 +2,7 @@ - + Uses of Class com.comphenix.protocol.events.ListenerPriority diff --git a/Javadoc/com/comphenix/protocol/events/class-use/ListeningWhitelist.html b/Javadoc/com/comphenix/protocol/events/class-use/ListeningWhitelist.html index 6f562b51..e0d95279 100644 --- a/Javadoc/com/comphenix/protocol/events/class-use/ListeningWhitelist.html +++ b/Javadoc/com/comphenix/protocol/events/class-use/ListeningWhitelist.html @@ -2,7 +2,7 @@ - + Uses of Class com.comphenix.protocol.events.ListeningWhitelist diff --git a/Javadoc/com/comphenix/protocol/events/class-use/PacketAdapter.html b/Javadoc/com/comphenix/protocol/events/class-use/PacketAdapter.html index 2f9818b5..20008e7d 100644 --- a/Javadoc/com/comphenix/protocol/events/class-use/PacketAdapter.html +++ b/Javadoc/com/comphenix/protocol/events/class-use/PacketAdapter.html @@ -2,7 +2,7 @@ - + Uses of Class com.comphenix.protocol.events.PacketAdapter diff --git a/Javadoc/com/comphenix/protocol/events/class-use/PacketContainer.html b/Javadoc/com/comphenix/protocol/events/class-use/PacketContainer.html index 583c361d..ad2f1be1 100644 --- a/Javadoc/com/comphenix/protocol/events/class-use/PacketContainer.html +++ b/Javadoc/com/comphenix/protocol/events/class-use/PacketContainer.html @@ -2,7 +2,7 @@ - + Uses of Class com.comphenix.protocol.events.PacketContainer diff --git a/Javadoc/com/comphenix/protocol/events/class-use/PacketEvent.html b/Javadoc/com/comphenix/protocol/events/class-use/PacketEvent.html index bbc64c59..9b0bcea6 100644 --- a/Javadoc/com/comphenix/protocol/events/class-use/PacketEvent.html +++ b/Javadoc/com/comphenix/protocol/events/class-use/PacketEvent.html @@ -2,7 +2,7 @@ - + Uses of Class com.comphenix.protocol.events.PacketEvent diff --git a/Javadoc/com/comphenix/protocol/events/class-use/PacketListener.html b/Javadoc/com/comphenix/protocol/events/class-use/PacketListener.html index a7c2df24..3ea55d55 100644 --- a/Javadoc/com/comphenix/protocol/events/class-use/PacketListener.html +++ b/Javadoc/com/comphenix/protocol/events/class-use/PacketListener.html @@ -2,7 +2,7 @@ - + Uses of Interface com.comphenix.protocol.events.PacketListener diff --git a/Javadoc/com/comphenix/protocol/events/package-frame.html b/Javadoc/com/comphenix/protocol/events/package-frame.html index bffc5a74..255404a5 100644 --- a/Javadoc/com/comphenix/protocol/events/package-frame.html +++ b/Javadoc/com/comphenix/protocol/events/package-frame.html @@ -2,7 +2,7 @@ - + com.comphenix.protocol.events diff --git a/Javadoc/com/comphenix/protocol/events/package-summary.html b/Javadoc/com/comphenix/protocol/events/package-summary.html index e5921fff..037b66a0 100644 --- a/Javadoc/com/comphenix/protocol/events/package-summary.html +++ b/Javadoc/com/comphenix/protocol/events/package-summary.html @@ -2,7 +2,7 @@ - + com.comphenix.protocol.events diff --git a/Javadoc/com/comphenix/protocol/events/package-tree.html b/Javadoc/com/comphenix/protocol/events/package-tree.html index 0e6cab31..81a5981b 100644 --- a/Javadoc/com/comphenix/protocol/events/package-tree.html +++ b/Javadoc/com/comphenix/protocol/events/package-tree.html @@ -2,7 +2,7 @@ - + com.comphenix.protocol.events Class Hierarchy diff --git a/Javadoc/com/comphenix/protocol/events/package-use.html b/Javadoc/com/comphenix/protocol/events/package-use.html index d9125660..dfe824b3 100644 --- a/Javadoc/com/comphenix/protocol/events/package-use.html +++ b/Javadoc/com/comphenix/protocol/events/package-use.html @@ -2,7 +2,7 @@ - + Uses of Package com.comphenix.protocol.events diff --git a/Javadoc/com/comphenix/protocol/injector/BukkitUnwrapper.html b/Javadoc/com/comphenix/protocol/injector/BukkitUnwrapper.html index 922a21c0..1773b613 100644 --- a/Javadoc/com/comphenix/protocol/injector/BukkitUnwrapper.html +++ b/Javadoc/com/comphenix/protocol/injector/BukkitUnwrapper.html @@ -2,7 +2,7 @@ - + BukkitUnwrapper diff --git a/Javadoc/com/comphenix/protocol/injector/ConcurrentListenerMultimap.html b/Javadoc/com/comphenix/protocol/injector/ConcurrentListenerMultimap.html deleted file mode 100644 index 3af651cd..00000000 --- a/Javadoc/com/comphenix/protocol/injector/ConcurrentListenerMultimap.html +++ /dev/null @@ -1,359 +0,0 @@ - - - - - -ConcurrentListenerMultimap - - - - - - - - - - - -
    -
    com.comphenix.protocol.injector
    -

    Class ConcurrentListenerMultimap

    -
    -
    -
      -
    • java.lang.Object
    • -
    • -
        -
      • com.comphenix.protocol.injector.ConcurrentListenerMultimap
      • -
      -
    • -
    -
    -
      -
    • -
      -
      -
      public class ConcurrentListenerMultimap
      -extends java.lang.Object
      -
      A thread-safe implementation of a listener multimap.
      -
      Author:
      -
      Kristian
      -
    • -
    -
    -
    -
      -
    • - -
        -
      • - - -

        Field Summary

        - - - - - - - - - - -
        Fields 
        Modifier and TypeField and Description
        protected java.util.concurrent.ConcurrentMap<java.lang.Integer,SortedCopyOnWriteArray<com.comphenix.protocol.injector.ConcurrentListenerMultimap.PrioritizedListener>>listeners 
        -
      • -
      - - - -
        -
      • - - -

        Method Summary

        - - - - - - - - - - - - - - - - - - - - - - -
        Methods 
        Modifier and TypeMethod and Description
        voidaddListener(PacketListener listener, - ListeningWhitelist whitelist) -
        Adds a listener to its requested list of packet recievers.
        -
        voidinvokePacketRecieving(java.util.logging.Logger logger, - PacketEvent event) -
        Invokes the given packet event for every registered listener.
        -
        voidinvokePacketSending(java.util.logging.Logger logger, - PacketEvent event) -
        Invokes the given packet event for every registered listener.
        -
        java.util.List<java.lang.Integer>removeListener(PacketListener listener, - ListeningWhitelist whitelist) -
        Removes the given listener from the packet event list.
        -
        -
          -
        • - - -

          Methods inherited from class java.lang.Object

          -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
        • -
        -
      • -
      -
    • -
    -
    -
    -
      -
    • - -
        -
      • - - -

        Field Detail

        - - - -
          -
        • -

          listeners

          -
          protected java.util.concurrent.ConcurrentMap<java.lang.Integer,SortedCopyOnWriteArray<com.comphenix.protocol.injector.ConcurrentListenerMultimap.PrioritizedListener>> listeners
          -
        • -
        -
      • -
      - -
        -
      • - - -

        Constructor Detail

        - - - -
          -
        • -

          ConcurrentListenerMultimap

          -
          public ConcurrentListenerMultimap()
          -
        • -
        -
      • -
      - -
        -
      • - - -

        Method Detail

        - - - -
          -
        • -

          addListener

          -
          public void addListener(PacketListener listener,
          -               ListeningWhitelist whitelist)
          -
          Adds a listener to its requested list of packet recievers.
          -
          Parameters:
          listener - - listener with a list of packets to recieve notifcations for.
          whitelist - - the packet whitelist to use.
          -
        • -
        - - - -
          -
        • -

          removeListener

          -
          public java.util.List<java.lang.Integer> removeListener(PacketListener listener,
          -                                               ListeningWhitelist whitelist)
          -
          Removes the given listener from the packet event list.
          -
          Parameters:
          listener - - listener to remove.
          whitelist - - the packet whitelist that was used.
          -
          Returns:
          Every packet ID that was removed due to no listeners.
          -
        • -
        - - - -
          -
        • -

          invokePacketRecieving

          -
          public void invokePacketRecieving(java.util.logging.Logger logger,
          -                         PacketEvent event)
          -
          Invokes the given packet event for every registered listener.
          -
          Parameters:
          logger - - the logger that will be used to inform about listener exceptions.
          event - - the packet event to invoke.
          -
        • -
        - - - -
          -
        • -

          invokePacketSending

          -
          public void invokePacketSending(java.util.logging.Logger logger,
          -                       PacketEvent event)
          -
          Invokes the given packet event for every registered listener.
          -
          Parameters:
          logger - - the logger that will be used to inform about listener exceptions.
          event - - the packet event to invoke.
          -
        • -
        -
      • -
      -
    • -
    -
    -
    - - - - - - - diff --git a/Javadoc/com/comphenix/protocol/injector/DelayedSingleTask.html b/Javadoc/com/comphenix/protocol/injector/DelayedSingleTask.html new file mode 100644 index 00000000..47a7b950 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/injector/DelayedSingleTask.html @@ -0,0 +1,470 @@ + + + + + +DelayedSingleTask + + + + + + + + + + + +
    +
    com.comphenix.protocol.injector
    +

    Class DelayedSingleTask

    +
    +
    +
      +
    • java.lang.Object
    • +
    • +
        +
      • com.comphenix.protocol.injector.DelayedSingleTask
      • +
      +
    • +
    +
    +
      +
    • +
      +
      +
      public class DelayedSingleTask
      +extends java.lang.Object
      +
      Represents a single delayed task.
      +
      Author:
      +
      Kristian
      +
    • +
    +
    +
    +
      +
    • + +
        +
      • + + +

        Field Summary

        + + + + + + + + + + + + + + + + + + + + + + +
        Fields 
        Modifier and TypeField and Description
        protected booleanclosed 
        protected org.bukkit.plugin.Pluginplugin 
        protected org.bukkit.scheduler.BukkitSchedulerscheduler 
        protected inttaskID 
        +
      • +
      + +
        +
      • + + +

        Constructor Summary

        + + + + + + + + + + + +
        Constructors 
        Constructor and Description
        DelayedSingleTask(org.bukkit.plugin.Plugin plugin) +
        Create a single task scheduler.
        +
        DelayedSingleTask(org.bukkit.plugin.Plugin plugin, + org.bukkit.scheduler.BukkitScheduler scheduler) +
        Create a single task scheduler.
        +
        +
      • +
      + +
        +
      • + + +

        Method Summary

        + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
        Methods 
        Modifier and TypeMethod and Description
        booleancancel() +
        Cancel a future task from being executed.
        +
        voidclose() +
        Stop the current task and all future tasks scheduled by this instance.
        +
        protected voidfinalize() 
        org.bukkit.plugin.PlugingetPlugin() +
        Retrieve the plugin this task belongs to.
        +
        intgetTaskID() +
        Retrieve the raw task ID.
        +
        booleanisRunning() +
        Whether or not a future task is scheduled to be executed.
        +
        booleanschedule(long ticksDelay, + java.lang.Runnable task) +
        Schedule a single task for execution.
        +
        +
          +
        • + + +

          Methods inherited from class java.lang.Object

          +clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
        • +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + +
        +
      • + + +

        Field Detail

        + + + +
          +
        • +

          taskID

          +
          protected int taskID
          +
        • +
        + + + +
          +
        • +

          plugin

          +
          protected org.bukkit.plugin.Plugin plugin
          +
        • +
        + + + +
          +
        • +

          scheduler

          +
          protected org.bukkit.scheduler.BukkitScheduler scheduler
          +
        • +
        + + + +
          +
        • +

          closed

          +
          protected boolean closed
          +
        • +
        +
      • +
      + +
        +
      • + + +

        Constructor Detail

        + + + +
          +
        • +

          DelayedSingleTask

          +
          public DelayedSingleTask(org.bukkit.plugin.Plugin plugin)
          +
          Create a single task scheduler.
          +
          Parameters:
          plugin - - owner plugin.
          +
        • +
        + + + +
          +
        • +

          DelayedSingleTask

          +
          public DelayedSingleTask(org.bukkit.plugin.Plugin plugin,
          +                 org.bukkit.scheduler.BukkitScheduler scheduler)
          +
          Create a single task scheduler.
          +
          Parameters:
          plugin - - owner plugin.
          scheduler - - specialized scheduler.
          +
        • +
        +
      • +
      + +
        +
      • + + +

        Method Detail

        + + + +
          +
        • +

          schedule

          +
          public boolean schedule(long ticksDelay,
          +               java.lang.Runnable task)
          +
          Schedule a single task for execution. +

          + Any previously scheduled task will be automatically cancelled. +

          + Note that a tick delay of zero will execute the task immediately.

          +
          Parameters:
          ticksDelay - - number of ticks before the task is executed.
          task - - the task to schedule.
          +
          Returns:
          TRUE if the task was successfully scheduled or executed, FALSE otherwise.
          +
        • +
        + + + +
          +
        • +

          isRunning

          +
          public boolean isRunning()
          +
          Whether or not a future task is scheduled to be executed.
          +
          Returns:
          TRUE if a current task has been scheduled for execution, FALSE otherwise.
          +
        • +
        + + + +
          +
        • +

          cancel

          +
          public boolean cancel()
          +
          Cancel a future task from being executed.
          +
          Returns:
          TRUE if a task was cancelled, FALSE otherwise.
          +
        • +
        + + + +
          +
        • +

          getTaskID

          +
          public int getTaskID()
          +
          Retrieve the raw task ID.
          +
          Returns:
          Raw task ID, or negative one if no task has been scheduled.
          +
        • +
        + + + +
          +
        • +

          getPlugin

          +
          public org.bukkit.plugin.Plugin getPlugin()
          +
          Retrieve the plugin this task belongs to.
          +
          Returns:
          The plugin scheduling the current taks.
          +
        • +
        + + + +
          +
        • +

          close

          +
          public void close()
          +
          Stop the current task and all future tasks scheduled by this instance.
          +
        • +
        + + + +
          +
        • +

          finalize

          +
          protected void finalize()
          +                 throws java.lang.Throwable
          +
          +
          Overrides:
          +
          finalize in class java.lang.Object
          +
          Throws:
          +
          java.lang.Throwable
          +
        • +
        +
      • +
      +
    • +
    +
    +
    + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/injector/GamePhase.html b/Javadoc/com/comphenix/protocol/injector/GamePhase.html index 723cf8bc..55468edf 100644 --- a/Javadoc/com/comphenix/protocol/injector/GamePhase.html +++ b/Javadoc/com/comphenix/protocol/injector/GamePhase.html @@ -2,7 +2,7 @@ - + GamePhase diff --git a/Javadoc/com/comphenix/protocol/injector/ListenerInvoker.html b/Javadoc/com/comphenix/protocol/injector/ListenerInvoker.html index c96a3cf4..8ca00c44 100644 --- a/Javadoc/com/comphenix/protocol/injector/ListenerInvoker.html +++ b/Javadoc/com/comphenix/protocol/injector/ListenerInvoker.html @@ -2,7 +2,7 @@ - + ListenerInvoker diff --git a/Javadoc/com/comphenix/protocol/injector/NetworkFieldInjector.FakePacket.html b/Javadoc/com/comphenix/protocol/injector/NetworkFieldInjector.FakePacket.html deleted file mode 100644 index b9bdfafd..00000000 --- a/Javadoc/com/comphenix/protocol/injector/NetworkFieldInjector.FakePacket.html +++ /dev/null @@ -1,165 +0,0 @@ - - - - - -NetworkFieldInjector.FakePacket - - - - - - - - - - - -
    -
    com.comphenix.protocol.injector
    -

    Interface NetworkFieldInjector.FakePacket

    -
    -
    -
    -
      -
    • -
      -
      Enclosing class:
      -
      NetworkFieldInjector
      -
      -
      -
      -
      public static interface NetworkFieldInjector.FakePacket
      -
      Marker interface that indicates a packet is fake and should not be processed.
      -
      Author:
      -
      Kristian
      -
    • -
    -
    -
    - - - - - - - diff --git a/Javadoc/com/comphenix/protocol/injector/NetworkFieldInjector.html b/Javadoc/com/comphenix/protocol/injector/NetworkFieldInjector.html deleted file mode 100644 index bc781cf0..00000000 --- a/Javadoc/com/comphenix/protocol/injector/NetworkFieldInjector.html +++ /dev/null @@ -1,602 +0,0 @@ - - - - - -NetworkFieldInjector - - - - - - - - - - - -
    -
    com.comphenix.protocol.injector
    -

    Class NetworkFieldInjector

    -
    -
    -
      -
    • java.lang.Object
    • -
    • -
        -
      • com.comphenix.protocol.injector.NetworkFieldInjector
      • -
      -
    • -
    -
    -
      -
    • -
      -
      -
      public class NetworkFieldInjector
      -extends java.lang.Object
      -
      Injection hook that overrides the packet queue lists in NetworkHandler.
      -
      Author:
      -
      Kristian
      -
    • -
    -
    -
    -
      -
    • - -
        -
      • - - -

        Nested Class Summary

        - - - - - - - - - - -
        Nested Classes 
        Modifier and TypeClass and Description
        static interface NetworkFieldInjector.FakePacket -
        Marker interface that indicates a packet is fake and should not be processed.
        -
        -
      • -
      - - - -
        -
      • - - -

        Constructor Summary

        - - - - - - - - -
        Constructors 
        Constructor and Description
        NetworkFieldInjector(org.bukkit.entity.Player player, - PacketFilterManager manager, - java.util.Set<java.lang.Integer> sendingFilters) 
        -
      • -
      - -
        -
      • - - -

        Method Summary

        - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        Methods 
        Modifier and TypeMethod and Description
        voidcleanupAll() -
        Remove all hooks and modifications.
        -
        java.io.DataInputStreamgetInputStream(boolean cache) -
        Retrieve the current player's input stream.
        -
        protected voidinitialize() 
        voidinjectManager() -
        Inject a hook to catch packets sent to the current player.
        -
        voidprocessPacket(net.minecraft.server.Packet packet) -
        Processes the given packet as if it was transmitted by the current player.
        -
        voidsendServerPacket(net.minecraft.server.Packet packet, - boolean filtered) -
        Send a packet to the client.
        -
        -
          -
        • - - -

          Methods inherited from class java.lang.Object

          -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
        • -
        -
      • -
      -
    • -
    -
    -
    -
      -
    • - -
        -
      • - - -

        Field Detail

        - - - -
          -
        • -

          serverHandlerField

          -
          protected static java.lang.reflect.Field serverHandlerField
          -
        • -
        - - - -
          -
        • -

          networkManagerField

          -
          protected static java.lang.reflect.Field networkManagerField
          -
        • -
        - - - -
          -
        • -

          inputField

          -
          protected static java.lang.reflect.Field inputField
          -
        • -
        - - - -
          -
        • -

          netHandlerField

          -
          protected static java.lang.reflect.Field netHandlerField
          -
        • -
        - - - -
          -
        • -

          networkModifier

          -
          protected static StructureModifier<java.lang.Object> networkModifier
          -
        • -
        - - - -
          -
        • -

          queueMethod

          -
          protected static java.lang.reflect.Method queueMethod
          -
        • -
        - - - -
          -
        • -

          processMethod

          -
          protected static java.lang.reflect.Method processMethod
          -
        • -
        - - - -
          -
        • -

          player

          -
          protected org.bukkit.entity.Player player
          -
        • -
        - - - -
          -
        • -

          hasInitialized

          -
          protected boolean hasInitialized
          -
        • -
        - - - -
          -
        • -

          networkManagerRef

          -
          protected VolatileField networkManagerRef
          -
        • -
        - - - -
          -
        • -

          networkManager

          -
          protected java.lang.Object networkManager
          -
        • -
        - - - -
          -
        • -

          netHandler

          -
          protected java.lang.Object netHandler
          -
        • -
        - - - - - - - -
          -
        • -

          sendingFilters

          -
          protected java.util.Set<java.lang.Integer> sendingFilters
          -
        • -
        - - - -
          -
        • -

          cachedInput

          -
          protected java.io.DataInputStream cachedInput
          -
        • -
        -
      • -
      - -
        -
      • - - -

        Constructor Detail

        - - - -
          -
        • -

          NetworkFieldInjector

          -
          public NetworkFieldInjector(org.bukkit.entity.Player player,
          -                    PacketFilterManager manager,
          -                    java.util.Set<java.lang.Integer> sendingFilters)
          -                     throws java.lang.IllegalAccessException
          -
          Throws:
          -
          java.lang.IllegalAccessException
          -
        • -
        -
      • -
      - -
        -
      • - - -

        Method Detail

        - - - -
          -
        • -

          initialize

          -
          protected void initialize()
          -                   throws java.lang.IllegalAccessException
          -
          Throws:
          -
          java.lang.IllegalAccessException
          -
        • -
        - - - -
          -
        • -

          sendServerPacket

          -
          public void sendServerPacket(net.minecraft.server.Packet packet,
          -                    boolean filtered)
          -                      throws java.lang.reflect.InvocationTargetException
          -
          Send a packet to the client.
          -
          Parameters:
          packet - - server packet to send.
          filtered - - whether or not the packet will be filtered by our listeners.
          -
          Throws:
          -
          java.lang.reflect.InvocationTargetException
          -
        • -
        - - - -
          -
        • -

          injectManager

          -
          public void injectManager()
          -
          Inject a hook to catch packets sent to the current player.
          -
        • -
        - - - -
          -
        • -

          cleanupAll

          -
          public void cleanupAll()
          -
          Remove all hooks and modifications.
          -
        • -
        - - - -
          -
        • -

          processPacket

          -
          public void processPacket(net.minecraft.server.Packet packet)
          -                   throws java.lang.IllegalAccessException,
          -                          java.lang.reflect.InvocationTargetException
          -
          Processes the given packet as if it was transmitted by the current player.
          -
          Parameters:
          packet - - packet to process.
          -
          Throws:
          -
          java.lang.IllegalAccessException - If the reflection machinery failed.
          -
          java.lang.reflect.InvocationTargetException - If the underlying method caused an error.
          -
        • -
        - - - -
          -
        • -

          getInputStream

          -
          public java.io.DataInputStream getInputStream(boolean cache)
          -
          Retrieve the current player's input stream.
          -
          Parameters:
          cache - - whether or not to cache the result of this method.
          -
          Returns:
          The player's input stream.
          -
        • -
        -
      • -
      -
    • -
    -
    -
    - - - - - - - diff --git a/Javadoc/com/comphenix/protocol/injector/NetworkObjectInjector.html b/Javadoc/com/comphenix/protocol/injector/NetworkObjectInjector.html deleted file mode 100644 index 4740aa2c..00000000 --- a/Javadoc/com/comphenix/protocol/injector/NetworkObjectInjector.html +++ /dev/null @@ -1,581 +0,0 @@ - - - - - -NetworkObjectInjector - - - - - - - - - - - -
    -
    com.comphenix.protocol.injector
    -

    Class NetworkObjectInjector

    -
    -
    -
      -
    • java.lang.Object
    • -
    • -
        -
      • com.comphenix.protocol.injector.NetworkObjectInjector
      • -
      -
    • -
    -
    -
      -
    • -
      -
      -
      public class NetworkObjectInjector
      -extends java.lang.Object
      -
      Injection method that overrides the NetworkHandler itself, and it's sendPacket-method.
      -
      Author:
      -
      Kristian
      -
    • -
    -
    -
    -
      -
    • - - - -
        -
      • - - -

        Constructor Summary

        - - - - - - - - -
        Constructors 
        Constructor and Description
        NetworkObjectInjector(org.bukkit.entity.Player player, - PacketFilterManager manager, - java.util.Set<java.lang.Integer> sendingFilters) 
        -
      • -
      - -
        -
      • - - -

        Method Summary

        - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        Methods 
        Modifier and TypeMethod and Description
        voidcleanupAll() -
        Remove all hooks and modifications.
        -
        java.io.DataInputStreamgetInputStream(boolean cache) -
        Retrieve the current player's input stream.
        -
        protected voidinitialize() 
        voidinjectManager() -
        Inject a hook to catch packets sent to the current player.
        -
        voidprocessPacket(net.minecraft.server.Packet packet) -
        Processes the given packet as if it was transmitted by the current player.
        -
        voidsendServerPacket(net.minecraft.server.Packet packet, - boolean filtered) -
        Send a packet to the client.
        -
        -
          -
        • - - -

          Methods inherited from class java.lang.Object

          -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
        • -
        -
      • -
      -
    • -
    -
    -
    -
      -
    • - -
        -
      • - - -

        Field Detail

        - - - -
          -
        • -

          serverHandlerField

          -
          protected static java.lang.reflect.Field serverHandlerField
          -
        • -
        - - - -
          -
        • -

          networkManagerField

          -
          protected static java.lang.reflect.Field networkManagerField
          -
        • -
        - - - -
          -
        • -

          inputField

          -
          protected static java.lang.reflect.Field inputField
          -
        • -
        - - - -
          -
        • -

          netHandlerField

          -
          protected static java.lang.reflect.Field netHandlerField
          -
        • -
        - - - -
          -
        • -

          networkModifier

          -
          protected static StructureModifier<java.lang.Object> networkModifier
          -
        • -
        - - - -
          -
        • -

          queueMethod

          -
          protected static java.lang.reflect.Method queueMethod
          -
        • -
        - - - -
          -
        • -

          processMethod

          -
          protected static java.lang.reflect.Method processMethod
          -
        • -
        - - - -
          -
        • -

          player

          -
          protected org.bukkit.entity.Player player
          -
        • -
        - - - -
          -
        • -

          hasInitialized

          -
          protected boolean hasInitialized
          -
        • -
        - - - -
          -
        • -

          networkManagerRef

          -
          protected VolatileField networkManagerRef
          -
        • -
        - - - -
          -
        • -

          networkManager

          -
          protected java.lang.Object networkManager
          -
        • -
        - - - -
          -
        • -

          netHandler

          -
          protected java.lang.Object netHandler
          -
        • -
        - - - - - - - -
          -
        • -

          sendingFilters

          -
          protected java.util.Set<java.lang.Integer> sendingFilters
          -
        • -
        - - - -
          -
        • -

          cachedInput

          -
          protected java.io.DataInputStream cachedInput
          -
        • -
        -
      • -
      - -
        -
      • - - -

        Constructor Detail

        - - - -
          -
        • -

          NetworkObjectInjector

          -
          public NetworkObjectInjector(org.bukkit.entity.Player player,
          -                     PacketFilterManager manager,
          -                     java.util.Set<java.lang.Integer> sendingFilters)
          -                      throws java.lang.IllegalAccessException
          -
          Throws:
          -
          java.lang.IllegalAccessException
          -
        • -
        -
      • -
      - -
        -
      • - - -

        Method Detail

        - - - -
          -
        • -

          sendServerPacket

          -
          public void sendServerPacket(net.minecraft.server.Packet packet,
          -                    boolean filtered)
          -                      throws java.lang.reflect.InvocationTargetException
          -
          Send a packet to the client.
          -
          Parameters:
          packet - - server packet to send.
          filtered - - whether or not the packet will be filtered by our listeners.
          -
          Throws:
          -
          java.lang.reflect.InvocationTargetException
          -
        • -
        - - - -
          -
        • -

          injectManager

          -
          public void injectManager()
          -
          Inject a hook to catch packets sent to the current player.
          -
        • -
        - - - -
          -
        • -

          cleanupAll

          -
          public void cleanupAll()
          -
          Remove all hooks and modifications.
          -
        • -
        - - - -
          -
        • -

          initialize

          -
          protected void initialize()
          -                   throws java.lang.IllegalAccessException
          -
          Throws:
          -
          java.lang.IllegalAccessException
          -
        • -
        - - - -
          -
        • -

          processPacket

          -
          public void processPacket(net.minecraft.server.Packet packet)
          -                   throws java.lang.IllegalAccessException,
          -                          java.lang.reflect.InvocationTargetException
          -
          Processes the given packet as if it was transmitted by the current player.
          -
          Parameters:
          packet - - packet to process.
          -
          Throws:
          -
          java.lang.IllegalAccessException - If the reflection machinery failed.
          -
          java.lang.reflect.InvocationTargetException - If the underlying method caused an error.
          -
        • -
        - - - -
          -
        • -

          getInputStream

          -
          public java.io.DataInputStream getInputStream(boolean cache)
          -
          Retrieve the current player's input stream.
          -
          Parameters:
          cache - - whether or not to cache the result of this method.
          -
          Returns:
          The player's input stream.
          -
        • -
        -
      • -
      -
    • -
    -
    -
    - - - - - - - diff --git a/Javadoc/com/comphenix/protocol/injector/NetworkServerInjector.html b/Javadoc/com/comphenix/protocol/injector/NetworkServerInjector.html deleted file mode 100644 index ad651608..00000000 --- a/Javadoc/com/comphenix/protocol/injector/NetworkServerInjector.html +++ /dev/null @@ -1,665 +0,0 @@ - - - - - -NetworkServerInjector - - - - - - - - - - - -
    -
    com.comphenix.protocol.injector
    -

    Class NetworkServerInjector

    -
    -
    -
      -
    • java.lang.Object
    • -
    • -
        -
      • com.comphenix.protocol.injector.NetworkServerInjector
      • -
      -
    • -
    -
    -
      -
    • -
      -
      -
      public class NetworkServerInjector
      -extends java.lang.Object
      -
      Represents a player hook into the NetServerHandler class.
      -
      Author:
      -
      Kristian
      -
    • -
    -
    -
    -
      -
    • - - - -
        -
      • - - -

        Constructor Summary

        - - - - - - - - -
        Constructors 
        Constructor and Description
        NetworkServerInjector(org.bukkit.entity.Player player, - PacketFilterManager manager, - java.util.Set<java.lang.Integer> sendingFilters, - com.comphenix.protocol.injector.InjectedServerConnection serverInjection) 
        -
      • -
      - -
        -
      • - - -

        Method Summary

        - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        Methods 
        Modifier and TypeMethod and Description
        voidcheckListener(PacketListener listener) -
        Invoked before a new listener is registered.
        -
        voidcleanupAll() -
        Remove all hooks and modifications.
        -
        protected net.minecraft.server.EntityPlayergetEntityPlayer() -
        Retrieve the notch (NMS) entity player object.
        -
        java.io.DataInputStreamgetInputStream(boolean cache) -
        Retrieve the current player's input stream.
        -
        protected java.lang.ObjectgetNetHandler() -
        Retrieves the current net handler for this player.
        -
        protected voidinitialize() 
        voidinjectManager() -
        Inject a hook to catch packets sent to the current player.
        -
        voidprocessPacket(net.minecraft.server.Packet packet) -
        Processes the given packet as if it was transmitted by the current player.
        -
        voidsendServerPacket(net.minecraft.server.Packet packet, - boolean filtered) -
        Send a packet to the client.
        -
        -
          -
        • - - -

          Methods inherited from class java.lang.Object

          -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
        • -
        -
      • -
      -
    • -
    -
    -
    -
      -
    • - -
        -
      • - - -

        Field Detail

        - - - -
          -
        • -

          serverHandlerField

          -
          protected static java.lang.reflect.Field serverHandlerField
          -
        • -
        - - - -
          -
        • -

          networkManagerField

          -
          protected static java.lang.reflect.Field networkManagerField
          -
        • -
        - - - -
          -
        • -

          inputField

          -
          protected static java.lang.reflect.Field inputField
          -
        • -
        - - - -
          -
        • -

          netHandlerField

          -
          protected static java.lang.reflect.Field netHandlerField
          -
        • -
        - - - -
          -
        • -

          networkModifier

          -
          protected static StructureModifier<java.lang.Object> networkModifier
          -
        • -
        - - - -
          -
        • -

          queueMethod

          -
          protected static java.lang.reflect.Method queueMethod
          -
        • -
        - - - -
          -
        • -

          processMethod

          -
          protected static java.lang.reflect.Method processMethod
          -
        • -
        - - - -
          -
        • -

          player

          -
          protected org.bukkit.entity.Player player
          -
        • -
        - - - -
          -
        • -

          hasInitialized

          -
          protected boolean hasInitialized
          -
        • -
        - - - -
          -
        • -

          networkManagerRef

          -
          protected VolatileField networkManagerRef
          -
        • -
        - - - -
          -
        • -

          serverHandlerRef

          -
          protected VolatileField serverHandlerRef
          -
        • -
        - - - -
          -
        • -

          networkManager

          -
          protected java.lang.Object networkManager
          -
        • -
        - - - -
          -
        • -

          serverHandler

          -
          protected java.lang.Object serverHandler
          -
        • -
        - - - -
          -
        • -

          netHandler

          -
          protected java.lang.Object netHandler
          -
        • -
        - - - - - - - -
          -
        • -

          sendingFilters

          -
          protected java.util.Set<java.lang.Integer> sendingFilters
          -
        • -
        - - - -
          -
        • -

          cachedInput

          -
          protected java.io.DataInputStream cachedInput
          -
        • -
        -
      • -
      - -
        -
      • - - -

        Constructor Detail

        - - - -
          -
        • -

          NetworkServerInjector

          -
          public NetworkServerInjector(org.bukkit.entity.Player player,
          -                     PacketFilterManager manager,
          -                     java.util.Set<java.lang.Integer> sendingFilters,
          -                     com.comphenix.protocol.injector.InjectedServerConnection serverInjection)
          -                      throws java.lang.IllegalAccessException
          -
          Throws:
          -
          java.lang.IllegalAccessException
          -
        • -
        -
      • -
      - -
        -
      • - - -

        Method Detail

        - - - -
          -
        • -

          initialize

          -
          protected void initialize()
          -                   throws java.lang.IllegalAccessException
          -
          Throws:
          -
          java.lang.IllegalAccessException
          -
        • -
        - - - -
          -
        • -

          sendServerPacket

          -
          public void sendServerPacket(net.minecraft.server.Packet packet,
          -                    boolean filtered)
          -                      throws java.lang.reflect.InvocationTargetException
          -
          Send a packet to the client.
          -
          Parameters:
          packet - - server packet to send.
          filtered - - whether or not the packet will be filtered by our listeners.
          -
          Throws:
          -
          java.lang.reflect.InvocationTargetException
          -
        • -
        - - - -
          -
        • -

          injectManager

          -
          public void injectManager()
          -
          Inject a hook to catch packets sent to the current player.
          -
        • -
        - - - -
          -
        • -

          cleanupAll

          -
          public void cleanupAll()
          -
          Remove all hooks and modifications.
          -
        • -
        - - - -
          -
        • -

          checkListener

          -
          public void checkListener(PacketListener listener)
          -
          Invoked before a new listener is registered. -

          - The player injector should throw an exception if this listener cannot be properly supplied with packet events.

          -
          Parameters:
          listener - - the listener that is about to be registered.
          -
        • -
        - - - -
          -
        • -

          getEntityPlayer

          -
          protected net.minecraft.server.EntityPlayer getEntityPlayer()
          -
          Retrieve the notch (NMS) entity player object.
          -
          Returns:
          Notch player object.
          -
        • -
        - - - -
          -
        • -

          getNetHandler

          -
          protected java.lang.Object getNetHandler()
          -                                  throws java.lang.IllegalAccessException
          -
          Retrieves the current net handler for this player.
          -
          Returns:
          Current net handler.
          -
          Throws:
          -
          java.lang.IllegalAccessException - Unable to find or retrieve net handler.
          -
        • -
        - - - -
          -
        • -

          processPacket

          -
          public void processPacket(net.minecraft.server.Packet packet)
          -                   throws java.lang.IllegalAccessException,
          -                          java.lang.reflect.InvocationTargetException
          -
          Processes the given packet as if it was transmitted by the current player.
          -
          Parameters:
          packet - - packet to process.
          -
          Throws:
          -
          java.lang.IllegalAccessException - If the reflection machinery failed.
          -
          java.lang.reflect.InvocationTargetException - If the underlying method caused an error.
          -
        • -
        - - - -
          -
        • -

          getInputStream

          -
          public java.io.DataInputStream getInputStream(boolean cache)
          -
          Retrieve the current player's input stream.
          -
          Parameters:
          cache - - whether or not to cache the result of this method.
          -
          Returns:
          The player's input stream.
          -
        • -
        -
      • -
      -
    • -
    -
    -
    - - - - - - - diff --git a/Javadoc/com/comphenix/protocol/injector/PacketConstructor.BukkitUnwrapper.html b/Javadoc/com/comphenix/protocol/injector/PacketConstructor.BukkitUnwrapper.html deleted file mode 100644 index 1ae8c00d..00000000 --- a/Javadoc/com/comphenix/protocol/injector/PacketConstructor.BukkitUnwrapper.html +++ /dev/null @@ -1,269 +0,0 @@ - - - - - -PacketConstructor.BukkitUnwrapper - - - - - - - - - - - -
    -
    com.comphenix.protocol.injector
    -

    Class PacketConstructor.BukkitUnwrapper

    -
    -
    -
      -
    • java.lang.Object
    • -
    • -
        -
      • com.comphenix.protocol.injector.PacketConstructor.BukkitUnwrapper
      • -
      -
    • -
    -
    - -
    -
    -
      -
    • - - - -
        -
      • - - -

        Method Summary

        - - - - - - - - - - -
        Methods 
        Modifier and TypeMethod and Description
        java.lang.ObjectunwrapItem(java.lang.Object wrappedObject) 
        -
          -
        • - - -

          Methods inherited from class java.lang.Object

          -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
        • -
        -
      • -
      -
    • -
    -
    -
    -
      -
    • - -
        -
      • - - -

        Constructor Detail

        - - - -
          -
        • -

          PacketConstructor.BukkitUnwrapper

          -
          public PacketConstructor.BukkitUnwrapper()
          -
        • -
        -
      • -
      - - -
    • -
    -
    -
    - - - - - - - diff --git a/Javadoc/com/comphenix/protocol/injector/PacketConstructor.Unwrapper.html b/Javadoc/com/comphenix/protocol/injector/PacketConstructor.Unwrapper.html index 3ae750f0..d6a38912 100644 --- a/Javadoc/com/comphenix/protocol/injector/PacketConstructor.Unwrapper.html +++ b/Javadoc/com/comphenix/protocol/injector/PacketConstructor.Unwrapper.html @@ -2,7 +2,7 @@ - + PacketConstructor.Unwrapper diff --git a/Javadoc/com/comphenix/protocol/injector/PacketConstructor.html b/Javadoc/com/comphenix/protocol/injector/PacketConstructor.html index 7a47f374..cd426ffd 100644 --- a/Javadoc/com/comphenix/protocol/injector/PacketConstructor.html +++ b/Javadoc/com/comphenix/protocol/injector/PacketConstructor.html @@ -2,7 +2,7 @@ - + PacketConstructor diff --git a/Javadoc/com/comphenix/protocol/injector/PacketFilterManager.PlayerInjectHooks.html b/Javadoc/com/comphenix/protocol/injector/PacketFilterManager.PlayerInjectHooks.html index 55955a34..152f2a20 100644 --- a/Javadoc/com/comphenix/protocol/injector/PacketFilterManager.PlayerInjectHooks.html +++ b/Javadoc/com/comphenix/protocol/injector/PacketFilterManager.PlayerInjectHooks.html @@ -2,7 +2,7 @@ - + PacketFilterManager.PlayerInjectHooks diff --git a/Javadoc/com/comphenix/protocol/injector/PacketFilterManager.html b/Javadoc/com/comphenix/protocol/injector/PacketFilterManager.html index 2209b46f..cba83fc4 100644 --- a/Javadoc/com/comphenix/protocol/injector/PacketFilterManager.html +++ b/Javadoc/com/comphenix/protocol/injector/PacketFilterManager.html @@ -2,7 +2,7 @@ - + PacketFilterManager diff --git a/Javadoc/com/comphenix/protocol/injector/PlayerLoggedOutException.html b/Javadoc/com/comphenix/protocol/injector/PlayerLoggedOutException.html index 7e88e4a0..87484759 100644 --- a/Javadoc/com/comphenix/protocol/injector/PlayerLoggedOutException.html +++ b/Javadoc/com/comphenix/protocol/injector/PlayerLoggedOutException.html @@ -2,7 +2,7 @@ - + PlayerLoggedOutException diff --git a/Javadoc/com/comphenix/protocol/injector/PrioritizedListener.html b/Javadoc/com/comphenix/protocol/injector/PrioritizedListener.html index 06ce1855..1b647843 100644 --- a/Javadoc/com/comphenix/protocol/injector/PrioritizedListener.html +++ b/Javadoc/com/comphenix/protocol/injector/PrioritizedListener.html @@ -2,7 +2,7 @@ - + PrioritizedListener diff --git a/Javadoc/com/comphenix/protocol/injector/SortedCopyOnWriteArrayTest.html b/Javadoc/com/comphenix/protocol/injector/SortedCopyOnWriteArrayTest.html index 87f3f058..8339992d 100644 --- a/Javadoc/com/comphenix/protocol/injector/SortedCopyOnWriteArrayTest.html +++ b/Javadoc/com/comphenix/protocol/injector/SortedCopyOnWriteArrayTest.html @@ -2,7 +2,7 @@ - + SortedCopyOnWriteArrayTest diff --git a/Javadoc/com/comphenix/protocol/injector/StructureCache.html b/Javadoc/com/comphenix/protocol/injector/StructureCache.html index deac0da9..2d696cc1 100644 --- a/Javadoc/com/comphenix/protocol/injector/StructureCache.html +++ b/Javadoc/com/comphenix/protocol/injector/StructureCache.html @@ -2,7 +2,7 @@ - + StructureCache diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/BukkitUnwrapper.html b/Javadoc/com/comphenix/protocol/injector/class-use/BukkitUnwrapper.html index f090b295..3d2472b9 100644 --- a/Javadoc/com/comphenix/protocol/injector/class-use/BukkitUnwrapper.html +++ b/Javadoc/com/comphenix/protocol/injector/class-use/BukkitUnwrapper.html @@ -2,7 +2,7 @@ - + Uses of Class com.comphenix.protocol.injector.BukkitUnwrapper diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/ConcurrentListenerMultimap.html b/Javadoc/com/comphenix/protocol/injector/class-use/ConcurrentListenerMultimap.html deleted file mode 100644 index 337267ae..00000000 --- a/Javadoc/com/comphenix/protocol/injector/class-use/ConcurrentListenerMultimap.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.injector.ConcurrentListenerMultimap - - - - - - - - - - -
    -

    Uses of Class
    com.comphenix.protocol.injector.ConcurrentListenerMultimap

    -
    -
    No usage of com.comphenix.protocol.injector.ConcurrentListenerMultimap
    - - - - - - diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/ListenerInvoker.html b/Javadoc/com/comphenix/protocol/injector/class-use/ListenerInvoker.html index abeef7ce..3569bc56 100644 --- a/Javadoc/com/comphenix/protocol/injector/class-use/ListenerInvoker.html +++ b/Javadoc/com/comphenix/protocol/injector/class-use/ListenerInvoker.html @@ -2,7 +2,7 @@ - + Uses of Interface com.comphenix.protocol.injector.ListenerInvoker diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/NetworkFieldInjector.FakePacket.html b/Javadoc/com/comphenix/protocol/injector/class-use/NetworkFieldInjector.FakePacket.html deleted file mode 100644 index e70e581b..00000000 --- a/Javadoc/com/comphenix/protocol/injector/class-use/NetworkFieldInjector.FakePacket.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - -Uses of Interface com.comphenix.protocol.injector.NetworkFieldInjector.FakePacket - - - - - - - - - - -
    -

    Uses of Interface
    com.comphenix.protocol.injector.NetworkFieldInjector.FakePacket

    -
    -
    No usage of com.comphenix.protocol.injector.NetworkFieldInjector.FakePacket
    - - - - - - diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/NetworkFieldInjector.html b/Javadoc/com/comphenix/protocol/injector/class-use/NetworkFieldInjector.html deleted file mode 100644 index 69b7c1a0..00000000 --- a/Javadoc/com/comphenix/protocol/injector/class-use/NetworkFieldInjector.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.injector.NetworkFieldInjector - - - - - - - - - - -
    -

    Uses of Class
    com.comphenix.protocol.injector.NetworkFieldInjector

    -
    -
    No usage of com.comphenix.protocol.injector.NetworkFieldInjector
    - - - - - - diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/NetworkObjectInjector.html b/Javadoc/com/comphenix/protocol/injector/class-use/NetworkObjectInjector.html deleted file mode 100644 index 40ea51e7..00000000 --- a/Javadoc/com/comphenix/protocol/injector/class-use/NetworkObjectInjector.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.injector.NetworkObjectInjector - - - - - - - - - - -
    -

    Uses of Class
    com.comphenix.protocol.injector.NetworkObjectInjector

    -
    -
    No usage of com.comphenix.protocol.injector.NetworkObjectInjector
    - - - - - - diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/NetworkServerInjector.html b/Javadoc/com/comphenix/protocol/injector/class-use/NetworkServerInjector.html deleted file mode 100644 index 13284348..00000000 --- a/Javadoc/com/comphenix/protocol/injector/class-use/NetworkServerInjector.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.injector.NetworkServerInjector - - - - - - - - - - -
    -

    Uses of Class
    com.comphenix.protocol.injector.NetworkServerInjector

    -
    -
    No usage of com.comphenix.protocol.injector.NetworkServerInjector
    - - - - - - diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/PacketConstructor.BukkitUnwrapper.html b/Javadoc/com/comphenix/protocol/injector/class-use/PacketConstructor.BukkitUnwrapper.html deleted file mode 100644 index 6bfee7da..00000000 --- a/Javadoc/com/comphenix/protocol/injector/class-use/PacketConstructor.BukkitUnwrapper.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.injector.PacketConstructor.BukkitUnwrapper - - - - - - - - - - -
    -

    Uses of Class
    com.comphenix.protocol.injector.PacketConstructor.BukkitUnwrapper

    -
    -
    No usage of com.comphenix.protocol.injector.PacketConstructor.BukkitUnwrapper
    - - - - - - diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/PacketConstructor.Unwrapper.html b/Javadoc/com/comphenix/protocol/injector/class-use/PacketConstructor.Unwrapper.html index e2be3e94..175b5ac9 100644 --- a/Javadoc/com/comphenix/protocol/injector/class-use/PacketConstructor.Unwrapper.html +++ b/Javadoc/com/comphenix/protocol/injector/class-use/PacketConstructor.Unwrapper.html @@ -2,7 +2,7 @@ - + Uses of Interface com.comphenix.protocol.injector.PacketConstructor.Unwrapper diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/PacketConstructor.html b/Javadoc/com/comphenix/protocol/injector/class-use/PacketConstructor.html index d0db5c03..b64c12b9 100644 --- a/Javadoc/com/comphenix/protocol/injector/class-use/PacketConstructor.html +++ b/Javadoc/com/comphenix/protocol/injector/class-use/PacketConstructor.html @@ -2,7 +2,7 @@ - + Uses of Class com.comphenix.protocol.injector.PacketConstructor diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/PacketFilterManager.PlayerInjectHooks.html b/Javadoc/com/comphenix/protocol/injector/class-use/PacketFilterManager.PlayerInjectHooks.html index 6dc5e303..377e2986 100644 --- a/Javadoc/com/comphenix/protocol/injector/class-use/PacketFilterManager.PlayerInjectHooks.html +++ b/Javadoc/com/comphenix/protocol/injector/class-use/PacketFilterManager.PlayerInjectHooks.html @@ -2,7 +2,7 @@ - + Uses of Class com.comphenix.protocol.injector.PacketFilterManager.PlayerInjectHooks diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/PacketFilterManager.html b/Javadoc/com/comphenix/protocol/injector/class-use/PacketFilterManager.html index c7511e5b..4ebfd817 100644 --- a/Javadoc/com/comphenix/protocol/injector/class-use/PacketFilterManager.html +++ b/Javadoc/com/comphenix/protocol/injector/class-use/PacketFilterManager.html @@ -2,7 +2,7 @@ - + Uses of Class com.comphenix.protocol.injector.PacketFilterManager diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/PlayerLoggedOutException.html b/Javadoc/com/comphenix/protocol/injector/class-use/PlayerLoggedOutException.html index b38b99e7..1b351c1f 100644 --- a/Javadoc/com/comphenix/protocol/injector/class-use/PlayerLoggedOutException.html +++ b/Javadoc/com/comphenix/protocol/injector/class-use/PlayerLoggedOutException.html @@ -2,7 +2,7 @@ - + Uses of Class com.comphenix.protocol.injector.PlayerLoggedOutException diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/PrioritizedListener.html b/Javadoc/com/comphenix/protocol/injector/class-use/PrioritizedListener.html index eb1c817d..140169b5 100644 --- a/Javadoc/com/comphenix/protocol/injector/class-use/PrioritizedListener.html +++ b/Javadoc/com/comphenix/protocol/injector/class-use/PrioritizedListener.html @@ -2,7 +2,7 @@ - + Uses of Class com.comphenix.protocol.injector.PrioritizedListener diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/SortedCopyOnWriteArrayTest.html b/Javadoc/com/comphenix/protocol/injector/class-use/SortedCopyOnWriteArrayTest.html index f910576e..fedf9a0e 100644 --- a/Javadoc/com/comphenix/protocol/injector/class-use/SortedCopyOnWriteArrayTest.html +++ b/Javadoc/com/comphenix/protocol/injector/class-use/SortedCopyOnWriteArrayTest.html @@ -2,7 +2,7 @@ - + Uses of Class com.comphenix.protocol.injector.SortedCopyOnWriteArrayTest diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/StructureCache.html b/Javadoc/com/comphenix/protocol/injector/class-use/StructureCache.html index 38c14632..2ba6cd0a 100644 --- a/Javadoc/com/comphenix/protocol/injector/class-use/StructureCache.html +++ b/Javadoc/com/comphenix/protocol/injector/class-use/StructureCache.html @@ -2,7 +2,7 @@ - + Uses of Class com.comphenix.protocol.injector.StructureCache diff --git a/Javadoc/com/comphenix/protocol/injector/package-frame.html b/Javadoc/com/comphenix/protocol/injector/package-frame.html index bb83a183..526787ba 100644 --- a/Javadoc/com/comphenix/protocol/injector/package-frame.html +++ b/Javadoc/com/comphenix/protocol/injector/package-frame.html @@ -2,7 +2,7 @@ - + com.comphenix.protocol.injector diff --git a/Javadoc/com/comphenix/protocol/injector/package-summary.html b/Javadoc/com/comphenix/protocol/injector/package-summary.html index 9bc58617..c6676a95 100644 --- a/Javadoc/com/comphenix/protocol/injector/package-summary.html +++ b/Javadoc/com/comphenix/protocol/injector/package-summary.html @@ -2,7 +2,7 @@ - + com.comphenix.protocol.injector diff --git a/Javadoc/com/comphenix/protocol/injector/package-tree.html b/Javadoc/com/comphenix/protocol/injector/package-tree.html index 7eed6fa9..4037b484 100644 --- a/Javadoc/com/comphenix/protocol/injector/package-tree.html +++ b/Javadoc/com/comphenix/protocol/injector/package-tree.html @@ -2,7 +2,7 @@ - + com.comphenix.protocol.injector Class Hierarchy diff --git a/Javadoc/com/comphenix/protocol/injector/package-use.html b/Javadoc/com/comphenix/protocol/injector/package-use.html index 72b18ead..39d33ed9 100644 --- a/Javadoc/com/comphenix/protocol/injector/package-use.html +++ b/Javadoc/com/comphenix/protocol/injector/package-use.html @@ -2,7 +2,7 @@ - + Uses of Package com.comphenix.protocol.injector diff --git a/Javadoc/com/comphenix/protocol/injector/player/NetworkServerInjector.html b/Javadoc/com/comphenix/protocol/injector/player/NetworkServerInjector.html index dcbaff96..8568958d 100644 --- a/Javadoc/com/comphenix/protocol/injector/player/NetworkServerInjector.html +++ b/Javadoc/com/comphenix/protocol/injector/player/NetworkServerInjector.html @@ -2,7 +2,7 @@ - + NetworkServerInjector diff --git a/Javadoc/com/comphenix/protocol/injector/player/PlayerInjectionHandler.html b/Javadoc/com/comphenix/protocol/injector/player/PlayerInjectionHandler.html index 0d44b306..b1b805d7 100644 --- a/Javadoc/com/comphenix/protocol/injector/player/PlayerInjectionHandler.html +++ b/Javadoc/com/comphenix/protocol/injector/player/PlayerInjectionHandler.html @@ -2,7 +2,7 @@ - + PlayerInjectionHandler diff --git a/Javadoc/com/comphenix/protocol/injector/player/class-use/NetworkServerInjector.html b/Javadoc/com/comphenix/protocol/injector/player/class-use/NetworkServerInjector.html index 2142f032..7ac48149 100644 --- a/Javadoc/com/comphenix/protocol/injector/player/class-use/NetworkServerInjector.html +++ b/Javadoc/com/comphenix/protocol/injector/player/class-use/NetworkServerInjector.html @@ -2,7 +2,7 @@ - + Uses of Class com.comphenix.protocol.injector.player.NetworkServerInjector diff --git a/Javadoc/com/comphenix/protocol/injector/player/class-use/PlayerInjectionHandler.html b/Javadoc/com/comphenix/protocol/injector/player/class-use/PlayerInjectionHandler.html index e9ef6b77..1ea94252 100644 --- a/Javadoc/com/comphenix/protocol/injector/player/class-use/PlayerInjectionHandler.html +++ b/Javadoc/com/comphenix/protocol/injector/player/class-use/PlayerInjectionHandler.html @@ -2,7 +2,7 @@ - + Uses of Class com.comphenix.protocol.injector.player.PlayerInjectionHandler diff --git a/Javadoc/com/comphenix/protocol/injector/player/package-frame.html b/Javadoc/com/comphenix/protocol/injector/player/package-frame.html index 6f1ac9b3..fb2c4fb2 100644 --- a/Javadoc/com/comphenix/protocol/injector/player/package-frame.html +++ b/Javadoc/com/comphenix/protocol/injector/player/package-frame.html @@ -2,7 +2,7 @@ - + com.comphenix.protocol.injector.player diff --git a/Javadoc/com/comphenix/protocol/injector/player/package-summary.html b/Javadoc/com/comphenix/protocol/injector/player/package-summary.html index 6f4d7904..3a3ab325 100644 --- a/Javadoc/com/comphenix/protocol/injector/player/package-summary.html +++ b/Javadoc/com/comphenix/protocol/injector/player/package-summary.html @@ -2,7 +2,7 @@ - + com.comphenix.protocol.injector.player diff --git a/Javadoc/com/comphenix/protocol/injector/player/package-tree.html b/Javadoc/com/comphenix/protocol/injector/player/package-tree.html index 6fdb5c6c..7d0833e5 100644 --- a/Javadoc/com/comphenix/protocol/injector/player/package-tree.html +++ b/Javadoc/com/comphenix/protocol/injector/player/package-tree.html @@ -2,7 +2,7 @@ - + com.comphenix.protocol.injector.player Class Hierarchy diff --git a/Javadoc/com/comphenix/protocol/injector/player/package-use.html b/Javadoc/com/comphenix/protocol/injector/player/package-use.html index f0263220..47366d79 100644 --- a/Javadoc/com/comphenix/protocol/injector/player/package-use.html +++ b/Javadoc/com/comphenix/protocol/injector/player/package-use.html @@ -2,7 +2,7 @@ - + Uses of Package com.comphenix.protocol.injector.player diff --git a/Javadoc/com/comphenix/protocol/metrics/Statistics.html b/Javadoc/com/comphenix/protocol/metrics/Statistics.html index 3a63650d..e8db4aee 100644 --- a/Javadoc/com/comphenix/protocol/metrics/Statistics.html +++ b/Javadoc/com/comphenix/protocol/metrics/Statistics.html @@ -2,7 +2,7 @@ - + Statistics diff --git a/Javadoc/com/comphenix/protocol/metrics/class-use/Statistics.html b/Javadoc/com/comphenix/protocol/metrics/class-use/Statistics.html index 82248b20..f8b0b461 100644 --- a/Javadoc/com/comphenix/protocol/metrics/class-use/Statistics.html +++ b/Javadoc/com/comphenix/protocol/metrics/class-use/Statistics.html @@ -2,7 +2,7 @@ - + Uses of Class com.comphenix.protocol.metrics.Statistics diff --git a/Javadoc/com/comphenix/protocol/metrics/package-frame.html b/Javadoc/com/comphenix/protocol/metrics/package-frame.html index 0b954fe9..c90266b8 100644 --- a/Javadoc/com/comphenix/protocol/metrics/package-frame.html +++ b/Javadoc/com/comphenix/protocol/metrics/package-frame.html @@ -2,7 +2,7 @@ - + com.comphenix.protocol.metrics diff --git a/Javadoc/com/comphenix/protocol/metrics/package-summary.html b/Javadoc/com/comphenix/protocol/metrics/package-summary.html index ad83f8b9..c02b4fd7 100644 --- a/Javadoc/com/comphenix/protocol/metrics/package-summary.html +++ b/Javadoc/com/comphenix/protocol/metrics/package-summary.html @@ -2,7 +2,7 @@ - + com.comphenix.protocol.metrics diff --git a/Javadoc/com/comphenix/protocol/metrics/package-tree.html b/Javadoc/com/comphenix/protocol/metrics/package-tree.html index 6fb885fd..53d42b43 100644 --- a/Javadoc/com/comphenix/protocol/metrics/package-tree.html +++ b/Javadoc/com/comphenix/protocol/metrics/package-tree.html @@ -2,7 +2,7 @@ - + com.comphenix.protocol.metrics Class Hierarchy diff --git a/Javadoc/com/comphenix/protocol/metrics/package-use.html b/Javadoc/com/comphenix/protocol/metrics/package-use.html index 64ca7eac..c725eb10 100644 --- a/Javadoc/com/comphenix/protocol/metrics/package-use.html +++ b/Javadoc/com/comphenix/protocol/metrics/package-use.html @@ -2,7 +2,7 @@ - + Uses of Package com.comphenix.protocol.metrics diff --git a/Javadoc/com/comphenix/protocol/package-frame.html b/Javadoc/com/comphenix/protocol/package-frame.html index a1cece6c..25fbad86 100644 --- a/Javadoc/com/comphenix/protocol/package-frame.html +++ b/Javadoc/com/comphenix/protocol/package-frame.html @@ -2,7 +2,7 @@ - + com.comphenix.protocol diff --git a/Javadoc/com/comphenix/protocol/package-summary.html b/Javadoc/com/comphenix/protocol/package-summary.html index abbb95bc..0a7e9b12 100644 --- a/Javadoc/com/comphenix/protocol/package-summary.html +++ b/Javadoc/com/comphenix/protocol/package-summary.html @@ -2,7 +2,7 @@ - + com.comphenix.protocol diff --git a/Javadoc/com/comphenix/protocol/package-tree.html b/Javadoc/com/comphenix/protocol/package-tree.html index ebe945c5..6b629bc5 100644 --- a/Javadoc/com/comphenix/protocol/package-tree.html +++ b/Javadoc/com/comphenix/protocol/package-tree.html @@ -2,7 +2,7 @@ - + com.comphenix.protocol Class Hierarchy diff --git a/Javadoc/com/comphenix/protocol/package-use.html b/Javadoc/com/comphenix/protocol/package-use.html index 086f1c4a..15cbe5dd 100644 --- a/Javadoc/com/comphenix/protocol/package-use.html +++ b/Javadoc/com/comphenix/protocol/package-use.html @@ -2,7 +2,7 @@ - + Uses of Package com.comphenix.protocol diff --git a/Javadoc/com/comphenix/protocol/reflect/EquivalentConverter.html b/Javadoc/com/comphenix/protocol/reflect/EquivalentConverter.html index 7f2cc29d..bd36f72c 100644 --- a/Javadoc/com/comphenix/protocol/reflect/EquivalentConverter.html +++ b/Javadoc/com/comphenix/protocol/reflect/EquivalentConverter.html @@ -2,7 +2,7 @@ - + EquivalentConverter diff --git a/Javadoc/com/comphenix/protocol/reflect/FieldAccessException.html b/Javadoc/com/comphenix/protocol/reflect/FieldAccessException.html index 5107e542..a8759639 100644 --- a/Javadoc/com/comphenix/protocol/reflect/FieldAccessException.html +++ b/Javadoc/com/comphenix/protocol/reflect/FieldAccessException.html @@ -2,7 +2,7 @@ - + FieldAccessException diff --git a/Javadoc/com/comphenix/protocol/reflect/FieldUtils.html b/Javadoc/com/comphenix/protocol/reflect/FieldUtils.html index f1436e78..9c202cff 100644 --- a/Javadoc/com/comphenix/protocol/reflect/FieldUtils.html +++ b/Javadoc/com/comphenix/protocol/reflect/FieldUtils.html @@ -2,7 +2,7 @@ - + FieldUtils diff --git a/Javadoc/com/comphenix/protocol/reflect/FuzzyReflection.html b/Javadoc/com/comphenix/protocol/reflect/FuzzyReflection.html index e7825743..b275265c 100644 --- a/Javadoc/com/comphenix/protocol/reflect/FuzzyReflection.html +++ b/Javadoc/com/comphenix/protocol/reflect/FuzzyReflection.html @@ -2,7 +2,7 @@ - + FuzzyReflection diff --git a/Javadoc/com/comphenix/protocol/reflect/IntEnum.html b/Javadoc/com/comphenix/protocol/reflect/IntEnum.html index c15a2fa8..747be932 100644 --- a/Javadoc/com/comphenix/protocol/reflect/IntEnum.html +++ b/Javadoc/com/comphenix/protocol/reflect/IntEnum.html @@ -2,7 +2,7 @@ - + IntEnum diff --git a/Javadoc/com/comphenix/protocol/reflect/MethodUtils.html b/Javadoc/com/comphenix/protocol/reflect/MethodUtils.html index 86dbab16..2a87f391 100644 --- a/Javadoc/com/comphenix/protocol/reflect/MethodUtils.html +++ b/Javadoc/com/comphenix/protocol/reflect/MethodUtils.html @@ -2,7 +2,7 @@ - + MethodUtils diff --git a/Javadoc/com/comphenix/protocol/reflect/ObjectCloner.html b/Javadoc/com/comphenix/protocol/reflect/ObjectCloner.html index cef0c17d..97bad8c1 100644 --- a/Javadoc/com/comphenix/protocol/reflect/ObjectCloner.html +++ b/Javadoc/com/comphenix/protocol/reflect/ObjectCloner.html @@ -2,7 +2,7 @@ - + ObjectCloner diff --git a/Javadoc/com/comphenix/protocol/reflect/PrimitiveUtils.html b/Javadoc/com/comphenix/protocol/reflect/PrimitiveUtils.html index 045ac01a..54a212b3 100644 --- a/Javadoc/com/comphenix/protocol/reflect/PrimitiveUtils.html +++ b/Javadoc/com/comphenix/protocol/reflect/PrimitiveUtils.html @@ -2,7 +2,7 @@ - + PrimitiveUtils diff --git a/Javadoc/com/comphenix/protocol/reflect/StructureModifier.html b/Javadoc/com/comphenix/protocol/reflect/StructureModifier.html index b71c6918..52088e7b 100644 --- a/Javadoc/com/comphenix/protocol/reflect/StructureModifier.html +++ b/Javadoc/com/comphenix/protocol/reflect/StructureModifier.html @@ -2,7 +2,7 @@ - + StructureModifier diff --git a/Javadoc/com/comphenix/protocol/reflect/StructureModifierTest.html b/Javadoc/com/comphenix/protocol/reflect/StructureModifierTest.html index 93a929a8..231d99fb 100644 --- a/Javadoc/com/comphenix/protocol/reflect/StructureModifierTest.html +++ b/Javadoc/com/comphenix/protocol/reflect/StructureModifierTest.html @@ -2,7 +2,7 @@ - + StructureModifierTest diff --git a/Javadoc/com/comphenix/protocol/reflect/VolatileField.html b/Javadoc/com/comphenix/protocol/reflect/VolatileField.html index 3b5d8d4a..1d1327aa 100644 --- a/Javadoc/com/comphenix/protocol/reflect/VolatileField.html +++ b/Javadoc/com/comphenix/protocol/reflect/VolatileField.html @@ -2,7 +2,7 @@ - + VolatileField diff --git a/Javadoc/com/comphenix/protocol/reflect/class-use/EquivalentConverter.html b/Javadoc/com/comphenix/protocol/reflect/class-use/EquivalentConverter.html index 9b5d544e..0cb17926 100644 --- a/Javadoc/com/comphenix/protocol/reflect/class-use/EquivalentConverter.html +++ b/Javadoc/com/comphenix/protocol/reflect/class-use/EquivalentConverter.html @@ -2,7 +2,7 @@ - + Uses of Interface com.comphenix.protocol.reflect.EquivalentConverter diff --git a/Javadoc/com/comphenix/protocol/reflect/class-use/FieldAccessException.html b/Javadoc/com/comphenix/protocol/reflect/class-use/FieldAccessException.html index f38988d3..7e22ca0a 100644 --- a/Javadoc/com/comphenix/protocol/reflect/class-use/FieldAccessException.html +++ b/Javadoc/com/comphenix/protocol/reflect/class-use/FieldAccessException.html @@ -2,7 +2,7 @@ - + Uses of Class com.comphenix.protocol.reflect.FieldAccessException diff --git a/Javadoc/com/comphenix/protocol/reflect/class-use/FieldUtils.html b/Javadoc/com/comphenix/protocol/reflect/class-use/FieldUtils.html index 22fe66f3..e1b5134f 100644 --- a/Javadoc/com/comphenix/protocol/reflect/class-use/FieldUtils.html +++ b/Javadoc/com/comphenix/protocol/reflect/class-use/FieldUtils.html @@ -2,7 +2,7 @@ - + Uses of Class com.comphenix.protocol.reflect.FieldUtils diff --git a/Javadoc/com/comphenix/protocol/reflect/class-use/FuzzyReflection.html b/Javadoc/com/comphenix/protocol/reflect/class-use/FuzzyReflection.html index a109bc56..0b5782cf 100644 --- a/Javadoc/com/comphenix/protocol/reflect/class-use/FuzzyReflection.html +++ b/Javadoc/com/comphenix/protocol/reflect/class-use/FuzzyReflection.html @@ -2,7 +2,7 @@ - + Uses of Class com.comphenix.protocol.reflect.FuzzyReflection diff --git a/Javadoc/com/comphenix/protocol/reflect/class-use/IntEnum.html b/Javadoc/com/comphenix/protocol/reflect/class-use/IntEnum.html index 7fe04ea0..c056ab20 100644 --- a/Javadoc/com/comphenix/protocol/reflect/class-use/IntEnum.html +++ b/Javadoc/com/comphenix/protocol/reflect/class-use/IntEnum.html @@ -2,7 +2,7 @@ - + Uses of Class com.comphenix.protocol.reflect.IntEnum diff --git a/Javadoc/com/comphenix/protocol/reflect/class-use/MethodUtils.html b/Javadoc/com/comphenix/protocol/reflect/class-use/MethodUtils.html index 1988a667..9bb13682 100644 --- a/Javadoc/com/comphenix/protocol/reflect/class-use/MethodUtils.html +++ b/Javadoc/com/comphenix/protocol/reflect/class-use/MethodUtils.html @@ -2,7 +2,7 @@ - + Uses of Class com.comphenix.protocol.reflect.MethodUtils diff --git a/Javadoc/com/comphenix/protocol/reflect/class-use/ObjectCloner.html b/Javadoc/com/comphenix/protocol/reflect/class-use/ObjectCloner.html index f00ede2e..43361771 100644 --- a/Javadoc/com/comphenix/protocol/reflect/class-use/ObjectCloner.html +++ b/Javadoc/com/comphenix/protocol/reflect/class-use/ObjectCloner.html @@ -2,7 +2,7 @@ - + Uses of Class com.comphenix.protocol.reflect.ObjectCloner diff --git a/Javadoc/com/comphenix/protocol/reflect/class-use/PrimitiveUtils.html b/Javadoc/com/comphenix/protocol/reflect/class-use/PrimitiveUtils.html index 851d4549..2f33669e 100644 --- a/Javadoc/com/comphenix/protocol/reflect/class-use/PrimitiveUtils.html +++ b/Javadoc/com/comphenix/protocol/reflect/class-use/PrimitiveUtils.html @@ -2,7 +2,7 @@ - + Uses of Class com.comphenix.protocol.reflect.PrimitiveUtils diff --git a/Javadoc/com/comphenix/protocol/reflect/class-use/StructureModifier.html b/Javadoc/com/comphenix/protocol/reflect/class-use/StructureModifier.html index 90ac6577..c9ecdae4 100644 --- a/Javadoc/com/comphenix/protocol/reflect/class-use/StructureModifier.html +++ b/Javadoc/com/comphenix/protocol/reflect/class-use/StructureModifier.html @@ -2,7 +2,7 @@ - + Uses of Class com.comphenix.protocol.reflect.StructureModifier diff --git a/Javadoc/com/comphenix/protocol/reflect/class-use/StructureModifierTest.html b/Javadoc/com/comphenix/protocol/reflect/class-use/StructureModifierTest.html index b19a580d..01c289b0 100644 --- a/Javadoc/com/comphenix/protocol/reflect/class-use/StructureModifierTest.html +++ b/Javadoc/com/comphenix/protocol/reflect/class-use/StructureModifierTest.html @@ -2,7 +2,7 @@ - + Uses of Class com.comphenix.protocol.reflect.StructureModifierTest diff --git a/Javadoc/com/comphenix/protocol/reflect/class-use/VolatileField.html b/Javadoc/com/comphenix/protocol/reflect/class-use/VolatileField.html index 6d4be46a..0725058d 100644 --- a/Javadoc/com/comphenix/protocol/reflect/class-use/VolatileField.html +++ b/Javadoc/com/comphenix/protocol/reflect/class-use/VolatileField.html @@ -2,7 +2,7 @@ - + Uses of Class com.comphenix.protocol.reflect.VolatileField diff --git a/Javadoc/com/comphenix/protocol/reflect/compiler/BackgroundCompiler.html b/Javadoc/com/comphenix/protocol/reflect/compiler/BackgroundCompiler.html index 4009e155..35b48342 100644 --- a/Javadoc/com/comphenix/protocol/reflect/compiler/BackgroundCompiler.html +++ b/Javadoc/com/comphenix/protocol/reflect/compiler/BackgroundCompiler.html @@ -2,7 +2,7 @@ - + BackgroundCompiler diff --git a/Javadoc/com/comphenix/protocol/reflect/compiler/CompileListener.html b/Javadoc/com/comphenix/protocol/reflect/compiler/CompileListener.html index 330958c0..84ef9f5a 100644 --- a/Javadoc/com/comphenix/protocol/reflect/compiler/CompileListener.html +++ b/Javadoc/com/comphenix/protocol/reflect/compiler/CompileListener.html @@ -2,7 +2,7 @@ - + CompileListener diff --git a/Javadoc/com/comphenix/protocol/reflect/compiler/CompiledStructureModifier.html b/Javadoc/com/comphenix/protocol/reflect/compiler/CompiledStructureModifier.html index 600fa7ab..7cb318ae 100644 --- a/Javadoc/com/comphenix/protocol/reflect/compiler/CompiledStructureModifier.html +++ b/Javadoc/com/comphenix/protocol/reflect/compiler/CompiledStructureModifier.html @@ -2,7 +2,7 @@ - + CompiledStructureModifier diff --git a/Javadoc/com/comphenix/protocol/reflect/compiler/StructureCompiler.html b/Javadoc/com/comphenix/protocol/reflect/compiler/StructureCompiler.html index 8c25d5eb..d9dfba90 100644 --- a/Javadoc/com/comphenix/protocol/reflect/compiler/StructureCompiler.html +++ b/Javadoc/com/comphenix/protocol/reflect/compiler/StructureCompiler.html @@ -2,7 +2,7 @@ - + StructureCompiler diff --git a/Javadoc/com/comphenix/protocol/reflect/compiler/class-use/BackgroundCompiler.html b/Javadoc/com/comphenix/protocol/reflect/compiler/class-use/BackgroundCompiler.html index 51ecedf1..3d6e935d 100644 --- a/Javadoc/com/comphenix/protocol/reflect/compiler/class-use/BackgroundCompiler.html +++ b/Javadoc/com/comphenix/protocol/reflect/compiler/class-use/BackgroundCompiler.html @@ -2,7 +2,7 @@ - + Uses of Class com.comphenix.protocol.reflect.compiler.BackgroundCompiler diff --git a/Javadoc/com/comphenix/protocol/reflect/compiler/class-use/CompileListener.html b/Javadoc/com/comphenix/protocol/reflect/compiler/class-use/CompileListener.html index b2f1adaf..4993ae56 100644 --- a/Javadoc/com/comphenix/protocol/reflect/compiler/class-use/CompileListener.html +++ b/Javadoc/com/comphenix/protocol/reflect/compiler/class-use/CompileListener.html @@ -2,7 +2,7 @@ - + Uses of Interface com.comphenix.protocol.reflect.compiler.CompileListener diff --git a/Javadoc/com/comphenix/protocol/reflect/compiler/class-use/CompiledStructureModifier.html b/Javadoc/com/comphenix/protocol/reflect/compiler/class-use/CompiledStructureModifier.html index 2ab3abc8..60e969c4 100644 --- a/Javadoc/com/comphenix/protocol/reflect/compiler/class-use/CompiledStructureModifier.html +++ b/Javadoc/com/comphenix/protocol/reflect/compiler/class-use/CompiledStructureModifier.html @@ -2,7 +2,7 @@ - + Uses of Class com.comphenix.protocol.reflect.compiler.CompiledStructureModifier diff --git a/Javadoc/com/comphenix/protocol/reflect/compiler/class-use/StructureCompiler.html b/Javadoc/com/comphenix/protocol/reflect/compiler/class-use/StructureCompiler.html index a90e3aa9..3d25d5b5 100644 --- a/Javadoc/com/comphenix/protocol/reflect/compiler/class-use/StructureCompiler.html +++ b/Javadoc/com/comphenix/protocol/reflect/compiler/class-use/StructureCompiler.html @@ -2,7 +2,7 @@ - + Uses of Class com.comphenix.protocol.reflect.compiler.StructureCompiler diff --git a/Javadoc/com/comphenix/protocol/reflect/compiler/package-frame.html b/Javadoc/com/comphenix/protocol/reflect/compiler/package-frame.html index 3055dc44..12079a01 100644 --- a/Javadoc/com/comphenix/protocol/reflect/compiler/package-frame.html +++ b/Javadoc/com/comphenix/protocol/reflect/compiler/package-frame.html @@ -2,7 +2,7 @@ - + com.comphenix.protocol.reflect.compiler diff --git a/Javadoc/com/comphenix/protocol/reflect/compiler/package-summary.html b/Javadoc/com/comphenix/protocol/reflect/compiler/package-summary.html index 9a9d65d7..5a7886eb 100644 --- a/Javadoc/com/comphenix/protocol/reflect/compiler/package-summary.html +++ b/Javadoc/com/comphenix/protocol/reflect/compiler/package-summary.html @@ -2,7 +2,7 @@ - + com.comphenix.protocol.reflect.compiler diff --git a/Javadoc/com/comphenix/protocol/reflect/compiler/package-tree.html b/Javadoc/com/comphenix/protocol/reflect/compiler/package-tree.html index 1727d974..a26cb553 100644 --- a/Javadoc/com/comphenix/protocol/reflect/compiler/package-tree.html +++ b/Javadoc/com/comphenix/protocol/reflect/compiler/package-tree.html @@ -2,7 +2,7 @@ - + com.comphenix.protocol.reflect.compiler Class Hierarchy diff --git a/Javadoc/com/comphenix/protocol/reflect/compiler/package-use.html b/Javadoc/com/comphenix/protocol/reflect/compiler/package-use.html index 851884ae..bcf80ecf 100644 --- a/Javadoc/com/comphenix/protocol/reflect/compiler/package-use.html +++ b/Javadoc/com/comphenix/protocol/reflect/compiler/package-use.html @@ -2,7 +2,7 @@ - + Uses of Package com.comphenix.protocol.reflect.compiler diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/CollectionGenerator.html b/Javadoc/com/comphenix/protocol/reflect/instances/CollectionGenerator.html index 644885ec..810ba233 100644 --- a/Javadoc/com/comphenix/protocol/reflect/instances/CollectionGenerator.html +++ b/Javadoc/com/comphenix/protocol/reflect/instances/CollectionGenerator.html @@ -2,7 +2,7 @@ - + CollectionGenerator diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/DefaultInstances.html b/Javadoc/com/comphenix/protocol/reflect/instances/DefaultInstances.html index 8138e81e..1892ece6 100644 --- a/Javadoc/com/comphenix/protocol/reflect/instances/DefaultInstances.html +++ b/Javadoc/com/comphenix/protocol/reflect/instances/DefaultInstances.html @@ -2,7 +2,7 @@ - + DefaultInstances diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/ExistingGenerator.html b/Javadoc/com/comphenix/protocol/reflect/instances/ExistingGenerator.html index cc8af01b..a815337c 100644 --- a/Javadoc/com/comphenix/protocol/reflect/instances/ExistingGenerator.html +++ b/Javadoc/com/comphenix/protocol/reflect/instances/ExistingGenerator.html @@ -2,7 +2,7 @@ - + ExistingGenerator diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/InstanceProvider.html b/Javadoc/com/comphenix/protocol/reflect/instances/InstanceProvider.html index 87ea371b..70d1f49d 100644 --- a/Javadoc/com/comphenix/protocol/reflect/instances/InstanceProvider.html +++ b/Javadoc/com/comphenix/protocol/reflect/instances/InstanceProvider.html @@ -2,7 +2,7 @@ - + InstanceProvider diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/PrimitiveGenerator.html b/Javadoc/com/comphenix/protocol/reflect/instances/PrimitiveGenerator.html index 795cabf4..ccfa02fa 100644 --- a/Javadoc/com/comphenix/protocol/reflect/instances/PrimitiveGenerator.html +++ b/Javadoc/com/comphenix/protocol/reflect/instances/PrimitiveGenerator.html @@ -2,7 +2,7 @@ - + PrimitiveGenerator diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/class-use/CollectionGenerator.html b/Javadoc/com/comphenix/protocol/reflect/instances/class-use/CollectionGenerator.html index a8e97a75..de89c555 100644 --- a/Javadoc/com/comphenix/protocol/reflect/instances/class-use/CollectionGenerator.html +++ b/Javadoc/com/comphenix/protocol/reflect/instances/class-use/CollectionGenerator.html @@ -2,7 +2,7 @@ - + Uses of Class com.comphenix.protocol.reflect.instances.CollectionGenerator diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/class-use/DefaultInstances.html b/Javadoc/com/comphenix/protocol/reflect/instances/class-use/DefaultInstances.html index 35d14b14..234b6fef 100644 --- a/Javadoc/com/comphenix/protocol/reflect/instances/class-use/DefaultInstances.html +++ b/Javadoc/com/comphenix/protocol/reflect/instances/class-use/DefaultInstances.html @@ -2,7 +2,7 @@ - + Uses of Class com.comphenix.protocol.reflect.instances.DefaultInstances diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/class-use/ExistingGenerator.html b/Javadoc/com/comphenix/protocol/reflect/instances/class-use/ExistingGenerator.html index 02211c11..3de68b8c 100644 --- a/Javadoc/com/comphenix/protocol/reflect/instances/class-use/ExistingGenerator.html +++ b/Javadoc/com/comphenix/protocol/reflect/instances/class-use/ExistingGenerator.html @@ -2,7 +2,7 @@ - + Uses of Class com.comphenix.protocol.reflect.instances.ExistingGenerator diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/class-use/InstanceProvider.html b/Javadoc/com/comphenix/protocol/reflect/instances/class-use/InstanceProvider.html index 8e2b5903..d19f9649 100644 --- a/Javadoc/com/comphenix/protocol/reflect/instances/class-use/InstanceProvider.html +++ b/Javadoc/com/comphenix/protocol/reflect/instances/class-use/InstanceProvider.html @@ -2,7 +2,7 @@ - + Uses of Interface com.comphenix.protocol.reflect.instances.InstanceProvider diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/class-use/PrimitiveGenerator.html b/Javadoc/com/comphenix/protocol/reflect/instances/class-use/PrimitiveGenerator.html index 52817824..67290456 100644 --- a/Javadoc/com/comphenix/protocol/reflect/instances/class-use/PrimitiveGenerator.html +++ b/Javadoc/com/comphenix/protocol/reflect/instances/class-use/PrimitiveGenerator.html @@ -2,7 +2,7 @@ - + Uses of Class com.comphenix.protocol.reflect.instances.PrimitiveGenerator diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/package-frame.html b/Javadoc/com/comphenix/protocol/reflect/instances/package-frame.html index 03515346..73645c4e 100644 --- a/Javadoc/com/comphenix/protocol/reflect/instances/package-frame.html +++ b/Javadoc/com/comphenix/protocol/reflect/instances/package-frame.html @@ -2,7 +2,7 @@ - + com.comphenix.protocol.reflect.instances diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/package-summary.html b/Javadoc/com/comphenix/protocol/reflect/instances/package-summary.html index d3a780d6..9abe4ec0 100644 --- a/Javadoc/com/comphenix/protocol/reflect/instances/package-summary.html +++ b/Javadoc/com/comphenix/protocol/reflect/instances/package-summary.html @@ -2,7 +2,7 @@ - + com.comphenix.protocol.reflect.instances diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/package-tree.html b/Javadoc/com/comphenix/protocol/reflect/instances/package-tree.html index b8c02ced..28fabb72 100644 --- a/Javadoc/com/comphenix/protocol/reflect/instances/package-tree.html +++ b/Javadoc/com/comphenix/protocol/reflect/instances/package-tree.html @@ -2,7 +2,7 @@ - + com.comphenix.protocol.reflect.instances Class Hierarchy diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/package-use.html b/Javadoc/com/comphenix/protocol/reflect/instances/package-use.html index e9b5ff8c..fed29a69 100644 --- a/Javadoc/com/comphenix/protocol/reflect/instances/package-use.html +++ b/Javadoc/com/comphenix/protocol/reflect/instances/package-use.html @@ -2,7 +2,7 @@ - + Uses of Package com.comphenix.protocol.reflect.instances diff --git a/Javadoc/com/comphenix/protocol/reflect/package-frame.html b/Javadoc/com/comphenix/protocol/reflect/package-frame.html index e34f8f3a..5bf1b0ce 100644 --- a/Javadoc/com/comphenix/protocol/reflect/package-frame.html +++ b/Javadoc/com/comphenix/protocol/reflect/package-frame.html @@ -2,7 +2,7 @@ - + com.comphenix.protocol.reflect diff --git a/Javadoc/com/comphenix/protocol/reflect/package-summary.html b/Javadoc/com/comphenix/protocol/reflect/package-summary.html index a66bcc88..c57cf678 100644 --- a/Javadoc/com/comphenix/protocol/reflect/package-summary.html +++ b/Javadoc/com/comphenix/protocol/reflect/package-summary.html @@ -2,7 +2,7 @@ - + com.comphenix.protocol.reflect diff --git a/Javadoc/com/comphenix/protocol/reflect/package-tree.html b/Javadoc/com/comphenix/protocol/reflect/package-tree.html index c8eb99a9..b94a5a8e 100644 --- a/Javadoc/com/comphenix/protocol/reflect/package-tree.html +++ b/Javadoc/com/comphenix/protocol/reflect/package-tree.html @@ -2,7 +2,7 @@ - + com.comphenix.protocol.reflect Class Hierarchy diff --git a/Javadoc/com/comphenix/protocol/reflect/package-use.html b/Javadoc/com/comphenix/protocol/reflect/package-use.html index f5063fc5..1f5e71b0 100644 --- a/Javadoc/com/comphenix/protocol/reflect/package-use.html +++ b/Javadoc/com/comphenix/protocol/reflect/package-use.html @@ -2,7 +2,7 @@ - + Uses of Package com.comphenix.protocol.reflect diff --git a/Javadoc/constant-values.html b/Javadoc/constant-values.html index 5167d67f..9de7b054 100644 --- a/Javadoc/constant-values.html +++ b/Javadoc/constant-values.html @@ -2,7 +2,7 @@ - + Constant Field Values diff --git a/Javadoc/deprecated-list.html b/Javadoc/deprecated-list.html index 15c82f7e..527db264 100644 --- a/Javadoc/deprecated-list.html +++ b/Javadoc/deprecated-list.html @@ -2,7 +2,7 @@ - + Deprecated List diff --git a/Javadoc/help-doc.html b/Javadoc/help-doc.html index 04b0cd51..cd5badad 100644 --- a/Javadoc/help-doc.html +++ b/Javadoc/help-doc.html @@ -2,7 +2,7 @@ - + API Help diff --git a/Javadoc/index-files/index-1.html b/Javadoc/index-files/index-1.html index ede67fdc..a1eb5b3e 100644 --- a/Javadoc/index-files/index-1.html +++ b/Javadoc/index-files/index-1.html @@ -2,7 +2,7 @@ - + A-Index diff --git a/Javadoc/index-files/index-10.html b/Javadoc/index-files/index-10.html index bcc14288..03553766 100644 --- a/Javadoc/index-files/index-10.html +++ b/Javadoc/index-files/index-10.html @@ -2,7 +2,7 @@ - + K-Index diff --git a/Javadoc/index-files/index-11.html b/Javadoc/index-files/index-11.html index ed6e07e3..c9592000 100644 --- a/Javadoc/index-files/index-11.html +++ b/Javadoc/index-files/index-11.html @@ -2,7 +2,7 @@ - + L-Index diff --git a/Javadoc/index-files/index-12.html b/Javadoc/index-files/index-12.html index ca52c259..db2db672 100644 --- a/Javadoc/index-files/index-12.html +++ b/Javadoc/index-files/index-12.html @@ -2,7 +2,7 @@ - + M-Index diff --git a/Javadoc/index-files/index-13.html b/Javadoc/index-files/index-13.html index b9cd6254..e9f90c2a 100644 --- a/Javadoc/index-files/index-13.html +++ b/Javadoc/index-files/index-13.html @@ -2,7 +2,7 @@ - + N-Index diff --git a/Javadoc/index-files/index-14.html b/Javadoc/index-files/index-14.html index ce7275aa..b309455c 100644 --- a/Javadoc/index-files/index-14.html +++ b/Javadoc/index-files/index-14.html @@ -2,7 +2,7 @@ - + O-Index diff --git a/Javadoc/index-files/index-15.html b/Javadoc/index-files/index-15.html index 699d7c69..de5eca3c 100644 --- a/Javadoc/index-files/index-15.html +++ b/Javadoc/index-files/index-15.html @@ -2,7 +2,7 @@ - + P-Index diff --git a/Javadoc/index-files/index-16.html b/Javadoc/index-files/index-16.html index 454bb22e..036666e0 100644 --- a/Javadoc/index-files/index-16.html +++ b/Javadoc/index-files/index-16.html @@ -2,7 +2,7 @@ - + R-Index diff --git a/Javadoc/index-files/index-17.html b/Javadoc/index-files/index-17.html index 554bbb88..80bb4158 100644 --- a/Javadoc/index-files/index-17.html +++ b/Javadoc/index-files/index-17.html @@ -2,7 +2,7 @@ - + S-Index diff --git a/Javadoc/index-files/index-18.html b/Javadoc/index-files/index-18.html index c1aeb329..d49eba74 100644 --- a/Javadoc/index-files/index-18.html +++ b/Javadoc/index-files/index-18.html @@ -2,7 +2,7 @@ - + T-Index diff --git a/Javadoc/index-files/index-19.html b/Javadoc/index-files/index-19.html index d20d42f0..be9e9d0f 100644 --- a/Javadoc/index-files/index-19.html +++ b/Javadoc/index-files/index-19.html @@ -2,7 +2,7 @@ - + U-Index diff --git a/Javadoc/index-files/index-2.html b/Javadoc/index-files/index-2.html index 781dc4e6..f1db57cf 100644 --- a/Javadoc/index-files/index-2.html +++ b/Javadoc/index-files/index-2.html @@ -2,7 +2,7 @@ - + B-Index diff --git a/Javadoc/index-files/index-20.html b/Javadoc/index-files/index-20.html index a532bcf5..578f8be2 100644 --- a/Javadoc/index-files/index-20.html +++ b/Javadoc/index-files/index-20.html @@ -2,7 +2,7 @@ - + V-Index diff --git a/Javadoc/index-files/index-21.html b/Javadoc/index-files/index-21.html index 35393ed4..437273e7 100644 --- a/Javadoc/index-files/index-21.html +++ b/Javadoc/index-files/index-21.html @@ -2,7 +2,7 @@ - + W-Index diff --git a/Javadoc/index-files/index-3.html b/Javadoc/index-files/index-3.html index 7d9a3683..840dcddb 100644 --- a/Javadoc/index-files/index-3.html +++ b/Javadoc/index-files/index-3.html @@ -2,7 +2,7 @@ - + C-Index diff --git a/Javadoc/index-files/index-4.html b/Javadoc/index-files/index-4.html index 2eaf512c..dde72375 100644 --- a/Javadoc/index-files/index-4.html +++ b/Javadoc/index-files/index-4.html @@ -2,7 +2,7 @@ - + D-Index diff --git a/Javadoc/index-files/index-5.html b/Javadoc/index-files/index-5.html index 22f6dd75..7998ce3e 100644 --- a/Javadoc/index-files/index-5.html +++ b/Javadoc/index-files/index-5.html @@ -2,7 +2,7 @@ - + E-Index diff --git a/Javadoc/index-files/index-6.html b/Javadoc/index-files/index-6.html index d1bf5ab5..28bed64a 100644 --- a/Javadoc/index-files/index-6.html +++ b/Javadoc/index-files/index-6.html @@ -2,7 +2,7 @@ - + F-Index diff --git a/Javadoc/index-files/index-7.html b/Javadoc/index-files/index-7.html index 371cd449..795f32dd 100644 --- a/Javadoc/index-files/index-7.html +++ b/Javadoc/index-files/index-7.html @@ -2,7 +2,7 @@ - + G-Index diff --git a/Javadoc/index-files/index-8.html b/Javadoc/index-files/index-8.html index 04a32f53..ca79f78a 100644 --- a/Javadoc/index-files/index-8.html +++ b/Javadoc/index-files/index-8.html @@ -2,7 +2,7 @@ - + H-Index diff --git a/Javadoc/index-files/index-9.html b/Javadoc/index-files/index-9.html index 8f2052cd..df366d26 100644 --- a/Javadoc/index-files/index-9.html +++ b/Javadoc/index-files/index-9.html @@ -2,7 +2,7 @@ - + I-Index diff --git a/Javadoc/index.html b/Javadoc/index.html index b2575f12..cbc18e24 100644 --- a/Javadoc/index.html +++ b/Javadoc/index.html @@ -2,7 +2,7 @@ - + Generated Documentation (Untitled) + + + + + + +
    +
    com.comphenix.protocol.concurrency
    +

    Class AbstractIntervalTree.EndPoint

    +
    +
    +
      +
    • java.lang.Object
    • +
    • +
        +
      • com.comphenix.protocol.concurrency.AbstractIntervalTree.EndPoint
      • +
      +
    • +
    +
    +
      +
    • +
      +
      Enclosing class:
      +
      AbstractIntervalTree<TKey extends java.lang.Comparable<TKey>,TValue>
      +
      +
      +
      +
      protected class AbstractIntervalTree.EndPoint
      +extends java.lang.Object
      +
      Represents a single end point (open, close or both) of a range.
      +
    • +
    +
    +
    + +
    +
    + +
    +
    + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/concurrency/AbstractIntervalTree.Entry.html b/Javadoc/com/comphenix/protocol/concurrency/AbstractIntervalTree.Entry.html new file mode 100644 index 00000000..81ab19c2 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/concurrency/AbstractIntervalTree.Entry.html @@ -0,0 +1,279 @@ + + + + + +AbstractIntervalTree.Entry + + + + + + + + + + + +
    +
    com.comphenix.protocol.concurrency
    +

    Class AbstractIntervalTree.Entry

    +
    +
    +
      +
    • java.lang.Object
    • +
    • +
        +
      • com.comphenix.protocol.concurrency.AbstractIntervalTree.Entry
      • +
      +
    • +
    +
    +
      +
    • +
      +
      All Implemented Interfaces:
      +
      java.util.Map.Entry<com.google.common.collect.Range<TKey>,TValue>
      +
      +
      +
      Enclosing class:
      +
      AbstractIntervalTree<TKey extends java.lang.Comparable<TKey>,TValue>
      +
      +
      +
      +
      public class AbstractIntervalTree.Entry
      +extends java.lang.Object
      +implements java.util.Map.Entry<com.google.common.collect.Range<TKey>,TValue>
      +
      Represents a range and a value in this interval tree.
      +
    • +
    +
    +
    +
      +
    • + +
        +
      • + + +

        Method Summary

        + + + + + + + + + + + + + + + + + + +
        Methods 
        Modifier and TypeMethod and Description
        com.google.common.collect.Range<TKey>getKey() 
        TValuegetValue() 
        TValuesetValue(TValue value) 
        +
          +
        • + + +

          Methods inherited from class java.lang.Object

          +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
        • +
        +
          +
        • + + +

          Methods inherited from interface java.util.Map.Entry

          +equals, hashCode
        • +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + +
        +
      • + + +

        Method Detail

        + + + +
          +
        • +

          getKey

          +
          public com.google.common.collect.Range<TKey> getKey()
          +
          +
          Specified by:
          +
          getKey in interface java.util.Map.Entry<com.google.common.collect.Range<TKey extends java.lang.Comparable<TKey>>,TValue>
          +
          +
        • +
        + + + +
          +
        • +

          getValue

          +
          public TValue getValue()
          +
          +
          Specified by:
          +
          getValue in interface java.util.Map.Entry<com.google.common.collect.Range<TKey extends java.lang.Comparable<TKey>>,TValue>
          +
          +
        • +
        + + + + + +
          +
        • +

          setValue

          +
          public TValue setValue(TValue value)
          +
          +
          Specified by:
          +
          setValue in interface java.util.Map.Entry<com.google.common.collect.Range<TKey extends java.lang.Comparable<TKey>>,TValue>
          +
          +
        • +
        +
      • +
      +
    • +
    +
    +
    + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/concurrency/AbstractIntervalTree.State.html b/Javadoc/com/comphenix/protocol/concurrency/AbstractIntervalTree.State.html new file mode 100644 index 00000000..21684a8d --- /dev/null +++ b/Javadoc/com/comphenix/protocol/concurrency/AbstractIntervalTree.State.html @@ -0,0 +1,337 @@ + + + + + +AbstractIntervalTree.State + + + + + + + + + + + +
    +
    com.comphenix.protocol.concurrency
    +

    Enum AbstractIntervalTree.State

    +
    +
    +
      +
    • java.lang.Object
    • +
    • + +
    • +
    +
    + +
    +
    +
      +
    • + +
        +
      • + + +

        Enum Constant Summary

        + + + + + + + + + + + + + + +
        Enum Constants 
        Enum Constant and Description
        BOTH 
        CLOSE 
        OPEN 
        +
      • +
      + +
        +
      • + + +

        Method Summary

        + + + + + + + + + + + + + + +
        Methods 
        Modifier and TypeMethod and Description
        static AbstractIntervalTree.StatevalueOf(java.lang.String name) +
        Returns the enum constant of this type with the specified name.
        +
        static AbstractIntervalTree.State[]values() +
        Returns an array containing the constants of this enum type, in +the order they are declared.
        +
        +
          +
        • + + +

          Methods inherited from class java.lang.Enum

          +clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
        • +
        +
          +
        • + + +

          Methods inherited from class java.lang.Object

          +getClass, notify, notifyAll, wait, wait, wait
        • +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + + +
        +
      • + + +

        Method Detail

        + + + +
          +
        • +

          values

          +
          public static AbstractIntervalTree.State[] values()
          +
          Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
          +for (AbstractIntervalTree.State c : AbstractIntervalTree.State.values())
          +    System.out.println(c);
          +
          +
          Returns:
          an array containing the constants of this enum type, in +the order they are declared
          +
        • +
        + + + +
          +
        • +

          valueOf

          +
          public static AbstractIntervalTree.State valueOf(java.lang.String name)
          +
          Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
          +
          Parameters:
          name - the name of the enum constant to be returned.
          +
          Returns:
          the enum constant with the specified name
          +
          Throws:
          +
          java.lang.IllegalArgumentException - if this enum type has no constant +with the specified name
          +
          java.lang.NullPointerException - if the argument is null
          +
        • +
        +
      • +
      +
    • +
    +
    +
    + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/concurrency/AbstractIntervalTree.html b/Javadoc/com/comphenix/protocol/concurrency/AbstractIntervalTree.html new file mode 100644 index 00000000..c0946c2f --- /dev/null +++ b/Javadoc/com/comphenix/protocol/concurrency/AbstractIntervalTree.html @@ -0,0 +1,590 @@ + + + + + +AbstractIntervalTree + + + + + + + + + + + +
    +
    com.comphenix.protocol.concurrency
    +

    Class AbstractIntervalTree<TKey extends java.lang.Comparable<TKey>,TValue>

    +
    +
    +
      +
    • java.lang.Object
    • +
    • +
        +
      • com.comphenix.protocol.concurrency.AbstractIntervalTree<TKey,TValue>
      • +
      +
    • +
    +
    +
      +
    • +
      Type Parameters:
      TKey - - type of the key. Must implement Comparable.
      TValue - - type of the value to associate.
      +
      +
      +
      public abstract class AbstractIntervalTree<TKey extends java.lang.Comparable<TKey>,TValue>
      +extends java.lang.Object
      +
      Represents a generic store of intervals and associated values. No two intervals + can overlap in this representation. +

      + Note that this implementation is not thread safe.

      +
      Author:
      +
      Kristian
      +
    • +
    +
    +
    + +
    +
    +
      +
    • + + + +
        +
      • + + +

        Constructor Detail

        + + + +
          +
        • +

          AbstractIntervalTree

          +
          public AbstractIntervalTree()
          +
        • +
        +
      • +
      + +
        +
      • + + +

        Method Detail

        + + + + + +
          +
        • +

          remove

          +
          public java.util.Set<AbstractIntervalTree.Entry> remove(TKey lowerBound,
          +                                               TKey upperBound)
          +
          Removes every interval that intersects with the given range.
          +
          Parameters:
          lowerBound - - lowest value to remove.
          upperBound - - highest value to remove.
          +
        • +
        + + + + + +
          +
        • +

          remove

          +
          public java.util.Set<AbstractIntervalTree.Entry> remove(TKey lowerBound,
          +                                               TKey upperBound,
          +                                               boolean preserveDifference)
          +
          Removes every interval that intersects with the given range.
          +
          Parameters:
          lowerBound - - lowest value to remove.
          upperBound - - highest value to remove.
          preserveOutside - - whether or not to preserve the intervals that are partially outside.
          +
        • +
        + + + + + + + + + + + +
          +
        • +

          put

          +
          public void put(TKey lowerBound,
          +       TKey upperBound,
          +       TValue value)
          +
          Associates a given interval of keys with a certain value. Any previous + association will be overwritten in the given interval. +

          + Overlapping intervals are not permitted. A key can only be associated with a single value.

          +
          Parameters:
          lowerBound - - the minimum key (inclusive).
          upperBound - - the maximum key (inclusive).
          value - - the value, or NULL to reset this range.
          +
        • +
        + + + + + +
          +
        • +

          containsKey

          +
          public boolean containsKey(TKey key)
          +
          Determines if the given key is within an interval.
          +
          Parameters:
          key - - key to check.
          +
          Returns:
          TRUE if the given key is within an interval in this tree, FALSE otherwise.
          +
        • +
        + + + +
          +
        • +

          entrySet

          +
          public java.util.Set<AbstractIntervalTree.Entry> entrySet()
          +
          Enumerates over every range in this interval tree.
          +
          Returns:
          Number of ranges.
          +
        • +
        + + + +
          +
        • +

          clear

          +
          public void clear()
          +
          Remove every interval.
          +
        • +
        + + + +
          +
        • +

          putAll

          +
          public void putAll(AbstractIntervalTree<TKey,TValue> other)
          +
          Inserts every range from the given tree into the current tree.
          +
          Parameters:
          other - - the other tree to read from.
          +
        • +
        + + + + + +
          +
        • +

          get

          +
          public TValue get(TKey key)
          +
          Retrieves the value of the range that matches the given key, or NULL if nothing was found.
          +
          Parameters:
          key - - the level to read for.
          +
          Returns:
          The correct amount of experience, or NULL if nothing was recorded.
          +
        • +
        + + + + + +
          +
        • +

          getEndPoint

          +
          protected AbstractIntervalTree.EndPoint getEndPoint(TKey key)
          +
          Get the end-point composite associated with this key.
          +
          Parameters:
          key - - key to search for.
          +
          Returns:
          The end point found, or NULL.
          +
        • +
        + + + +
          +
        • +

          onEntryAdded

          +
          protected void onEntryAdded(AbstractIntervalTree.Entry added)
          +
          Invoked when an entry is added.
          +
          Parameters:
          added - - the entry that was added.
          +
        • +
        + + + +
          +
        • +

          onEntryRemoved

          +
          protected void onEntryRemoved(AbstractIntervalTree.Entry removed)
          +
          Invoked when an entry is removed.
          +
          Parameters:
          removed - - the removed entry.
          +
        • +
        + + + + + +
          +
        • +

          decrementKey

          +
          protected abstract TKey decrementKey(TKey key)
          +
          Decrement the given key by one unit.
          +
          Parameters:
          key - - the key that should be decremented.
          +
          Returns:
          The new decremented key.
          +
        • +
        + + + + + +
          +
        • +

          incrementKey

          +
          protected abstract TKey incrementKey(TKey key)
          +
          Increment the given key by one unit.
          +
          Parameters:
          key - - the key that should be incremented.
          +
          Returns:
          The new incremented key.
          +
        • +
        +
      • +
      +
    • +
    +
    +
    + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html b/Javadoc/com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html index a4e02144..b1337cf0 100644 --- a/Javadoc/com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html +++ b/Javadoc/com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html @@ -2,9 +2,9 @@ - + SortedCopyOnWriteArray - + @@ -36,7 +36,7 @@ - + void setPlayerHook(PacketFilterManager.PlayerInjectHooks playerHook)
    Sets how the server packets are read.
    - + void uninitializePlayers(org.bukkit.entity.Player[] players)
    Uninitialize the packet injection of every player.
    + +void +unregisterPacketClass(java.lang.Class<?> clazz) +
    Associate a given class with the given packet ID.
    + + void updateEntity(org.bukkit.entity.Entity entity, @@ -379,7 +395,7 @@ implements

    Constructor Detail

    - + - - - -
      -
    • -

      getLogger

      -
      public java.util.logging.Logger getLogger()
      -
    • -
    @@ -796,6 +803,54 @@ implements Returns:
    The packet ID.
    +
    + + +
      +
    • +

      registerPacketClass

      +
      public void registerPacketClass(java.lang.Class<?> clazz,
      +                       int packetID)
      +
      Description copied from interface: ListenerInvoker
      +
      Remove a given class from the packet registry. Internal method.
      +
      +
      Specified by:
      +
      registerPacketClass in interface ListenerInvoker
      +
      Parameters:
      clazz - - class to remove.
      +
    • +
    + + + +
      +
    • +

      unregisterPacketClass

      +
      public void unregisterPacketClass(java.lang.Class<?> clazz)
      +
      Description copied from interface: ListenerInvoker
      +
      Associate a given class with the given packet ID. Internal method.
      +
      +
      Specified by:
      +
      unregisterPacketClass in interface ListenerInvoker
      +
      Parameters:
      clazz - - class to associate.
      +
    • +
    + + + +
      +
    • +

      getPacketClassFromID

      +
      public java.lang.Class<?> getPacketClassFromID(int packetID,
      +                                      boolean forceVanilla)
      +
      Description copied from interface: ListenerInvoker
      +
      Retrieves the correct packet class from a given packet ID.
      +
      +
      Specified by:
      +
      getPacketClassFromID in interface ListenerInvoker
      +
      Parameters:
      packetID - - the packet ID.
      forceVanilla - - whether or not to look for vanilla classes, not injected classes.
      +
      Returns:
      The associated class.
      +
    • +
    diff --git a/Javadoc/com/comphenix/protocol/injector/PlayerLoggedOutException.html b/Javadoc/com/comphenix/protocol/injector/PlayerLoggedOutException.html index 87484759..bb6e61f8 100644 --- a/Javadoc/com/comphenix/protocol/injector/PlayerLoggedOutException.html +++ b/Javadoc/com/comphenix/protocol/injector/PlayerLoggedOutException.html @@ -2,9 +2,9 @@ - + PlayerLoggedOutException - + diff --git a/Javadoc/com/comphenix/protocol/injector/PrioritizedListener.html b/Javadoc/com/comphenix/protocol/injector/PrioritizedListener.html index 1b647843..2d97fe4f 100644 --- a/Javadoc/com/comphenix/protocol/injector/PrioritizedListener.html +++ b/Javadoc/com/comphenix/protocol/injector/PrioritizedListener.html @@ -2,9 +2,9 @@ - + PrioritizedListener - + diff --git a/Javadoc/com/comphenix/protocol/injector/SortedCopyOnWriteArrayTest.html b/Javadoc/com/comphenix/protocol/injector/SortedCopyOnWriteArrayTest.html index 8339992d..8df90537 100644 --- a/Javadoc/com/comphenix/protocol/injector/SortedCopyOnWriteArrayTest.html +++ b/Javadoc/com/comphenix/protocol/injector/SortedCopyOnWriteArrayTest.html @@ -2,9 +2,9 @@ - + SortedCopyOnWriteArrayTest - + @@ -37,7 +37,7 @@ diff --git a/Javadoc/com/comphenix/protocol/reflect/EquivalentConverter.html b/Javadoc/com/comphenix/protocol/reflect/EquivalentConverter.html index bd36f72c..52d5897d 100644 --- a/Javadoc/com/comphenix/protocol/reflect/EquivalentConverter.html +++ b/Javadoc/com/comphenix/protocol/reflect/EquivalentConverter.html @@ -2,9 +2,9 @@ - + EquivalentConverter - + diff --git a/Javadoc/com/comphenix/protocol/reflect/FieldAccessException.html b/Javadoc/com/comphenix/protocol/reflect/FieldAccessException.html index a8759639..cf4613dc 100644 --- a/Javadoc/com/comphenix/protocol/reflect/FieldAccessException.html +++ b/Javadoc/com/comphenix/protocol/reflect/FieldAccessException.html @@ -2,9 +2,9 @@ - + FieldAccessException - + diff --git a/Javadoc/com/comphenix/protocol/reflect/FieldUtils.html b/Javadoc/com/comphenix/protocol/reflect/FieldUtils.html index 9c202cff..380188ec 100644 --- a/Javadoc/com/comphenix/protocol/reflect/FieldUtils.html +++ b/Javadoc/com/comphenix/protocol/reflect/FieldUtils.html @@ -2,9 +2,9 @@ - + FieldUtils - + diff --git a/Javadoc/com/comphenix/protocol/reflect/FuzzyReflection.html b/Javadoc/com/comphenix/protocol/reflect/FuzzyReflection.html index b275265c..4e214c62 100644 --- a/Javadoc/com/comphenix/protocol/reflect/FuzzyReflection.html +++ b/Javadoc/com/comphenix/protocol/reflect/FuzzyReflection.html @@ -2,9 +2,9 @@ - + FuzzyReflection - + diff --git a/Javadoc/com/comphenix/protocol/reflect/IntEnum.html b/Javadoc/com/comphenix/protocol/reflect/IntEnum.html index 747be932..e8c84f71 100644 --- a/Javadoc/com/comphenix/protocol/reflect/IntEnum.html +++ b/Javadoc/com/comphenix/protocol/reflect/IntEnum.html @@ -2,9 +2,9 @@ - + IntEnum - + diff --git a/Javadoc/com/comphenix/protocol/reflect/MethodUtils.html b/Javadoc/com/comphenix/protocol/reflect/MethodUtils.html index 2a87f391..af091096 100644 --- a/Javadoc/com/comphenix/protocol/reflect/MethodUtils.html +++ b/Javadoc/com/comphenix/protocol/reflect/MethodUtils.html @@ -2,9 +2,9 @@ - + MethodUtils - + diff --git a/Javadoc/com/comphenix/protocol/reflect/ObjectCloner.html b/Javadoc/com/comphenix/protocol/reflect/ObjectCloner.html index 97bad8c1..e75ef5b7 100644 --- a/Javadoc/com/comphenix/protocol/reflect/ObjectCloner.html +++ b/Javadoc/com/comphenix/protocol/reflect/ObjectCloner.html @@ -2,9 +2,9 @@ - + ObjectCloner - + @@ -37,7 +37,7 @@
    diff --git a/Javadoc/index-files/index-21.html b/Javadoc/index-files/index-21.html index 9956a538..a824e9a5 100644 --- a/Javadoc/index-files/index-21.html +++ b/Javadoc/index-files/index-21.html @@ -2,9 +2,9 @@ - + W-Index - + @@ -37,7 +37,7 @@ -
    A B C D E F G H I K L M N O P R S T U V W  +
    A B C D E F G H I K L M N O P R S T U V W X Y Z 

    W

    @@ -101,6 +101,48 @@
    WORLD_EVENT - Static variable in class com.comphenix.protocol.Packets.Server
     
    +
    WrappedChunkCoordinate - Class in com.comphenix.protocol.wrappers
    +
    +
    Allows access to a chunk coordinate.
    +
    +
    WrappedChunkCoordinate() - Constructor for class com.comphenix.protocol.wrappers.WrappedChunkCoordinate
    +
    +
    Create a new empty wrapper.
    +
    +
    WrappedChunkCoordinate(ChunkCoordinates) - Constructor for class com.comphenix.protocol.wrappers.WrappedChunkCoordinate
    +
    +
    Create a wrapper for a specific chunk coordinates.
    +
    +
    WrappedChunkCoordinate(int, int, int) - Constructor for class com.comphenix.protocol.wrappers.WrappedChunkCoordinate
    +
    +
    Create a wrapper with specific values.
    +
    +
    WrappedChunkCoordinate(ChunkPosition) - Constructor for class com.comphenix.protocol.wrappers.WrappedChunkCoordinate
    +
    +
    Create a chunk coordinate wrapper from a given position.
    +
    +
    WrappedDataWatcher - Class in com.comphenix.protocol.wrappers
    +
    +
    Wraps a DataWatcher that is used to transmit arbitrary key-value pairs with a given entity.
    +
    +
    WrappedDataWatcher() - Constructor for class com.comphenix.protocol.wrappers.WrappedDataWatcher
    +
    +
    Initialize a new data watcher.
    +
    +
    WrappedDataWatcher(DataWatcher) - Constructor for class com.comphenix.protocol.wrappers.WrappedDataWatcher
    +
    +
    Create a wrapper for a given data watcher.
    +
    +
    WrappedDataWatcher(List<WrappedWatchableObject>) - Constructor for class com.comphenix.protocol.wrappers.WrappedDataWatcher
    +
    +
    Create a new data watcher from a list of watchable objects.
    +
    +
    WrappedWatchableObject - Class in com.comphenix.protocol.wrappers
    +
    +
    Represents a watchable object.
    +
    +
    WrappedWatchableObject(WatchableObject) - Constructor for class com.comphenix.protocol.wrappers.WrappedWatchableObject
    +
     
    write(int, Object) - Method in class com.comphenix.protocol.reflect.compiler.CompiledStructureModifier
     
    write(int, TField) - Method in class com.comphenix.protocol.reflect.StructureModifier
    @@ -156,7 +198,7 @@
    Write a named static Field.
    -A B C D E F G H I K L M N O P R S T U V W 
    +A B C D E F G H I K L M N O P R S T U V W X Y Z 
    @@ -177,7 +219,7 @@ -
    A B C D E F G H I K L M N O P R S T U V W  +
    A B C D E F G H I K L M N O P R S T U V W X Y Z 

    C

    @@ -97,6 +97,18 @@
    Determine if a listener is valid or not.
    +
    ChunkPosition - Class in com.comphenix.protocol.wrappers
    +
    +
    Copies a immutable net.minecraft.server.ChunkPosition, which represents a integer 3D vector.
    +
    +
    ChunkPosition(int, int, int) - Constructor for class com.comphenix.protocol.wrappers.ChunkPosition
    +
    +
    Construct an immutable 3D vector.
    +
    +
    ChunkPosition(Vector) - Constructor for class com.comphenix.protocol.wrappers.ChunkPosition
    +
    +
    Construct an immutable integer 3D vector from a mutable Bukkit vector.
    +
    cleanHook() - Method in class com.comphenix.protocol.injector.player.NetworkServerInjector
     
    cleanupAll() - Method in class com.comphenix.protocol.async.AsyncFilterManager
    @@ -169,10 +181,14 @@
     
    com.comphenix.protocol.utility - package com.comphenix.protocol.utility
     
    +
    com.comphenix.protocol.wrappers - package com.comphenix.protocol.wrappers
    +
     
    compareTo(AsyncMarker) - Method in class com.comphenix.protocol.async.AsyncMarker
     
    compareTo(PrioritizedListener<TListener>) - Method in class com.comphenix.protocol.injector.PrioritizedListener
     
    +
    compareTo(WrappedChunkCoordinate) - Method in class com.comphenix.protocol.wrappers.WrappedChunkCoordinate
    +
     
    compile(StructureModifier<TField>) - Method in class com.comphenix.protocol.reflect.compiler.StructureCompiler
    Compiles the given structure modifier.
    @@ -268,7 +284,7 @@
    customConvertHandling - Variable in class com.comphenix.protocol.reflect.StructureModifier
     
    -A B C D E F G H I K L M N O P R S T U V W 
    +A B C D E F G H I K L M N O P R S T U V W X Y Z 
    -
    A B C D E F G H I K L M N O P R S T U V W  +
    A B C D E F G H I K L M N O P R S T U V W X Y Z 

    D

    @@ -143,8 +143,12 @@
    Create a central error reporting system.
    +
    divide(int) - Method in class com.comphenix.protocol.wrappers.ChunkPosition
    +
    +
    Divide each dimension in the current position by the given divisor.
    +
    -A B C D E F G H I K L M N O P R S T U V W 
    +A B C D E F G H I K L M N O P R S T U V W X Y Z 
    -
    A B C D E F G H I K L M N O P R S T U V W  +
    A B C D E F G H I K L M N O P R S T U V W X Y Z 

    E

    @@ -109,6 +109,10 @@
     
    equals(Object) - Method in class com.comphenix.protocol.injector.PrioritizedListener
     
    +
    equals(Object) - Method in class com.comphenix.protocol.wrappers.ChunkPosition
    +
     
    +
    equals(Object) - Method in class com.comphenix.protocol.wrappers.WrappedChunkCoordinate
    +
     
    EquivalentConverter<TType> - Interface in com.comphenix.protocol.reflect
    Interface that converts generic objects into types and back.
    @@ -126,7 +130,7 @@
    EXPLOSION - Static variable in class com.comphenix.protocol.Packets.Server
     
    -A B C D E F G H I K L M N O P R S T U V W 
    +A B C D E F G H I K L M N O P R S T U V W X Y Z 
    -
    A B C D E F G H I K L M N O P R S T U V W  +
    A B C D E F G H I K L M N O P R S T U V W X Y Z 

    F

    @@ -160,7 +160,7 @@
    FuzzyReflection(Class<?>, boolean) - Constructor for class com.comphenix.protocol.reflect.FuzzyReflection
     
    -A B C D E F G H I K L M N O P R S T U V W 
    +A B C D E F G H I K L M N O P R S T U V W X Y Z 
    -
    A B C D E F G H I K L M N O P R S T U V W  +
    A B C D E F G H I K L M N O P R S T U V W X Y Z 

    G

    @@ -108,6 +108,22 @@
    Retrieve the asynchronous marker.
    +
    getByte(int) - Method in class com.comphenix.protocol.wrappers.WrappedDataWatcher
    +
    +
    Get a watched byte.
    +
    +
    getByteArrays() - Method in class com.comphenix.protocol.events.PacketContainer
    +
    +
    Retrieves a read/write structure for every byte array field.
    +
    +
    getBytes() - Method in class com.comphenix.protocol.events.PacketContainer
    +
    +
    Retrieves a read/write structure for every byte field.
    +
    +
    getChunkCoordinate(int) - Method in class com.comphenix.protocol.wrappers.WrappedDataWatcher
    +
    +
    Get a watched string.
    +
    getClassLoader() - Method in class com.comphenix.protocol.injector.PacketFilterManager
    Retrieves the current plugin class loader.
    @@ -128,6 +144,18 @@
    Retrieves the object the field is stored.
    +
    getConverter() - Static method in class com.comphenix.protocol.wrappers.ChunkPosition
    +
    +
    Used to convert between NMS ChunkPosition and the wrapper instance.
    +
    +
    getDataWatcherConverter() - Static method in class com.comphenix.protocol.wrappers.BukkitConverters
    +
    +
    Retrieve a converter for the NMS DataWatcher class and our wrapper.
    +
    +
    getDataWatcherModifier() - Method in class com.comphenix.protocol.events.PacketContainer
    +
    +
    Retrieves a read/write structure for data watchers.
    +
    getDeclaredName(int) - Static method in class com.comphenix.protocol.Packets
    Retrieves the name of a packet.
    @@ -144,14 +172,36 @@
    Retrieves a default instance or value that is assignable to this type.
    +
    getDirtyState() - Method in class com.comphenix.protocol.wrappers.WrappedWatchableObject
    +
    +
    Retrieve whether or not the value must be synchronized with the client.
    +
    +
    getDoubles() - Method in class com.comphenix.protocol.events.PacketContainer
    +
    +
    Retrieves a read/write structure for every double field.
    +
    getEndPoint(TKey) - Method in class com.comphenix.protocol.concurrency.AbstractIntervalTree
    Get the end-point composite associated with this key.
    +
    getEntityConverter(World) - Static method in class com.comphenix.protocol.wrappers.BukkitConverters
    +
    +
    Retrieve a converter for NMS entities and Bukkit entities.
    +
    +
    getEntityFromID(World, int) - Method in class com.comphenix.protocol.injector.PacketFilterManager
    +
     
    +
    getEntityFromID(World, int) - Method in interface com.comphenix.protocol.ProtocolManager
    +
    +
    Retrieve the associated entity.
    +
    getEntityModifier(World) - Method in class com.comphenix.protocol.events.PacketContainer
    Retrieves a read/write structure for entity objects.
    +
    getEntityWatcher(Entity) - Static method in class com.comphenix.protocol.wrappers.WrappedDataWatcher
    +
    +
    Retrieve the data watcher associated with an entity.
    +
    getErrorCount() - Method in class com.comphenix.protocol.error.DetailedErrorReporter
     
    getErrorReporter() - Method in class com.comphenix.protocol.async.AsyncFilterManager
    @@ -201,6 +251,10 @@
    Retrieves a list of the fields matching the constraints of this structure modifier.
    +
    getFieldType(int) - Method in class com.comphenix.protocol.reflect.StructureModifier
    +
    +
    Retrieve the type of a specified field.
    +
    getFieldType() - Method in class com.comphenix.protocol.reflect.StructureModifier
    Retrieves the common type of each field.
    @@ -209,6 +263,14 @@
    Get the total bytes of the file (can only be used after running a version check or a normal run).
    +
    getFloat() - Method in class com.comphenix.protocol.events.PacketContainer
    +
    +
    Retrieves a read/write structure for every float field.
    +
    +
    getFloat(int) - Method in class com.comphenix.protocol.wrappers.WrappedDataWatcher
    +
    +
    Get a watched float.
    +
    getFriendlyWorkerName(int) - Method in class com.comphenix.protocol.async.AsyncListenerHandler
    Create a friendly thread name using the following convention:
    @@ -217,14 +279,26 @@
    Retrieve which game phase this listener is active under.
    -
    getGeneric(TType) - Method in interface com.comphenix.protocol.reflect.EquivalentConverter
    -
     
    +
    getGeneric(Class<?>, TType) - Method in interface com.comphenix.protocol.reflect.EquivalentConverter
    +
    +
    Retrieve a copy of the generic type from a specific type.
    +
    getGlobalParameter(String) - Method in class com.comphenix.protocol.error.DetailedErrorReporter
     
    getHandle() - Method in class com.comphenix.protocol.events.PacketContainer
    Retrieves the underlying Minecraft packet.
    +
    getHandle() - Method in class com.comphenix.protocol.wrappers.WrappedChunkCoordinate
    +
     
    +
    getHandle() - Method in class com.comphenix.protocol.wrappers.WrappedDataWatcher
    +
    +
    Retrieves the underlying data watcher.
    +
    +
    getHandle() - Method in class com.comphenix.protocol.wrappers.WrappedWatchableObject
    +
    +
    Retrieves the underlying watchable object.
    +
    getHookType() - Method in class com.comphenix.protocol.injector.player.NetworkServerInjector
     
    getID() - Method in interface com.comphenix.protocol.async.AsyncRunnable
    @@ -235,6 +309,14 @@
    Retrieves the ID of this packet.
    +
    getIgnoreNull(EquivalentConverter<TType>) - Static method in class com.comphenix.protocol.wrappers.BukkitConverters
    +
    +
    Wraps a given equivalent converter in NULL checks, ensuring that such values are ignored.
    +
    +
    getIndex() - Method in class com.comphenix.protocol.wrappers.WrappedWatchableObject
    +
    +
    Retrieve the index of this watchable object.
    +
    getInitialTime() - Method in class com.comphenix.protocol.async.AsyncMarker
    Retrieve the time the packet was initially queued for asynchronous processing.
    @@ -243,6 +325,14 @@
    Retrieves the current background compiler.
    +
    getInteger(int) - Method in class com.comphenix.protocol.wrappers.WrappedDataWatcher
    +
    +
    Get a watched integer.
    +
    +
    getIntegers() - Method in class com.comphenix.protocol.events.PacketContainer
    +
    +
    Retrieves a read/write structure for every integer field.
    +
    getItemArrayModifier() - Method in class com.comphenix.protocol.events.PacketContainer
    Retrieves a read/write structure for arrays of ItemStacks.
    @@ -251,12 +341,22 @@
    Retrieves a read/write structure for ItemStack.
    +
    getItemStack(int) - Method in class com.comphenix.protocol.wrappers.WrappedDataWatcher
    +
    +
    Get a watched string.
    +
    +
    getItemStackConverter() - Static method in class com.comphenix.protocol.wrappers.BukkitConverters
    +
    +
    Retrieve the converter used to convert NMS ItemStacks to Bukkit's ItemStack.
    +
    getKey() - Method in class com.comphenix.protocol.concurrency.AbstractIntervalTree.Entry
     
    getLatestVersionString() - Method in class com.comphenix.protocol.metrics.Updater
    Get the version string latest file avaliable online.
    +
    getListConverter(Class<?>, EquivalentConverter<T>) - Static method in class com.comphenix.protocol.wrappers.BukkitConverters
    +
     
    getListener(int) - Method in class com.comphenix.protocol.concurrency.AbstractConcurrentListenerMultimap
    Retrieve the registered listeners, in order from the lowest to the highest priority.
    @@ -275,6 +375,10 @@
    getLogger() - Method in class com.comphenix.protocol.error.DetailedErrorReporter
     
    +
    getLongs() - Method in class com.comphenix.protocol.events.PacketContainer
    +
    +
    Retrieves a read/write structure for every long field.
    +
    getMatchingAccessibleMethod(Class, String, Class[]) - Static method in class com.comphenix.protocol.reflect.MethodUtils
    Find an accessible method that matches the given name and has compatible parameters.
    @@ -321,6 +425,10 @@
    Retrieve the desired sending order after processing has completed.
    +
    getObject(int) - Method in class com.comphenix.protocol.wrappers.WrappedDataWatcher
    +
    +
    Retrieve a watchable object by index.
    +
    getOldValue() - Method in class com.comphenix.protocol.reflect.VolatileField
    Retrieves the field value before the previous setValue(), unless saveValue() has been called.
    @@ -413,6 +521,14 @@
    Retrieves the name of the given plugin.
    +
    getPositionCollectionModifier() - Method in class com.comphenix.protocol.events.PacketContainer
    +
    +
    Retrieves a read/write structure for collections of chunk positions.
    +
    +
    getPositionModifier() - Method in class com.comphenix.protocol.events.PacketContainer
    +
    +
    Retrieves a read/write structure for chunk positions.
    +
    getPrefix() - Method in class com.comphenix.protocol.error.DetailedErrorReporter
     
    getPrimitiveType(Class) - Static method in class com.comphenix.protocol.reflect.MethodUtils
    @@ -447,6 +563,10 @@
    Retrieve the sending index when the packet was queued.
    +
    getReadWriteLock() - Method in class com.comphenix.protocol.wrappers.WrappedDataWatcher
    +
    +
    Retrieve the current read write lock.
    +
    getReceivingFilters() - Method in class com.comphenix.protocol.async.AsyncFilterManager
     
    getReceivingFilters() - Method in interface com.comphenix.protocol.AsynchronousManager
    @@ -521,6 +641,14 @@
    A registry that parses between names and packet IDs.
    +
    getShort(int) - Method in class com.comphenix.protocol.wrappers.WrappedDataWatcher
    +
    +
    Get a watched short.
    +
    +
    getShorts() - Method in class com.comphenix.protocol.events.PacketContainer
    +
    +
    Retrieves a read/write structure for every short field.
    +
    getSlot() - Method in enum com.comphenix.protocol.events.ListenerPriority
    A low slot represents a low priority.
    @@ -530,23 +658,39 @@
    Retrieves the underlying class.
    getSpecific(Object) - Method in interface com.comphenix.protocol.reflect.EquivalentConverter
    -
     
    +
    +
    Retrieve a copy of the specific type using an instance of the generic type.
    +
    getSpecificModifier(Class<T>) - Method in class com.comphenix.protocol.events.PacketContainer
    Retrieves a read/write structure for every field with the given type.
    getSpecificType() - Method in interface com.comphenix.protocol.reflect.EquivalentConverter
    -
     
    +
    +
    Due to type erasion, we need to explicitly keep a reference to the specific type.
    +
    getStatistics() - Method in class com.comphenix.protocol.ProtocolLibrary
    Retrieve the metrics instance used to measure users of this library.
    +
    getString(int) - Method in class com.comphenix.protocol.wrappers.WrappedDataWatcher
    +
    +
    Get a watched string.
    +
    +
    getStringArrays() - Method in class com.comphenix.protocol.events.PacketContainer
    +
    +
    Retrieves a read/write structure for every String array field.
    +
    getStringDefault() - Method in class com.comphenix.protocol.reflect.instances.PrimitiveGenerator
    Retrieve the string default.
    getStringDescription(Object) - Method in class com.comphenix.protocol.error.DetailedErrorReporter
     
    +
    getStrings() - Method in class com.comphenix.protocol.events.PacketContainer
    +
    +
    Retrieves a read/write structure for every String field.
    +
    getStructure(int) - Static method in class com.comphenix.protocol.injector.StructureCache
    Retrieve a cached structure modifier for the given packet id.
    @@ -587,6 +731,22 @@
    Get a immutable list of every registered timeout handler.
    +
    getType() - Method in class com.comphenix.protocol.wrappers.WrappedWatchableObject
    +
    +
    Retrieve the correct super type of the current value.
    +
    +
    getTypeClass(int) - Static method in class com.comphenix.protocol.wrappers.WrappedDataWatcher
    +
    +
    Retrieve the type of a given ID, if it's allowed to be watched.
    +
    +
    getTypeID(Class<?>) - Static method in class com.comphenix.protocol.wrappers.WrappedDataWatcher
    +
    +
    Retrieve the ID of a given type, if it's allowed to be watched.
    +
    +
    getTypeID() - Method in class com.comphenix.protocol.wrappers.WrappedWatchableObject
    +
    +
    Retrieve the type ID of a watchable object.
    +
    getUnwrappers() - Method in class com.comphenix.protocol.injector.PacketConstructor
     
    getValue() - Method in class com.comphenix.protocol.concurrency.AbstractIntervalTree.Entry
    @@ -599,10 +759,30 @@
    Retrieves the current field value.
    +
    getValue() - Method in class com.comphenix.protocol.wrappers.WrappedWatchableObject
    +
    +
    Read the value field.
    +
    getValues() - Method in class com.comphenix.protocol.reflect.StructureModifier
    Retrieve every value stored in the fields of the current type.
    +
    getWatchableCollectionModifier() - Method in class com.comphenix.protocol.events.PacketContainer
    +
    +
    Retrieves a read/write structure for collections of watchable objects.
    +
    +
    getWatchableObjectConverter() - Static method in class com.comphenix.protocol.wrappers.BukkitConverters
    +
    +
    Retrieve a converter for watchable objects and the respective wrapper.
    +
    +
    getWatchableObjectMap() - Method in class com.comphenix.protocol.wrappers.WrappedDataWatcher
    +
    +
    Retrieve the underlying map of key values that stores watchable objects.
    +
    +
    getWatchableObjects() - Method in class com.comphenix.protocol.wrappers.WrappedDataWatcher
    +
    +
    Retrieve every watchable object in this watcher.
    +
    getWhitelist() - Method in class com.comphenix.protocol.events.ListeningWhitelist
    Retrieves the list of packets that will be observed by the listeners.
    @@ -615,16 +795,44 @@
    Retrieve the current number of registered workers.
    +
    getWorldTypeConverter() - Static method in class com.comphenix.protocol.wrappers.BukkitConverters
    +
    +
    Retrieve a converter for Bukkit's world type enum and the NMS equivalent.
    +
    getWorldTypeModifier() - Method in class com.comphenix.protocol.events.PacketContainer
    Retrieves a read/write structure for the world type enum.
    +
    getX() - Method in class com.comphenix.protocol.wrappers.ChunkPosition
    +
    +
    Retrieve the x-coordinate.
    +
    +
    getX() - Method in class com.comphenix.protocol.wrappers.WrappedChunkCoordinate
    +
    +
    Retrieve the x coordinate of the underlying coordiate.
    +
    +
    getY() - Method in class com.comphenix.protocol.wrappers.ChunkPosition
    +
    +
    Retrieve the y-coordinate.
    +
    +
    getY() - Method in class com.comphenix.protocol.wrappers.WrappedChunkCoordinate
    +
    +
    Retrieve the y coordinate of the underlying coordiate.
    +
    +
    getZ() - Method in class com.comphenix.protocol.wrappers.ChunkPosition
    +
    +
    Retrieve the z-coordinate.
    +
    +
    getZ() - Method in class com.comphenix.protocol.wrappers.WrappedChunkCoordinate
    +
    +
    Retrieve the z coordinate of the underlying coordiate.
    +
    globalParameters - Variable in class com.comphenix.protocol.error.DetailedErrorReporter
     
    globalParameters() - Method in class com.comphenix.protocol.error.DetailedErrorReporter
     
    -A B C D E F G H I K L M N O P R S T U V W 
    +A B C D E F G H I K L M N O P R S T U V W X Y Z 
    -
    A B C D E F G H I K L M N O P R S T U V W  +
    A B C D E F G H I K L M N O P R S T U V W X Y Z 

    H

    handle - Variable in class com.comphenix.protocol.events.PacketContainer
     
    +
    handle - Variable in class com.comphenix.protocol.wrappers.WrappedChunkCoordinate
    +
     
    +
    handle - Variable in class com.comphenix.protocol.wrappers.WrappedDataWatcher
    +
     
    +
    handle - Variable in class com.comphenix.protocol.wrappers.WrappedWatchableObject
    +
     
    handleDisconnect() - Method in class com.comphenix.protocol.injector.player.NetworkServerInjector
     
    handleDisconnect(Player) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
    @@ -95,6 +101,10 @@
     
    hashCode() - Method in class com.comphenix.protocol.injector.PrioritizedListener
     
    +
    hashCode() - Method in class com.comphenix.protocol.wrappers.ChunkPosition
    +
     
    +
    hashCode() - Method in class com.comphenix.protocol.wrappers.WrappedChunkCoordinate
    +
     
    hasListener(int) - Method in class com.comphenix.protocol.injector.player.NetworkServerInjector
     
    hasLogin() - Method in enum com.comphenix.protocol.injector.GamePhase
    @@ -110,7 +120,7 @@
    Determine if the current value represents the playing phase.
    -A B C D E F G H I K L M N O P R S T U V W 
    +A B C D E F G H I K L M N O P R S T U V W X Y Z 
    -
    A B C D E F G H I K L M N O P R S T U V W  +
    A B C D E F G H I K L M N O P R S T U V W X Y Z 

    I

    @@ -77,6 +77,10 @@
    Increment the number of times this packet must be signalled as done before its transmitted.
    +
    indexSet() - Method in class com.comphenix.protocol.wrappers.WrappedDataWatcher
    +
    +
    Retrieve a copy of every index associated with a watched object.
    +
    initialize(Object) - Method in class com.comphenix.protocol.injector.player.NetworkServerInjector
     
    initialize(StructureModifier<TField>) - Method in class com.comphenix.protocol.reflect.StructureModifier
    @@ -87,6 +91,10 @@
    Initialize every field of this class.
    +
    initialize(Class, Class, List<Field>, Map<Field, Integer>, EquivalentConverter<TField>, Map<Class, StructureModifier>, boolean) - Method in class com.comphenix.protocol.reflect.StructureModifier
    +
    +
    Initialize every field of this class.
    +
    initializePlayers(Player[]) - Method in class com.comphenix.protocol.injector.PacketFilterManager
    Initialize the packet injection for every player.
    @@ -269,6 +277,10 @@
    Whether or not this packet is or has been queued for processing.
    +
    isReadOnly(int) - Method in class com.comphenix.protocol.reflect.StructureModifier
    +
    +
    Determine whether or not a field is read-only (final).
    +
    isRunning() - Method in interface com.comphenix.protocol.async.AsyncRunnable
    Determine if we're running or not.
    @@ -304,7 +316,7 @@
    Retrieves an iterator over the elements in the given list.
    -A B C D E F G H I K L M N O P R S T U V W 
    +A B C D E F G H I K L M N O P R S T U V W X Y Z 
    diff --git a/Javadoc/index.html b/Javadoc/index.html index e008d6f5..64110a6f 100644 --- a/Javadoc/index.html +++ b/Javadoc/index.html @@ -2,7 +2,7 @@ - + Generated Documentation (Untitled) + + + + + + +
    +
    com.comphenix.protocol.concurrency
    +

    Class BlockingHashMap<TKey,TValue>

    +
    +
    +
      +
    • java.lang.Object
    • +
    • +
        +
      • com.comphenix.protocol.concurrency.BlockingHashMap<TKey,TValue>
      • +
      +
    • +
    +
    +
      +
    • +
      Type Parameters:
      TKey - - type of the key.
      TValue - - type of the value.
      +
      +
      +
      public class BlockingHashMap<TKey,TValue>
      +extends java.lang.Object
      +
      A map that supports blocking on read operations. Null keys are not supported. +

      + Keys are stored as weak references, and will be automatically removed once they've all been dereferenced. +

      +
      Author:
      +
      Kristian
      +
    • +
    +
    +
    +
      +
    • + +
        +
      • + + +

        Constructor Summary

        + + + + + + + + +
        Constructors 
        Constructor and Description
        BlockingHashMap() +
        Initialize a new map.
        +
        +
      • +
      + +
        +
      • + + +

        Method Summary

        + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
        Methods 
        Modifier and TypeMethod and Description
        static <TKey,TValue> 
        BlockingHashMap<TKey,TValue>
        create() +
        Initialize a new map.
        +
        TValueget(TKey key) +
        Waits until a value has been associated with the given key, and then retrieves that value.
        +
        TValueget(TKey key, + long timeout, + java.util.concurrent.TimeUnit unit) +
        Waits until a value has been associated with the given key, and then retrieves that value.
        +
        java.util.Set<TKey>keys() 
        TValueput(TKey key, + TValue value) +
        Associate a given key with the given value.
        +
        intsize() 
        java.util.Collection<TValue>values() 
        +
          +
        • + + +

          Methods inherited from class java.lang.Object

          +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
        • +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + +
        +
      • + + +

        Constructor Detail

        + + + +
          +
        • +

          BlockingHashMap

          +
          public BlockingHashMap()
          +
          Initialize a new map.
          +
        • +
        +
      • +
      + +
        +
      • + + +

        Method Detail

        + + + +
          +
        • +

          create

          +
          public static <TKey,TValue> BlockingHashMap<TKey,TValue> create()
          +
          Initialize a new map.
          +
          Returns:
          The created map.
          +
        • +
        + + + + + +
          +
        • +

          get

          +
          public TValue get(TKey key)
          +           throws java.lang.InterruptedException
          +
          Waits until a value has been associated with the given key, and then retrieves that value.
          +
          Parameters:
          key - - the key whose associated value is to be returned
          +
          Returns:
          The value to which the specified key is mapped.
          +
          Throws:
          +
          java.lang.InterruptedException - If the current thread got interrupted while waiting.
          +
        • +
        + + + + + +
          +
        • +

          get

          +
          public TValue get(TKey key,
          +         long timeout,
          +         java.util.concurrent.TimeUnit unit)
          +           throws java.lang.InterruptedException
          +
          Waits until a value has been associated with the given key, and then retrieves that value.
          +
          Parameters:
          key - - the key whose associated value is to be returned
          timeout - - the amount of time to wait until an association has been made.
          unit - - unit of timeout.
          +
          Returns:
          The value to which the specified key is mapped, or NULL if the timeout elapsed.
          +
          Throws:
          +
          java.lang.InterruptedException - If the current thread got interrupted while waiting.
          +
        • +
        + + + + + +
          +
        • +

          put

          +
          public TValue put(TKey key,
          +         TValue value)
          +
          Associate a given key with the given value. +

          + Wakes up any blocking getters on this specific key.

          +
          Parameters:
          key - - the key to associate.
          value - - the value.
          +
          Returns:
          The previously associated value.
          +
        • +
        + + + +
          +
        • +

          size

          +
          public int size()
          +
        • +
        + + + +
          +
        • +

          values

          +
          public java.util.Collection<TValue> values()
          +
        • +
        + + + +
          +
        • +

          keys

          +
          public java.util.Set<TKey> keys()
          +
        • +
        +
      • +
      +
    • +
    +
    +
    + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/concurrency/BlockingHashMapTest.html b/Javadoc/com/comphenix/protocol/concurrency/BlockingHashMapTest.html new file mode 100644 index 00000000..d437e728 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/concurrency/BlockingHashMapTest.html @@ -0,0 +1,261 @@ + + + + + +BlockingHashMapTest + + + + + + + + + + + +
    +
    com.comphenix.protocol.concurrency
    +

    Class BlockingHashMapTest

    +
    +
    +
      +
    • java.lang.Object
    • +
    • +
        +
      • com.comphenix.protocol.concurrency.BlockingHashMapTest
      • +
      +
    • +
    +
    +
      +
    • +
      +
      +
      public class BlockingHashMapTest
      +extends java.lang.Object
      +
    • +
    +
    +
    +
      +
    • + + + +
        +
      • + + +

        Method Summary

        + + + + + + + + + + +
        Methods 
        Modifier and TypeMethod and Description
        voidtest() 
        +
          +
        • + + +

          Methods inherited from class java.lang.Object

          +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
        • +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + +
        +
      • + + +

        Constructor Detail

        + + + +
          +
        • +

          BlockingHashMapTest

          +
          public BlockingHashMapTest()
          +
        • +
        +
      • +
      + +
        +
      • + + +

        Method Detail

        + + + +
          +
        • +

          test

          +
          public void test()
          +          throws java.lang.InterruptedException,
          +                 java.util.concurrent.ExecutionException
          +
          Throws:
          +
          java.lang.InterruptedException
          +
          java.util.concurrent.ExecutionException
          +
        • +
        +
      • +
      +
    • +
    +
    +
    + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html b/Javadoc/com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html index 79f0f50a..198675c7 100644 --- a/Javadoc/com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html +++ b/Javadoc/com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html @@ -2,9 +2,9 @@ - + SortedCopyOnWriteArray - + @@ -36,7 +36,7 @@
    - + void registerEvents(org.bukkit.plugin.PluginManager manager, org.bukkit.plugin.Plugin plugin)
    Register this protocol manager on Bukkit.
    - + void registerPacketClass(java.lang.Class<?> clazz, int packetID)
    Remove a given class from the packet registry.
    - + void removePacketListener(PacketListener listener)
    Removes a given packet listener.
    - + void removePacketListeners(org.bukkit.plugin.Plugin plugin)
    Removes every listener associated with the given plugin.
    - + void sendServerPacket(org.bukkit.entity.Player reciever, PacketContainer packet)
    Send a packet to the given player.
    - + void sendServerPacket(org.bukkit.entity.Player reciever, PacketContainer packet, @@ -348,32 +354,32 @@ implements Send a packet to the given player.
    - + void setPlayerHook(PacketFilterManager.PlayerInjectHooks playerHook)
    Sets how the server packets are read.
    - + void uninitializePlayers(org.bukkit.entity.Player[] players)
    Uninitialize the packet injection of every player.
    - + void unregisterPacketClass(java.lang.Class<?> clazz)
    Associate a given class with the given packet ID.
    - + void updateEntity(org.bukkit.entity.Entity entity, java.util.List<org.bukkit.entity.Player> observers) -
    Completely refresh all clients about an entity.
    +
    Completely resend an entity to a list of clients.
    - + static void verifyWhitelist(PacketListener listener, ListeningWhitelist whitelist) @@ -758,7 +764,7 @@ implements FieldAccessException
    Description copied from interface: ProtocolManager
    -
    Completely refresh all clients about an entity. +
    Completely resend an entity to a list of clients.

    Note that this method is NOT thread safe. If you call this method from anything but the main thread, it will throw an exception.

    @@ -790,6 +796,25 @@ implements FieldAccessException - Reflection failed. + + + +
      +
    • +

      getEntityTrackers

      +
      public java.util.List<org.bukkit.entity.Player> getEntityTrackers(org.bukkit.entity.Entity entity)
      +                                                           throws FieldAccessException
      +
      Description copied from interface: ProtocolManager
      +
      Retrieve every client that is receiving information about a given entity.
      +
      +
      Specified by:
      +
      getEntityTrackers in interface ProtocolManager
      +
      Parameters:
      entity - - the entity that is being tracked.
      +
      Returns:
      Every client/player that is tracking the given entity.
      +
      Throws:
      +
      FieldAccessException - If reflection failed.
      +
    • +
    diff --git a/Javadoc/com/comphenix/protocol/injector/PlayerLoggedOutException.html b/Javadoc/com/comphenix/protocol/injector/PlayerLoggedOutException.html index 235913c0..5a5b8f1a 100644 --- a/Javadoc/com/comphenix/protocol/injector/PlayerLoggedOutException.html +++ b/Javadoc/com/comphenix/protocol/injector/PlayerLoggedOutException.html @@ -2,9 +2,9 @@ - + PlayerLoggedOutException - + diff --git a/Javadoc/com/comphenix/protocol/injector/PrioritizedListener.html b/Javadoc/com/comphenix/protocol/injector/PrioritizedListener.html index 13d21dbc..15410ade 100644 --- a/Javadoc/com/comphenix/protocol/injector/PrioritizedListener.html +++ b/Javadoc/com/comphenix/protocol/injector/PrioritizedListener.html @@ -2,9 +2,9 @@ - + PrioritizedListener - + diff --git a/Javadoc/com/comphenix/protocol/injector/SortedCopyOnWriteArrayTest.html b/Javadoc/com/comphenix/protocol/injector/SortedCopyOnWriteArrayTest.html index f7439783..7e5899ea 100644 --- a/Javadoc/com/comphenix/protocol/injector/SortedCopyOnWriteArrayTest.html +++ b/Javadoc/com/comphenix/protocol/injector/SortedCopyOnWriteArrayTest.html @@ -2,9 +2,9 @@ - + SortedCopyOnWriteArrayTest - + diff --git a/Javadoc/com/comphenix/protocol/injector/SortedPacketListenerList.html b/Javadoc/com/comphenix/protocol/injector/SortedPacketListenerList.html index 74cda13f..f65658a3 100644 --- a/Javadoc/com/comphenix/protocol/injector/SortedPacketListenerList.html +++ b/Javadoc/com/comphenix/protocol/injector/SortedPacketListenerList.html @@ -2,9 +2,9 @@ - + SortedPacketListenerList - + diff --git a/Javadoc/com/comphenix/protocol/injector/StructureCache.html b/Javadoc/com/comphenix/protocol/injector/StructureCache.html index 841d2d19..f1069e34 100644 --- a/Javadoc/com/comphenix/protocol/injector/StructureCache.html +++ b/Javadoc/com/comphenix/protocol/injector/StructureCache.html @@ -2,9 +2,9 @@ - + StructureCache - + diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/BukkitUnwrapper.html b/Javadoc/com/comphenix/protocol/injector/class-use/BukkitUnwrapper.html index 29d8bcff..d8a5b864 100644 --- a/Javadoc/com/comphenix/protocol/injector/class-use/BukkitUnwrapper.html +++ b/Javadoc/com/comphenix/protocol/injector/class-use/BukkitUnwrapper.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.injector.BukkitUnwrapper - + diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/DelayedSingleTask.html b/Javadoc/com/comphenix/protocol/injector/class-use/DelayedSingleTask.html index df4c7a05..be166bdd 100644 --- a/Javadoc/com/comphenix/protocol/injector/class-use/DelayedSingleTask.html +++ b/Javadoc/com/comphenix/protocol/injector/class-use/DelayedSingleTask.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.injector.DelayedSingleTask - + diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/GamePhase.html b/Javadoc/com/comphenix/protocol/injector/class-use/GamePhase.html index 5f76ce5f..944fc011 100644 --- a/Javadoc/com/comphenix/protocol/injector/class-use/GamePhase.html +++ b/Javadoc/com/comphenix/protocol/injector/class-use/GamePhase.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.injector.GamePhase - + diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/ListenerInvoker.html b/Javadoc/com/comphenix/protocol/injector/class-use/ListenerInvoker.html index 856f6356..1424808f 100644 --- a/Javadoc/com/comphenix/protocol/injector/class-use/ListenerInvoker.html +++ b/Javadoc/com/comphenix/protocol/injector/class-use/ListenerInvoker.html @@ -2,9 +2,9 @@ - + Uses of Interface com.comphenix.protocol.injector.ListenerInvoker - + diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/PacketConstructor.Unwrapper.html b/Javadoc/com/comphenix/protocol/injector/class-use/PacketConstructor.Unwrapper.html index 706d3249..45bd7bf6 100644 --- a/Javadoc/com/comphenix/protocol/injector/class-use/PacketConstructor.Unwrapper.html +++ b/Javadoc/com/comphenix/protocol/injector/class-use/PacketConstructor.Unwrapper.html @@ -2,9 +2,9 @@ - + Uses of Interface com.comphenix.protocol.injector.PacketConstructor.Unwrapper - + diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/PacketConstructor.html b/Javadoc/com/comphenix/protocol/injector/class-use/PacketConstructor.html index db8f2189..cf2b0d70 100644 --- a/Javadoc/com/comphenix/protocol/injector/class-use/PacketConstructor.html +++ b/Javadoc/com/comphenix/protocol/injector/class-use/PacketConstructor.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.injector.PacketConstructor - + diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/PacketFilterManager.PlayerInjectHooks.html b/Javadoc/com/comphenix/protocol/injector/class-use/PacketFilterManager.PlayerInjectHooks.html index 6ad97c77..6fc45338 100644 --- a/Javadoc/com/comphenix/protocol/injector/class-use/PacketFilterManager.PlayerInjectHooks.html +++ b/Javadoc/com/comphenix/protocol/injector/class-use/PacketFilterManager.PlayerInjectHooks.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.injector.PacketFilterManager.PlayerInjectHooks - + diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/PacketFilterManager.html b/Javadoc/com/comphenix/protocol/injector/class-use/PacketFilterManager.html index 9f1afe69..e095b203 100644 --- a/Javadoc/com/comphenix/protocol/injector/class-use/PacketFilterManager.html +++ b/Javadoc/com/comphenix/protocol/injector/class-use/PacketFilterManager.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.injector.PacketFilterManager - + diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/PlayerLoggedOutException.html b/Javadoc/com/comphenix/protocol/injector/class-use/PlayerLoggedOutException.html index 2c3ba9ef..ea9a253f 100644 --- a/Javadoc/com/comphenix/protocol/injector/class-use/PlayerLoggedOutException.html +++ b/Javadoc/com/comphenix/protocol/injector/class-use/PlayerLoggedOutException.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.injector.PlayerLoggedOutException - + diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/PrioritizedListener.html b/Javadoc/com/comphenix/protocol/injector/class-use/PrioritizedListener.html index c7db7f51..8aea96ad 100644 --- a/Javadoc/com/comphenix/protocol/injector/class-use/PrioritizedListener.html +++ b/Javadoc/com/comphenix/protocol/injector/class-use/PrioritizedListener.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.injector.PrioritizedListener - + diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/SortedCopyOnWriteArrayTest.html b/Javadoc/com/comphenix/protocol/injector/class-use/SortedCopyOnWriteArrayTest.html index 825a5ad2..0c24e788 100644 --- a/Javadoc/com/comphenix/protocol/injector/class-use/SortedCopyOnWriteArrayTest.html +++ b/Javadoc/com/comphenix/protocol/injector/class-use/SortedCopyOnWriteArrayTest.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.injector.SortedCopyOnWriteArrayTest - + diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/SortedPacketListenerList.html b/Javadoc/com/comphenix/protocol/injector/class-use/SortedPacketListenerList.html index cb2e500c..4a7502c5 100644 --- a/Javadoc/com/comphenix/protocol/injector/class-use/SortedPacketListenerList.html +++ b/Javadoc/com/comphenix/protocol/injector/class-use/SortedPacketListenerList.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.injector.SortedPacketListenerList - + diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/StructureCache.html b/Javadoc/com/comphenix/protocol/injector/class-use/StructureCache.html index c8aca59c..6100c929 100644 --- a/Javadoc/com/comphenix/protocol/injector/class-use/StructureCache.html +++ b/Javadoc/com/comphenix/protocol/injector/class-use/StructureCache.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.injector.StructureCache - + diff --git a/Javadoc/com/comphenix/protocol/injector/package-frame.html b/Javadoc/com/comphenix/protocol/injector/package-frame.html index d41ec983..a011d9e2 100644 --- a/Javadoc/com/comphenix/protocol/injector/package-frame.html +++ b/Javadoc/com/comphenix/protocol/injector/package-frame.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.injector - + diff --git a/Javadoc/com/comphenix/protocol/injector/package-summary.html b/Javadoc/com/comphenix/protocol/injector/package-summary.html index f94deef7..e7d20be8 100644 --- a/Javadoc/com/comphenix/protocol/injector/package-summary.html +++ b/Javadoc/com/comphenix/protocol/injector/package-summary.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.injector - + diff --git a/Javadoc/com/comphenix/protocol/injector/package-tree.html b/Javadoc/com/comphenix/protocol/injector/package-tree.html index d93245ff..c296c073 100644 --- a/Javadoc/com/comphenix/protocol/injector/package-tree.html +++ b/Javadoc/com/comphenix/protocol/injector/package-tree.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.injector Class Hierarchy - + diff --git a/Javadoc/com/comphenix/protocol/injector/package-use.html b/Javadoc/com/comphenix/protocol/injector/package-use.html index c8910fc2..c94f83d0 100644 --- a/Javadoc/com/comphenix/protocol/injector/package-use.html +++ b/Javadoc/com/comphenix/protocol/injector/package-use.html @@ -2,9 +2,9 @@ - + Uses of Package com.comphenix.protocol.injector - + diff --git a/Javadoc/com/comphenix/protocol/injector/player/NetworkServerInjector.html b/Javadoc/com/comphenix/protocol/injector/player/NetworkServerInjector.html index 4c2fb14d..2aa6667a 100644 --- a/Javadoc/com/comphenix/protocol/injector/player/NetworkServerInjector.html +++ b/Javadoc/com/comphenix/protocol/injector/player/NetworkServerInjector.html @@ -2,9 +2,9 @@ - + NetworkServerInjector - + diff --git a/Javadoc/com/comphenix/protocol/injector/player/PlayerInjectionHandler.html b/Javadoc/com/comphenix/protocol/injector/player/PlayerInjectionHandler.html index eea6009a..ad6f03c0 100644 --- a/Javadoc/com/comphenix/protocol/injector/player/PlayerInjectionHandler.html +++ b/Javadoc/com/comphenix/protocol/injector/player/PlayerInjectionHandler.html @@ -2,9 +2,9 @@ - + PlayerInjectionHandler - + @@ -170,61 +170,69 @@ extends java.lang.Object +org.bukkit.entity.Player +getPlayerByConnection(java.io.DataInputStream inputStream, + long playerTimeout, + java.util.concurrent.TimeUnit unit) +
    Retrieve a player by its DataInput connection.
    + + + PacketFilterManager.PlayerInjectHooks getPlayerHook()
    Retrieves how the server packets are read.
    - + PacketFilterManager.PlayerInjectHooks getPlayerHook(GamePhase phase)
    Retrieves how the server packets are read.
    - + java.util.Set<java.lang.Integer> getSendingFilters()
    Retrieve the current list of registered sending listeners.
    - + void handleDisconnect(org.bukkit.entity.Player player)
    Invoke special routines for handling disconnect before a player is uninjected.
    - + void injectPlayer(org.bukkit.entity.Player player)
    Initialize a player hook, allowing us to read server packets.
    - + boolean isInjectionNecessary(GamePhase phase)
    Determine if it's truly necessary to perform the given player injection.
    - + void processPacket(org.bukkit.entity.Player player, net.minecraft.server.Packet mcPacket)
    Process a packet as if it were sent by the given player.
    - + void removePacketHandler(int packetID)
    Remove an underlying packet handler of ths ID.
    - + void scheduleDataInputRefresh(org.bukkit.entity.Player player)
    Inform the current PlayerInjector that it should update the DataInputStream next.
    - + void sendServerPacket(org.bukkit.entity.Player reciever, PacketContainer packet, @@ -232,32 +240,32 @@ extends java.lang.Object
    Send the given packet to the given reciever.
    - + void setPlayerHook(GamePhase phase, PacketFilterManager.PlayerInjectHooks playerHook)
    Sets how the server packets are read.
    - + void setPlayerHook(PacketFilterManager.PlayerInjectHooks playerHook)
    Sets how the server packets are read.
    - + boolean uninjectPlayer(java.net.InetSocketAddress address)
    Unregisters a player by the given address.
    - + boolean uninjectPlayer(org.bukkit.entity.Player player)
    Unregisters the given player.
    - + boolean uninjectPlayer(org.bukkit.entity.Player player, boolean removeAuxiliary) @@ -382,10 +390,30 @@ extends java.lang.Object
    • getPlayerByConnection

      -
      public org.bukkit.entity.Player getPlayerByConnection(java.io.DataInputStream inputStream)
      +
      public org.bukkit.entity.Player getPlayerByConnection(java.io.DataInputStream inputStream)
      +                                               throws java.lang.InterruptedException
      Retrieve a player by its DataInput connection.
      Parameters:
      inputStream - - the associated DataInput connection.
      -
      Returns:
      The player.
      +
      Returns:
      The player.
      +
      Throws:
      +
      java.lang.InterruptedException - If the thread was interrupted during the wait.
      +
    • +
    + + + +
      +
    • +

      getPlayerByConnection

      +
      public org.bukkit.entity.Player getPlayerByConnection(java.io.DataInputStream inputStream,
      +                                             long playerTimeout,
      +                                             java.util.concurrent.TimeUnit unit)
      +                                               throws java.lang.InterruptedException
      +
      Retrieve a player by its DataInput connection.
      +
      Parameters:
      inputStream - - the associated DataInput connection.
      playerTimeout - - the amount of time to wait for a result.
      unit - - unit of playerTimeout.
      +
      Returns:
      The player.
      +
      Throws:
      +
      java.lang.InterruptedException - If the thread was interrupted during the wait.
    diff --git a/Javadoc/com/comphenix/protocol/injector/player/class-use/NetworkServerInjector.html b/Javadoc/com/comphenix/protocol/injector/player/class-use/NetworkServerInjector.html index b72766f0..c8e8674e 100644 --- a/Javadoc/com/comphenix/protocol/injector/player/class-use/NetworkServerInjector.html +++ b/Javadoc/com/comphenix/protocol/injector/player/class-use/NetworkServerInjector.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.injector.player.NetworkServerInjector - + diff --git a/Javadoc/com/comphenix/protocol/injector/player/class-use/PlayerInjectionHandler.html b/Javadoc/com/comphenix/protocol/injector/player/class-use/PlayerInjectionHandler.html index 253fca04..afcb562f 100644 --- a/Javadoc/com/comphenix/protocol/injector/player/class-use/PlayerInjectionHandler.html +++ b/Javadoc/com/comphenix/protocol/injector/player/class-use/PlayerInjectionHandler.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.injector.player.PlayerInjectionHandler - + diff --git a/Javadoc/com/comphenix/protocol/injector/player/package-frame.html b/Javadoc/com/comphenix/protocol/injector/player/package-frame.html index 9eb2ed85..c313abbf 100644 --- a/Javadoc/com/comphenix/protocol/injector/player/package-frame.html +++ b/Javadoc/com/comphenix/protocol/injector/player/package-frame.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.injector.player - + diff --git a/Javadoc/com/comphenix/protocol/injector/player/package-summary.html b/Javadoc/com/comphenix/protocol/injector/player/package-summary.html index f7f9c51c..61414b1e 100644 --- a/Javadoc/com/comphenix/protocol/injector/player/package-summary.html +++ b/Javadoc/com/comphenix/protocol/injector/player/package-summary.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.injector.player - + diff --git a/Javadoc/com/comphenix/protocol/injector/player/package-tree.html b/Javadoc/com/comphenix/protocol/injector/player/package-tree.html index 9e77c8ff..42977493 100644 --- a/Javadoc/com/comphenix/protocol/injector/player/package-tree.html +++ b/Javadoc/com/comphenix/protocol/injector/player/package-tree.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.injector.player Class Hierarchy - + diff --git a/Javadoc/com/comphenix/protocol/injector/player/package-use.html b/Javadoc/com/comphenix/protocol/injector/player/package-use.html index 8adf7df6..fb9a5511 100644 --- a/Javadoc/com/comphenix/protocol/injector/player/package-use.html +++ b/Javadoc/com/comphenix/protocol/injector/player/package-use.html @@ -2,9 +2,9 @@ - + Uses of Package com.comphenix.protocol.injector.player - + diff --git a/Javadoc/com/comphenix/protocol/metrics/Statistics.html b/Javadoc/com/comphenix/protocol/metrics/Statistics.html index 27a4d68e..308192e3 100644 --- a/Javadoc/com/comphenix/protocol/metrics/Statistics.html +++ b/Javadoc/com/comphenix/protocol/metrics/Statistics.html @@ -2,9 +2,9 @@ - + Statistics - + diff --git a/Javadoc/com/comphenix/protocol/metrics/Updater.UpdateResult.html b/Javadoc/com/comphenix/protocol/metrics/Updater.UpdateResult.html index 79710a69..541dd026 100644 --- a/Javadoc/com/comphenix/protocol/metrics/Updater.UpdateResult.html +++ b/Javadoc/com/comphenix/protocol/metrics/Updater.UpdateResult.html @@ -2,9 +2,9 @@ - + Updater.UpdateResult - + diff --git a/Javadoc/com/comphenix/protocol/metrics/Updater.UpdateType.html b/Javadoc/com/comphenix/protocol/metrics/Updater.UpdateType.html index 0aa9068c..28230b96 100644 --- a/Javadoc/com/comphenix/protocol/metrics/Updater.UpdateType.html +++ b/Javadoc/com/comphenix/protocol/metrics/Updater.UpdateType.html @@ -2,9 +2,9 @@ - + Updater.UpdateType - + diff --git a/Javadoc/com/comphenix/protocol/metrics/Updater.html b/Javadoc/com/comphenix/protocol/metrics/Updater.html index d99b5f16..e5fb90ed 100644 --- a/Javadoc/com/comphenix/protocol/metrics/Updater.html +++ b/Javadoc/com/comphenix/protocol/metrics/Updater.html @@ -2,9 +2,9 @@ - + Updater - + diff --git a/Javadoc/com/comphenix/protocol/metrics/class-use/Statistics.html b/Javadoc/com/comphenix/protocol/metrics/class-use/Statistics.html index e52420bb..93293eda 100644 --- a/Javadoc/com/comphenix/protocol/metrics/class-use/Statistics.html +++ b/Javadoc/com/comphenix/protocol/metrics/class-use/Statistics.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.metrics.Statistics - + diff --git a/Javadoc/com/comphenix/protocol/metrics/class-use/Updater.UpdateResult.html b/Javadoc/com/comphenix/protocol/metrics/class-use/Updater.UpdateResult.html index b37d4620..994d90e5 100644 --- a/Javadoc/com/comphenix/protocol/metrics/class-use/Updater.UpdateResult.html +++ b/Javadoc/com/comphenix/protocol/metrics/class-use/Updater.UpdateResult.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.metrics.Updater.UpdateResult - + diff --git a/Javadoc/com/comphenix/protocol/metrics/class-use/Updater.UpdateType.html b/Javadoc/com/comphenix/protocol/metrics/class-use/Updater.UpdateType.html index 29b034f6..87d4c3be 100644 --- a/Javadoc/com/comphenix/protocol/metrics/class-use/Updater.UpdateType.html +++ b/Javadoc/com/comphenix/protocol/metrics/class-use/Updater.UpdateType.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.metrics.Updater.UpdateType - + diff --git a/Javadoc/com/comphenix/protocol/metrics/class-use/Updater.html b/Javadoc/com/comphenix/protocol/metrics/class-use/Updater.html index 1af00ce8..d2d2985b 100644 --- a/Javadoc/com/comphenix/protocol/metrics/class-use/Updater.html +++ b/Javadoc/com/comphenix/protocol/metrics/class-use/Updater.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.metrics.Updater - + diff --git a/Javadoc/com/comphenix/protocol/metrics/package-frame.html b/Javadoc/com/comphenix/protocol/metrics/package-frame.html index 5b197d30..70acd8e8 100644 --- a/Javadoc/com/comphenix/protocol/metrics/package-frame.html +++ b/Javadoc/com/comphenix/protocol/metrics/package-frame.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.metrics - + diff --git a/Javadoc/com/comphenix/protocol/metrics/package-summary.html b/Javadoc/com/comphenix/protocol/metrics/package-summary.html index 1a8b0794..cc6dd1ff 100644 --- a/Javadoc/com/comphenix/protocol/metrics/package-summary.html +++ b/Javadoc/com/comphenix/protocol/metrics/package-summary.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.metrics - + diff --git a/Javadoc/com/comphenix/protocol/metrics/package-tree.html b/Javadoc/com/comphenix/protocol/metrics/package-tree.html index 746caf97..8660b420 100644 --- a/Javadoc/com/comphenix/protocol/metrics/package-tree.html +++ b/Javadoc/com/comphenix/protocol/metrics/package-tree.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.metrics Class Hierarchy - + diff --git a/Javadoc/com/comphenix/protocol/metrics/package-use.html b/Javadoc/com/comphenix/protocol/metrics/package-use.html index 7d56d169..05aac3a3 100644 --- a/Javadoc/com/comphenix/protocol/metrics/package-use.html +++ b/Javadoc/com/comphenix/protocol/metrics/package-use.html @@ -2,9 +2,9 @@ - + Uses of Package com.comphenix.protocol.metrics - + diff --git a/Javadoc/com/comphenix/protocol/package-frame.html b/Javadoc/com/comphenix/protocol/package-frame.html index 589b59e6..ce6b70e3 100644 --- a/Javadoc/com/comphenix/protocol/package-frame.html +++ b/Javadoc/com/comphenix/protocol/package-frame.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol - + diff --git a/Javadoc/com/comphenix/protocol/package-summary.html b/Javadoc/com/comphenix/protocol/package-summary.html index 3b37a6cd..8556a8b4 100644 --- a/Javadoc/com/comphenix/protocol/package-summary.html +++ b/Javadoc/com/comphenix/protocol/package-summary.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol - + diff --git a/Javadoc/com/comphenix/protocol/package-tree.html b/Javadoc/com/comphenix/protocol/package-tree.html index 0768807f..d3074b53 100644 --- a/Javadoc/com/comphenix/protocol/package-tree.html +++ b/Javadoc/com/comphenix/protocol/package-tree.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol Class Hierarchy - + diff --git a/Javadoc/com/comphenix/protocol/package-use.html b/Javadoc/com/comphenix/protocol/package-use.html index f7e93a47..e9e90075 100644 --- a/Javadoc/com/comphenix/protocol/package-use.html +++ b/Javadoc/com/comphenix/protocol/package-use.html @@ -2,9 +2,9 @@ - + Uses of Package com.comphenix.protocol - + diff --git a/Javadoc/com/comphenix/protocol/reflect/EquivalentConverter.html b/Javadoc/com/comphenix/protocol/reflect/EquivalentConverter.html index ca8d3e93..6ee376eb 100644 --- a/Javadoc/com/comphenix/protocol/reflect/EquivalentConverter.html +++ b/Javadoc/com/comphenix/protocol/reflect/EquivalentConverter.html @@ -2,9 +2,9 @@ - + EquivalentConverter - + diff --git a/Javadoc/com/comphenix/protocol/reflect/FieldAccessException.html b/Javadoc/com/comphenix/protocol/reflect/FieldAccessException.html index 65cbe2dc..41780f73 100644 --- a/Javadoc/com/comphenix/protocol/reflect/FieldAccessException.html +++ b/Javadoc/com/comphenix/protocol/reflect/FieldAccessException.html @@ -2,9 +2,9 @@ - + FieldAccessException - + @@ -93,6 +93,9 @@
  • java.lang.Exception
    • +
    • java.lang.RuntimeException
    • +
    • +
      • com.comphenix.protocol.reflect.FieldAccessException
    • @@ -101,6 +104,8 @@
  • + +
    diff --git a/Javadoc/com/comphenix/protocol/reflect/package-use.html b/Javadoc/com/comphenix/protocol/reflect/package-use.html index 751caee8..a8034690 100644 --- a/Javadoc/com/comphenix/protocol/reflect/package-use.html +++ b/Javadoc/com/comphenix/protocol/reflect/package-use.html @@ -2,9 +2,9 @@ - + Uses of Package com.comphenix.protocol.reflect - + diff --git a/Javadoc/com/comphenix/protocol/utility/ChatExtensions.html b/Javadoc/com/comphenix/protocol/utility/ChatExtensions.html index 60c4c049..b02eb04e 100644 --- a/Javadoc/com/comphenix/protocol/utility/ChatExtensions.html +++ b/Javadoc/com/comphenix/protocol/utility/ChatExtensions.html @@ -2,9 +2,9 @@ - + ChatExtensions - + diff --git a/Javadoc/com/comphenix/protocol/utility/class-use/ChatExtensions.html b/Javadoc/com/comphenix/protocol/utility/class-use/ChatExtensions.html index dc012994..56a3603a 100644 --- a/Javadoc/com/comphenix/protocol/utility/class-use/ChatExtensions.html +++ b/Javadoc/com/comphenix/protocol/utility/class-use/ChatExtensions.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.utility.ChatExtensions - + diff --git a/Javadoc/com/comphenix/protocol/utility/package-frame.html b/Javadoc/com/comphenix/protocol/utility/package-frame.html index 22ee1563..1dcfee32 100644 --- a/Javadoc/com/comphenix/protocol/utility/package-frame.html +++ b/Javadoc/com/comphenix/protocol/utility/package-frame.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.utility - + diff --git a/Javadoc/com/comphenix/protocol/utility/package-summary.html b/Javadoc/com/comphenix/protocol/utility/package-summary.html index 7ac64b1b..4eb9d4bb 100644 --- a/Javadoc/com/comphenix/protocol/utility/package-summary.html +++ b/Javadoc/com/comphenix/protocol/utility/package-summary.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.utility - + diff --git a/Javadoc/com/comphenix/protocol/utility/package-tree.html b/Javadoc/com/comphenix/protocol/utility/package-tree.html index 0ccf50e4..8098050a 100644 --- a/Javadoc/com/comphenix/protocol/utility/package-tree.html +++ b/Javadoc/com/comphenix/protocol/utility/package-tree.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.utility Class Hierarchy - + diff --git a/Javadoc/com/comphenix/protocol/utility/package-use.html b/Javadoc/com/comphenix/protocol/utility/package-use.html index 464f983c..6bb97b51 100644 --- a/Javadoc/com/comphenix/protocol/utility/package-use.html +++ b/Javadoc/com/comphenix/protocol/utility/package-use.html @@ -2,9 +2,9 @@ - + Uses of Package com.comphenix.protocol.utility - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/BukkitConverters.html b/Javadoc/com/comphenix/protocol/wrappers/BukkitConverters.html index 6a29a20d..af076bbb 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/BukkitConverters.html +++ b/Javadoc/com/comphenix/protocol/wrappers/BukkitConverters.html @@ -2,9 +2,9 @@ - + BukkitConverters - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/ChunkPosition.html b/Javadoc/com/comphenix/protocol/wrappers/ChunkPosition.html index 4e620470..4a5c030b 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/ChunkPosition.html +++ b/Javadoc/com/comphenix/protocol/wrappers/ChunkPosition.html @@ -2,9 +2,9 @@ - + ChunkPosition - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/WrappedChunkCoordinate.html b/Javadoc/com/comphenix/protocol/wrappers/WrappedChunkCoordinate.html index a7afd1ff..88cc141e 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/WrappedChunkCoordinate.html +++ b/Javadoc/com/comphenix/protocol/wrappers/WrappedChunkCoordinate.html @@ -2,9 +2,9 @@ - + WrappedChunkCoordinate - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/WrappedDataWatcher.html b/Javadoc/com/comphenix/protocol/wrappers/WrappedDataWatcher.html index 0f576edd..9ae407b6 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/WrappedDataWatcher.html +++ b/Javadoc/com/comphenix/protocol/wrappers/WrappedDataWatcher.html @@ -2,9 +2,9 @@ - + WrappedDataWatcher - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/WrappedWatchableObject.html b/Javadoc/com/comphenix/protocol/wrappers/WrappedWatchableObject.html index 126f47c4..52fbf9d3 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/WrappedWatchableObject.html +++ b/Javadoc/com/comphenix/protocol/wrappers/WrappedWatchableObject.html @@ -2,9 +2,9 @@ - + WrappedWatchableObject - + @@ -142,7 +142,15 @@ extends java.lang.Object Constructor and Description -WrappedWatchableObject(net.minecraft.server.WatchableObject handle)  +WrappedWatchableObject(int index, + java.lang.Object value) +
    Construct a watchable object from an index and a given value.
    + + + +WrappedWatchableObject(net.minecraft.server.WatchableObject handle) +
    Wrap a given raw Minecraft watchable object.
    + @@ -283,10 +291,24 @@ extends java.lang.Object -
      +
      • WrappedWatchableObject

        public WrappedWatchableObject(net.minecraft.server.WatchableObject handle)
        +
        Wrap a given raw Minecraft watchable object.
        +
        Parameters:
        handle - - the raw watchable object to wrap.
        +
      • +
      + + + +
        +
      • +

        WrappedWatchableObject

        +
        public WrappedWatchableObject(int index,
        +                      java.lang.Object value)
        +
        Construct a watchable object from an index and a given value.
        +
        Parameters:
        index - - the index.
        value - - non-null value of specific types.
      diff --git a/Javadoc/com/comphenix/protocol/wrappers/class-use/BukkitConverters.html b/Javadoc/com/comphenix/protocol/wrappers/class-use/BukkitConverters.html index 1e5de551..bd88db4b 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/class-use/BukkitConverters.html +++ b/Javadoc/com/comphenix/protocol/wrappers/class-use/BukkitConverters.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.wrappers.BukkitConverters - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/class-use/ChunkPosition.html b/Javadoc/com/comphenix/protocol/wrappers/class-use/ChunkPosition.html index aa6b1a88..f6d350ef 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/class-use/ChunkPosition.html +++ b/Javadoc/com/comphenix/protocol/wrappers/class-use/ChunkPosition.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.wrappers.ChunkPosition - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/class-use/WrappedChunkCoordinate.html b/Javadoc/com/comphenix/protocol/wrappers/class-use/WrappedChunkCoordinate.html index 09f48813..82ea41ab 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/class-use/WrappedChunkCoordinate.html +++ b/Javadoc/com/comphenix/protocol/wrappers/class-use/WrappedChunkCoordinate.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.wrappers.WrappedChunkCoordinate - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/class-use/WrappedDataWatcher.html b/Javadoc/com/comphenix/protocol/wrappers/class-use/WrappedDataWatcher.html index c1ca139c..a95ab9df 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/class-use/WrappedDataWatcher.html +++ b/Javadoc/com/comphenix/protocol/wrappers/class-use/WrappedDataWatcher.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.wrappers.WrappedDataWatcher - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/class-use/WrappedWatchableObject.html b/Javadoc/com/comphenix/protocol/wrappers/class-use/WrappedWatchableObject.html index 57a04cb3..3357919f 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/class-use/WrappedWatchableObject.html +++ b/Javadoc/com/comphenix/protocol/wrappers/class-use/WrappedWatchableObject.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.wrappers.WrappedWatchableObject - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/package-frame.html b/Javadoc/com/comphenix/protocol/wrappers/package-frame.html index ef25c09a..08f7bd83 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/package-frame.html +++ b/Javadoc/com/comphenix/protocol/wrappers/package-frame.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.wrappers - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/package-summary.html b/Javadoc/com/comphenix/protocol/wrappers/package-summary.html index a4fcbc8d..908414e3 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/package-summary.html +++ b/Javadoc/com/comphenix/protocol/wrappers/package-summary.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.wrappers - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/package-tree.html b/Javadoc/com/comphenix/protocol/wrappers/package-tree.html index e1168310..33c1ffed 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/package-tree.html +++ b/Javadoc/com/comphenix/protocol/wrappers/package-tree.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.wrappers Class Hierarchy - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/package-use.html b/Javadoc/com/comphenix/protocol/wrappers/package-use.html index 08f53fa5..c6b32f4a 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/package-use.html +++ b/Javadoc/com/comphenix/protocol/wrappers/package-use.html @@ -2,9 +2,9 @@ - + Uses of Package com.comphenix.protocol.wrappers - + diff --git a/Javadoc/constant-values.html b/Javadoc/constant-values.html index 695b9059..7d1ce98b 100644 --- a/Javadoc/constant-values.html +++ b/Javadoc/constant-values.html @@ -2,9 +2,9 @@ - + Constant Field Values - + diff --git a/Javadoc/deprecated-list.html b/Javadoc/deprecated-list.html index 5d60b12f..bf8f86b2 100644 --- a/Javadoc/deprecated-list.html +++ b/Javadoc/deprecated-list.html @@ -2,9 +2,9 @@ - + Deprecated List - + diff --git a/Javadoc/help-doc.html b/Javadoc/help-doc.html index 033cd246..06ef1ec3 100644 --- a/Javadoc/help-doc.html +++ b/Javadoc/help-doc.html @@ -2,9 +2,9 @@ - + API Help - + diff --git a/Javadoc/index-files/index-1.html b/Javadoc/index-files/index-1.html index c7984ff7..3e08df7d 100644 --- a/Javadoc/index-files/index-1.html +++ b/Javadoc/index-files/index-1.html @@ -2,9 +2,9 @@ - + A-Index - + diff --git a/Javadoc/index-files/index-10.html b/Javadoc/index-files/index-10.html index 90a53312..3d876395 100644 --- a/Javadoc/index-files/index-10.html +++ b/Javadoc/index-files/index-10.html @@ -2,9 +2,9 @@ - + K-Index - + @@ -79,6 +79,8 @@
       
      KEY_RESPONSE - Static variable in class com.comphenix.protocol.Packets.Server
       
      +
      keys() - Method in class com.comphenix.protocol.concurrency.BlockingHashMap
      +
       
      keySet() - Method in class com.comphenix.protocol.concurrency.AbstractConcurrentListenerMultimap
      Retrieve every registered packet ID:
      diff --git a/Javadoc/index-files/index-11.html b/Javadoc/index-files/index-11.html index 5317630d..039c57f5 100644 --- a/Javadoc/index-files/index-11.html +++ b/Javadoc/index-files/index-11.html @@ -2,9 +2,9 @@ - + L-Index - + diff --git a/Javadoc/index-files/index-12.html b/Javadoc/index-files/index-12.html index 0c57f421..fb0f0c92 100644 --- a/Javadoc/index-files/index-12.html +++ b/Javadoc/index-files/index-12.html @@ -2,9 +2,9 @@ - + M-Index - + diff --git a/Javadoc/index-files/index-13.html b/Javadoc/index-files/index-13.html index 8fd4421f..a8081523 100644 --- a/Javadoc/index-files/index-13.html +++ b/Javadoc/index-files/index-13.html @@ -2,9 +2,9 @@ - + N-Index - + diff --git a/Javadoc/index-files/index-14.html b/Javadoc/index-files/index-14.html index cec0066f..31d35882 100644 --- a/Javadoc/index-files/index-14.html +++ b/Javadoc/index-files/index-14.html @@ -2,9 +2,9 @@ - + O-Index - + diff --git a/Javadoc/index-files/index-15.html b/Javadoc/index-files/index-15.html index eba56519..45078c96 100644 --- a/Javadoc/index-files/index-15.html +++ b/Javadoc/index-files/index-15.html @@ -2,9 +2,9 @@ - + P-Index - + @@ -257,6 +257,10 @@
      Associates a given interval of keys with a certain value.
      +
      put(TKey, TValue) - Method in class com.comphenix.protocol.concurrency.BlockingHashMap
      +
      +
      Associate a given key with the given value.
      +
      putAll(AbstractIntervalTree<TKey, TValue>) - Method in class com.comphenix.protocol.concurrency.AbstractIntervalTree
      Inserts every range from the given tree into the current tree.
      diff --git a/Javadoc/index-files/index-16.html b/Javadoc/index-files/index-16.html index d4d14b49..9cfee42e 100644 --- a/Javadoc/index-files/index-16.html +++ b/Javadoc/index-files/index-16.html @@ -2,9 +2,9 @@ - + R-Index - + diff --git a/Javadoc/index-files/index-17.html b/Javadoc/index-files/index-17.html index 4238e454..24dc3c5e 100644 --- a/Javadoc/index-files/index-17.html +++ b/Javadoc/index-files/index-17.html @@ -2,9 +2,9 @@ - + S-Index - + @@ -296,6 +296,8 @@
      Signal that a packet is ready to be transmitted.
      +
      size() - Method in class com.comphenix.protocol.concurrency.BlockingHashMap
      +
       
      size() - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
      Retrieve the size of the list.
      diff --git a/Javadoc/index-files/index-18.html b/Javadoc/index-files/index-18.html index 00b84852..5a04c254 100644 --- a/Javadoc/index-files/index-18.html +++ b/Javadoc/index-files/index-18.html @@ -2,9 +2,9 @@ - + T-Index - + @@ -77,6 +77,8 @@
       
      taskID - Variable in class com.comphenix.protocol.injector.DelayedSingleTask
       
      +
      test() - Method in class com.comphenix.protocol.concurrency.BlockingHashMapTest
      +
       
      test() - Method in class com.comphenix.protocol.reflect.StructureModifierTest
       
      testInsertion() - Method in class com.comphenix.protocol.injector.SortedCopyOnWriteArrayTest
      diff --git a/Javadoc/index-files/index-19.html b/Javadoc/index-files/index-19.html index 4fe0b5bd..cb838c3a 100644 --- a/Javadoc/index-files/index-19.html +++ b/Javadoc/index-files/index-19.html @@ -2,9 +2,9 @@ - + U-Index - + @@ -129,7 +129,7 @@
       
      updateEntity(Entity, List<Player>) - Method in interface com.comphenix.protocol.ProtocolManager
      -
      Completely refresh all clients about an entity.
      +
      Completely resend an entity to a list of clients.
      Updater - Class in com.comphenix.protocol.metrics
      diff --git a/Javadoc/index-files/index-2.html b/Javadoc/index-files/index-2.html index ef947d5d..aa247a54 100644 --- a/Javadoc/index-files/index-2.html +++ b/Javadoc/index-files/index-2.html @@ -2,9 +2,9 @@ - + B-Index - + @@ -89,6 +89,18 @@
       
      BLOCK_ITEM_SWITCH - Static variable in class com.comphenix.protocol.Packets.Client
       
      +
      BlockingHashMap<TKey,TValue> - Class in com.comphenix.protocol.concurrency
      +
      +
      A map that supports blocking on read operations.
      +
      +
      BlockingHashMap() - Constructor for class com.comphenix.protocol.concurrency.BlockingHashMap
      +
      +
      Initialize a new map.
      +
      +
      BlockingHashMapTest - Class in com.comphenix.protocol.concurrency
      +
       
      +
      BlockingHashMapTest() - Constructor for class com.comphenix.protocol.concurrency.BlockingHashMapTest
      +
       
      bounds - Variable in class com.comphenix.protocol.concurrency.AbstractIntervalTree
       
      broadcastMessageSilently(String, String) - Method in class com.comphenix.protocol.utility.ChatExtensions
      diff --git a/Javadoc/index-files/index-20.html b/Javadoc/index-files/index-20.html index 1eb23d1c..c830973f 100644 --- a/Javadoc/index-files/index-20.html +++ b/Javadoc/index-files/index-20.html @@ -2,9 +2,9 @@ - + V-Index - + @@ -114,6 +114,8 @@
      Returns an array containing the constants of this enum type, in the order they are declared.
      +
      values() - Method in class com.comphenix.protocol.concurrency.BlockingHashMap
      +
       
      values() - Static method in enum com.comphenix.protocol.events.ConnectionSide
      Returns an array containing the constants of this enum type, in diff --git a/Javadoc/index-files/index-21.html b/Javadoc/index-files/index-21.html index 22531975..d83d5055 100644 --- a/Javadoc/index-files/index-21.html +++ b/Javadoc/index-files/index-21.html @@ -2,9 +2,9 @@ - + W-Index - + @@ -142,7 +142,13 @@
      Represents a watchable object.
      WrappedWatchableObject(WatchableObject) - Constructor for class com.comphenix.protocol.wrappers.WrappedWatchableObject
      -
       
      +
      +
      Wrap a given raw Minecraft watchable object.
      +
      +
      WrappedWatchableObject(int, Object) - Constructor for class com.comphenix.protocol.wrappers.WrappedWatchableObject
      +
      +
      Construct a watchable object from an index and a given value.
      +
      write(int, Object) - Method in class com.comphenix.protocol.reflect.compiler.CompiledStructureModifier
       
      write(int, TField) - Method in class com.comphenix.protocol.reflect.StructureModifier
      diff --git a/Javadoc/index-files/index-22.html b/Javadoc/index-files/index-22.html index 42bd6aa8..abffecee 100644 --- a/Javadoc/index-files/index-22.html +++ b/Javadoc/index-files/index-22.html @@ -2,9 +2,9 @@ - + X-Index - + diff --git a/Javadoc/index-files/index-23.html b/Javadoc/index-files/index-23.html index d3211b59..d6adae2f 100644 --- a/Javadoc/index-files/index-23.html +++ b/Javadoc/index-files/index-23.html @@ -2,9 +2,9 @@ - + Y-Index - + diff --git a/Javadoc/index-files/index-24.html b/Javadoc/index-files/index-24.html index d2138981..435a2991 100644 --- a/Javadoc/index-files/index-24.html +++ b/Javadoc/index-files/index-24.html @@ -2,9 +2,9 @@ - + Z-Index - + diff --git a/Javadoc/index-files/index-3.html b/Javadoc/index-files/index-3.html index 0fc2c7b4..a66c4634 100644 --- a/Javadoc/index-files/index-3.html +++ b/Javadoc/index-files/index-3.html @@ -2,9 +2,9 @@ - + C-Index - + @@ -233,6 +233,10 @@
      CRAFT_PROGRESS_BAR - Static variable in class com.comphenix.protocol.Packets.Server
       
      +
      create() - Static method in class com.comphenix.protocol.concurrency.BlockingHashMap
      +
      +
      Initialize a new map.
      +
      create(Class<?>) - Method in class com.comphenix.protocol.reflect.instances.CollectionGenerator
       
      create(Class<?>) - Method in class com.comphenix.protocol.reflect.instances.ExistingGenerator
      diff --git a/Javadoc/index-files/index-4.html b/Javadoc/index-files/index-4.html index f0a2b162..74a20ae3 100644 --- a/Javadoc/index-files/index-4.html +++ b/Javadoc/index-files/index-4.html @@ -2,9 +2,9 @@ - + D-Index - + @@ -73,6 +73,10 @@
      Decrement the given key by one unit.
      +
      deepClone() - Method in class com.comphenix.protocol.events.PacketContainer
      +
      +
      Create a deep copy of the current packet.
      +
      deepClone() - Method in class com.comphenix.protocol.wrappers.WrappedWatchableObject
      Clone the current wrapped watchable object, along with any contained objects.
      diff --git a/Javadoc/index-files/index-5.html b/Javadoc/index-files/index-5.html index 385005b1..c060a60d 100644 --- a/Javadoc/index-files/index-5.html +++ b/Javadoc/index-files/index-5.html @@ -2,9 +2,9 @@ - + E-Index - + diff --git a/Javadoc/index-files/index-6.html b/Javadoc/index-files/index-6.html index 78a28148..87fb54f7 100644 --- a/Javadoc/index-files/index-6.html +++ b/Javadoc/index-files/index-6.html @@ -2,9 +2,9 @@ - + F-Index - + diff --git a/Javadoc/index-files/index-7.html b/Javadoc/index-files/index-7.html index 9047f967..e6c87b92 100644 --- a/Javadoc/index-files/index-7.html +++ b/Javadoc/index-files/index-7.html @@ -2,9 +2,9 @@ - + G-Index - + @@ -75,6 +75,14 @@
      Retrieves the value of the range that matches the given key, or NULL if nothing was found.
      +
      get(TKey) - Method in class com.comphenix.protocol.concurrency.BlockingHashMap
      +
      +
      Waits until a value has been associated with the given key, and then retrieves that value.
      +
      +
      get(TKey, long, TimeUnit) - Method in class com.comphenix.protocol.concurrency.BlockingHashMap
      +
      +
      Waits until a value has been associated with the given key, and then retrieves that value.
      +
      get(int) - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
      Retrieves an element by index.
      @@ -200,6 +208,12 @@
      Retrieves a read/write structure for entity objects.
      +
      getEntityTrackers(Entity) - Method in class com.comphenix.protocol.injector.PacketFilterManager
      +
       
      +
      getEntityTrackers(Entity) - Method in interface com.comphenix.protocol.ProtocolManager
      +
      +
      Retrieve every client that is receiving information about a given entity.
      +
      getEntityWatcher(Entity) - Static method in class com.comphenix.protocol.wrappers.WrappedDataWatcher
      Retrieve the data watcher associated with an entity.
      @@ -335,6 +349,10 @@
      Get a watched integer.
      +
      getIntegerArrays() - Method in class com.comphenix.protocol.events.PacketContainer
      +
      +
      Retrieves a read/write structure for every int array field.
      +
      getIntegers() - Method in class com.comphenix.protocol.events.PacketContainer
      Retrieves a read/write structure for every integer field.
      @@ -495,6 +513,10 @@
      Retrieve a player by its DataInput connection.
      +
      getPlayerByConnection(DataInputStream, long, TimeUnit) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
      +
      +
      Retrieve a player by its DataInput connection.
      +
      getPlayerHook() - Method in class com.comphenix.protocol.injector.PacketFilterManager
      Retrieves how the server packets are read.
      diff --git a/Javadoc/index-files/index-8.html b/Javadoc/index-files/index-8.html index e0c43b26..7860481d 100644 --- a/Javadoc/index-files/index-8.html +++ b/Javadoc/index-files/index-8.html @@ -2,9 +2,9 @@ - + H-Index - + diff --git a/Javadoc/index-files/index-9.html b/Javadoc/index-files/index-9.html index 1343f291..9b8dcffd 100644 --- a/Javadoc/index-files/index-9.html +++ b/Javadoc/index-files/index-9.html @@ -2,9 +2,9 @@ - + I-Index - + diff --git a/Javadoc/index.html b/Javadoc/index.html index 9cc8e839..9ddd23ad 100644 --- a/Javadoc/index.html +++ b/Javadoc/index.html @@ -2,7 +2,7 @@ - + Generated Documentation (Untitled) + + + + + + +
      +
      com.comphenix.protocol.utility
      +

      Class MinecraftReflection

      +
      +
      +
        +
      • java.lang.Object
      • +
      • +
          +
        • com.comphenix.protocol.utility.MinecraftReflection
        • +
        +
      • +
      +
      +
        +
      • +
        +
        +
        public class MinecraftReflection
        +extends java.lang.Object
        +
        Methods and constants specifically used in conjuction with reflecting Minecraft object.
        +
        Author:
        +
        Kristian
        +
      • +
      +
      +
      +
        +
      • + +
          +
        • + + +

          Field Summary

          + + + + + + + + + + +
          Fields 
          Modifier and TypeField and Description
          static java.lang.StringMINECRAFT_OBJECT +
          Regular expression that matches a Minecraft object.
          +
          +
        • +
        + + + +
          +
        • + + +

          Method Summary

          + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
          Methods 
          Modifier and TypeMethod and Description
          static java.lang.ClassgetArrayClass(java.lang.Class componentType) +
          Retrieve the array class of a given component type.
          +
          static java.lang.ObjectgetBukkitEntity(java.lang.Object nmsObject) +
          Dynamically retrieve the Bukkit entity from a given entity.
          +
          static org.bukkit.inventory.ItemStackgetBukkitItemStack(org.bukkit.inventory.ItemStack bukkitItemStack) +
          Retrieve a CraftItemStack from a given ItemStack.
          +
          static org.bukkit.inventory.ItemStackgetBukkitItemStack(java.lang.Object minecraftItemStack) +
          Retrieve the Bukkit ItemStack from a given net.minecraft.server ItemStack.
          +
          static java.lang.ClassgetChunkCoordinatesClass() +
          Retrieve the ChunkPosition class.
          +
          static java.lang.ClassgetChunkPositionClass() +
          Retrieve the ChunkPosition class.
          +
          static java.lang.ClassgetCraftBukkitClass(java.lang.String className) +
          Retrieve the class object of a specific CraftBukkit class.
          +
          static java.lang.StringgetCraftBukkitPackage() +
          Retrieve the name of the root CraftBukkit package.
          +
          static java.lang.ClassgetCraftItemStackClass() +
          Retrieve the CraftItemStack class.
          +
          static java.lang.ClassgetDataWatcherClass() +
          Retrieve the DataWatcher class.
          +
          static java.lang.ClassgetEntityClass() +
          Retrieve the entity (NMS) class.
          +
          static java.lang.ClassgetEntityPlayerClass() +
          Retrieve the EntityPlayer (NMS) class.
          +
          static java.lang.ClassgetItemStackArrayClass() +
          Retrieve the ItemStack[] class.
          +
          static java.lang.ClassgetItemStackClass() +
          Retrieve the NetLoginHandler class.
          +
          static java.lang.ClassgetMinecraftClass(java.lang.String className) +
          Retrieve the class object of a specific Minecraft class.
          +
          static java.lang.ObjectgetMinecraftItemStack(org.bukkit.inventory.ItemStack stack) +
          Retrieve the net.minecraft.server ItemStack from a Bukkit ItemStack.
          +
          static java.lang.StringgetMinecraftPackage() +
          Retrieve the name of the Minecraft server package.
          +
          static java.lang.ClassgetNetLoginHandlerClass() +
          Retrieve the NetLoginHandler class.
          +
          static java.lang.ClassgetPacketClass() +
          Retrieve the packet class.
          +
          static java.lang.ClassgetWatchableObjectClass() +
          Retrieve the WatchableObject class.
          +
          static java.lang.ClassgetWorldTypeClass() +
          Retrieve the WorldType class.
          +
          static booleanisChunkCoordinates(java.lang.Object obj) +
          Determine if a given object is a ChunkCoordinate.
          +
          static booleanisChunkPosition(java.lang.Object obj) +
          Determine if a given object is a ChunkPosition.
          +
          static booleanisCraftItemStack(java.lang.Object obj) +
          Determine if the given object is a CraftItemStack instancey.
          +
          static booleanisDataWatcher(java.lang.Object obj) +
          Determine if the given object is a data watcher object.
          +
          static booleanisItemStack(java.lang.Object value) +
          Determine if the given object is a NMS ItemStack.
          +
          static booleanisLoginHandler(java.lang.Object obj) +
          Determine if the given object is a NetLoginHandler.
          +
          static booleanisMinecraftEntity(java.lang.Object obj) +
          Determine if the given object is actually a Minecraft packet.
          +
          static booleanisMinecraftObject(java.lang.Object obj) +
          Determine if a given object can be found within the package net.minecraft.server.
          +
          static booleanisMinecraftObject(java.lang.Object obj, + java.lang.String className) +
          Determine if a given object is found in net.minecraft.server, and has the given name.
          +
          static booleanisMinecraftPlayer(java.lang.Object obj) +
          Determine if the given object is a Minecraft player entity.
          +
          static booleanisPacketClass(java.lang.Object obj) +
          Determine if the given object is actually a Minecraft packet.
          +
          static booleanisWatchableObject(java.lang.Object obj) +
          Determine if the given object is a watchable object.
          +
          static voidsetMinecraftPackage(java.lang.String minecraftPackage, + java.lang.String craftBukkitPackage) +
          Used during debugging and testing.
          +
          +
            +
          • + + +

            Methods inherited from class java.lang.Object

            +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
          • +
          +
        • +
        +
      • +
      +
      +
      +
        +
      • + +
          +
        • + + +

          Field Detail

          + + + +
            +
          • +

            MINECRAFT_OBJECT

            +
            public static final java.lang.String MINECRAFT_OBJECT
            +
            Regular expression that matches a Minecraft object.
            +
            See Also:
            Constant Field Values
            +
          • +
          +
        • +
        + +
          +
        • + + +

          Constructor Detail

          + + + +
            +
          • +

            MinecraftReflection

            +
            public MinecraftReflection()
            +
          • +
          +
        • +
        + +
          +
        • + + +

          Method Detail

          + + + +
            +
          • +

            getMinecraftPackage

            +
            public static java.lang.String getMinecraftPackage()
            +
            Retrieve the name of the Minecraft server package.
            +
            Returns:
            Full canonical name of the Minecraft server package.
            +
          • +
          + + + +
            +
          • +

            setMinecraftPackage

            +
            public static void setMinecraftPackage(java.lang.String minecraftPackage,
            +                       java.lang.String craftBukkitPackage)
            +
            Used during debugging and testing.
            +
            Parameters:
            minecraftPackage - - the current Minecraft package.
            craftBukkitPackage - - the current CraftBukkit package.
            +
          • +
          + + + +
            +
          • +

            getCraftBukkitPackage

            +
            public static java.lang.String getCraftBukkitPackage()
            +
            Retrieve the name of the root CraftBukkit package.
            +
            Returns:
            Full canonical name of the root CraftBukkit package.
            +
          • +
          + + + +
            +
          • +

            isMinecraftObject

            +
            public static boolean isMinecraftObject(@Nonnull
            +                        java.lang.Object obj)
            +
            Determine if a given object can be found within the package net.minecraft.server.
            +
            Parameters:
            obj - - the object to test.
            +
            Returns:
            TRUE if it can, FALSE otherwise.
            +
          • +
          + + + +
            +
          • +

            isMinecraftObject

            +
            public static boolean isMinecraftObject(@Nonnull
            +                        java.lang.Object obj,
            +                        java.lang.String className)
            +
            Determine if a given object is found in net.minecraft.server, and has the given name.
            +
            Parameters:
            obj - - the object to test.
            className - - the class name to test.
            +
            Returns:
            TRUE if it can, FALSE otherwise.
            +
          • +
          + + + +
            +
          • +

            getBukkitEntity

            +
            public static java.lang.Object getBukkitEntity(java.lang.Object nmsObject)
            +
            Dynamically retrieve the Bukkit entity from a given entity.
            +
            Parameters:
            nmsObject - - the NMS entity.
            +
            Returns:
            A bukkit entity.
            +
            Throws:
            +
            java.lang.RuntimeException - If we were unable to retrieve the Bukkit entity.
            +
          • +
          + + + +
            +
          • +

            isChunkPosition

            +
            public static boolean isChunkPosition(java.lang.Object obj)
            +
            Determine if a given object is a ChunkPosition.
            +
            Parameters:
            obj - - the object to test.
            +
            Returns:
            TRUE if it can, FALSE otherwise.
            +
          • +
          + + + +
            +
          • +

            isChunkCoordinates

            +
            public static boolean isChunkCoordinates(java.lang.Object obj)
            +
            Determine if a given object is a ChunkCoordinate.
            +
            Parameters:
            obj - - the object to test.
            +
            Returns:
            TRUE if it can, FALSE otherwise.
            +
          • +
          + + + +
            +
          • +

            isPacketClass

            +
            public static boolean isPacketClass(java.lang.Object obj)
            +
            Determine if the given object is actually a Minecraft packet.
            +
            Parameters:
            obj - - the given object.
            +
            Returns:
            TRUE if it is, FALSE otherwise.
            +
          • +
          + + + +
            +
          • +

            isLoginHandler

            +
            public static boolean isLoginHandler(java.lang.Object obj)
            +
            Determine if the given object is a NetLoginHandler.
            +
            Parameters:
            obj - - the given object.
            +
            Returns:
            TRUE if it is, FALSE otherwise.
            +
          • +
          + + + +
            +
          • +

            isMinecraftEntity

            +
            public static boolean isMinecraftEntity(java.lang.Object obj)
            +
            Determine if the given object is actually a Minecraft packet.
            +
            Parameters:
            obj - - the given object.
            +
            Returns:
            TRUE if it is, FALSE otherwise.
            +
          • +
          + + + +
            +
          • +

            isItemStack

            +
            public static boolean isItemStack(java.lang.Object value)
            +
            Determine if the given object is a NMS ItemStack.
            +
            Parameters:
            obj - - the given object.
            +
            Returns:
            TRUE if it is, FALSE otherwise.
            +
          • +
          + + + +
            +
          • +

            isMinecraftPlayer

            +
            public static boolean isMinecraftPlayer(java.lang.Object obj)
            +
            Determine if the given object is a Minecraft player entity.
            +
            Parameters:
            obj - - the given object.
            +
            Returns:
            TRUE if it is, FALSE otherwise.
            +
          • +
          + + + +
            +
          • +

            isWatchableObject

            +
            public static boolean isWatchableObject(java.lang.Object obj)
            +
            Determine if the given object is a watchable object.
            +
            Parameters:
            obj - - the given object.
            +
            Returns:
            TRUE if it is, FALSE otherwise.
            +
          • +
          + + + +
            +
          • +

            isDataWatcher

            +
            public static boolean isDataWatcher(java.lang.Object obj)
            +
            Determine if the given object is a data watcher object.
            +
            Parameters:
            obj - - the given object.
            +
            Returns:
            TRUE if it is, FALSE otherwise.
            +
          • +
          + + + +
            +
          • +

            isCraftItemStack

            +
            public static boolean isCraftItemStack(java.lang.Object obj)
            +
            Determine if the given object is a CraftItemStack instancey.
            +
            Parameters:
            obj - - the given object.
            +
            Returns:
            TRUE if it is, FALSE otherwise.
            +
          • +
          + + + +
            +
          • +

            getEntityPlayerClass

            +
            public static java.lang.Class getEntityPlayerClass()
            +
            Retrieve the EntityPlayer (NMS) class.
            +
            Returns:
            The entity class.
            +
          • +
          + + + +
            +
          • +

            getEntityClass

            +
            public static java.lang.Class getEntityClass()
            +
            Retrieve the entity (NMS) class.
            +
            Returns:
            The entity class.
            +
          • +
          + + + +
            +
          • +

            getPacketClass

            +
            public static java.lang.Class getPacketClass()
            +
            Retrieve the packet class.
            +
            Returns:
            The packet class.
            +
          • +
          + + + +
            +
          • +

            getNetLoginHandlerClass

            +
            public static java.lang.Class getNetLoginHandlerClass()
            +
            Retrieve the NetLoginHandler class.
            +
            Returns:
            The NetLoginHandler class.
            +
          • +
          + + + +
            +
          • +

            getItemStackClass

            +
            public static java.lang.Class getItemStackClass()
            +
            Retrieve the NetLoginHandler class.
            +
            Returns:
            The NetLoginHandler class.
            +
          • +
          + + + +
            +
          • +

            getWorldTypeClass

            +
            public static java.lang.Class getWorldTypeClass()
            +
            Retrieve the WorldType class.
            +
            Returns:
            The WorldType class.
            +
          • +
          + + + +
            +
          • +

            getDataWatcherClass

            +
            public static java.lang.Class getDataWatcherClass()
            +
            Retrieve the DataWatcher class.
            +
            Returns:
            The DataWatcher class.
            +
          • +
          + + + +
            +
          • +

            getChunkPositionClass

            +
            public static java.lang.Class getChunkPositionClass()
            +
            Retrieve the ChunkPosition class.
            +
            Returns:
            The ChunkPosition class.
            +
          • +
          + + + +
            +
          • +

            getChunkCoordinatesClass

            +
            public static java.lang.Class getChunkCoordinatesClass()
            +
            Retrieve the ChunkPosition class.
            +
            Returns:
            The ChunkPosition class.
            +
          • +
          + + + +
            +
          • +

            getWatchableObjectClass

            +
            public static java.lang.Class getWatchableObjectClass()
            +
            Retrieve the WatchableObject class.
            +
            Returns:
            The WatchableObject class.
            +
          • +
          + + + +
            +
          • +

            getItemStackArrayClass

            +
            public static java.lang.Class getItemStackArrayClass()
            +
            Retrieve the ItemStack[] class.
            +
            Returns:
            The ItemStack[] class.
            +
          • +
          + + + +
            +
          • +

            getArrayClass

            +
            public static java.lang.Class getArrayClass(java.lang.Class componentType)
            +
            Retrieve the array class of a given component type.
            +
            Parameters:
            componentType - - type of each element in the array.
            +
            Returns:
            The class of the array.
            +
          • +
          + + + +
            +
          • +

            getCraftItemStackClass

            +
            public static java.lang.Class getCraftItemStackClass()
            +
            Retrieve the CraftItemStack class.
            +
            Returns:
            The CraftItemStack class.
            +
          • +
          + + + +
            +
          • +

            getBukkitItemStack

            +
            public static org.bukkit.inventory.ItemStack getBukkitItemStack(org.bukkit.inventory.ItemStack bukkitItemStack)
            +
            Retrieve a CraftItemStack from a given ItemStack.
            +
            Parameters:
            bukkitItemStack - - the Bukkit ItemStack to convert.
            +
            Returns:
            A CraftItemStack as an ItemStack.
            +
          • +
          + + + +
            +
          • +

            getBukkitItemStack

            +
            public static org.bukkit.inventory.ItemStack getBukkitItemStack(java.lang.Object minecraftItemStack)
            +
            Retrieve the Bukkit ItemStack from a given net.minecraft.server ItemStack.
            +
            Parameters:
            minecraftItemStack - - the NMS ItemStack to wrap.
            +
            Returns:
            The wrapped ItemStack.
            +
          • +
          + + + +
            +
          • +

            getMinecraftItemStack

            +
            public static java.lang.Object getMinecraftItemStack(org.bukkit.inventory.ItemStack stack)
            +
            Retrieve the net.minecraft.server ItemStack from a Bukkit ItemStack.
            +
            Parameters:
            stack - - the Bukkit ItemStack to convert.
            +
            Returns:
            The NMS ItemStack.
            +
          • +
          + + + +
            +
          • +

            getCraftBukkitClass

            +
            public static java.lang.Class getCraftBukkitClass(java.lang.String className)
            +
            Retrieve the class object of a specific CraftBukkit class.
            +
            Parameters:
            className - - the specific CraftBukkit class.
            +
            Returns:
            Class object.
            +
            Throws:
            +
            java.lang.RuntimeException - If we are unable to find the given class.
            +
          • +
          + + + +
            +
          • +

            getMinecraftClass

            +
            public static java.lang.Class getMinecraftClass(java.lang.String className)
            +
            Retrieve the class object of a specific Minecraft class.
            +
            Parameters:
            className - - the specific Minecraft class.
            +
            Returns:
            Class object.
            +
            Throws:
            +
            java.lang.RuntimeException - If we are unable to find the given class.
            +
          • +
          +
        • +
        +
      • +
      +
      +
      + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/utility/class-use/ChatExtensions.html b/Javadoc/com/comphenix/protocol/utility/class-use/ChatExtensions.html index e470363a..1ef7881a 100644 --- a/Javadoc/com/comphenix/protocol/utility/class-use/ChatExtensions.html +++ b/Javadoc/com/comphenix/protocol/utility/class-use/ChatExtensions.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.utility.ChatExtensions - + diff --git a/Javadoc/com/comphenix/protocol/utility/class-use/MinecraftReflection.html b/Javadoc/com/comphenix/protocol/utility/class-use/MinecraftReflection.html new file mode 100644 index 00000000..db903175 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/utility/class-use/MinecraftReflection.html @@ -0,0 +1,115 @@ + + + + + +Uses of Class com.comphenix.protocol.utility.MinecraftReflection + + + + + + + + + + +
      +

      Uses of Class
      com.comphenix.protocol.utility.MinecraftReflection

      +
      +
      No usage of com.comphenix.protocol.utility.MinecraftReflection
      + + + + + + diff --git a/Javadoc/com/comphenix/protocol/utility/package-frame.html b/Javadoc/com/comphenix/protocol/utility/package-frame.html index 5d04bf05..f9a2e6f9 100644 --- a/Javadoc/com/comphenix/protocol/utility/package-frame.html +++ b/Javadoc/com/comphenix/protocol/utility/package-frame.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.utility - + @@ -13,6 +13,7 @@

      Classes

    diff --git a/Javadoc/com/comphenix/protocol/utility/package-summary.html b/Javadoc/com/comphenix/protocol/utility/package-summary.html index 31faf603..a8cf1799 100644 --- a/Javadoc/com/comphenix/protocol/utility/package-summary.html +++ b/Javadoc/com/comphenix/protocol/utility/package-summary.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.utility - + @@ -81,6 +81,12 @@
    Utility methods for sending chat messages.
    + +MinecraftReflection + +
    Methods and constants specifically used in conjuction with reflecting Minecraft object.
    + + diff --git a/Javadoc/com/comphenix/protocol/utility/package-tree.html b/Javadoc/com/comphenix/protocol/utility/package-tree.html index ef9d8b69..c6aed5d6 100644 --- a/Javadoc/com/comphenix/protocol/utility/package-tree.html +++ b/Javadoc/com/comphenix/protocol/utility/package-tree.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.utility Class Hierarchy - + @@ -75,6 +75,7 @@
  • java.lang.Object
  • diff --git a/Javadoc/com/comphenix/protocol/utility/package-use.html b/Javadoc/com/comphenix/protocol/utility/package-use.html index d1f38e93..76712ceb 100644 --- a/Javadoc/com/comphenix/protocol/utility/package-use.html +++ b/Javadoc/com/comphenix/protocol/utility/package-use.html @@ -2,9 +2,9 @@ - + Uses of Package com.comphenix.protocol.utility - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/BukkitConverters.html b/Javadoc/com/comphenix/protocol/wrappers/BukkitConverters.html index 071ddb43..639b8c16 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/BukkitConverters.html +++ b/Javadoc/com/comphenix/protocol/wrappers/BukkitConverters.html @@ -2,9 +2,9 @@ - + BukkitConverters - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/ChunkPosition.html b/Javadoc/com/comphenix/protocol/wrappers/ChunkPosition.html index 20ff9152..bedbda0e 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/ChunkPosition.html +++ b/Javadoc/com/comphenix/protocol/wrappers/ChunkPosition.html @@ -2,9 +2,9 @@ - + ChunkPosition - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/WrappedChunkCoordinate.html b/Javadoc/com/comphenix/protocol/wrappers/WrappedChunkCoordinate.html index 455b689d..824e73de 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/WrappedChunkCoordinate.html +++ b/Javadoc/com/comphenix/protocol/wrappers/WrappedChunkCoordinate.html @@ -2,9 +2,9 @@ - + WrappedChunkCoordinate - + @@ -125,7 +125,7 @@ implements java.lang.Comparable<Field and Description -protected net.minecraft.server.ChunkCoordinates +protected java.lang.Comparable handle  @@ -148,13 +148,13 @@ implements java.lang.Comparable< -WrappedChunkCoordinate(net.minecraft.server.ChunkCoordinates handle) -
    Create a wrapper for a specific chunk coordinates.
    +WrappedChunkCoordinate(ChunkPosition position) +
    Create a chunk coordinate wrapper from a given position.
    -WrappedChunkCoordinate(ChunkPosition position) -
    Create a chunk coordinate wrapper from a given position.
    +WrappedChunkCoordinate(java.lang.Comparable handle) +
    Create a wrapper for a specific chunk coordinates.
    @@ -188,7 +188,7 @@ implements java.lang.Comparable<equals(java.lang.Object other)  -net.minecraft.server.ChunkCoordinates +java.lang.Object getHandle()  @@ -265,7 +265,7 @@ implements java.lang.Comparable<
  • handle

    -
    protected net.minecraft.server.ChunkCoordinates handle
    +
    protected java.lang.Comparable handle
  • @@ -286,13 +286,13 @@ implements java.lang.Comparable<
    Create a new empty wrapper.
    - + @@ -393,17 +393,6 @@ implements java.lang.Comparable<Returns:
    The z coordinate.
    -
    - - -
      -
    • -

      toPosition

      -
      public ChunkPosition toPosition()
      -
      Create an immutable chunk position from this coordinate.
      -
      Returns:
      The new immutable chunk position.
      -
    • -
    @@ -415,6 +404,17 @@ implements java.lang.Comparable<Parameters:
    newZ - - the new z coordinate.
    +
    + + +
      +
    • +

      toPosition

      +
      public ChunkPosition toPosition()
      +
      Create an immutable chunk position from this coordinate.
      +
      Returns:
      The new immutable chunk position.
      +
    • +
    diff --git a/Javadoc/com/comphenix/protocol/wrappers/WrappedDataWatcher.html b/Javadoc/com/comphenix/protocol/wrappers/WrappedDataWatcher.html index b2b4e068..09b94665 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/WrappedDataWatcher.html +++ b/Javadoc/com/comphenix/protocol/wrappers/WrappedDataWatcher.html @@ -2,9 +2,9 @@ - + WrappedDataWatcher - + @@ -94,10 +94,15 @@
    • +
      +
      All Implemented Interfaces:
      +
      java.lang.Iterable<WrappedWatchableObject>
      +


      public class WrappedDataWatcher
      -extends java.lang.Object
      +extends java.lang.Object +implements java.lang.Iterable<WrappedWatchableObject>
      Wraps a DataWatcher that is used to transmit arbitrary key-value pairs with a given entity.
      Author:
      Kristian
      @@ -120,7 +125,7 @@ extends java.lang.Object Field and Description -protected net.minecraft.server.DataWatcher +protected java.lang.Object handle  @@ -143,13 +148,13 @@ extends java.lang.Object -WrappedDataWatcher(net.minecraft.server.DataWatcher handle) -
      Create a wrapper for a given data watcher.
      +WrappedDataWatcher(java.util.List<WrappedWatchableObject> watchableObjects) +
      Create a new data watcher for a list of watchable objects.
      -WrappedDataWatcher(java.util.List<WrappedWatchableObject> watchableObjects) -
      Create a new data watcher from a list of watchable objects.
      +WrappedDataWatcher(java.lang.Object handle) +
      Create a wrapper for a given data watcher.
      @@ -168,109 +173,125 @@ extends java.lang.Object Method and Description +WrappedDataWatcher +deepClone() +
      Clone the content of the current DataWatcher.
      + + + java.lang.Byte getByte(int index)
      Get a watched byte.
      - + WrappedChunkCoordinate getChunkCoordinate(int index)
      Get a watched string.
      - + static WrappedDataWatcher getEntityWatcher(org.bukkit.entity.Entity entity)
      Retrieve the data watcher associated with an entity.
      - + java.lang.Float getFloat(int index)
      Get a watched float.
      - -net.minecraft.server.DataWatcher + +java.lang.Object getHandle()
      Retrieves the underlying data watcher.
      - + java.lang.Integer getInteger(int index)
      Get a watched integer.
      - + org.bukkit.inventory.ItemStack getItemStack(int index)
      Get a watched string.
      - + java.lang.Object getObject(int index)
      Retrieve a watchable object by index.
      - + protected java.util.concurrent.locks.ReadWriteLock getReadWriteLock()
      Retrieve the current read write lock.
      - + java.lang.Short getShort(int index)
      Get a watched short.
      - + java.lang.String getString(int index)
      Get a watched string.
      - + static java.lang.Class<?> getTypeClass(int id)
      Retrieve the type of a given ID, if it's allowed to be watched.
      - + static java.lang.Integer getTypeID(java.lang.Class<?> clazz)
      Retrieve the ID of a given type, if it's allowed to be watched.
      - + protected java.util.Map<java.lang.Integer,java.lang.Object> getWatchableObjectMap()
      Retrieve the underlying map of key values that stores watchable objects.
      - + java.util.List<WrappedWatchableObject> getWatchableObjects()
      Retrieve every watchable object in this watcher.
      - + java.util.Set<java.lang.Integer> indexSet()
      Retrieve a copy of every index associated with a watched object.
      + +java.util.Iterator<WrappedWatchableObject> +iterator()  + +WrappedWatchableObject +removeObject(int index) +
      Remove a given object from the underlying DataWatcher.
      + + + void setObject(int index, java.lang.Object newValue)
      Set a watched byte.
      - + void setObject(int index, java.lang.Object newValue, @@ -278,7 +299,7 @@ extends java.lang.Object
      Set a watched byte.
      - + int size()
      Retrieve the number of watched objects.
      @@ -312,7 +333,7 @@ extends java.lang.Object
      • handle

        -
        protected net.minecraft.server.DataWatcher handle
        +
        protected java.lang.Object handle
    • @@ -335,13 +356,13 @@ extends java.lang.Object
      FieldAccessException - If we're unable to wrap a DataWatcher.
    - +
    • WrappedDataWatcher

      -
      public WrappedDataWatcher(net.minecraft.server.DataWatcher handle)
      +
      public WrappedDataWatcher(java.lang.Object handle)
      Create a wrapper for a given data watcher.
      Parameters:
      handle - - the data watcher to wrap.
      Throws:
      @@ -356,7 +377,12 @@ extends java.lang.Object

      WrappedDataWatcher

      public WrappedDataWatcher(java.util.List<WrappedWatchableObject> watchableObjects)
                          throws FieldAccessException
      -
      Create a new data watcher from a list of watchable objects.
      +
      Create a new data watcher for a list of watchable objects. +

      + Note that the watchable objects are not cloned, and will be modified in place. Use "deepClone" if + that is not desirable. +

      + The removeObject(int) method will not modify the given list, however.

      Parameters:
      watchableObjects - - list of watchable objects that will be copied.
      Throws:
      FieldAccessException - Unable to read watchable objects.
      @@ -376,7 +402,7 @@ extends java.lang.Object
      • getHandle

        -
        public net.minecraft.server.DataWatcher getHandle()
        +
        public java.lang.Object getHandle()
        Retrieves the underlying data watcher.
        Returns:
        The underlying data watcher.
      • @@ -557,6 +583,17 @@ extends java.lang.Object
        FieldAccessException - If we're unable to read the underlying object.
    + + + +
      +
    • +

      deepClone

      +
      public WrappedDataWatcher deepClone()
      +
      Clone the content of the current DataWatcher.
      +
      Returns:
      A cloned data watcher.
      +
    • +
    @@ -571,6 +608,18 @@ extends java.lang.Object
    FieldAccessException - If we're unable to read the underlying object.
    + + + +
      +
    • +

      removeObject

      +
      public WrappedWatchableObject removeObject(int index)
      +
      Remove a given object from the underlying DataWatcher.
      +
      Parameters:
      index - - index of the object to remove.
      +
      Returns:
      The watchable object that was removed, or NULL If none could be found.
      +
    • +
    @@ -633,7 +682,7 @@ extends java.lang.Object - diff --git a/Javadoc/com/comphenix/protocol/wrappers/WrappedWatchableObject.html b/Javadoc/com/comphenix/protocol/wrappers/WrappedWatchableObject.html index 66c72ce9..c9f10c56 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/WrappedWatchableObject.html +++ b/Javadoc/com/comphenix/protocol/wrappers/WrappedWatchableObject.html @@ -2,9 +2,9 @@ - + WrappedWatchableObject - + @@ -120,7 +120,7 @@ extends java.lang.Object Field and Description -protected net.minecraft.server.WatchableObject +protected java.lang.Object handle  @@ -148,7 +148,7 @@ extends java.lang.Object -WrappedWatchableObject(net.minecraft.server.WatchableObject handle) +WrappedWatchableObject(java.lang.Object handle)
    Wrap a given raw Minecraft watchable object.
    @@ -175,40 +175,48 @@ extends java.lang.Object boolean +equals(java.lang.Object obj)  + + +boolean getDirtyState()
    Retrieve whether or not the value must be synchronized with the client.
    - -net.minecraft.server.WatchableObject + +java.lang.Object getHandle()
    Retrieves the underlying watchable object.
    - + int getIndex()
    Retrieve the index of this watchable object.
    - + java.lang.Class<?> getType()
    Retrieve the correct super type of the current value.
    - + int getTypeID()
    Retrieve the type ID of a watchable object.
    - + java.lang.Object getValue()
    Read the value field.
    + +int +hashCode()  + void setDirtyState(boolean dirty) @@ -240,13 +248,17 @@ extends java.lang.Object
    Update the value field.
    + +java.lang.String +toString()  +
    • Methods inherited from class java.lang.Object

      -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • +clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    @@ -268,7 +280,7 @@ extends java.lang.Object
    • handle

      -
      protected net.minecraft.server.WatchableObject handle
      +
      protected java.lang.Object handle
    @@ -288,13 +300,13 @@ extends java.lang.Object

    Constructor Detail

    - +
    • WrappedWatchableObject

      -
      public WrappedWatchableObject(net.minecraft.server.WatchableObject handle)
      +
      public WrappedWatchableObject(java.lang.Object handle)
      Wrap a given raw Minecraft watchable object.
      Parameters:
      handle - - the raw watchable object to wrap.
    • @@ -325,7 +337,7 @@ extends java.lang.Object
      • getHandle

        -
        public net.minecraft.server.WatchableObject getHandle()
        +
        public java.lang.Object getHandle()
        Retrieves the underlying watchable object.
        Returns:
        The underlying watchable object.
      • @@ -474,7 +486,7 @@ extends java.lang.Object -
          + + + + +
            +
          • +

            equals

            +
            public boolean equals(java.lang.Object obj)
            +
            +
            Overrides:
            +
            equals in class java.lang.Object
            +
            +
          • +
          + + + +
            +
          • +

            hashCode

            +
            public int hashCode()
            +
            +
            Overrides:
            +
            hashCode in class java.lang.Object
            +
            +
          • +
          + + + +
            +
          • +

            toString

            +
            public java.lang.String toString()
            +
            +
            Overrides:
            +
            toString in class java.lang.Object
            +
            +
          • +
        diff --git a/Javadoc/com/comphenix/protocol/wrappers/class-use/BukkitConverters.html b/Javadoc/com/comphenix/protocol/wrappers/class-use/BukkitConverters.html index fd93b683..336040a1 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/class-use/BukkitConverters.html +++ b/Javadoc/com/comphenix/protocol/wrappers/class-use/BukkitConverters.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.wrappers.BukkitConverters - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/class-use/ChunkPosition.html b/Javadoc/com/comphenix/protocol/wrappers/class-use/ChunkPosition.html index 7a5a1050..29e347e7 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/class-use/ChunkPosition.html +++ b/Javadoc/com/comphenix/protocol/wrappers/class-use/ChunkPosition.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.wrappers.ChunkPosition - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/class-use/WrappedChunkCoordinate.html b/Javadoc/com/comphenix/protocol/wrappers/class-use/WrappedChunkCoordinate.html index 22ef7914..f98ebb78 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/class-use/WrappedChunkCoordinate.html +++ b/Javadoc/com/comphenix/protocol/wrappers/class-use/WrappedChunkCoordinate.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.wrappers.WrappedChunkCoordinate - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/class-use/WrappedDataWatcher.html b/Javadoc/com/comphenix/protocol/wrappers/class-use/WrappedDataWatcher.html index 6da041d2..39c6a751 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/class-use/WrappedDataWatcher.html +++ b/Javadoc/com/comphenix/protocol/wrappers/class-use/WrappedDataWatcher.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.wrappers.WrappedDataWatcher - + @@ -120,6 +120,12 @@ +WrappedDataWatcher +WrappedDataWatcher.deepClone() +
        Clone the content of the current DataWatcher.
        + + + static WrappedDataWatcher WrappedDataWatcher.getEntityWatcher(org.bukkit.entity.Entity entity)
        Retrieve the data watcher associated with an entity.
        diff --git a/Javadoc/com/comphenix/protocol/wrappers/class-use/WrappedWatchableObject.html b/Javadoc/com/comphenix/protocol/wrappers/class-use/WrappedWatchableObject.html index d0ea56af..aff635bd 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/class-use/WrappedWatchableObject.html +++ b/Javadoc/com/comphenix/protocol/wrappers/class-use/WrappedWatchableObject.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.wrappers.WrappedWatchableObject - + @@ -125,6 +125,12 @@
        Clone the current wrapped watchable object, along with any contained objects.
        + +WrappedWatchableObject +WrappedDataWatcher.removeObject(int index) +
        Remove a given object from the underlying DataWatcher.
        + + @@ -146,6 +152,10 @@
        Retrieve every watchable object in this watcher.
        + + + +
        java.util.Iterator<WrappedWatchableObject>WrappedDataWatcher.iterator() 
        @@ -156,7 +166,7 @@ diff --git a/Javadoc/com/comphenix/protocol/wrappers/package-frame.html b/Javadoc/com/comphenix/protocol/wrappers/package-frame.html index 67a118cb..ca3bbc5b 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/package-frame.html +++ b/Javadoc/com/comphenix/protocol/wrappers/package-frame.html @@ -2,9 +2,9 @@ - +com.comphenix.protocol.wrappers - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/package-summary.html b/Javadoc/com/comphenix/protocol/wrappers/package-summary.html index 3f45ba01..9b92a2e5 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/package-summary.html +++ b/Javadoc/com/comphenix/protocol/wrappers/package-summary.html @@ -2,9 +2,9 @@ - +com.comphenix.protocol.wrappers - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/package-tree.html b/Javadoc/com/comphenix/protocol/wrappers/package-tree.html index 71bad6ce..c8c24606 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/package-tree.html +++ b/Javadoc/com/comphenix/protocol/wrappers/package-tree.html @@ -2,9 +2,9 @@ - +com.comphenix.protocol.wrappers Class Hierarchy - + @@ -77,7 +77,7 @@
      • com.comphenix.protocol.wrappers.BukkitConverters
      • com.comphenix.protocol.wrappers.ChunkPosition
      • com.comphenix.protocol.wrappers.WrappedChunkCoordinate (implements java.lang.Comparable<T>)
      • -
      • com.comphenix.protocol.wrappers.WrappedDataWatcher
      • +
      • com.comphenix.protocol.wrappers.WrappedDataWatcher (implements java.lang.Iterable<T>)
      • com.comphenix.protocol.wrappers.WrappedWatchableObject
      • diff --git a/Javadoc/com/comphenix/protocol/wrappers/package-use.html b/Javadoc/com/comphenix/protocol/wrappers/package-use.html index c866e82b..8567dbec 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/package-use.html +++ b/Javadoc/com/comphenix/protocol/wrappers/package-use.html @@ -2,9 +2,9 @@ - +Uses of Package com.comphenix.protocol.wrappers - + diff --git a/Javadoc/constant-values.html b/Javadoc/constant-values.html index 8a7dd45f..fd639c5d 100644 --- a/Javadoc/constant-values.html +++ b/Javadoc/constant-values.html @@ -2,9 +2,9 @@ - +Constant Field Values - + @@ -837,25 +837,6 @@
        WrappedDataWatcher(java.util.List<WrappedWatchableObject> watchableObjects) -
        Create a new data watcher from a list of watchable objects.
        +
        Create a new data watcher for a list of watchable objects.
        - - - - - - - - - - - - - -
        com.comphenix.protocol.reflect.FuzzyReflection 
        Modifier and TypeConstant FieldValue
        - -public static final java.lang.StringMINECRAFT_OBJECT"net\\.minecraft(\\.\\w+)+"
        - -
      • - @@ -923,6 +904,27 @@
        com.comphenix.protocol.reflect.PrettyPrinter 
        Modifier and Type
      +
        +
      • + + + + + + + + + + + + + + +
        com.comphenix.protocol.utility.MinecraftReflection 
        Modifier and TypeConstant FieldValue
        + +public static final java.lang.StringMINECRAFT_OBJECT"net\\.minecraft(\\.\\w+)+"
        +
      • +
    diff --git a/Javadoc/deprecated-list.html b/Javadoc/deprecated-list.html index 7d124705..2654ee04 100644 --- a/Javadoc/deprecated-list.html +++ b/Javadoc/deprecated-list.html @@ -2,9 +2,9 @@ - + Deprecated List - + diff --git a/Javadoc/help-doc.html b/Javadoc/help-doc.html index 1514dfdf..91b72df6 100644 --- a/Javadoc/help-doc.html +++ b/Javadoc/help-doc.html @@ -2,9 +2,9 @@ - + API Help - + diff --git a/Javadoc/index-files/index-1.html b/Javadoc/index-files/index-1.html index 3506f7b6..a9e02634 100644 --- a/Javadoc/index-files/index-1.html +++ b/Javadoc/index-files/index-1.html @@ -2,9 +2,9 @@ - + A-Index - + diff --git a/Javadoc/index-files/index-10.html b/Javadoc/index-files/index-10.html index 3d593fd6..4106f521 100644 --- a/Javadoc/index-files/index-10.html +++ b/Javadoc/index-files/index-10.html @@ -2,9 +2,9 @@ - + K-Index - + diff --git a/Javadoc/index-files/index-11.html b/Javadoc/index-files/index-11.html index b20d388d..80238c3a 100644 --- a/Javadoc/index-files/index-11.html +++ b/Javadoc/index-files/index-11.html @@ -2,9 +2,9 @@ - + L-Index - + diff --git a/Javadoc/index-files/index-12.html b/Javadoc/index-files/index-12.html index 9e22ee9b..4ce922d1 100644 --- a/Javadoc/index-files/index-12.html +++ b/Javadoc/index-files/index-12.html @@ -2,9 +2,9 @@ - + M-Index - + @@ -83,10 +83,16 @@
    MethodUtils() - Constructor for class com.comphenix.protocol.reflect.MethodUtils
     
    -
    MINECRAFT_OBJECT - Static variable in class com.comphenix.protocol.reflect.FuzzyReflection
    +
    MINECRAFT_OBJECT - Static variable in class com.comphenix.protocol.utility.MinecraftReflection
    -
    Matches a Minecraft object.
    +
    Regular expression that matches a Minecraft object.
    +
    MinecraftReflection - Class in com.comphenix.protocol.utility
    +
    +
    Methods and constants specifically used in conjuction with reflecting Minecraft object.
    +
    +
    MinecraftReflection() - Constructor for class com.comphenix.protocol.utility.MinecraftReflection
    +
     
    MOB_EFFECT - Static variable in class com.comphenix.protocol.Packets.Server
     
    MOB_SPAWN - Static variable in class com.comphenix.protocol.Packets.Server
    diff --git a/Javadoc/index-files/index-13.html b/Javadoc/index-files/index-13.html index 70eb425d..2d9f4d2e 100644 --- a/Javadoc/index-files/index-13.html +++ b/Javadoc/index-files/index-13.html @@ -2,9 +2,9 @@ - + N-Index - + diff --git a/Javadoc/index-files/index-14.html b/Javadoc/index-files/index-14.html index e9431a72..e6faa8d4 100644 --- a/Javadoc/index-files/index-14.html +++ b/Javadoc/index-files/index-14.html @@ -2,9 +2,9 @@ - + O-Index - + diff --git a/Javadoc/index-files/index-15.html b/Javadoc/index-files/index-15.html index 11e4330a..571381b6 100644 --- a/Javadoc/index-files/index-15.html +++ b/Javadoc/index-files/index-15.html @@ -2,9 +2,9 @@ - + P-Index - + @@ -115,14 +115,18 @@
    Creates a packet container for a new packet.
    -
    PacketContainer(int, Packet) - Constructor for class com.comphenix.protocol.events.PacketContainer
    +
    PacketContainer(int, Object) - Constructor for class com.comphenix.protocol.events.PacketContainer
    Creates a packet container for an existing packet.
    -
    PacketContainer(int, Packet, StructureModifier<Object>) - Constructor for class com.comphenix.protocol.events.PacketContainer
    +
    PacketContainer(int, Object, StructureModifier<Object>) - Constructor for class com.comphenix.protocol.events.PacketContainer
    Creates a packet container for an existing packet.
    +
    PacketContainer() - Constructor for class com.comphenix.protocol.events.PacketContainer
    +
    +
    For serialization.
    +
    PacketEvent - Class in com.comphenix.protocol.events
     
    PacketEvent(Object) - Constructor for class com.comphenix.protocol.events.PacketEvent
    @@ -239,7 +243,7 @@
    PrioritizedListener(TListener, ListenerPriority) - Constructor for class com.comphenix.protocol.injector.PrioritizedListener
     
    -
    processPacket(Player, Packet) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
    +
    processPacket(Player, Object) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
    Process a packet as if it were sent by the given player.
    diff --git a/Javadoc/index-files/index-16.html b/Javadoc/index-files/index-16.html index 51e42586..bc678c2b 100644 --- a/Javadoc/index-files/index-16.html +++ b/Javadoc/index-files/index-16.html @@ -2,9 +2,9 @@ - + R-Index - + @@ -201,6 +201,10 @@
    Removes the given listener from the packet event list.
    +
    removeObject(int) - Method in class com.comphenix.protocol.wrappers.WrappedDataWatcher
    +
    +
    Remove a given object from the underlying DataWatcher.
    +
    removePacketHandler(int) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
    Remove an underlying packet handler of ths ID.
    @@ -227,12 +231,18 @@
    Prints a detailed error report about an unhandled exception.
    +
    reportMinimal(Plugin, String, Throwable, Object...) - Method in class com.comphenix.protocol.error.DetailedErrorReporter
    +
     
    reportMinimal(Plugin, String, Throwable) - Method in class com.comphenix.protocol.error.DetailedErrorReporter
     
    reportMinimal(Plugin, String, Throwable) - Method in interface com.comphenix.protocol.error.ErrorReporter
    Prints a small minimal error report about an exception from another plugin.
    +
    reportMinimal(Plugin, String, Throwable, Object...) - Method in interface com.comphenix.protocol.error.ErrorReporter
    +
    +
    Prints a small minimal error report about an exception from another plugin.
    +
    reportWarning(Object, String) - Method in class com.comphenix.protocol.error.DetailedErrorReporter
     
    reportWarning(Object, String, Throwable) - Method in class com.comphenix.protocol.error.DetailedErrorReporter
    diff --git a/Javadoc/index-files/index-17.html b/Javadoc/index-files/index-17.html index da5a8a0c..675d2787 100644 --- a/Javadoc/index-files/index-17.html +++ b/Javadoc/index-files/index-17.html @@ -2,9 +2,9 @@ - + S-Index - + @@ -105,7 +105,7 @@
     
    sendServerPacket(Player, PacketContainer, boolean) - Method in class com.comphenix.protocol.injector.PacketFilterManager
     
    -
    sendServerPacket(Packet, boolean) - Method in class com.comphenix.protocol.injector.player.NetworkServerInjector
    +
    sendServerPacket(Object, boolean) - Method in class com.comphenix.protocol.injector.player.NetworkServerInjector
     
    sendServerPacket(Player, PacketContainer, boolean) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
    @@ -190,6 +190,10 @@
    Set the maximum height of the hierachy of creates types.
    +
    setMinecraftPackage(String, String) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
    +
    +
    Used during debugging and testing.
    +
    setNewSendingIndex(long) - Method in class com.comphenix.protocol.async.AsyncMarker
    Sets the desired sending order after processing has completed.
    diff --git a/Javadoc/index-files/index-18.html b/Javadoc/index-files/index-18.html index 30e01aaa..46d79c8f 100644 --- a/Javadoc/index-files/index-18.html +++ b/Javadoc/index-files/index-18.html @@ -2,9 +2,9 @@ - + T-Index - + @@ -103,6 +103,8 @@
     
    toString() - Method in enum com.comphenix.protocol.metrics.Updater.UpdateResult
     
    +
    toString() - Method in class com.comphenix.protocol.wrappers.WrappedWatchableObject
    +
     
    toVector() - Method in class com.comphenix.protocol.wrappers.ChunkPosition
    Convert this instance to an equivalent real 3D vector.
    diff --git a/Javadoc/index-files/index-19.html b/Javadoc/index-files/index-19.html index d236f763..e0953afb 100644 --- a/Javadoc/index-files/index-19.html +++ b/Javadoc/index-files/index-19.html @@ -2,9 +2,9 @@ - + U-Index - + diff --git a/Javadoc/index-files/index-2.html b/Javadoc/index-files/index-2.html index 77db7960..d5d98134 100644 --- a/Javadoc/index-files/index-2.html +++ b/Javadoc/index-files/index-2.html @@ -2,9 +2,9 @@ - + B-Index - + diff --git a/Javadoc/index-files/index-20.html b/Javadoc/index-files/index-20.html index 58b7f71e..c9d923be 100644 --- a/Javadoc/index-files/index-20.html +++ b/Javadoc/index-files/index-20.html @@ -2,9 +2,9 @@ - + V-Index - + diff --git a/Javadoc/index-files/index-21.html b/Javadoc/index-files/index-21.html index e0f5bd73..b66e93ea 100644 --- a/Javadoc/index-files/index-21.html +++ b/Javadoc/index-files/index-21.html @@ -2,9 +2,9 @@ - + W-Index - + @@ -109,7 +109,7 @@
    Create a new empty wrapper.
    -
    WrappedChunkCoordinate(ChunkCoordinates) - Constructor for class com.comphenix.protocol.wrappers.WrappedChunkCoordinate
    +
    WrappedChunkCoordinate(Comparable) - Constructor for class com.comphenix.protocol.wrappers.WrappedChunkCoordinate
    Create a wrapper for a specific chunk coordinates.
    @@ -129,19 +129,19 @@
    Initialize a new data watcher.
    -
    WrappedDataWatcher(DataWatcher) - Constructor for class com.comphenix.protocol.wrappers.WrappedDataWatcher
    +
    WrappedDataWatcher(Object) - Constructor for class com.comphenix.protocol.wrappers.WrappedDataWatcher
    Create a wrapper for a given data watcher.
    WrappedDataWatcher(List<WrappedWatchableObject>) - Constructor for class com.comphenix.protocol.wrappers.WrappedDataWatcher
    -
    Create a new data watcher from a list of watchable objects.
    +
    Create a new data watcher for a list of watchable objects.
    WrappedWatchableObject - Class in com.comphenix.protocol.wrappers
    Represents a watchable object.
    -
    WrappedWatchableObject(WatchableObject) - Constructor for class com.comphenix.protocol.wrappers.WrappedWatchableObject
    +
    WrappedWatchableObject(Object) - Constructor for class com.comphenix.protocol.wrappers.WrappedWatchableObject
    Wrap a given raw Minecraft watchable object.
    diff --git a/Javadoc/index-files/index-22.html b/Javadoc/index-files/index-22.html index 3156ae43..2a7bb216 100644 --- a/Javadoc/index-files/index-22.html +++ b/Javadoc/index-files/index-22.html @@ -2,9 +2,9 @@ - + X-Index - + diff --git a/Javadoc/index-files/index-23.html b/Javadoc/index-files/index-23.html index fb4a8679..4c8e4fa1 100644 --- a/Javadoc/index-files/index-23.html +++ b/Javadoc/index-files/index-23.html @@ -2,9 +2,9 @@ - + Y-Index - + diff --git a/Javadoc/index-files/index-24.html b/Javadoc/index-files/index-24.html index 768824c4..621bc2b2 100644 --- a/Javadoc/index-files/index-24.html +++ b/Javadoc/index-files/index-24.html @@ -2,9 +2,9 @@ - + Z-Index - + diff --git a/Javadoc/index-files/index-3.html b/Javadoc/index-files/index-3.html index f448d276..516c43ee 100644 --- a/Javadoc/index-files/index-3.html +++ b/Javadoc/index-files/index-3.html @@ -2,9 +2,9 @@ - + C-Index - + @@ -169,6 +169,8 @@
     
    com.comphenix.protocol.metrics - package com.comphenix.protocol.metrics
     
    +
    com.comphenix.protocol.reflect - package com.comphenix.protocol.reflect
    +
     
    com.comphenix.protocol.reflect.compiler - package com.comphenix.protocol.reflect.compiler
     
    com.comphenix.protocol.reflect.instances - package com.comphenix.protocol.reflect.instances
    diff --git a/Javadoc/index-files/index-4.html b/Javadoc/index-files/index-4.html index 301caa2c..db6486f5 100644 --- a/Javadoc/index-files/index-4.html +++ b/Javadoc/index-files/index-4.html @@ -2,9 +2,9 @@ - + D-Index - + @@ -77,6 +77,10 @@
    Create a deep copy of the current packet.
    +
    deepClone() - Method in class com.comphenix.protocol.wrappers.WrappedDataWatcher
    +
    +
    Clone the content of the current DataWatcher.
    +
    deepClone() - Method in class com.comphenix.protocol.wrappers.WrappedWatchableObject
    Clone the current wrapped watchable object, along with any contained objects.
    diff --git a/Javadoc/index-files/index-5.html b/Javadoc/index-files/index-5.html index 82bdd53e..39319a5d 100644 --- a/Javadoc/index-files/index-5.html +++ b/Javadoc/index-files/index-5.html @@ -2,9 +2,9 @@ - + E-Index - + @@ -117,6 +117,8 @@
     
    equals(Object) - Method in class com.comphenix.protocol.wrappers.WrappedChunkCoordinate
     
    +
    equals(Object) - Method in class com.comphenix.protocol.wrappers.WrappedWatchableObject
    +
     
    EquivalentConverter<TType> - Interface in com.comphenix.protocol.reflect
    Interface that converts generic objects into types and back.
    diff --git a/Javadoc/index-files/index-6.html b/Javadoc/index-files/index-6.html index 7f2a4965..7a1d3db4 100644 --- a/Javadoc/index-files/index-6.html +++ b/Javadoc/index-files/index-6.html @@ -2,9 +2,9 @@ - + F-Index - + diff --git a/Javadoc/index-files/index-7.html b/Javadoc/index-files/index-7.html index 65964605..263619e1 100644 --- a/Javadoc/index-files/index-7.html +++ b/Javadoc/index-files/index-7.html @@ -2,9 +2,9 @@ - + G-Index - + @@ -104,6 +104,10 @@
    Return an accessible method (that is, one that can be invoked via reflection) that implements the specified Method.
    +
    getArrayClass(Class) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
    +
    +
    Retrieve the array class of a given component type.
    +
    getAsynchronousManager() - Method in class com.comphenix.protocol.injector.PacketFilterManager
     
    getAsynchronousManager() - Method in interface com.comphenix.protocol.ProtocolManager
    @@ -118,6 +122,18 @@
    Retrieve the asynchronous marker.
    +
    getBukkitEntity(Object) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
    +
    +
    Dynamically retrieve the Bukkit entity from a given entity.
    +
    +
    getBukkitItemStack(ItemStack) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
    +
    +
    Retrieve a CraftItemStack from a given ItemStack.
    +
    +
    getBukkitItemStack(Object) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
    +
    +
    Retrieve the Bukkit ItemStack from a given net.minecraft.server ItemStack.
    +
    getByte(int) - Method in class com.comphenix.protocol.wrappers.WrappedDataWatcher
    Get a watched byte.
    @@ -134,6 +150,14 @@
    Get a watched string.
    +
    getChunkCoordinatesClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
    +
    +
    Retrieve the ChunkPosition class.
    +
    +
    getChunkPositionClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
    +
    +
    Retrieve the ChunkPosition class.
    +
    getClassLoader() - Method in class com.comphenix.protocol.injector.PacketFilterManager
    Retrieves the current plugin class loader.
    @@ -158,6 +182,22 @@
    Used to convert between NMS ChunkPosition and the wrapper instance.
    +
    getCraftBukkitClass(String) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
    +
    +
    Retrieve the class object of a specific CraftBukkit class.
    +
    +
    getCraftBukkitPackage() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
    +
    +
    Retrieve the name of the root CraftBukkit package.
    +
    +
    getCraftItemStackClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
    +
    +
    Retrieve the CraftItemStack class.
    +
    +
    getDataWatcherClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
    +
    +
    Retrieve the DataWatcher class.
    +
    getDataWatcherConverter() - Static method in class com.comphenix.protocol.wrappers.BukkitConverters
    Retrieve a converter for the NMS DataWatcher class and our wrapper.
    @@ -194,6 +234,10 @@
    Get the left-most end-point associated with this key.
    +
    getEntityClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
    +
    +
    Retrieve the entity (NMS) class.
    +
    getEntityConverter(World) - Static method in class com.comphenix.protocol.wrappers.BukkitConverters
    Retrieve a converter for NMS entities and Bukkit entities.
    @@ -208,6 +252,10 @@
    Retrieves a read/write structure for entity objects.
    +
    getEntityPlayerClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
    +
    +
    Retrieve the EntityPlayer (NMS) class.
    +
    getEntityTrackers(Entity) - Method in class com.comphenix.protocol.injector.PacketFilterManager
     
    getEntityTrackers(Entity) - Method in interface com.comphenix.protocol.ProtocolManager
    @@ -369,6 +417,14 @@
    Get a watched string.
    +
    getItemStackArrayClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
    +
    +
    Retrieve the ItemStack[] class.
    +
    +
    getItemStackClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
    +
    +
    Retrieve the NetLoginHandler class.
    +
    getItemStackConverter() - Static method in class com.comphenix.protocol.wrappers.BukkitConverters
    Retrieve the converter used to convert NMS ItemStacks to Bukkit's ItemStack.
    @@ -437,6 +493,18 @@
    Retrieves all private and public methods in declared order (after JDK 1.5).
    +
    getMinecraftClass(String) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
    +
    +
    Retrieve the class object of a specific Minecraft class.
    +
    +
    getMinecraftItemStack(ItemStack) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
    +
    +
    Retrieve the net.minecraft.server ItemStack from a Bukkit ItemStack.
    +
    +
    getMinecraftPackage() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
    +
    +
    Retrieve the name of the Minecraft server package.
    +
    getMinimumConstructor(Class<T>) - Method in class com.comphenix.protocol.reflect.instances.DefaultInstances
    Retrieve the constructor with the fewest number of parameters.
    @@ -445,6 +513,10 @@
    Retrieves the generic structure modifier for this packet.
    +
    getNetLoginHandlerClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
    +
    +
    Retrieve the NetLoginHandler class.
    +
    getNewSendingIndex() - Method in class com.comphenix.protocol.async.AsyncMarker
    Retrieve the desired sending order after processing has completed.
    @@ -469,6 +541,10 @@
    Retrieves the packet that will be sent to the player.
    +
    getPacketClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
    +
    +
    Retrieve the packet class.
    +
    getPacketClassFromID(int, boolean) - Method in interface com.comphenix.protocol.injector.ListenerInvoker
    Retrieves the correct packet class from a given packet ID.
    @@ -479,7 +555,7 @@
    Retrieves the packet ID.
    -
    getPacketID(Packet) - Method in interface com.comphenix.protocol.injector.ListenerInvoker
    +
    getPacketID(Object) - Method in interface com.comphenix.protocol.injector.ListenerInvoker
    Retrieve the associated ID of a packet.
    @@ -487,7 +563,7 @@
    Retrieve the id of the packets this constructor creates.
    -
    getPacketID(Packet) - Method in class com.comphenix.protocol.injector.PacketFilterManager
    +
    getPacketID(Object) - Method in class com.comphenix.protocol.injector.PacketFilterManager
     
    getPacketListeners() - Method in class com.comphenix.protocol.injector.PacketFilterManager
     
    @@ -823,6 +899,10 @@
    Retrieves a read/write structure for collections of watchable objects.
    +
    getWatchableObjectClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
    +
    +
    Retrieve the WatchableObject class.
    +
    getWatchableObjectConverter() - Static method in class com.comphenix.protocol.wrappers.BukkitConverters
    Retrieve a converter for watchable objects and the respective wrapper.
    @@ -847,6 +927,10 @@
    Retrieve the current number of registered workers.
    +
    getWorldTypeClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
    +
    +
    Retrieve the WorldType class.
    +
    getWorldTypeConverter() - Static method in class com.comphenix.protocol.wrappers.BukkitConverters
    Retrieve a converter for Bukkit's world type enum and the NMS equivalent.
    diff --git a/Javadoc/index-files/index-8.html b/Javadoc/index-files/index-8.html index e790c3c1..0d57a18d 100644 --- a/Javadoc/index-files/index-8.html +++ b/Javadoc/index-files/index-8.html @@ -2,9 +2,9 @@ - + H-Index - + @@ -109,6 +109,8 @@
     
    hashCode() - Method in class com.comphenix.protocol.wrappers.WrappedChunkCoordinate
     
    +
    hashCode() - Method in class com.comphenix.protocol.wrappers.WrappedWatchableObject
    +
     
    hasListener(int) - Method in class com.comphenix.protocol.injector.player.NetworkServerInjector
     
    hasLogin() - Method in enum com.comphenix.protocol.injector.GamePhase
    diff --git a/Javadoc/index-files/index-9.html b/Javadoc/index-files/index-9.html index d9130a5c..01d1aa96 100644 --- a/Javadoc/index-files/index-9.html +++ b/Javadoc/index-files/index-9.html @@ -2,9 +2,9 @@ - + I-Index - + @@ -219,16 +219,32 @@
    Retrieves whether or not the packet should be cancelled.
    +
    isChunkCoordinates(Object) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
    +
    +
    Determine if a given object is a ChunkCoordinate.
    +
    +
    isChunkPosition(Object) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
    +
    +
    Determine if a given object is a ChunkPosition.
    +
    isClosed() - Method in class com.comphenix.protocol.injector.PacketFilterManager
     
    isClosed() - Method in interface com.comphenix.protocol.ProtocolManager
    Determines whether or not this protocol mananger has been disabled.
    +
    isCraftItemStack(Object) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
    +
    +
    Determine if the given object is a CraftItemStack instancey.
    +
    isCurrentSet() - Method in class com.comphenix.protocol.reflect.VolatileField
    Determine whether or not we'll need to revert the value.
    +
    isDataWatcher(Object) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
    +
    +
    Determine if the given object is a data watcher object.
    +
    isEmpty() - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
     
    isEmpty(ListeningWhitelist) - Static method in class com.comphenix.protocol.events.ListeningWhitelist
    @@ -263,14 +279,42 @@
    Determine if it's truly necessary to perform the given player injection.
    +
    isItemStack(Object) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
    +
    +
    Determine if the given object is a NMS ItemStack.
    +
    +
    isLoginHandler(Object) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
    +
    +
    Determine if the given object is a NetLoginHandler.
    +
    isMinecraftAsync(PacketEvent) - Method in class com.comphenix.protocol.async.AsyncMarker
    Determine if Minecraft allows asynchronous processing of this packet.
    +
    isMinecraftEntity(Object) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
    +
    +
    Determine if the given object is actually a Minecraft packet.
    +
    +
    isMinecraftObject(Object) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
    +
    +
    Determine if a given object can be found within the package net.minecraft.server.
    +
    +
    isMinecraftObject(Object, String) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
    +
    +
    Determine if a given object is found in net.minecraft.server, and has the given name.
    +
    +
    isMinecraftPlayer(Object) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
    +
    +
    Determine if the given object is a Minecraft player entity.
    +
    isNonNull() - Method in class com.comphenix.protocol.reflect.instances.DefaultInstances
    Retrieve whether or not the constructor's parameters must be non-null.
    +
    isPacketClass(Object) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
    +
    +
    Determine if the given object is actually a Minecraft packet.
    +
    isProcessed() - Method in class com.comphenix.protocol.async.AsyncMarker
    Retrieve whether or not this packet has been processed by the async listeners.
    @@ -311,12 +355,18 @@
    Retrieve whether or not this packet has already been sent.
    +
    isWatchableObject(Object) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
    +
    +
    Determine if the given object is a watchable object.
    +
    ITEM_DATA - Static variable in class com.comphenix.protocol.Packets.Server
     
    iterator() - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
    Retrieves an iterator over the elements in the given list.
    +
    iterator() - Method in class com.comphenix.protocol.wrappers.WrappedDataWatcher
    +
     
    A B C D E F G H I K L M N O P R S T U V W X Y Z 
    diff --git a/Javadoc/index.html b/Javadoc/index.html index d5e6edda..94a24f5e 100644 --- a/Javadoc/index.html +++ b/Javadoc/index.html @@ -2,7 +2,7 @@ - + Generated Documentation (Untitled) + + + + + + +
    +
    com.comphenix.protocol.reflect
    +

    Class ObjectWriter

    +
    +
    +
      +
    • java.lang.Object
    • +
    • +
        +
      • com.comphenix.protocol.reflect.ObjectWriter
      • +
      +
    • +
    +
    +
      +
    • +
      +
      +
      public class ObjectWriter
      +extends java.lang.Object
      +
      Can copy an object field by field.
      +
      Author:
      +
      Kristian
      +
    • +
    +
    +
    +
      +
    • + +
        +
      • + + +

        Constructor Summary

        + + + + + + + + +
        Constructors 
        Constructor and Description
        ObjectWriter() 
        +
      • +
      + +
        +
      • + + +

        Method Summary

        + + + + + + + + + + + + + + +
        Methods 
        Modifier and TypeMethod and Description
        voidcopyTo(java.lang.Object source, + java.lang.Object destination, + java.lang.Class<?> commonType) +
        Copy every field in object A to object B.
        +
        protected voidtransformField(StructureModifier<java.lang.Object> modifierSource, + StructureModifier<java.lang.Object> modifierDest, + int fieldIndex) +
        Called for every non-static field that will be copied.
        +
        +
          +
        • + + +

          Methods inherited from class java.lang.Object

          +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
        • +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + +
        +
      • + + +

        Constructor Detail

        + + + +
          +
        • +

          ObjectWriter

          +
          public ObjectWriter()
          +
        • +
        +
      • +
      + +
        +
      • + + +

        Method Detail

        + + + +
          +
        • +

          copyTo

          +
          public void copyTo(java.lang.Object source,
          +          java.lang.Object destination,
          +          java.lang.Class<?> commonType)
          +
          Copy every field in object A to object B. Each value is copied directly, and is not cloned. +

          + The two objects must have the same number of fields of the same type.

          +
          Parameters:
          source - - fields to copy.
          destination - - fields to copy to.
          commonType - - type containing each field to copy.
          +
        • +
        + + + +
          +
        • +

          transformField

          +
          protected void transformField(StructureModifier<java.lang.Object> modifierSource,
          +                  StructureModifier<java.lang.Object> modifierDest,
          +                  int fieldIndex)
          +
          Called for every non-static field that will be copied.
          +
          Parameters:
          modifierSource - - modifier for the original object.
          modifierDest - - modifier for the new cloned object.
          fieldIndex - - the current field index.
          +
        • +
        +
      • +
      +
    • +
    +
    +
    + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/reflect/PrettyPrinter.html b/Javadoc/com/comphenix/protocol/reflect/PrettyPrinter.html index 3458fe37..65891efb 100644 --- a/Javadoc/com/comphenix/protocol/reflect/PrettyPrinter.html +++ b/Javadoc/com/comphenix/protocol/reflect/PrettyPrinter.html @@ -2,9 +2,9 @@ - + PrettyPrinter - + @@ -36,7 +36,7 @@
    diff --git a/Javadoc/com/comphenix/protocol/error/DetailedErrorReporter.html b/Javadoc/com/comphenix/protocol/error/DetailedErrorReporter.html index ab3fdf4e..088f11e8 100644 --- a/Javadoc/com/comphenix/protocol/error/DetailedErrorReporter.html +++ b/Javadoc/com/comphenix/protocol/error/DetailedErrorReporter.html @@ -2,9 +2,9 @@ - + DetailedErrorReporter - + @@ -165,7 +165,7 @@ implements PLUGIN_NAME  -protected java.lang.ref.WeakReference<org.bukkit.plugin.Plugin> +protected java.lang.ref.WeakReference<Plugin> pluginReference  @@ -195,19 +195,19 @@ implements Constructor and Description -DetailedErrorReporter(org.bukkit.plugin.Plugin plugin) +DetailedErrorReporter(Plugin plugin)
    Create a default error reporting system.
    -DetailedErrorReporter(org.bukkit.plugin.Plugin plugin, +DetailedErrorReporter(Plugin plugin, java.lang.String prefix, java.lang.String supportURL)
    Create a central error reporting system.
    -DetailedErrorReporter(org.bukkit.plugin.Plugin plugin, +DetailedErrorReporter(Plugin plugin, java.lang.String prefix, java.lang.String supportURL, int maxErrorCount, @@ -297,7 +297,7 @@ implements void -reportMinimal(org.bukkit.plugin.Plugin sender, +reportMinimal(Plugin sender, java.lang.String methodName, java.lang.Throwable error)
    Prints a small minimal error report about an exception from another plugin.
    @@ -305,7 +305,7 @@ implements void -reportMinimal(org.bukkit.plugin.Plugin sender, +reportMinimal(Plugin sender, java.lang.String methodName, java.lang.Throwable error, java.lang.Object... parameters) @@ -314,7 +314,7 @@ implements boolean -reportMinimalNoSpam(org.bukkit.plugin.Plugin sender, +reportMinimalNoSpam(Plugin sender, java.lang.String methodName, java.lang.Throwable error)  @@ -486,7 +486,7 @@ implements
  • pluginReference

    -
    protected java.lang.ref.WeakReference<org.bukkit.plugin.Plugin> pluginReference
    +
    protected java.lang.ref.WeakReference<Plugin> pluginReference
  • @@ -521,7 +521,7 @@ implements
  • DetailedErrorReporter

    -
    public DetailedErrorReporter(org.bukkit.plugin.Plugin plugin)
    +
    public DetailedErrorReporter(Plugin plugin)
    Create a default error reporting system.
  • @@ -531,7 +531,7 @@ implements
  • DetailedErrorReporter

    -
    public DetailedErrorReporter(org.bukkit.plugin.Plugin plugin,
    +
    public DetailedErrorReporter(Plugin plugin,
                          java.lang.String prefix,
                          java.lang.String supportURL)
    Create a central error reporting system.
    @@ -544,7 +544,7 @@ implements
  • DetailedErrorReporter

    -
    public DetailedErrorReporter(org.bukkit.plugin.Plugin plugin,
    +
    public DetailedErrorReporter(Plugin plugin,
                          java.lang.String prefix,
                          java.lang.String supportURL,
                          int maxErrorCount,
    @@ -567,7 +567,7 @@ implements 
     
  • reportMinimal

    -
    public void reportMinimal(org.bukkit.plugin.Plugin sender,
    +
    public void reportMinimal(Plugin sender,
                      java.lang.String methodName,
                      java.lang.Throwable error,
                      java.lang.Object... parameters)
    @@ -585,7 +585,7 @@ implements
  • reportMinimal

    -
    public void reportMinimal(org.bukkit.plugin.Plugin sender,
    +
    public void reportMinimal(Plugin sender,
                      java.lang.String methodName,
                      java.lang.Throwable error)
    Description copied from interface: ErrorReporter
    @@ -602,7 +602,7 @@ implements
  • reportMinimalNoSpam

    -
    public boolean reportMinimalNoSpam(org.bukkit.plugin.Plugin sender,
    +
    public boolean reportMinimalNoSpam(Plugin sender,
                               java.lang.String methodName,
                               java.lang.Throwable error)
  • diff --git a/Javadoc/com/comphenix/protocol/error/ErrorReporter.html b/Javadoc/com/comphenix/protocol/error/ErrorReporter.html index 56afcca5..ae9baa2d 100644 --- a/Javadoc/com/comphenix/protocol/error/ErrorReporter.html +++ b/Javadoc/com/comphenix/protocol/error/ErrorReporter.html @@ -2,9 +2,9 @@ - + ErrorReporter - + @@ -122,7 +122,7 @@ void -reportMinimal(org.bukkit.plugin.Plugin sender, +reportMinimal(Plugin sender, java.lang.String methodName, java.lang.Throwable error)
    Prints a small minimal error report about an exception from another plugin.
    @@ -130,7 +130,7 @@ void -reportMinimal(org.bukkit.plugin.Plugin sender, +reportMinimal(Plugin sender, java.lang.String methodName, java.lang.Throwable error, java.lang.Object... parameters) @@ -173,7 +173,7 @@ @@ -346,7 +346,7 @@ implements
  • PacketAdapter

    -
    public PacketAdapter(org.bukkit.plugin.Plugin plugin,
    +
    public PacketAdapter(Plugin plugin,
                  ConnectionSide connectionSide,
                  java.lang.Integer... packets)
    Initialize a packet listener with default priority.
    @@ -359,7 +359,7 @@ implements
  • PacketAdapter

    -
    public PacketAdapter(org.bukkit.plugin.Plugin plugin,
    +
    public PacketAdapter(Plugin plugin,
                  ConnectionSide connectionSide,
                  ListenerPriority listenerPriority,
                  java.util.Set<java.lang.Integer> packets)
    @@ -373,7 +373,7 @@ implements
  • PacketAdapter

    -
    public PacketAdapter(org.bukkit.plugin.Plugin plugin,
    +
    public PacketAdapter(Plugin plugin,
                  ConnectionSide connectionSide,
                  GamePhase gamePhase,
                  java.util.Set<java.lang.Integer> packets)
    @@ -389,7 +389,7 @@ implements
  • PacketAdapter

    -
    public PacketAdapter(org.bukkit.plugin.Plugin plugin,
    +
    public PacketAdapter(Plugin plugin,
                  ConnectionSide connectionSide,
                  ListenerPriority listenerPriority,
                  GamePhase gamePhase,
    @@ -406,7 +406,7 @@ implements 
     
  • PacketAdapter

    -
    public PacketAdapter(org.bukkit.plugin.Plugin plugin,
    +
    public PacketAdapter(Plugin plugin,
                  ConnectionSide connectionSide,
                  ListenerPriority listenerPriority,
                  java.lang.Integer... packets)
    @@ -420,7 +420,7 @@ implements
  • PacketAdapter

    -
    public PacketAdapter(org.bukkit.plugin.Plugin plugin,
    +
    public PacketAdapter(Plugin plugin,
                  ConnectionSide connectionSide,
                  GamePhase gamePhase,
                  java.lang.Integer... packets)
    @@ -434,7 +434,7 @@ implements
  • PacketAdapter

    -
    public PacketAdapter(org.bukkit.plugin.Plugin plugin,
    +
    public PacketAdapter(Plugin plugin,
                  ConnectionSide connectionSide,
                  ListenerPriority listenerPriority,
                  GamePhase gamePhase,
    @@ -465,7 +465,7 @@ implements scheduleSyncDelayedTask 
      if you need to call the Bukkit API.
     
    Specified by:
    @@ -528,7 +528,7 @@ implements
  • getPlugin

    -
    public org.bukkit.plugin.Plugin getPlugin()
    +
    public Plugin getPlugin()
    Description copied from interface: PacketListener
    Retrieve the plugin that created list packet listener.
    @@ -555,7 +555,7 @@ implements
  • getPluginName

    -
    public static java.lang.String getPluginName(org.bukkit.plugin.Plugin plugin)
    +
    public static java.lang.String getPluginName(Plugin plugin)
    Retrieves the name of the given plugin.
    Parameters:
    plugin - - the plugin.
    Returns:
    Name of the given plugin.
    diff --git a/Javadoc/com/comphenix/protocol/events/PacketContainer.html b/Javadoc/com/comphenix/protocol/events/PacketContainer.html index dafa8a43..8658eda5 100644 --- a/Javadoc/com/comphenix/protocol/events/PacketContainer.html +++ b/Javadoc/com/comphenix/protocol/events/PacketContainer.html @@ -2,9 +2,9 @@ - + PacketContainer - + @@ -237,8 +237,8 @@ implements java.io.Serializable
  • -StructureModifier<org.bukkit.entity.Entity> -getEntityModifier(org.bukkit.World world) +StructureModifier<Entity> +getEntityModifier(World world)
    Retrieves a read/write structure for entity objects.
    @@ -273,13 +273,13 @@ implements java.io.Serializable
    -StructureModifier<org.bukkit.inventory.ItemStack[]> +StructureModifier<ItemStack[]> getItemArrayModifier()
    Retrieves a read/write structure for arrays of ItemStacks.
    -StructureModifier<org.bukkit.inventory.ItemStack> +StructureModifier<ItemStack> getItemModifier()
    Retrieves a read/write structure for ItemStack.
    @@ -345,7 +345,7 @@ implements java.io.Serializable
  • -StructureModifier<org.bukkit.WorldType> +StructureModifier<WorldType> getWorldTypeModifier()
    Retrieves a read/write structure for the world type enum.
    @@ -639,7 +639,7 @@ implements java.io.Serializable
    • getItemModifier

      -
      public StructureModifier<org.bukkit.inventory.ItemStack> getItemModifier()
      +
      public StructureModifier<ItemStack> getItemModifier()
      Retrieves a read/write structure for ItemStack.

      This modifier will automatically marshall between the Bukkit ItemStack and the @@ -653,7 +653,7 @@ implements java.io.Serializable

    • getItemArrayModifier

      -
      public StructureModifier<org.bukkit.inventory.ItemStack[]> getItemArrayModifier()
      +
      public StructureModifier<ItemStack[]> getItemArrayModifier()
      Retrieves a read/write structure for arrays of ItemStacks.

      This modifier will automatically marshall between the Bukkit ItemStack and the @@ -667,7 +667,7 @@ implements java.io.Serializable

    • getWorldTypeModifier

      -
      public StructureModifier<org.bukkit.WorldType> getWorldTypeModifier()
      +
      public StructureModifier<WorldType> getWorldTypeModifier()
      Retrieves a read/write structure for the world type enum.

      This modifier will automatically marshall between the Bukkit world type and the @@ -692,7 +692,7 @@ implements java.io.Serializable

    • getEntityModifier

      -
      public StructureModifier<org.bukkit.entity.Entity> getEntityModifier(org.bukkit.World world)
      +
      public StructureModifier<Entity> getEntityModifier(World world)
      Retrieves a read/write structure for entity objects.

      Note that entities are transmitted by integer ID, and the type may not be enough diff --git a/Javadoc/com/comphenix/protocol/events/PacketEvent.html b/Javadoc/com/comphenix/protocol/events/PacketEvent.html index 70651f38..26bb4d9a 100644 --- a/Javadoc/com/comphenix/protocol/events/PacketEvent.html +++ b/Javadoc/com/comphenix/protocol/events/PacketEvent.html @@ -2,9 +2,9 @@ - + PacketEvent - + @@ -101,13 +101,13 @@

    • All Implemented Interfaces:
      -
      java.io.Serializable, org.bukkit.event.Cancellable
      +
      java.io.Serializable, Cancellable


      public class PacketEvent
       extends java.util.EventObject
      -implements org.bukkit.event.Cancellable
      +implements Cancellable
  • See Also:
    Serialized Form
  • @@ -165,7 +165,7 @@ implements org.bukkit.event.Cancellable
    static PacketEvent fromClient(java.lang.Object source, PacketContainer packet, - org.bukkit.entity.Player client) + Player client)
    Creates an event representing a client packet transmission.
    @@ -173,7 +173,7 @@ implements org.bukkit.event.Cancellable
  • static PacketEvent fromServer(java.lang.Object source, PacketContainer packet, - org.bukkit.entity.Player recipient) + Player recipient)
    Creates an event representing a server packet transmission.
    @@ -203,7 +203,7 @@ implements org.bukkit.event.Cancellable
  • -org.bukkit.entity.Player +Player getPlayer()
    Retrieves the player that has sent the packet or is recieving it.
    @@ -300,7 +300,7 @@ implements org.bukkit.event.Cancellable
  • fromClient

    public static PacketEvent fromClient(java.lang.Object source,
                          PacketContainer packet,
    -                     org.bukkit.entity.Player client)
    + Player client)
    Creates an event representing a client packet transmission.
    Parameters:
    source - - the event source.
    packet - - the packet.
    client - - the client that sent the packet.
    Returns:
    The event.
    @@ -314,7 +314,7 @@ implements org.bukkit.event.Cancellable
  • fromServer

    public static PacketEvent fromServer(java.lang.Object source,
                          PacketContainer packet,
    -                     org.bukkit.entity.Player recipient)
    + Player recipient)
    Creates an event representing a server packet transmission.
    Parameters:
    source - - the event source.
    packet - - the packet.
    recipient - - the client that will receieve the packet.
    Returns:
    The event.
    @@ -376,7 +376,7 @@ implements org.bukkit.event.Cancellable
    Retrieves whether or not the packet should be cancelled.
    Specified by:
    -
    isCancelled in interface org.bukkit.event.Cancellable
    +
    isCancelled in interface Cancellable
    Returns:
    TRUE if it should be cancelled, FALSE otherwise.
  • @@ -398,7 +398,7 @@ implements org.bukkit.event.Cancellable An asynchronous listener can also delay a packet indefinitely without having to block its thread.
    Specified by:
    -
    setCancelled in interface org.bukkit.event.Cancellable
    +
    setCancelled in interface Cancellable
    Parameters:
    cancel - - TRUE if it should be cancelled, FALSE otherwise.
    @@ -408,7 +408,7 @@ implements org.bukkit.event.Cancellable
    • getPlayer

      -
      public org.bukkit.entity.Player getPlayer()
      +
      public Player getPlayer()
      Retrieves the player that has sent the packet or is recieving it.
      Returns:
      The player associated with this event.
    • diff --git a/Javadoc/com/comphenix/protocol/events/PacketListener.html b/Javadoc/com/comphenix/protocol/events/PacketListener.html index de1d8de0..24cd85a3 100644 --- a/Javadoc/com/comphenix/protocol/events/PacketListener.html +++ b/Javadoc/com/comphenix/protocol/events/PacketListener.html @@ -2,9 +2,9 @@ - + PacketListener - + @@ -117,7 +117,7 @@ Method and Description -org.bukkit.plugin.Plugin +Plugin getPlugin()
      Retrieve the plugin that created list packet listener.
      @@ -187,7 +187,7 @@

      WARNING:
      This method will be called asynchronously! You should synchronize with the main - thread using scheduleSyncDelayedTask + thread using scheduleSyncDelayedTask if you need to call the Bukkit API.

      Parameters:
      event - - the packet that has been recieved.
      @@ -220,7 +220,7 @@
    diff --git a/Javadoc/com/comphenix/protocol/events/class-use/PacketListener.html b/Javadoc/com/comphenix/protocol/events/class-use/PacketListener.html index 0e0e41fa..e29e69a6 100644 --- a/Javadoc/com/comphenix/protocol/events/class-use/PacketListener.html +++ b/Javadoc/com/comphenix/protocol/events/class-use/PacketListener.html @@ -2,9 +2,9 @@ - + Uses of Interface com.comphenix.protocol.events.PacketListener - + @@ -77,7 +77,9 @@ com.comphenix.protocol -  + +
    Contains classes for retrieving the main ProtocolMananger object.
    + com.comphenix.protocol.async @@ -313,6 +315,19 @@

    Uses of PacketListener in com.comphenix.protocol.injector.player

    + + + + + + + + + + + + +
    Fields in com.comphenix.protocol.injector.player with type parameters of type PacketListener 
    Modifier and TypeField and Description
    protected java.util.Set<PacketListener>PlayerInjectorBuilder.packetListeners 
    @@ -328,7 +343,7 @@ - +
    Methods in com.comphenix.protocol.injector.player with parameters of type PacketListener 
    com.comphenix.protocol.injector.player.UnsupportedListenerNetworkServerInjector.checkListener(PacketListener listener) NetworkObjectInjector.checkListener(PacketListener listener) 
    @@ -345,21 +360,11 @@
    Determine if the given listeners are valid.
    - - - - - - - - - - + + +
    Constructor parameters in com.comphenix.protocol.injector.player with type arguments of type PacketListener 
    Constructor and Description
    PlayerInjectionHandler(java.lang.ClassLoader classLoader, - ErrorReporter reporter, - com.google.common.base.Predicate<GamePhase> injectionFilter, - ListenerInvoker invoker, - java.util.Set<PacketListener> packetListeners, - org.bukkit.Server server) 
    PlayerInjectorBuilderPlayerInjectorBuilder.packetListeners(java.util.Set<PacketListener> packetListeners) +
    Set the set of packet listeners.
    +
    diff --git a/Javadoc/com/comphenix/protocol/events/package-frame.html b/Javadoc/com/comphenix/protocol/events/package-frame.html index ba4c9d96..5b8ed31f 100644 --- a/Javadoc/com/comphenix/protocol/events/package-frame.html +++ b/Javadoc/com/comphenix/protocol/events/package-frame.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.events - + diff --git a/Javadoc/com/comphenix/protocol/events/package-summary.html b/Javadoc/com/comphenix/protocol/events/package-summary.html index 6dcaa69e..53dd9506 100644 --- a/Javadoc/com/comphenix/protocol/events/package-summary.html +++ b/Javadoc/com/comphenix/protocol/events/package-summary.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.events - + diff --git a/Javadoc/com/comphenix/protocol/events/package-tree.html b/Javadoc/com/comphenix/protocol/events/package-tree.html index 3ad7d738..ae5a4f60 100644 --- a/Javadoc/com/comphenix/protocol/events/package-tree.html +++ b/Javadoc/com/comphenix/protocol/events/package-tree.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.events Class Hierarchy - + @@ -76,7 +76,7 @@
    • java.util.EventObject (implements java.io.Serializable)
        -
      • com.comphenix.protocol.events.PacketEvent (implements org.bukkit.event.Cancellable)
      • +
      • com.comphenix.protocol.events.PacketEvent (implements org.bukkit.event.Cancellable)
    • com.comphenix.protocol.events.ListeningWhitelist
    • diff --git a/Javadoc/com/comphenix/protocol/events/package-use.html b/Javadoc/com/comphenix/protocol/events/package-use.html index b02ea67b..cfe201f2 100644 --- a/Javadoc/com/comphenix/protocol/events/package-use.html +++ b/Javadoc/com/comphenix/protocol/events/package-use.html @@ -2,9 +2,9 @@ - + Uses of Package com.comphenix.protocol.events - + @@ -77,7 +77,9 @@ com.comphenix.protocol -  + +
      Contains classes for retrieving the main ProtocolMananger object.
      + com.comphenix.protocol.async @@ -96,6 +98,10 @@   +com.comphenix.protocol.injector.packet +  + + com.comphenix.protocol.injector.player   @@ -239,6 +245,26 @@ +
    • + + + + + + + + + + + + + + + +
      Classes in com.comphenix.protocol.events used by com.comphenix.protocol.injector.packet 
      Class and Description
      PacketContainer +
      Represents a Minecraft packet indirectly.
      +
      PacketEvent 
      +
    • diff --git a/Javadoc/com/comphenix/protocol/injector/BukkitUnwrapper.html b/Javadoc/com/comphenix/protocol/injector/BukkitUnwrapper.html index 45da9794..702c0482 100644 --- a/Javadoc/com/comphenix/protocol/injector/BukkitUnwrapper.html +++ b/Javadoc/com/comphenix/protocol/injector/BukkitUnwrapper.html @@ -2,9 +2,9 @@ - + BukkitUnwrapper - + diff --git a/Javadoc/com/comphenix/protocol/injector/DelayedSingleTask.html b/Javadoc/com/comphenix/protocol/injector/DelayedSingleTask.html index 6cc63574..ecc92e89 100644 --- a/Javadoc/com/comphenix/protocol/injector/DelayedSingleTask.html +++ b/Javadoc/com/comphenix/protocol/injector/DelayedSingleTask.html @@ -2,9 +2,9 @@ - + DelayedSingleTask - + @@ -124,11 +124,11 @@ extends java.lang.Object closed  -protected org.bukkit.plugin.Plugin +protected Plugin plugin  -protected org.bukkit.scheduler.BukkitScheduler +protected BukkitScheduler scheduler  @@ -150,13 +150,13 @@ extends java.lang.Object Constructor and Description -DelayedSingleTask(org.bukkit.plugin.Plugin plugin) +DelayedSingleTask(Plugin plugin)
      Create a single task scheduler.
      -DelayedSingleTask(org.bukkit.plugin.Plugin plugin, - org.bukkit.scheduler.BukkitScheduler scheduler) +DelayedSingleTask(Plugin plugin, + BukkitScheduler scheduler)
      Create a single task scheduler.
      @@ -192,7 +192,7 @@ extends java.lang.Object finalize()  -org.bukkit.plugin.Plugin +Plugin getPlugin()
      Retrieve the plugin this task belongs to.
      @@ -253,7 +253,7 @@ extends java.lang.Object
      • plugin

        -
        protected org.bukkit.plugin.Plugin plugin
        +
        protected Plugin plugin
      @@ -262,7 +262,7 @@ extends java.lang.Object @@ -288,7 +288,7 @@ extends java.lang.Object
      • DelayedSingleTask

        -
        public DelayedSingleTask(org.bukkit.plugin.Plugin plugin)
        +
        public DelayedSingleTask(Plugin plugin)
        Create a single task scheduler.
        Parameters:
        plugin - - owner plugin.
      • @@ -299,8 +299,8 @@ extends java.lang.Object
        • DelayedSingleTask

          -
          public DelayedSingleTask(org.bukkit.plugin.Plugin plugin,
          -                 org.bukkit.scheduler.BukkitScheduler scheduler)
          +
          public DelayedSingleTask(Plugin plugin,
          +                 BukkitScheduler scheduler)
          Create a single task scheduler.
          Parameters:
          plugin - - owner plugin.
          scheduler - - specialized scheduler.
        • @@ -369,7 +369,7 @@ extends java.lang.Object
          • getPlugin

            -
            public org.bukkit.plugin.Plugin getPlugin()
            +
            public Plugin getPlugin()
            Retrieve the plugin this task belongs to.
            Returns:
            The plugin scheduling the current taks.
          • diff --git a/Javadoc/com/comphenix/protocol/injector/GamePhase.html b/Javadoc/com/comphenix/protocol/injector/GamePhase.html index 2915945a..e2a4874c 100644 --- a/Javadoc/com/comphenix/protocol/injector/GamePhase.html +++ b/Javadoc/com/comphenix/protocol/injector/GamePhase.html @@ -2,9 +2,9 @@ - + GamePhase - + diff --git a/Javadoc/com/comphenix/protocol/injector/ListenerInvoker.html b/Javadoc/com/comphenix/protocol/injector/ListenerInvoker.html index 9157db30..0605f85c 100644 --- a/Javadoc/com/comphenix/protocol/injector/ListenerInvoker.html +++ b/Javadoc/com/comphenix/protocol/injector/ListenerInvoker.html @@ -2,9 +2,9 @@ - + ListenerInvoker - + diff --git a/Javadoc/com/comphenix/protocol/injector/PacketConstructor.Unwrapper.html b/Javadoc/com/comphenix/protocol/injector/PacketConstructor.Unwrapper.html index 29b520fd..7e7a9faf 100644 --- a/Javadoc/com/comphenix/protocol/injector/PacketConstructor.Unwrapper.html +++ b/Javadoc/com/comphenix/protocol/injector/PacketConstructor.Unwrapper.html @@ -2,9 +2,9 @@ - + PacketConstructor.Unwrapper - + diff --git a/Javadoc/com/comphenix/protocol/injector/PacketConstructor.html b/Javadoc/com/comphenix/protocol/injector/PacketConstructor.html index 61c7e132..ba1a4800 100644 --- a/Javadoc/com/comphenix/protocol/injector/PacketConstructor.html +++ b/Javadoc/com/comphenix/protocol/injector/PacketConstructor.html @@ -2,9 +2,9 @@ - + PacketConstructor - + diff --git a/Javadoc/com/comphenix/protocol/injector/PacketFilterManager.PlayerInjectHooks.html b/Javadoc/com/comphenix/protocol/injector/PacketFilterManager.PlayerInjectHooks.html index 0421f201..09c34bfb 100644 --- a/Javadoc/com/comphenix/protocol/injector/PacketFilterManager.PlayerInjectHooks.html +++ b/Javadoc/com/comphenix/protocol/injector/PacketFilterManager.PlayerInjectHooks.html @@ -2,9 +2,9 @@ - + PacketFilterManager.PlayerInjectHooks - + diff --git a/Javadoc/com/comphenix/protocol/injector/PacketFilterManager.html b/Javadoc/com/comphenix/protocol/injector/PacketFilterManager.html index 6733fc16..2d33007e 100644 --- a/Javadoc/com/comphenix/protocol/injector/PacketFilterManager.html +++ b/Javadoc/com/comphenix/protocol/injector/PacketFilterManager.html @@ -2,9 +2,9 @@ - + PacketFilterManager - + @@ -143,7 +143,7 @@ implements PacketFilterManager(java.lang.ClassLoader classLoader, - org.bukkit.Server server, + Server server, DelayedSingleTask unhookTask, ErrorReporter reporter)
            Only create instances of this class if protocol lib is disabled.
            @@ -219,15 +219,15 @@ implements -org.bukkit.entity.Entity -getEntityFromID(org.bukkit.World container, +Entity +getEntityFromID(World container, int id)
            Retrieve the associated entity.
            -java.util.List<org.bukkit.entity.Player> -getEntityTrackers(org.bukkit.entity.Entity entity) +java.util.List<Player> +getEntityTrackers(Entity entity)
            Retrieve every client that is receiving information about a given entity.
            @@ -276,7 +276,7 @@ implements void -initializePlayers(org.bukkit.entity.Player[] players) +initializePlayers(Player[] players)
            Initialize the packet injection for every player.
            @@ -300,14 +300,14 @@ implements void -recieveClientPacket(org.bukkit.entity.Player sender, +recieveClientPacket(Player sender, PacketContainer packet)
            Simulate recieving a certain packet from a given player.
            void -recieveClientPacket(org.bukkit.entity.Player sender, +recieveClientPacket(Player sender, PacketContainer packet, boolean filters)
            Simulate recieving a certain packet from a given player.
            @@ -315,8 +315,8 @@ implements void -registerEvents(org.bukkit.plugin.PluginManager manager, - org.bukkit.plugin.Plugin plugin) +registerEvents(PluginManager manager, + Plugin plugin)
            Register this protocol manager on Bukkit.
            @@ -335,20 +335,20 @@ implements void -removePacketListeners(org.bukkit.plugin.Plugin plugin) +removePacketListeners(Plugin plugin)
            Removes every listener associated with the given plugin.
            void -sendServerPacket(org.bukkit.entity.Player reciever, +sendServerPacket(Player reciever, PacketContainer packet)
            Send a packet to the given player.
            void -sendServerPacket(org.bukkit.entity.Player reciever, +sendServerPacket(Player reciever, PacketContainer packet, boolean filters)
            Send a packet to the given player.
            @@ -362,7 +362,7 @@ implements void -uninitializePlayers(org.bukkit.entity.Player[] players) +uninitializePlayers(Player[] players)
            Uninitialize the packet injection of every player.
            @@ -374,8 +374,8 @@ implements void -updateEntity(org.bukkit.entity.Entity entity, - java.util.List<org.bukkit.entity.Player> observers) +updateEntity(Entity entity, + java.util.List<Player> observers)
            Completely resend an entity to a list of clients.
            @@ -415,7 +415,7 @@ implements

            PacketFilterManager

            public PacketFilterManager(java.lang.ClassLoader classLoader,
            -                   org.bukkit.Server server,
            +                   Server server,
                                DelayedSingleTask unhookTask,
                                ErrorReporter reporter)
            Only create instances of this class if protocol lib is disabled.
            @@ -538,7 +538,7 @@ implements
          • removePacketListeners

            -
            public void removePacketListeners(org.bukkit.plugin.Plugin plugin)
            +
            public void removePacketListeners(Plugin plugin)
            Description copied from interface: ProtocolManager
            Removes every listener associated with the given plugin.
            @@ -583,7 +583,7 @@ implements
          • sendServerPacket

            -
            public void sendServerPacket(org.bukkit.entity.Player reciever,
            +
            public void sendServerPacket(Player reciever,
                                 PacketContainer packet)
                                   throws java.lang.reflect.InvocationTargetException
            Description copied from interface: PacketStream
            @@ -602,7 +602,7 @@ implements
          • sendServerPacket

            -
            public void sendServerPacket(org.bukkit.entity.Player reciever,
            +
            public void sendServerPacket(Player reciever,
                                 PacketContainer packet,
                                 boolean filters)
                                   throws java.lang.reflect.InvocationTargetException
            @@ -627,7 +627,7 @@ implements
          • recieveClientPacket

            -
            public void recieveClientPacket(org.bukkit.entity.Player sender,
            +
            public void recieveClientPacket(Player sender,
                                    PacketContainer packet)
                                      throws java.lang.IllegalAccessException,
                                             java.lang.reflect.InvocationTargetException
            @@ -648,7 +648,7 @@ implements
          • recieveClientPacket

            -
            public void recieveClientPacket(org.bukkit.entity.Player sender,
            +
            public void recieveClientPacket(Player sender,
                                    PacketContainer packet,
                                    boolean filters)
                                      throws java.lang.IllegalAccessException,
            @@ -760,8 +760,8 @@ implements 
             
          • updateEntity

            -
            public void updateEntity(org.bukkit.entity.Entity entity,
            -                java.util.List<org.bukkit.entity.Player> observers)
            +
            public void updateEntity(Entity entity,
            +                java.util.List<Player> observers)
                               throws FieldAccessException
            Description copied from interface: ProtocolManager
            Completely resend an entity to a list of clients. @@ -782,9 +782,9 @@ implements
          • getEntityFromID

            -
            public org.bukkit.entity.Entity getEntityFromID(org.bukkit.World container,
            -                                       int id)
            -                                         throws FieldAccessException
            +
            public Entity getEntityFromID(World container,
            +                     int id)
            +                       throws FieldAccessException
            Description copied from interface: ProtocolManager
            Retrieve the associated entity.
            @@ -802,8 +802,8 @@ implements
          • getEntityTrackers

            -
            public java.util.List<org.bukkit.entity.Player> getEntityTrackers(org.bukkit.entity.Entity entity)
            -                                                           throws FieldAccessException
            +
            public java.util.List<Player> getEntityTrackers(Entity entity)
            +                                         throws FieldAccessException
            Description copied from interface: ProtocolManager
            Retrieve every client that is receiving information about a given entity.
            @@ -821,7 +821,7 @@ implements
          • initializePlayers

            -
            public void initializePlayers(org.bukkit.entity.Player[] players)
            +
            public void initializePlayers(Player[] players)
            Initialize the packet injection for every player.
            Parameters:
            players - - list of players to inject.
          • @@ -832,7 +832,7 @@ implements
          • uninitializePlayers

            -
            public void uninitializePlayers(org.bukkit.entity.Player[] players)
            +
            public void uninitializePlayers(Player[] players)
            Uninitialize the packet injection of every player.
            Parameters:
            players - - list of players to uninject.
          • @@ -843,8 +843,8 @@ implements
          • registerEvents

            -
            public void registerEvents(org.bukkit.plugin.PluginManager manager,
            -                  org.bukkit.plugin.Plugin plugin)
            +
            public void registerEvents(PluginManager manager,
            +                  Plugin plugin)
            Register this protocol manager on Bukkit.
            Parameters:
            manager - - Bukkit plugin manager that provides player join/leave events.
            plugin - - the parent plugin.
          • diff --git a/Javadoc/com/comphenix/protocol/injector/PlayerLoggedOutException.html b/Javadoc/com/comphenix/protocol/injector/PlayerLoggedOutException.html index c005a119..c251390d 100644 --- a/Javadoc/com/comphenix/protocol/injector/PlayerLoggedOutException.html +++ b/Javadoc/com/comphenix/protocol/injector/PlayerLoggedOutException.html @@ -2,9 +2,9 @@ - + PlayerLoggedOutException - + diff --git a/Javadoc/com/comphenix/protocol/injector/PrioritizedListener.html b/Javadoc/com/comphenix/protocol/injector/PrioritizedListener.html index 4a1c21fe..d42c0aed 100644 --- a/Javadoc/com/comphenix/protocol/injector/PrioritizedListener.html +++ b/Javadoc/com/comphenix/protocol/injector/PrioritizedListener.html @@ -2,9 +2,9 @@ - + PrioritizedListener - + diff --git a/Javadoc/com/comphenix/protocol/injector/SortedPacketListenerList.html b/Javadoc/com/comphenix/protocol/injector/SortedPacketListenerList.html index 1fe59324..7e7abc02 100644 --- a/Javadoc/com/comphenix/protocol/injector/SortedPacketListenerList.html +++ b/Javadoc/com/comphenix/protocol/injector/SortedPacketListenerList.html @@ -2,9 +2,9 @@ - + SortedPacketListenerList - + diff --git a/Javadoc/com/comphenix/protocol/injector/StructureCache.html b/Javadoc/com/comphenix/protocol/injector/StructureCache.html index 1cb67878..25e05a4e 100644 --- a/Javadoc/com/comphenix/protocol/injector/StructureCache.html +++ b/Javadoc/com/comphenix/protocol/injector/StructureCache.html @@ -2,9 +2,9 @@ - + StructureCache - + diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/BukkitUnwrapper.html b/Javadoc/com/comphenix/protocol/injector/class-use/BukkitUnwrapper.html index 8319627b..8192668b 100644 --- a/Javadoc/com/comphenix/protocol/injector/class-use/BukkitUnwrapper.html +++ b/Javadoc/com/comphenix/protocol/injector/class-use/BukkitUnwrapper.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.injector.BukkitUnwrapper - + diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/DelayedSingleTask.html b/Javadoc/com/comphenix/protocol/injector/class-use/DelayedSingleTask.html index e2950afc..bd58f4d9 100644 --- a/Javadoc/com/comphenix/protocol/injector/class-use/DelayedSingleTask.html +++ b/Javadoc/com/comphenix/protocol/injector/class-use/DelayedSingleTask.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.injector.DelayedSingleTask - + @@ -96,7 +96,7 @@ PacketFilterManager(java.lang.ClassLoader classLoader, - org.bukkit.Server server, + Server server, DelayedSingleTask unhookTask, ErrorReporter reporter)
            Only create instances of this class if protocol lib is disabled.
            diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/GamePhase.html b/Javadoc/com/comphenix/protocol/injector/class-use/GamePhase.html index b4aec291..49e77e3a 100644 --- a/Javadoc/com/comphenix/protocol/injector/class-use/GamePhase.html +++ b/Javadoc/com/comphenix/protocol/injector/class-use/GamePhase.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.injector.GamePhase - + @@ -132,7 +132,7 @@ -PacketAdapter(org.bukkit.plugin.Plugin plugin, +PacketAdapter(Plugin plugin, ConnectionSide connectionSide, GamePhase gamePhase, java.lang.Integer... packets) @@ -140,7 +140,7 @@ -PacketAdapter(org.bukkit.plugin.Plugin plugin, +PacketAdapter(Plugin plugin, ConnectionSide connectionSide, GamePhase gamePhase, java.util.Set<java.lang.Integer> packets) @@ -148,7 +148,7 @@ -PacketAdapter(org.bukkit.plugin.Plugin plugin, +PacketAdapter(Plugin plugin, ConnectionSide connectionSide, ListenerPriority listenerPriority, GamePhase gamePhase, @@ -157,7 +157,7 @@ -PacketAdapter(org.bukkit.plugin.Plugin plugin, +PacketAdapter(Plugin plugin, ConnectionSide connectionSide, ListenerPriority listenerPriority, GamePhase gamePhase, @@ -199,6 +199,19 @@ the order they are declared.
          • Uses of GamePhase in com.comphenix.protocol.injector.player

            + + + + + + + + + + + + +
            Fields in com.comphenix.protocol.injector.player with type parameters of type GamePhase 
            Modifier and TypeField and Description
            protected com.google.common.base.Predicate<GamePhase>PlayerInjectorBuilder.injectionFilter 
            @@ -208,7 +221,7 @@ the order they are declared. - + @@ -217,12 +230,6 @@ the order they are declared. - - - -
            Methods in com.comphenix.protocol.injector.player with parameters of type GamePhase 
            booleanNetworkServerInjector.canInject(GamePhase phase) NetworkObjectInjector.canInject(GamePhase phase) 
            PacketFilterManager.PlayerInjectHooks
            booleanPlayerInjectionHandler.isInjectionNecessary(GamePhase phase) -
            Determine if it's truly necessary to perform the given player injection.
            -
            void PlayerInjectionHandler.setPlayerHook(GamePhase phase, PacketFilterManager.PlayerInjectHooks playerHook) @@ -231,19 +238,19 @@ the order they are declared.
            - - +
            Constructor parameters in com.comphenix.protocol.injector.player with type arguments of type GamePhase 
            + - + + - + +
            Method parameters in com.comphenix.protocol.injector.player with type arguments of type GamePhase 
            Constructor and DescriptionModifier and TypeMethod and Description
            PlayerInjectionHandler(java.lang.ClassLoader classLoader, - ErrorReporter reporter, - com.google.common.base.Predicate<GamePhase> injectionFilter, - ListenerInvoker invoker, - java.util.Set<PacketListener> packetListeners, - org.bukkit.Server server) PlayerInjectorBuilderPlayerInjectorBuilder.injectionFilter(com.google.common.base.Predicate<GamePhase> injectionFilter) +
            The injection filter that is used to determine if it is necessary to perform + injection during a certain phase.
            +
            diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/ListenerInvoker.html b/Javadoc/com/comphenix/protocol/injector/class-use/ListenerInvoker.html index d66a144c..493361b6 100644 --- a/Javadoc/com/comphenix/protocol/injector/class-use/ListenerInvoker.html +++ b/Javadoc/com/comphenix/protocol/injector/class-use/ListenerInvoker.html @@ -2,9 +2,9 @@ - + Uses of Interface com.comphenix.protocol.injector.ListenerInvoker - + @@ -80,9 +80,17 @@   +com.comphenix.protocol.injector.packet +  + + com.comphenix.protocol.injector.player   + +com.comphenix.protocol.injector.spigot +  +
          • @@ -106,10 +114,71 @@
          • +
          • + + +

            Uses of ListenerInvoker in com.comphenix.protocol.injector.packet

            + + + + + + + + + + + + +
            Fields in com.comphenix.protocol.injector.packet declared as ListenerInvoker 
            Modifier and TypeField and Description
            protected ListenerInvokerPacketInjectorBuilder.invoker 
            + + + + + + + + + + + + +
            Methods in com.comphenix.protocol.injector.packet with parameters of type ListenerInvoker 
            Modifier and TypeMethod and Description
            PacketInjectorBuilderPacketInjectorBuilder.invoker(ListenerInvoker invoker) +
            The packet stream invoker.
            +
            +
          • Uses of ListenerInvoker in com.comphenix.protocol.injector.player

            + + + + + + + + + + + + +
            Fields in com.comphenix.protocol.injector.player declared as ListenerInvoker 
            Modifier and TypeField and Description
            protected ListenerInvokerPlayerInjectorBuilder.invoker 
            + + + + + + + + + + + + +
            Methods in com.comphenix.protocol.injector.player with parameters of type ListenerInvoker 
            Modifier and TypeMethod and Description
            PlayerInjectorBuilderPlayerInjectorBuilder.invoker(ListenerInvoker invoker) +
            The packet stream invoker.
            +
            @@ -117,20 +186,34 @@ - + IntegerSet sendingFilters) +
            Create a new network object injector.
            + - - + +
            Constructors in com.comphenix.protocol.injector.player with parameters of type ListenerInvoker 
            NetworkServerInjector(java.lang.ClassLoader classLoader, +NetworkObjectInjector(java.lang.ClassLoader classLoader, ErrorReporter reporter, - org.bukkit.entity.Player player, + Player player, ListenerInvoker invoker, - com.comphenix.protocol.injector.player.IntegerSet sendingFilters, - com.comphenix.protocol.injector.player.InjectedServerConnection serverInjection) 
            PlayerInjectionHandler(java.lang.ClassLoader classLoader, - ErrorReporter reporter, - com.google.common.base.Predicate<GamePhase> injectionFilter, - ListenerInvoker invoker, - java.util.Set<PacketListener> packetListeners, - org.bukkit.Server server) 
            +
          • +
          • + + +

            Uses of ListenerInvoker in com.comphenix.protocol.injector.spigot

            + + + + + + + +
            Constructors in com.comphenix.protocol.injector.spigot with parameters of type ListenerInvoker 
            Constructor and Description
            SpigotPacketInjector(java.lang.ClassLoader classLoader, + ErrorReporter reporter, + ListenerInvoker invoker, + Server server) +
            Create a new spigot injector.
            +
            diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/PacketConstructor.Unwrapper.html b/Javadoc/com/comphenix/protocol/injector/class-use/PacketConstructor.Unwrapper.html index f48c821f..24d31fac 100644 --- a/Javadoc/com/comphenix/protocol/injector/class-use/PacketConstructor.Unwrapper.html +++ b/Javadoc/com/comphenix/protocol/injector/class-use/PacketConstructor.Unwrapper.html @@ -2,9 +2,9 @@ - + Uses of Interface com.comphenix.protocol.injector.PacketConstructor.Unwrapper - + diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/PacketConstructor.html b/Javadoc/com/comphenix/protocol/injector/class-use/PacketConstructor.html index eab6fe1b..8880b011 100644 --- a/Javadoc/com/comphenix/protocol/injector/class-use/PacketConstructor.html +++ b/Javadoc/com/comphenix/protocol/injector/class-use/PacketConstructor.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.injector.PacketConstructor - + @@ -77,7 +77,9 @@ com.comphenix.protocol -  + +
            Contains classes for retrieving the main ProtocolMananger object.
            + com.comphenix.protocol.injector diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/PacketFilterManager.PlayerInjectHooks.html b/Javadoc/com/comphenix/protocol/injector/class-use/PacketFilterManager.PlayerInjectHooks.html index 786b6423..9dd1fdcc 100644 --- a/Javadoc/com/comphenix/protocol/injector/class-use/PacketFilterManager.PlayerInjectHooks.html +++ b/Javadoc/com/comphenix/protocol/injector/class-use/PacketFilterManager.PlayerInjectHooks.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.injector.PacketFilterManager.PlayerInjectHooks - + @@ -149,7 +149,7 @@ the order they are declared. PacketFilterManager.PlayerInjectHooks -NetworkServerInjector.getHookType()  +NetworkObjectInjector.getHookType()  PacketFilterManager.PlayerInjectHooks diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/PacketFilterManager.html b/Javadoc/com/comphenix/protocol/injector/class-use/PacketFilterManager.html index a2bdb2b0..fb6d8184 100644 --- a/Javadoc/com/comphenix/protocol/injector/class-use/PacketFilterManager.html +++ b/Javadoc/com/comphenix/protocol/injector/class-use/PacketFilterManager.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.injector.PacketFilterManager - + diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/PlayerLoggedOutException.html b/Javadoc/com/comphenix/protocol/injector/class-use/PlayerLoggedOutException.html index 34c0f396..290b55ac 100644 --- a/Javadoc/com/comphenix/protocol/injector/class-use/PlayerLoggedOutException.html +++ b/Javadoc/com/comphenix/protocol/injector/class-use/PlayerLoggedOutException.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.injector.PlayerLoggedOutException - + diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/PrioritizedListener.html b/Javadoc/com/comphenix/protocol/injector/class-use/PrioritizedListener.html index 27b7cb37..5e8131d8 100644 --- a/Javadoc/com/comphenix/protocol/injector/class-use/PrioritizedListener.html +++ b/Javadoc/com/comphenix/protocol/injector/class-use/PrioritizedListener.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.injector.PrioritizedListener - + diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/SortedPacketListenerList.html b/Javadoc/com/comphenix/protocol/injector/class-use/SortedPacketListenerList.html index 41263df7..6bc1a7c2 100644 --- a/Javadoc/com/comphenix/protocol/injector/class-use/SortedPacketListenerList.html +++ b/Javadoc/com/comphenix/protocol/injector/class-use/SortedPacketListenerList.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.injector.SortedPacketListenerList - + diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/StructureCache.html b/Javadoc/com/comphenix/protocol/injector/class-use/StructureCache.html index 1f0ac0e8..016b3cbc 100644 --- a/Javadoc/com/comphenix/protocol/injector/class-use/StructureCache.html +++ b/Javadoc/com/comphenix/protocol/injector/class-use/StructureCache.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.injector.StructureCache - + diff --git a/Javadoc/com/comphenix/protocol/injector/package-frame.html b/Javadoc/com/comphenix/protocol/injector/package-frame.html index 7ff484d3..01df1cbd 100644 --- a/Javadoc/com/comphenix/protocol/injector/package-frame.html +++ b/Javadoc/com/comphenix/protocol/injector/package-frame.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.injector - + diff --git a/Javadoc/com/comphenix/protocol/injector/package-summary.html b/Javadoc/com/comphenix/protocol/injector/package-summary.html index 08d91fd6..a71e8f87 100644 --- a/Javadoc/com/comphenix/protocol/injector/package-summary.html +++ b/Javadoc/com/comphenix/protocol/injector/package-summary.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.injector - + @@ -37,7 +37,7 @@
          • void -close()  +close() +
            Close any lingering proxy injections.
            + -org.bukkit.entity.Player +Player getPlayerByConnection(java.io.DataInputStream inputStream)
            Retrieve a player by its DataInput connection.
            -org.bukkit.entity.Player +Player getPlayerByConnection(java.io.DataInputStream inputStream, long playerTimeout, java.util.concurrent.TimeUnit unit) @@ -197,89 +165,69 @@ extends java.lang.Object
          • void -handleDisconnect(org.bukkit.entity.Player player) +handleDisconnect(Player player)
            Invoke special routines for handling disconnect before a player is uninjected.
            void -injectPlayer(org.bukkit.entity.Player player) +injectPlayer(Player player)
            Initialize a player hook, allowing us to read server packets.
            -boolean -isInjectionNecessary(GamePhase phase) -
            Determine if it's truly necessary to perform the given player injection.
            - - - void -processPacket(org.bukkit.entity.Player player, +processPacket(Player player, java.lang.Object mcPacket)
            Process a packet as if it were sent by the given player.
            - + void removePacketHandler(int packetID)
            Remove an underlying packet handler of ths ID.
            - + void -scheduleDataInputRefresh(org.bukkit.entity.Player player) +scheduleDataInputRefresh(Player player)
            Inform the current PlayerInjector that it should update the DataInputStream next.
            - + void -sendServerPacket(org.bukkit.entity.Player reciever, +sendServerPacket(Player reciever, PacketContainer packet, boolean filters)
            Send the given packet to the given reciever.
            - + void setPlayerHook(GamePhase phase, PacketFilterManager.PlayerInjectHooks playerHook)
            Sets how the server packets are read.
            - + void setPlayerHook(PacketFilterManager.PlayerInjectHooks playerHook)
            Sets how the server packets are read.
            - + boolean uninjectPlayer(java.net.InetSocketAddress address)
            Unregisters a player by the given address.
            - -boolean -uninjectPlayer(org.bukkit.entity.Player player) -
            Unregisters the given player.
            - - boolean -uninjectPlayer(org.bukkit.entity.Player player, - boolean removeAuxiliary) +uninjectPlayer(Player player)
            Unregisters the given player.
            -
              -
            • - - -

              Methods inherited from class java.lang.Object

              -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
            • -
          @@ -288,28 +236,6 @@ extends java.lang.Object
          • - -
              -
            • - - -

              Constructor Detail

              - - - -
                -
              • -

                PlayerInjectionHandler

                -
                public PlayerInjectionHandler(java.lang.ClassLoader classLoader,
                -                      ErrorReporter reporter,
                -                      com.google.common.base.Predicate<GamePhase> injectionFilter,
                -                      ListenerInvoker invoker,
                -                      java.util.Set<PacketListener> packetListeners,
                -                      org.bukkit.Server server)
                -
              • -
              -
            • -
            • @@ -322,7 +248,7 @@ extends java.lang.Object
              • getPlayerHook

                -
                public PacketFilterManager.PlayerInjectHooks getPlayerHook()
                +
                PacketFilterManager.PlayerInjectHooks getPlayerHook()
                Retrieves how the server packets are read.
                Returns:
                Injection method for reading server packets.
              • @@ -333,7 +259,7 @@ extends java.lang.Object
                • getPlayerHook

                  -
                  public PacketFilterManager.PlayerInjectHooks getPlayerHook(GamePhase phase)
                  +
                  PacketFilterManager.PlayerInjectHooks getPlayerHook(GamePhase phase)
                  Retrieves how the server packets are read.
                  Parameters:
                  phase - - the current game phase.
                  Returns:
                  Injection method for reading server packets.
                  @@ -345,7 +271,7 @@ extends java.lang.Object
                  • setPlayerHook

                    -
                    public void setPlayerHook(PacketFilterManager.PlayerInjectHooks playerHook)
                    +
                    void setPlayerHook(PacketFilterManager.PlayerInjectHooks playerHook)
                    Sets how the server packets are read.
                    Parameters:
                    playerHook - - the new injection method for reading server packets.
                  • @@ -356,7 +282,7 @@ extends java.lang.Object
                    • setPlayerHook

                      -
                      public void setPlayerHook(GamePhase phase,
                      +
                      void setPlayerHook(GamePhase phase,
                                        PacketFilterManager.PlayerInjectHooks playerHook)
                      Sets how the server packets are read.
                      Parameters:
                      phase - - the current game phase.
                      playerHook - - the new injection method for reading server packets.
                      @@ -368,7 +294,7 @@ extends java.lang.Object
                      • addPacketHandler

                        -
                        public void addPacketHandler(int packetID)
                        +
                        void addPacketHandler(int packetID)
                        Add an underlying packet handler of the given ID.
                        Parameters:
                        packetID - - packet ID to register.
                      • @@ -379,7 +305,7 @@ extends java.lang.Object
                        • removePacketHandler

                          -
                          public void removePacketHandler(int packetID)
                          +
                          void removePacketHandler(int packetID)
                          Remove an underlying packet handler of ths ID.
                          Parameters:
                          packetID - - packet ID to unregister.
                        • @@ -390,8 +316,8 @@ extends java.lang.Object
                          • getPlayerByConnection

                            -
                            public org.bukkit.entity.Player getPlayerByConnection(java.io.DataInputStream inputStream)
                            -                                               throws java.lang.InterruptedException
                            +
                            Player getPlayerByConnection(java.io.DataInputStream inputStream)
                            +                             throws java.lang.InterruptedException
                            Retrieve a player by its DataInput connection.
                            Parameters:
                            inputStream - - the associated DataInput connection.
                            Returns:
                            The player.
                            @@ -405,10 +331,10 @@ extends java.lang.Object
                            • getPlayerByConnection

                              -
                              public org.bukkit.entity.Player getPlayerByConnection(java.io.DataInputStream inputStream,
                              -                                             long playerTimeout,
                              -                                             java.util.concurrent.TimeUnit unit)
                              -                                               throws java.lang.InterruptedException
                              +
                              Player getPlayerByConnection(java.io.DataInputStream inputStream,
                              +                           long playerTimeout,
                              +                           java.util.concurrent.TimeUnit unit)
                              +                             throws java.lang.InterruptedException
                              Retrieve a player by its DataInput connection.
                              Parameters:
                              inputStream - - the associated DataInput connection.
                              playerTimeout - - the amount of time to wait for a result.
                              unit - - unit of playerTimeout.
                              Returns:
                              The player.
                              @@ -422,32 +348,20 @@ extends java.lang.Object
                              • injectPlayer

                                -
                                public void injectPlayer(org.bukkit.entity.Player player)
                                +
                                void injectPlayer(Player player)
                                Initialize a player hook, allowing us to read server packets.

                                This call will be ignored if there's no listener that can receive the given events.

                                Parameters:
                                player - - player to hook.
                              - - - -
                                -
                              • -

                                isInjectionNecessary

                                -
                                public boolean isInjectionNecessary(GamePhase phase)
                                -
                                Determine if it's truly necessary to perform the given player injection.
                                -
                                Parameters:
                                phase - - current game phase.
                                -
                                Returns:
                                TRUE if we should perform the injection, FALSE otherwise.
                                -
                              • -
                              • handleDisconnect

                                -
                                public void handleDisconnect(org.bukkit.entity.Player player)
                                +
                                void handleDisconnect(Player player)
                                Invoke special routines for handling disconnect before a player is uninjected.
                                Parameters:
                                player - - player to process.
                              • @@ -458,32 +372,19 @@ extends java.lang.Object
                                • uninjectPlayer

                                  -
                                  public boolean uninjectPlayer(org.bukkit.entity.Player player)
                                  +
                                  boolean uninjectPlayer(Player player)
                                  Unregisters the given player.
                                  Parameters:
                                  player - - player to unregister.
                                  Returns:
                                  TRUE if a player has been uninjected, FALSE otherwise.
                                - - - -
                                  -
                                • -

                                  uninjectPlayer

                                  -
                                  public boolean uninjectPlayer(org.bukkit.entity.Player player,
                                  -                     boolean removeAuxiliary)
                                  -
                                  Unregisters the given player.
                                  -
                                  Parameters:
                                  player - - player to unregister.
                                  removeAuxiliary - - TRUE to remove auxiliary information, such as input stream and address.
                                  -
                                  Returns:
                                  TRUE if a player has been uninjected, FALSE otherwise.
                                  -
                                • -
                                • uninjectPlayer

                                  -
                                  public boolean uninjectPlayer(java.net.InetSocketAddress address)
                                  +
                                  boolean uninjectPlayer(java.net.InetSocketAddress address)
                                  Unregisters a player by the given address.

                                  If the server handler has been created before we've gotten a chance to unject the player, @@ -498,7 +399,7 @@ extends java.lang.Object

                                  • sendServerPacket

                                    -
                                    public void sendServerPacket(org.bukkit.entity.Player reciever,
                                    +
                                    void sendServerPacket(Player reciever,
                                                         PacketContainer packet,
                                                         boolean filters)
                                                           throws java.lang.reflect.InvocationTargetException
                                    @@ -514,7 +415,7 @@ extends java.lang.Object
                                    • processPacket

                                      -
                                      public void processPacket(org.bukkit.entity.Player player,
                                      +
                                      void processPacket(Player player,
                                                        java.lang.Object mcPacket)
                                                          throws java.lang.IllegalAccessException,
                                                                 java.lang.reflect.InvocationTargetException
                                      @@ -531,7 +432,7 @@ extends java.lang.Object
                                      • checkListener

                                        -
                                        public void checkListener(java.util.Set<PacketListener> listeners)
                                        +
                                        void checkListener(java.util.Set<PacketListener> listeners)
                                        Determine if the given listeners are valid.
                                        Parameters:
                                        listeners - - listeners to check.
                                      • @@ -542,7 +443,7 @@ extends java.lang.Object
                                  diff --git a/Javadoc/com/comphenix/protocol/injector/player/PlayerInjectorBuilder.html b/Javadoc/com/comphenix/protocol/injector/player/PlayerInjectorBuilder.html new file mode 100644 index 00000000..5bc9e563 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/injector/player/PlayerInjectorBuilder.html @@ -0,0 +1,499 @@ + + + + + +PlayerInjectorBuilder + + + + + + + + + + + +
                                  +
                                  com.comphenix.protocol.injector.player
                                  +

                                  Class PlayerInjectorBuilder

                                  +
                                  +
                                  +
                                    +
                                  • java.lang.Object
                                  • +
                                  • +
                                      +
                                    • com.comphenix.protocol.injector.player.PlayerInjectorBuilder
                                    • +
                                    +
                                  • +
                                  +
                                  +
                                    +
                                  • +
                                    +
                                    +
                                    public class PlayerInjectorBuilder
                                    +extends java.lang.Object
                                    +
                                    Constructor for different player injectors.
                                    +
                                    Author:
                                    +
                                    Kristian
                                    +
                                  • +
                                  +
                                  +
                                  + +
                                  +
                                  +
                                    +
                                  • + +
                                      +
                                    • + + +

                                      Field Detail

                                      + + + +
                                        +
                                      • +

                                        classLoader

                                        +
                                        protected java.lang.ClassLoader classLoader
                                        +
                                      • +
                                      + + + + + + + +
                                        +
                                      • +

                                        injectionFilter

                                        +
                                        protected com.google.common.base.Predicate<GamePhase> injectionFilter
                                        +
                                      • +
                                      + + + + + + + +
                                        +
                                      • +

                                        packetListeners

                                        +
                                        protected java.util.Set<PacketListener> packetListeners
                                        +
                                      • +
                                      + + + +
                                        +
                                      • +

                                        server

                                        +
                                        protected Server server
                                        +
                                      • +
                                      +
                                    • +
                                    + +
                                      +
                                    • + + +

                                      Constructor Detail

                                      + + + +
                                        +
                                      • +

                                        PlayerInjectorBuilder

                                        +
                                        protected PlayerInjectorBuilder()
                                        +
                                      • +
                                      +
                                    • +
                                    + +
                                      +
                                    • + + +

                                      Method Detail

                                      + + + + + + + +
                                        +
                                      • +

                                        classLoader

                                        +
                                        public PlayerInjectorBuilder classLoader(@Nonnull
                                        +                                java.lang.ClassLoader classLoader)
                                        +
                                        Set the class loader to use during class generation.
                                        +
                                        Parameters:
                                        classLoader - - new class loader.
                                        +
                                        Returns:
                                        This builder, for chaining.
                                        +
                                      • +
                                      + + + +
                                        +
                                      • +

                                        reporter

                                        +
                                        public PlayerInjectorBuilder reporter(@Nonnull
                                        +                             ErrorReporter reporter)
                                        +
                                        The error reporter used by the created injector.
                                        +
                                        Parameters:
                                        reporter - - new error reporter.
                                        +
                                        Returns:
                                        This builder, for chaining.
                                        +
                                      • +
                                      + + + +
                                        +
                                      • +

                                        injectionFilter

                                        +
                                        @Nonnull
                                        +public PlayerInjectorBuilder injectionFilter(@Nonnull
                                        +                                            com.google.common.base.Predicate<GamePhase> injectionFilter)
                                        +
                                        The injection filter that is used to determine if it is necessary to perform + injection during a certain phase.
                                        +
                                        Parameters:
                                        injectionFilter - - filter predicate.
                                        +
                                        Returns:
                                        This builder, for chaining.
                                        +
                                      • +
                                      + + + +
                                        +
                                      • +

                                        invoker

                                        +
                                        public PlayerInjectorBuilder invoker(@Nonnull
                                        +                            ListenerInvoker invoker)
                                        +
                                        The packet stream invoker.
                                        +
                                        Parameters:
                                        invoker - - the invoker.
                                        +
                                        Returns:
                                        This builder, for chaining.
                                        +
                                      • +
                                      + + + +
                                        +
                                      • +

                                        packetListeners

                                        +
                                        @Nonnull
                                        +public PlayerInjectorBuilder packetListeners(@Nonnull
                                        +                                            java.util.Set<PacketListener> packetListeners)
                                        +
                                        Set the set of packet listeners.
                                        +
                                        Parameters:
                                        packetListeners - - packet listeners.
                                        +
                                        Returns:
                                        This builder, for chaining.
                                        +
                                      • +
                                      + + + +
                                        +
                                      • +

                                        server

                                        +
                                        public PlayerInjectorBuilder server(@Nonnull
                                        +                           Server server)
                                        +
                                        Set the Bukkit server used for scheduling.
                                        +
                                        Parameters:
                                        server - - the Bukkit server.
                                        +
                                        Returns:
                                        This builder, for chaining.
                                        +
                                      • +
                                      + + + +
                                        +
                                      • +

                                        buildHandler

                                        +
                                        public PlayerInjectionHandler buildHandler()
                                        +
                                        Construct the injection handler. +

                                        + Any builder parameter marked as NON-NULL is essential and must be initialized.

                                        +
                                        Returns:
                                        The constructed injection handler using the current parameters.
                                        +
                                      • +
                                      +
                                    • +
                                    +
                                  • +
                                  +
                                  +
                                  + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/injector/player/class-use/NetworkObjectInjector.html b/Javadoc/com/comphenix/protocol/injector/player/class-use/NetworkObjectInjector.html new file mode 100644 index 00000000..1e6aa005 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/injector/player/class-use/NetworkObjectInjector.html @@ -0,0 +1,115 @@ + + + + + +Uses of Class com.comphenix.protocol.injector.player.NetworkObjectInjector + + + + + + + + + + +
                                  +

                                  Uses of Class
                                  com.comphenix.protocol.injector.player.NetworkObjectInjector

                                  +
                                  +
                                  No usage of com.comphenix.protocol.injector.player.NetworkObjectInjector
                                  + + + + + + diff --git a/Javadoc/com/comphenix/protocol/injector/player/class-use/PlayerInjectionHandler.html b/Javadoc/com/comphenix/protocol/injector/player/class-use/PlayerInjectionHandler.html index 99688413..8fc2a471 100644 --- a/Javadoc/com/comphenix/protocol/injector/player/class-use/PlayerInjectionHandler.html +++ b/Javadoc/com/comphenix/protocol/injector/player/class-use/PlayerInjectionHandler.html @@ -2,15 +2,15 @@ - -Uses of Class com.comphenix.protocol.injector.player.PlayerInjectionHandler - + +Uses of Interface com.comphenix.protocol.injector.player.PlayerInjectionHandler + @@ -26,7 +26,7 @@
          -

          Uses of Class
          com.comphenix.protocol.injector.player.PlayerInjectionHandler

          +

          Uses of Interface
          com.comphenix.protocol.injector.player.PlayerInjectionHandler

          +
          +
          +
          -
          No usage of com.comphenix.protocol.injector.player.PlayerInjectionHandler
          @@ -75,7 +178,7 @@
        + + + +
          +
        • +

          getField

          +
          public java.lang.reflect.Field getField(AbstractFuzzyMatcher<java.lang.reflect.Field> matcher)
          +
          Retrieve the first field that matches. +

          + ForceAccess must be TRUE in order for this method to access private, protected and package level fields.

          +
          Parameters:
          matcher - - the matcher to use.
          +
          Returns:
          The first method that satisfies the given matcher.
          +
          Throws:
          +
          java.lang.IllegalArgumentException - If the method cannot be found.
          +
        • +
        + + + +
          +
        • +

          getFieldList

          +
          public java.util.List<java.lang.reflect.Field> getFieldList(AbstractFuzzyMatcher<java.lang.reflect.Field> matcher)
          +
          Retrieve a list of every field that matches the given matcher. +

          + ForceAccess must be TRUE in order for this method to access private, protected and package level fields.

          +
          Parameters:
          matcher - - the matcher to apply.
          +
          Returns:
          List of found fields.
          +
        • +
        @@ -515,6 +617,36 @@ extends java.lang.Object
        java.lang.IllegalArgumentException - If the field cannot be found.
      + + + +
        +
      • +

        getConstructor

        +
        public java.lang.reflect.Constructor<?> getConstructor(AbstractFuzzyMatcher<MethodInfo> matcher)
        +
        Retrieve the first constructor that matches. +

        + ForceAccess must be TRUE in order for this method to access private, protected and package level constructors.

        +
        Parameters:
        matcher - - the matcher to use.
        +
        Returns:
        The first constructor that satisfies the given matcher.
        +
        Throws:
        +
        java.lang.IllegalArgumentException - If the constructor cannot be found.
        +
      • +
      + + + +
        +
      • +

        getConstructorList

        +
        public java.util.List<java.lang.reflect.Constructor<?>> getConstructorList(AbstractFuzzyMatcher<MethodInfo> matcher)
        +
        Retrieve a list of every constructor that matches the given matcher. +

        + ForceAccess must be TRUE in order for this method to access private, protected and package level constructors.

        +
        Parameters:
        matcher - - the matcher to apply.
        +
        Returns:
        List of found constructors.
        +
      • +
      @@ -522,7 +654,9 @@ extends java.lang.Object
    • getFields

      public java.util.Set<java.lang.reflect.Field> getFields()
      -
      Retrieves all private and public fields in declared order (after JDK 1.5).
      +
      Retrieves all private and public fields in declared order (after JDK 1.5). +

      + Private, protected and package fields are ignored if forceAccess is FALSE.

      Returns:
      Every field.
    @@ -533,10 +667,25 @@ extends java.lang.Object
  • getMethods

    public java.util.Set<java.lang.reflect.Method> getMethods()
    -
    Retrieves all private and public methods in declared order (after JDK 1.5).
    +
    Retrieves all private and public methods in declared order (after JDK 1.5). +

    + Private, protected and package methods are ignored if forceAccess is FALSE.

    Returns:
    Every method.
  • + + + +
      +
    • +

      getConstructors

      +
      public java.util.Set<java.lang.reflect.Constructor<?>> getConstructors()
      +
      Retrieves all private and public constructors in declared order (after JDK 1.5). +

      + Private, protected and package constructors are ignored if forceAccess is FALSE.

      +
      Returns:
      Every constructor.
      +
    • +
    diff --git a/Javadoc/com/comphenix/protocol/reflect/IntEnum.html b/Javadoc/com/comphenix/protocol/reflect/IntEnum.html index 72fc1b56..a1a9d824 100644 --- a/Javadoc/com/comphenix/protocol/reflect/IntEnum.html +++ b/Javadoc/com/comphenix/protocol/reflect/IntEnum.html @@ -2,9 +2,9 @@ - + IntEnum - + @@ -37,7 +37,7 @@ @@ -122,29 +122,12 @@ extends java.lang.Object static java.lang.String MINECRAFT_OBJECT -
    Regular expression that matches a Minecraft object.
    +
    Deprecated. 
    - -
    • @@ -164,53 +147,65 @@ extends java.lang.Object +static java.lang.Class<?> +getBlockClass() +
      Retrieve the Block (NMS) class.
      + + + static java.lang.Object getBukkitEntity(java.lang.Object nmsObject)
      Dynamically retrieve the Bukkit entity from a given entity.
      - -static org.bukkit.inventory.ItemStack -getBukkitItemStack(org.bukkit.inventory.ItemStack bukkitItemStack) + +static ItemStack +getBukkitItemStack(ItemStack bukkitItemStack)
      Retrieve a CraftItemStack from a given ItemStack.
      - -static org.bukkit.inventory.ItemStack + +static ItemStack getBukkitItemStack(java.lang.Object minecraftItemStack)
      Retrieve the Bukkit ItemStack from a given net.minecraft.server ItemStack.
      - + static java.lang.Class<?> getChunkCoordinatesClass()
      Retrieve the ChunkPosition class.
      - + static java.lang.Class<?> getChunkPositionClass()
      Retrieve the ChunkPosition class.
      - + static java.lang.Class getCraftBukkitClass(java.lang.String className)
      Retrieve the class object of a specific CraftBukkit class.
      - + static java.lang.String getCraftBukkitPackage()
      Retrieve the name of the root CraftBukkit package.
      - + static java.lang.Class<?> getCraftItemStackClass()
      Retrieve the CraftItemStack class.
      + +static java.lang.Class<?> +getCraftPlayerClass() +
      Retrieve the CraftPlayer class.
      + + static java.lang.Class<?> getDataWatcherClass() @@ -231,81 +226,105 @@ extends java.lang.Object static java.lang.Class<?> +getEntityTrackerClass() +
      Retrieve the EntityTracker (NMS) class.
      + + + +static java.lang.Class<?> getItemStackArrayClass()
      Retrieve the ItemStack[] class.
      - + static java.lang.Class<?> getItemStackClass()
      Retrieve the NMS ItemStack class.
      - + static java.lang.Class<?> getMinecraftClass(java.lang.String className)
      Retrieve the class object of a specific Minecraft class.
      - + static java.lang.Class<?> getMinecraftClass(java.lang.String className, java.lang.String... aliases)
      Retrieve the first class that matches a specified Minecraft name.
      - + static java.lang.Object -getMinecraftItemStack(org.bukkit.inventory.ItemStack stack) +getMinecraftItemStack(ItemStack stack)
      Retrieve the net.minecraft.server ItemStack from a Bukkit ItemStack.
      + +static AbstractFuzzyMatcher<java.lang.Class<?>> +getMinecraftObjectMatcher() +
      Retrieve a abstract fuzzy class matcher for Minecraft objects.
      + + static java.lang.String +getMinecraftObjectRegex() +
      Retrieve a regular expression that can match Minecraft package objects.
      + + + +static java.lang.String getMinecraftPackage()
      Retrieve the name of the Minecraft server package.
      - + static java.lang.Class<?> getMinecraftServerClass()
      Retrieve the MinecraftServer class.
      - + static java.lang.Class<?> getNBTBaseClass()
      Retrieve the NBT base class.
      - + static java.lang.Class<?> getNetHandlerClass() -
      Retrieve the NetHandler class.
      +
      Retrieve the NetHandler class (or Connection)
      + + + +static java.lang.Class<?> +getNetLoginHandlerClass() +
      Retrieve the NetLoginHandler class (or PendingConnection)
      -static java.lang.Class<?> -getNetLoginHandlerClass() -
      Retrieve the NetLoginHandler class.
      - - - static java.lang.String getNetLoginHandlerName()
      Dynamically retrieve the name of the current NetLoginHandler.
      - + static java.lang.Class<?> getNetServerHandlerClass() -
      Retrieve the NetServerHandler class.
      +
      Retrieve the NetServerHandler class (or PlayerConnection)
      + + + +static java.lang.Class<?> +getNetworkListenThreadClass() +
      Retrieve the NetworkListenThread class (NMS).
      static java.lang.Class<?> getNetworkManagerClass() -
      Retrieve the NetworkManager class.
      +
      Retrieve the NetworkManager class or its interface.
      @@ -322,34 +341,58 @@ extends java.lang.Object static java.lang.Class<?> +getPlayerListClass() +
      Retrieve the player list class (or ServerConfigurationManager),
      + + + +static java.lang.Class<?> +getServerConnectionClass() +
      Retrieve the ServerConnection abstract class.
      + + + +static java.lang.Class<?> getWatchableObjectClass()
      Retrieve the WatchableObject class.
      static java.lang.Class<?> +getWorldServerClass() +
      Retrieve the WorldServer (NMS) class.
      + + + +static java.lang.Class<?> getWorldTypeClass()
      Retrieve the WorldType class.
      - + static boolean isChunkCoordinates(java.lang.Object obj)
      Determine if a given object is a ChunkCoordinate.
      - + static boolean isChunkPosition(java.lang.Object obj)
      Determine if a given object is a ChunkPosition.
      - + static boolean isCraftItemStack(java.lang.Object obj)
      Determine if the given object is a CraftItemStack instancey.
      + +static boolean +isCraftPlayer(java.lang.Object value) +
      Determine if the given object is a CraftPlayer class.
      + + static boolean isDataWatcher(java.lang.Object obj) @@ -365,40 +408,52 @@ extends java.lang.Object static boolean isLoginHandler(java.lang.Object obj) -
      Determine if the given object is a NetLoginHandler.
      +
      Determine if the given object is a NetLoginHandler (PendingConnection)
      static boolean +isMinecraftClass(java.lang.Class<?> clazz) +
      Determine if the given class is found within the package net.minecraft.server, or any equivalent package.
      + + + +static boolean isMinecraftEntity(java.lang.Object obj)
      Determine if the given object is actually a Minecraft packet.
      - + static boolean isMinecraftObject(java.lang.Object obj)
      Determine if a given object can be found within the package net.minecraft.server.
      - + static boolean isMinecraftObject(java.lang.Object obj, java.lang.String className)
      Determine if a given object is found in net.minecraft.server, and has the given name.
      - + static boolean isMinecraftPlayer(java.lang.Object obj)
      Determine if the given object is a Minecraft player entity.
      - + static boolean isPacketClass(java.lang.Object obj)
      Determine if the given object is actually a Minecraft packet.
      + +static boolean +isServerHandler(java.lang.Object obj) +
      Determine if the given object is assignable to a NetServerHandler (PlayerConnection)
      + + static boolean isWatchableObject(java.lang.Object obj) @@ -440,36 +495,45 @@ extends java.lang.Object
      • MINECRAFT_OBJECT

        -
        public static final java.lang.String MINECRAFT_OBJECT
        -
        Regular expression that matches a Minecraft object.
        +
        @Deprecated
        +public static final java.lang.String MINECRAFT_OBJECT
        +
        Deprecated. 
        +
        Regular expression that matches a Minecraft object. +

        + Replaced by the method getMinecraftObjectRegex().

        See Also:
        Constant Field Values
    - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        MinecraftReflection

        -
        public MinecraftReflection()
        -
      • -
      -
    • -
    • Method Detail

      + + + +
        +
      • +

        getMinecraftObjectRegex

        +
        public static java.lang.String getMinecraftObjectRegex()
        +
        Retrieve a regular expression that can match Minecraft package objects.
        +
        Returns:
        Minecraft package matcher.
        +
      • +
      + + + +
        +
      • +

        getMinecraftObjectMatcher

        +
        public static AbstractFuzzyMatcher<java.lang.Class<?>> getMinecraftObjectMatcher()
        +
        Retrieve a abstract fuzzy class matcher for Minecraft objects.
        +
        Returns:
        A matcher for Minecraft objects.
        +
      • +
      @@ -531,6 +595,19 @@ extends java.lang.Object
      Returns:
      TRUE if it can, FALSE otherwise.
    + + + +
      +
    • +

      isMinecraftClass

      +
      public static boolean isMinecraftClass(@Nonnull
      +                       java.lang.Class<?> clazz)
      +
      Determine if the given class is found within the package net.minecraft.server, or any equivalent package.
      +
      Parameters:
      clazz - - the class to test.
      +
      Returns:
      TRUE if it can, FALSE otherwise.
      +
    • +
    @@ -588,7 +665,19 @@ extends java.lang.Object
  • isLoginHandler

    public static boolean isLoginHandler(java.lang.Object obj)
    -
    Determine if the given object is a NetLoginHandler.
    +
    Determine if the given object is a NetLoginHandler (PendingConnection)
    +
    Parameters:
    obj - - the given object.
    +
    Returns:
    TRUE if it is, FALSE otherwise.
    +
  • + + + + +
      +
    • +

      isServerHandler

      +
      public static boolean isServerHandler(java.lang.Object obj)
      +
      Determine if the given object is assignable to a NetServerHandler (PlayerConnection)
      Parameters:
      obj - - the given object.
      Returns:
      TRUE if it is, FALSE otherwise.
    • @@ -613,7 +702,19 @@ extends java.lang.Object

      isItemStack

      public static boolean isItemStack(java.lang.Object value)
      Determine if the given object is a NMS ItemStack.
      -
      Parameters:
      obj - - the given object.
      +
      Parameters:
      value - - the given object.
      +
      Returns:
      TRUE if it is, FALSE otherwise.
      + +
    + + + +
      +
    • +

      isCraftPlayer

      +
      public static boolean isCraftPlayer(java.lang.Object value)
      +
      Determine if the given object is a CraftPlayer class.
      +
      Parameters:
      value - - the given object.
      Returns:
      TRUE if it is, FALSE otherwise.
    @@ -687,6 +788,17 @@ extends java.lang.Object
    Returns:
    The entity class.
    + + + +
      +
    • +

      getWorldServerClass

      +
      public static java.lang.Class<?> getWorldServerClass()
      +
      Retrieve the WorldServer (NMS) class.
      +
      Returns:
      The WorldServer class.
      +
    • +
    @@ -698,6 +810,28 @@ extends java.lang.Object
    Returns:
    The packet class.
    + + + +
      +
    • +

      getMinecraftServerClass

      +
      public static java.lang.Class<?> getMinecraftServerClass()
      +
      Retrieve the MinecraftServer class.
      +
      Returns:
      MinecraftServer class.
      +
    • +
    + + + +
      +
    • +

      getPlayerListClass

      +
      public static java.lang.Class<?> getPlayerListClass()
      +
      Retrieve the player list class (or ServerConfigurationManager),
      +
      Returns:
      The player list class.
      +
    • +
    @@ -705,7 +839,7 @@ extends java.lang.Object
  • getNetLoginHandlerClass

    public static java.lang.Class<?> getNetLoginHandlerClass()
    -
    Retrieve the NetLoginHandler class.
    +
    Retrieve the NetLoginHandler class (or PendingConnection)
    Returns:
    The NetLoginHandler class.
  • @@ -716,7 +850,7 @@ extends java.lang.Object
  • getNetServerHandlerClass

    public static java.lang.Class<?> getNetServerHandlerClass()
    -
    Retrieve the NetServerHandler class.
    +
    Retrieve the NetServerHandler class (or PlayerConnection)
    Returns:
    The NetServerHandler class.
  • @@ -727,8 +861,8 @@ extends java.lang.Object
  • getNetworkManagerClass

    public static java.lang.Class<?> getNetworkManagerClass()
    -
    Retrieve the NetworkManager class.
    -
    Returns:
    The NetworkManager class.
    +
    Retrieve the NetworkManager class or its interface.
    +
    Returns:
    The NetworkManager class or its interface.
  • @@ -738,7 +872,7 @@ extends java.lang.Object
  • getNetHandlerClass

    public static java.lang.Class<?> getNetHandlerClass()
    -
    Retrieve the NetHandler class.
    +
    Retrieve the NetHandler class (or Connection)
    Returns:
    The NetHandler class.
  • @@ -753,6 +887,17 @@ extends java.lang.Object
    Returns:
    The ItemStack class.
    +
    + + +
      +
    • +

      getBlockClass

      +
      public static java.lang.Class<?> getBlockClass()
      +
      Retrieve the Block (NMS) class.
      +
      Returns:
      Block (NMS) class.
      +
    • +
    @@ -764,17 +909,6 @@ extends java.lang.Object
    Returns:
    The WorldType class.
    - - - -
      -
    • -

      getMinecraftServerClass

      -
      public static java.lang.Class<?> getMinecraftServerClass()
      -
      Retrieve the MinecraftServer class.
      -
      Returns:
      MinecraftServer class.
      -
    • -
    @@ -819,6 +953,17 @@ extends java.lang.Object
    Returns:
    The WatchableObject class.
    + + + +
      +
    • +

      getServerConnectionClass

      +
      public static java.lang.Class<?> getServerConnectionClass()
      +
      Retrieve the ServerConnection abstract class.
      +
      Returns:
      The ServerConnection class.
      +
    • +
    @@ -830,6 +975,30 @@ extends java.lang.Object
    Returns:
    The NBT base class.
    + + + +
      +
    • +

      getEntityTrackerClass

      +
      public static java.lang.Class<?> getEntityTrackerClass()
      +
      Retrieve the EntityTracker (NMS) class.
      +
      Returns:
      EntityTracker class.
      +
    • +
    + + + +
      +
    • +

      getNetworkListenThreadClass

      +
      public static java.lang.Class<?> getNetworkListenThreadClass()
      +
      Retrieve the NetworkListenThread class (NMS). +

      + Note that this class was removed after Minecraft 1.3.1.

      +
      Returns:
      NetworkListenThread class.
      +
    • +
    @@ -864,13 +1033,24 @@ extends java.lang.Object
    Returns:
    The CraftItemStack class.
    + + + +
      +
    • +

      getCraftPlayerClass

      +
      public static java.lang.Class<?> getCraftPlayerClass()
      +
      Retrieve the CraftPlayer class.
      +
      Returns:
      CraftPlayer class.
      +
    • +
    • getBukkitItemStack

      -
      public static org.bukkit.inventory.ItemStack getBukkitItemStack(org.bukkit.inventory.ItemStack bukkitItemStack)
      +
      public static ItemStack getBukkitItemStack(ItemStack bukkitItemStack)
      Retrieve a CraftItemStack from a given ItemStack.
      Parameters:
      bukkitItemStack - - the Bukkit ItemStack to convert.
      Returns:
      A CraftItemStack as an ItemStack.
      @@ -882,7 +1062,7 @@ extends java.lang.Object
      • getBukkitItemStack

        -
        public static org.bukkit.inventory.ItemStack getBukkitItemStack(java.lang.Object minecraftItemStack)
        +
        public static ItemStack getBukkitItemStack(java.lang.Object minecraftItemStack)
        Retrieve the Bukkit ItemStack from a given net.minecraft.server ItemStack.
        Parameters:
        minecraftItemStack - - the NMS ItemStack to wrap.
        Returns:
        The wrapped ItemStack.
        @@ -894,7 +1074,7 @@ extends java.lang.Object
        • getMinecraftItemStack

          -
          public static java.lang.Object getMinecraftItemStack(org.bukkit.inventory.ItemStack stack)
          +
          public static java.lang.Object getMinecraftItemStack(ItemStack stack)
          Retrieve the net.minecraft.server ItemStack from a Bukkit ItemStack.
          Parameters:
          stack - - the Bukkit ItemStack to convert.
          Returns:
          The NMS ItemStack.
          @@ -937,7 +1117,7 @@ extends java.lang.Object
          public static java.lang.Class<?> getMinecraftClass(java.lang.String className,
                                              java.lang.String... aliases)
          Retrieve the first class that matches a specified Minecraft name.
          -
          Parameters:
          classes - - the specific Minecraft class.
          +
          Parameters:
          className - - the specific Minecraft class.
          aliases - - alternative names for this Minecraft class.
          Returns:
          Class object.
          Throws:
          java.lang.RuntimeException - If we are unable to find any of the given classes.
          @@ -1018,13 +1198,13 @@ extends java.lang.Object
        • Summary: 
        • Nested | 
        • Field | 
        • -
        • Constr | 
        • +
        • Constr | 
        • Method
        diff --git a/Javadoc/com/comphenix/protocol/utility/StreamSerializer.html b/Javadoc/com/comphenix/protocol/utility/StreamSerializer.html index 1b5d9ca7..455baaa8 100644 --- a/Javadoc/com/comphenix/protocol/utility/StreamSerializer.html +++ b/Javadoc/com/comphenix/protocol/utility/StreamSerializer.html @@ -2,9 +2,9 @@ - + StreamSerializer - + @@ -137,13 +137,13 @@ extends java.lang.Object Method and Description -org.bukkit.inventory.ItemStack +ItemStack deserializeItemStack(java.io.DataInputStream input)
        Read or deserialize an item stack from an underlying input stream.
        -org.bukkit.inventory.ItemStack +ItemStack deserializeItemStack(java.lang.String input)
        Deserialize an item stack from a base-64 encoded string.
        @@ -151,13 +151,13 @@ extends java.lang.Object void serializeItemStack(java.io.DataOutputStream output, - org.bukkit.inventory.ItemStack stack) + ItemStack stack)
        Write or serialize an item stack to the given output stream.
        java.lang.String -serializeItemStack(org.bukkit.inventory.ItemStack stack) +serializeItemStack(ItemStack stack)
        Serialize an item stack as a base-64 encoded string.
        @@ -206,14 +206,15 @@ extends java.lang.Object
        • deserializeItemStack

          -
          public org.bukkit.inventory.ItemStack deserializeItemStack(java.io.DataInputStream input)
          -                                                    throws java.io.IOException
          +
          public ItemStack deserializeItemStack(@Nonnull
          +                             java.io.DataInputStream input)
          +                               throws java.io.IOException
          Read or deserialize an item stack from an underlying input stream.

          To supply a byte array, wrap it in a ByteArrayInputStream and DataInputStream.

          Parameters:
          input - - the target input stream.
          -
          Returns:
          The resulting item stack.
          +
          Returns:
          The resulting item stack, or NULL if the serialized item stack was NULL.
          Throws:
          java.io.IOException - If the operation failed due to reflection or corrupt data.
        • @@ -224,11 +225,12 @@ extends java.lang.Object
          • deserializeItemStack

            -
            public org.bukkit.inventory.ItemStack deserializeItemStack(java.lang.String input)
            -                                                    throws java.io.IOException
            +
            public ItemStack deserializeItemStack(@Nonnull
            +                             java.lang.String input)
            +                               throws java.io.IOException
            Deserialize an item stack from a base-64 encoded string.
            Parameters:
            input - - base-64 encoded string.
            -
            Returns:
            A deserialized item stack.
            +
            Returns:
            A deserialized item stack, or NULL if the serialized ItemStack was also NULL.
            Throws:
            java.io.IOException - If the operation failed due to reflection or corrupt data.
          • @@ -239,14 +241,17 @@ extends java.lang.Object
            • serializeItemStack

              -
              public void serializeItemStack(java.io.DataOutputStream output,
              -                      org.bukkit.inventory.ItemStack stack)
              +
              public void serializeItemStack(@Nonnull
              +                      java.io.DataOutputStream output,
              +                      ItemStack stack)
                                       throws java.io.IOException
              Write or serialize an item stack to the given output stream.

              To supply a byte array, wrap it in a ByteArrayOutputStream - and DataOutputStream.

              -
              Parameters:
              output - - the target output stream.
              stack - - the item stack that will be written.
              + and DataOutputStream. +

              + Note: An ItemStack can be written to a stream even if it's NULL. +

              Parameters:
              output - - the target output stream.
              stack - - the item stack that will be written, or NULL to represent air/nothing.
              Throws:
              java.io.IOException - If the operation fails due to reflection problems.
            • @@ -257,10 +262,12 @@ extends java.lang.Object
              • serializeItemStack

                -
                public java.lang.String serializeItemStack(org.bukkit.inventory.ItemStack stack)
                +
                public java.lang.String serializeItemStack(ItemStack stack)
                                                     throws java.io.IOException
                -
                Serialize an item stack as a base-64 encoded string.
                -
                Parameters:
                stack - - the item stack to serialize.
                +
                Serialize an item stack as a base-64 encoded string. +

                + Note: An ItemStack can be written to the serialized text even if it's NULL.

                +
                Parameters:
                stack - - the item stack to serialize, or NULL to represent air/nothing.
                Returns:
                A base-64 representation of the given item stack.
                Throws:
                java.io.IOException - If the operation fails due to reflection problems.
                diff --git a/Javadoc/com/comphenix/protocol/utility/WrappedScheduler.TaskWrapper.html b/Javadoc/com/comphenix/protocol/utility/WrappedScheduler.TaskWrapper.html index d3eebe51..fcc9f366 100644 --- a/Javadoc/com/comphenix/protocol/utility/WrappedScheduler.TaskWrapper.html +++ b/Javadoc/com/comphenix/protocol/utility/WrappedScheduler.TaskWrapper.html @@ -2,9 +2,9 @@ - + WrappedScheduler.TaskWrapper - + diff --git a/Javadoc/com/comphenix/protocol/utility/WrappedScheduler.html b/Javadoc/com/comphenix/protocol/utility/WrappedScheduler.html index 455096f6..1284b25e 100644 --- a/Javadoc/com/comphenix/protocol/utility/WrappedScheduler.html +++ b/Javadoc/com/comphenix/protocol/utility/WrappedScheduler.html @@ -2,9 +2,9 @@ - + WrappedScheduler - + @@ -159,7 +159,7 @@ extends java.lang.Object
                static WrappedScheduler.TaskWrapper -runAsynchronouslyOnce(org.bukkit.plugin.Plugin plugin, +runAsynchronouslyOnce(Plugin plugin, java.lang.Runnable runnable, long firstDelay)
                Schedule a given task for a single asynchronous execution.
                @@ -167,8 +167,8 @@ extends java.lang.Object static WrappedScheduler.TaskWrapper -runAsynchronouslyRepeat(org.bukkit.plugin.Plugin plugin, - org.bukkit.scheduler.BukkitScheduler scheduler, +runAsynchronouslyRepeat(Plugin plugin, + BukkitScheduler scheduler, java.lang.Runnable runnable, long firstDelay, long repeatDelay) @@ -177,7 +177,7 @@ extends java.lang.Object static WrappedScheduler.TaskWrapper -runAsynchronouslyRepeat(org.bukkit.plugin.Plugin plugin, +runAsynchronouslyRepeat(Plugin plugin, java.lang.Runnable runnable, long firstDelay, long repeatDelay) @@ -229,7 +229,7 @@ extends java.lang.Object
                • runAsynchronouslyOnce

                  -
                  public static WrappedScheduler.TaskWrapper runAsynchronouslyOnce(org.bukkit.plugin.Plugin plugin,
                  +
                  public static WrappedScheduler.TaskWrapper runAsynchronouslyOnce(Plugin plugin,
                                                                    java.lang.Runnable runnable,
                                                                    long firstDelay)
                  Schedule a given task for a single asynchronous execution.
                  @@ -243,7 +243,7 @@ extends java.lang.Object
                  • runAsynchronouslyRepeat

                    -
                    public static WrappedScheduler.TaskWrapper runAsynchronouslyRepeat(org.bukkit.plugin.Plugin plugin,
                    +
                    public static WrappedScheduler.TaskWrapper runAsynchronouslyRepeat(Plugin plugin,
                                                                        java.lang.Runnable runnable,
                                                                        long firstDelay,
                                                                        long repeatDelay)
                    @@ -258,8 +258,8 @@ extends java.lang.Object
                    • runAsynchronouslyRepeat

                      -
                      public static WrappedScheduler.TaskWrapper runAsynchronouslyRepeat(org.bukkit.plugin.Plugin plugin,
                      -                                                   org.bukkit.scheduler.BukkitScheduler scheduler,
                      +
                      public static WrappedScheduler.TaskWrapper runAsynchronouslyRepeat(Plugin plugin,
                      +                                                   BukkitScheduler scheduler,
                                                                          java.lang.Runnable runnable,
                                                                          long firstDelay,
                                                                          long repeatDelay)
                      diff --git a/Javadoc/com/comphenix/protocol/utility/class-use/ChatExtensions.html b/Javadoc/com/comphenix/protocol/utility/class-use/ChatExtensions.html index 307dc869..188eb561 100644 --- a/Javadoc/com/comphenix/protocol/utility/class-use/ChatExtensions.html +++ b/Javadoc/com/comphenix/protocol/utility/class-use/ChatExtensions.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.utility.ChatExtensions - + diff --git a/Javadoc/com/comphenix/protocol/utility/class-use/MinecraftReflection.html b/Javadoc/com/comphenix/protocol/utility/class-use/MinecraftReflection.html index 8c59bfe5..f3d45611 100644 --- a/Javadoc/com/comphenix/protocol/utility/class-use/MinecraftReflection.html +++ b/Javadoc/com/comphenix/protocol/utility/class-use/MinecraftReflection.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.utility.MinecraftReflection - + diff --git a/Javadoc/com/comphenix/protocol/utility/class-use/StreamSerializer.html b/Javadoc/com/comphenix/protocol/utility/class-use/StreamSerializer.html index db693c7f..45f8ba7a 100644 --- a/Javadoc/com/comphenix/protocol/utility/class-use/StreamSerializer.html +++ b/Javadoc/com/comphenix/protocol/utility/class-use/StreamSerializer.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.utility.StreamSerializer - + diff --git a/Javadoc/com/comphenix/protocol/utility/class-use/WrappedScheduler.TaskWrapper.html b/Javadoc/com/comphenix/protocol/utility/class-use/WrappedScheduler.TaskWrapper.html index 0b3436bc..95f05996 100644 --- a/Javadoc/com/comphenix/protocol/utility/class-use/WrappedScheduler.TaskWrapper.html +++ b/Javadoc/com/comphenix/protocol/utility/class-use/WrappedScheduler.TaskWrapper.html @@ -2,9 +2,9 @@ - + Uses of Interface com.comphenix.protocol.utility.WrappedScheduler.TaskWrapper - + @@ -97,7 +97,7 @@ static WrappedScheduler.TaskWrapper -WrappedScheduler.runAsynchronouslyOnce(org.bukkit.plugin.Plugin plugin, +WrappedScheduler.runAsynchronouslyOnce(Plugin plugin, java.lang.Runnable runnable, long firstDelay)
                      Schedule a given task for a single asynchronous execution.
                      @@ -105,8 +105,8 @@ static WrappedScheduler.TaskWrapper -WrappedScheduler.runAsynchronouslyRepeat(org.bukkit.plugin.Plugin plugin, - org.bukkit.scheduler.BukkitScheduler scheduler, +WrappedScheduler.runAsynchronouslyRepeat(Plugin plugin, + BukkitScheduler scheduler, java.lang.Runnable runnable, long firstDelay, long repeatDelay) @@ -115,7 +115,7 @@ static WrappedScheduler.TaskWrapper -WrappedScheduler.runAsynchronouslyRepeat(org.bukkit.plugin.Plugin plugin, +WrappedScheduler.runAsynchronouslyRepeat(Plugin plugin, java.lang.Runnable runnable, long firstDelay, long repeatDelay) diff --git a/Javadoc/com/comphenix/protocol/utility/class-use/WrappedScheduler.html b/Javadoc/com/comphenix/protocol/utility/class-use/WrappedScheduler.html index 357e194c..4c6fa756 100644 --- a/Javadoc/com/comphenix/protocol/utility/class-use/WrappedScheduler.html +++ b/Javadoc/com/comphenix/protocol/utility/class-use/WrappedScheduler.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.utility.WrappedScheduler - + diff --git a/Javadoc/com/comphenix/protocol/utility/package-frame.html b/Javadoc/com/comphenix/protocol/utility/package-frame.html index 789f642c..0d58fa81 100644 --- a/Javadoc/com/comphenix/protocol/utility/package-frame.html +++ b/Javadoc/com/comphenix/protocol/utility/package-frame.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.utility - + diff --git a/Javadoc/com/comphenix/protocol/utility/package-summary.html b/Javadoc/com/comphenix/protocol/utility/package-summary.html index 795b49e6..38fdf188 100644 --- a/Javadoc/com/comphenix/protocol/utility/package-summary.html +++ b/Javadoc/com/comphenix/protocol/utility/package-summary.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.utility - + diff --git a/Javadoc/com/comphenix/protocol/utility/package-tree.html b/Javadoc/com/comphenix/protocol/utility/package-tree.html index 4af119eb..5717bed5 100644 --- a/Javadoc/com/comphenix/protocol/utility/package-tree.html +++ b/Javadoc/com/comphenix/protocol/utility/package-tree.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.utility Class Hierarchy - + diff --git a/Javadoc/com/comphenix/protocol/utility/package-use.html b/Javadoc/com/comphenix/protocol/utility/package-use.html index 15914092..19624f93 100644 --- a/Javadoc/com/comphenix/protocol/utility/package-use.html +++ b/Javadoc/com/comphenix/protocol/utility/package-use.html @@ -2,9 +2,9 @@ - + Uses of Package com.comphenix.protocol.utility - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/BukkitConverters.html b/Javadoc/com/comphenix/protocol/wrappers/BukkitConverters.html index ba5f79d8..f77af7fd 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/BukkitConverters.html +++ b/Javadoc/com/comphenix/protocol/wrappers/BukkitConverters.html @@ -2,9 +2,9 @@ - + BukkitConverters - + @@ -143,8 +143,8 @@ extends java.lang.Object
                      -static EquivalentConverter<org.bukkit.entity.Entity> -getEntityConverter(org.bukkit.World world) +static EquivalentConverter<Entity> +getEntityConverter(World world)
                      Retrieve a converter for NMS entities and Bukkit entities.
                      @@ -155,7 +155,7 @@ extends java.lang.Object -static EquivalentConverter<org.bukkit.inventory.ItemStack> +static EquivalentConverter<ItemStack> getItemStackConverter()
                      Retrieve the converter used to convert NMS ItemStacks to Bukkit's ItemStack.
                      @@ -178,7 +178,7 @@ extends java.lang.Object -static EquivalentConverter<org.bukkit.WorldType> +static EquivalentConverter<WorldType> getWorldTypeConverter()
                      Retrieve a converter for Bukkit's world type enum and the NMS equivalent.
                      @@ -260,7 +260,7 @@ extends java.lang.Object
                      • getWorldTypeConverter

                        -
                        public static EquivalentConverter<org.bukkit.WorldType> getWorldTypeConverter()
                        +
                        public static EquivalentConverter<WorldType> getWorldTypeConverter()
                        Retrieve a converter for Bukkit's world type enum and the NMS equivalent.
                        Returns:
                        A world type enum converter.
                      • @@ -282,7 +282,7 @@ extends java.lang.Object
                        • getEntityConverter

                          -
                          public static EquivalentConverter<org.bukkit.entity.Entity> getEntityConverter(org.bukkit.World world)
                          +
                          public static EquivalentConverter<Entity> getEntityConverter(World world)
                          Retrieve a converter for NMS entities and Bukkit entities.
                          Parameters:
                          world - - the current world.
                          Returns:
                          A converter between the underlying NMS entity and Bukkit's wrapper.
                          @@ -294,7 +294,7 @@ extends java.lang.Object
                          • getItemStackConverter

                            -
                            public static EquivalentConverter<org.bukkit.inventory.ItemStack> getItemStackConverter()
                            +
                            public static EquivalentConverter<ItemStack> getItemStackConverter()
                            Retrieve the converter used to convert NMS ItemStacks to Bukkit's ItemStack.
                            Returns:
                            Item stack converter.
                          • diff --git a/Javadoc/com/comphenix/protocol/wrappers/ChunkPosition.html b/Javadoc/com/comphenix/protocol/wrappers/ChunkPosition.html index e1d675cb..d2b73a88 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/ChunkPosition.html +++ b/Javadoc/com/comphenix/protocol/wrappers/ChunkPosition.html @@ -2,9 +2,9 @@ - + ChunkPosition - + @@ -159,7 +159,7 @@ extends java.lang.Object -ChunkPosition(org.bukkit.util.Vector vector) +ChunkPosition(Vector vector)
                            Construct an immutable integer 3D vector from a mutable Bukkit vector.
                            @@ -235,7 +235,7 @@ extends java.lang.Object -org.bukkit.util.Vector +Vector toVector()
                            Convert this instance to an equivalent real 3D vector.
                            @@ -325,7 +325,7 @@ extends java.lang.Object
                            • ChunkPosition

                              -
                              public ChunkPosition(org.bukkit.util.Vector vector)
                              +
                              public ChunkPosition(Vector vector)
                              Construct an immutable integer 3D vector from a mutable Bukkit vector.
                              Parameters:
                              vector - - the mutable real Bukkit vector to copy.
                            • @@ -344,7 +344,7 @@ extends java.lang.Object
                              • toVector

                                -
                                public org.bukkit.util.Vector toVector()
                                +
                                public Vector toVector()
                                Convert this instance to an equivalent real 3D vector.
                                Returns:
                                Real 3D vector.
                              • diff --git a/Javadoc/com/comphenix/protocol/wrappers/WrappedChunkCoordinate.html b/Javadoc/com/comphenix/protocol/wrappers/WrappedChunkCoordinate.html index cdb5b058..7a4d1db0 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/WrappedChunkCoordinate.html +++ b/Javadoc/com/comphenix/protocol/wrappers/WrappedChunkCoordinate.html @@ -2,9 +2,9 @@ - + WrappedChunkCoordinate - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/WrappedDataWatcher.html b/Javadoc/com/comphenix/protocol/wrappers/WrappedDataWatcher.html index 5c3c0cfd..f2e5bf36 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/WrappedDataWatcher.html +++ b/Javadoc/com/comphenix/protocol/wrappers/WrappedDataWatcher.html @@ -2,9 +2,9 @@ - + WrappedDataWatcher - + @@ -196,7 +196,7 @@ implements java.lang.Iterable< static WrappedDataWatcher -getEntityWatcher(org.bukkit.entity.Entity entity) +getEntityWatcher(Entity entity)
                                Retrieve the data watcher associated with an entity.
                                @@ -219,7 +219,7 @@ implements java.lang.Iterable< -org.bukkit.inventory.ItemStack +ItemStack getItemStack(int index)
                                Get a watched string.
                                @@ -524,8 +524,8 @@ implements java.lang.Iterable<
                              • getItemStack

                                -
                                public org.bukkit.inventory.ItemStack getItemStack(int index)
                                -                                            throws FieldAccessException
                                +
                                public ItemStack getItemStack(int index)
                                +                       throws FieldAccessException
                                Get a watched string.
                                Parameters:
                                index - - index of the watched string.
                                Returns:
                                The watched string, or NULL if this value doesn't exist.
                                @@ -719,7 +719,7 @@ implements java.lang.Iterable<
                              • getEntityWatcher

                                -
                                public static WrappedDataWatcher getEntityWatcher(org.bukkit.entity.Entity entity)
                                +
                                public static WrappedDataWatcher getEntityWatcher(Entity entity)
                                                                            throws FieldAccessException
                                Retrieve the data watcher associated with an entity.
                                Parameters:
                                entity - - the entity to read from.
                                diff --git a/Javadoc/com/comphenix/protocol/wrappers/WrappedWatchableObject.html b/Javadoc/com/comphenix/protocol/wrappers/WrappedWatchableObject.html index d0ba864c..2b6c46ee 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/WrappedWatchableObject.html +++ b/Javadoc/com/comphenix/protocol/wrappers/WrappedWatchableObject.html @@ -2,9 +2,9 @@ - + WrappedWatchableObject - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/class-use/BukkitConverters.html b/Javadoc/com/comphenix/protocol/wrappers/class-use/BukkitConverters.html index 220ac796..3ec1eb4a 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/class-use/BukkitConverters.html +++ b/Javadoc/com/comphenix/protocol/wrappers/class-use/BukkitConverters.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.wrappers.BukkitConverters - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/class-use/ChunkPosition.html b/Javadoc/com/comphenix/protocol/wrappers/class-use/ChunkPosition.html index 03576e7f..98d7235c 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/class-use/ChunkPosition.html +++ b/Javadoc/com/comphenix/protocol/wrappers/class-use/ChunkPosition.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.wrappers.ChunkPosition - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/class-use/WrappedChunkCoordinate.html b/Javadoc/com/comphenix/protocol/wrappers/class-use/WrappedChunkCoordinate.html index ddc6d094..bb6341cf 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/class-use/WrappedChunkCoordinate.html +++ b/Javadoc/com/comphenix/protocol/wrappers/class-use/WrappedChunkCoordinate.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.wrappers.WrappedChunkCoordinate - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/class-use/WrappedDataWatcher.html b/Javadoc/com/comphenix/protocol/wrappers/class-use/WrappedDataWatcher.html index 014d6ea4..0065c31d 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/class-use/WrappedDataWatcher.html +++ b/Javadoc/com/comphenix/protocol/wrappers/class-use/WrappedDataWatcher.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.wrappers.WrappedDataWatcher - + @@ -127,7 +127,7 @@ static WrappedDataWatcher -WrappedDataWatcher.getEntityWatcher(org.bukkit.entity.Entity entity) +WrappedDataWatcher.getEntityWatcher(Entity entity)
                                Retrieve the data watcher associated with an entity.
                                diff --git a/Javadoc/com/comphenix/protocol/wrappers/class-use/WrappedWatchableObject.html b/Javadoc/com/comphenix/protocol/wrappers/class-use/WrappedWatchableObject.html index a3aa09d9..bb70364f 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/class-use/WrappedWatchableObject.html +++ b/Javadoc/com/comphenix/protocol/wrappers/class-use/WrappedWatchableObject.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.wrappers.WrappedWatchableObject - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtBase.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtBase.html index 6c1647f6..3086b7b3 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtBase.html +++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtBase.html @@ -2,9 +2,9 @@ - + NbtBase - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtCompound.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtCompound.html index df556c0c..dfdbf01e 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtCompound.html +++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtCompound.html @@ -2,9 +2,9 @@ - + NbtCompound - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtFactory.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtFactory.html index cd6099d7..e7924cc7 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtFactory.html +++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtFactory.html @@ -2,9 +2,9 @@ - + NbtFactory - + @@ -156,7 +156,7 @@ extends java.lang.Object
                                static NbtWrapper<?> -fromItemTag(org.bukkit.inventory.ItemStack stack) +fromItemTag(ItemStack stack)
                                Construct a wrapper for an NBT tag stored (in memory) in an item stack.
                                @@ -366,7 +366,7 @@ extends java.lang.Object
                                • fromItemTag

                                  -
                                  public static NbtWrapper<?> fromItemTag(org.bukkit.inventory.ItemStack stack)
                                  +
                                  public static NbtWrapper<?> fromItemTag(ItemStack stack)
                                  Construct a wrapper for an NBT tag stored (in memory) in an item stack. This is where auxillary data such as enchanting, name and lore is stored. It doesn't include the items material, damage value or count. diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtList.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtList.html index 480c9856..53c894a8 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtList.html +++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtList.html @@ -2,9 +2,9 @@ - + NbtList - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtType.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtType.html index 40b5b991..5279c5f5 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtType.html +++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtType.html @@ -2,9 +2,9 @@ - + NbtType - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtVisitor.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtVisitor.html index f77b5f36..7ad1f52a 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtVisitor.html +++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtVisitor.html @@ -2,9 +2,9 @@ - + NbtVisitor - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtWrapper.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtWrapper.html index 4f3b6072..194fe539 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtWrapper.html +++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtWrapper.html @@ -2,9 +2,9 @@ - + NbtWrapper - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtBase.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtBase.html index acd12f47..40d149a6 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtBase.html +++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtBase.html @@ -2,9 +2,9 @@ - + Uses of Interface com.comphenix.protocol.wrappers.nbt.NbtBase - + @@ -375,7 +375,7 @@ <TType> void NbtConfigurationSerializer.serialize(NbtBase<TType> value, - org.bukkit.configuration.ConfigurationSection destination) + ConfigurationSection destination)
                                  Write the content of a NBT tag to a configuration section.
                                  diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtCompound.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtCompound.html index f3a2ae86..88176df1 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtCompound.html +++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtCompound.html @@ -2,9 +2,9 @@ - + Uses of Interface com.comphenix.protocol.wrappers.nbt.NbtCompound - + @@ -280,7 +280,7 @@ NbtCompound -NbtConfigurationSerializer.deserializeCompound(org.bukkit.configuration.file.YamlConfiguration root, +NbtConfigurationSerializer.deserializeCompound(YamlConfiguration root, java.lang.String nodeName)
                                  Read a NBT compound from a root configuration.
                                  diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtFactory.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtFactory.html index e6edb355..7f62293c 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtFactory.html +++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtFactory.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.wrappers.nbt.NbtFactory - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtList.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtList.html index 8cec5e72..d451e37b 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtList.html +++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtList.html @@ -2,9 +2,9 @@ - + Uses of Interface com.comphenix.protocol.wrappers.nbt.NbtList - + @@ -186,7 +186,7 @@ <T> NbtList<T> -NbtConfigurationSerializer.deserializeList(org.bukkit.configuration.file.YamlConfiguration root, +NbtConfigurationSerializer.deserializeList(YamlConfiguration root, java.lang.String nodeName)
                                  Read a NBT compound from a root configuration.
                                  diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtType.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtType.html index 8ab595c2..908522e0 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtType.html +++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtType.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.wrappers.nbt.NbtType - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtVisitor.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtVisitor.html index 73920643..3aef5ac0 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtVisitor.html +++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtVisitor.html @@ -2,9 +2,9 @@ - + Uses of Interface com.comphenix.protocol.wrappers.nbt.NbtVisitor - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtWrapper.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtWrapper.html index 9e490fcc..6ffbce20 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtWrapper.html +++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtWrapper.html @@ -2,9 +2,9 @@ - + Uses of Interface com.comphenix.protocol.wrappers.nbt.NbtWrapper - + @@ -107,7 +107,7 @@ static NbtWrapper<?> -NbtFactory.fromItemTag(org.bukkit.inventory.ItemStack stack) +NbtFactory.fromItemTag(ItemStack stack)
                                  Construct a wrapper for an NBT tag stored (in memory) in an item stack.
                                  @@ -156,7 +156,7 @@ <TType> NbtWrapper<TType> -NbtConfigurationSerializer.deserialize(org.bukkit.configuration.ConfigurationSection root, +NbtConfigurationSerializer.deserialize(ConfigurationSection root, java.lang.String nodeName)
                                  Read a NBT tag from a root configuration.
                                  diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/NbtBinarySerializer.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/NbtBinarySerializer.html index 782c8e03..c3c30a41 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/NbtBinarySerializer.html +++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/NbtBinarySerializer.html @@ -2,9 +2,9 @@ - + NbtBinarySerializer - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/NbtConfigurationSerializer.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/NbtConfigurationSerializer.html index ade3c16e..4f8f349c 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/NbtConfigurationSerializer.html +++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/NbtConfigurationSerializer.html @@ -2,9 +2,9 @@ - + NbtConfigurationSerializer - + @@ -175,21 +175,21 @@ extends java.lang.Object <TType> NbtWrapper<TType> -deserialize(org.bukkit.configuration.ConfigurationSection root, +deserialize(ConfigurationSection root, java.lang.String nodeName)
                                  Read a NBT tag from a root configuration.
                                  NbtCompound -deserializeCompound(org.bukkit.configuration.file.YamlConfiguration root, +deserializeCompound(YamlConfiguration root, java.lang.String nodeName)
                                  Read a NBT compound from a root configuration.
                                  <T> NbtList<T> -deserializeList(org.bukkit.configuration.file.YamlConfiguration root, +deserializeList(YamlConfiguration root, java.lang.String nodeName)
                                  Read a NBT compound from a root configuration.
                                  @@ -203,7 +203,7 @@ extends java.lang.Object <TType> void serialize(NbtBase<TType> value, - org.bukkit.configuration.ConfigurationSection destination) + ConfigurationSection destination)
                                  Write the content of a NBT tag to a configuration section.
                                  @@ -310,7 +310,7 @@ extends java.lang.Object
                                • serialize

                                  public <TType> void serialize(NbtBase<TType> value,
                                  -                     org.bukkit.configuration.ConfigurationSection destination)
                                  + ConfigurationSection destination)
                                  Write the content of a NBT tag to a configuration section.
                                  Parameters:
                                  value - - the NBT tag to write.
                                  destination - - the destination section.
                                • @@ -321,7 +321,7 @@ extends java.lang.Object
                                  • deserialize

                                    -
                                    public <TType> NbtWrapper<TType> deserialize(org.bukkit.configuration.ConfigurationSection root,
                                    +
                                    public <TType> NbtWrapper<TType> deserialize(ConfigurationSection root,
                                                                         java.lang.String nodeName)
                                    Read a NBT tag from a root configuration.
                                    Parameters:
                                    root - - configuration that contains the NBT tag.
                                    nodeName - - name of the NBT tag.
                                    @@ -334,7 +334,7 @@ extends java.lang.Object
                                    • deserializeCompound

                                      -
                                      public NbtCompound deserializeCompound(org.bukkit.configuration.file.YamlConfiguration root,
                                      +
                                      public NbtCompound deserializeCompound(YamlConfiguration root,
                                                                     java.lang.String nodeName)
                                      Read a NBT compound from a root configuration.
                                      Parameters:
                                      root - - configuration that contains the NBT compound.
                                      nodeName - - name of the NBT compound.
                                      @@ -347,7 +347,7 @@ extends java.lang.Object
                                      • deserializeList

                                        -
                                        public <T> NbtList<T> deserializeList(org.bukkit.configuration.file.YamlConfiguration root,
                                        +
                                        public <T> NbtList<T> deserializeList(YamlConfiguration root,
                                                                      java.lang.String nodeName)
                                        Read a NBT compound from a root configuration.
                                        Parameters:
                                        root - - configuration that contains the NBT compound.
                                        nodeName - - name of the NBT compound.
                                        diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/NbtTextSerializer.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/NbtTextSerializer.html index ee0991b6..7bafea0e 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/NbtTextSerializer.html +++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/NbtTextSerializer.html @@ -2,9 +2,9 @@ - + NbtTextSerializer - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/class-use/NbtBinarySerializer.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/class-use/NbtBinarySerializer.html index 34673652..46eef061 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/class-use/NbtBinarySerializer.html +++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/class-use/NbtBinarySerializer.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.wrappers.nbt.io.NbtBinarySerializer - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/class-use/NbtConfigurationSerializer.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/class-use/NbtConfigurationSerializer.html index 78a25f12..4790df3f 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/class-use/NbtConfigurationSerializer.html +++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/class-use/NbtConfigurationSerializer.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.wrappers.nbt.io.NbtConfigurationSerializer - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/class-use/NbtTextSerializer.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/class-use/NbtTextSerializer.html index 6cac885b..547ad2fc 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/class-use/NbtTextSerializer.html +++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/class-use/NbtTextSerializer.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.wrappers.nbt.io.NbtTextSerializer - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/package-frame.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/package-frame.html index 83aba6c8..2c4f541b 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/package-frame.html +++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/package-frame.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.wrappers.nbt.io - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/package-summary.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/package-summary.html index 5c863963..bb984948 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/package-summary.html +++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/package-summary.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.wrappers.nbt.io - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/package-tree.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/package-tree.html index dcd9de97..a4eea5c0 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/package-tree.html +++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/package-tree.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.wrappers.nbt.io Class Hierarchy - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/package-use.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/package-use.html index 0630a1f2..f3106bbb 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/package-use.html +++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/package-use.html @@ -2,9 +2,9 @@ - + Uses of Package com.comphenix.protocol.wrappers.nbt.io - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/package-frame.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/package-frame.html index 171513ef..84ac8e16 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/package-frame.html +++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/package-frame.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.wrappers.nbt - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/package-summary.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/package-summary.html index 17466fe3..fccf0272 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/package-summary.html +++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/package-summary.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.wrappers.nbt - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/package-tree.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/package-tree.html index b75f9af5..4fb23ac5 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/package-tree.html +++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/package-tree.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.wrappers.nbt Class Hierarchy - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/package-use.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/package-use.html index 5d298af0..e86edb70 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/package-use.html +++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/package-use.html @@ -2,9 +2,9 @@ - + Uses of Package com.comphenix.protocol.wrappers.nbt - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/package-frame.html b/Javadoc/com/comphenix/protocol/wrappers/package-frame.html index 21577707..25c758b3 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/package-frame.html +++ b/Javadoc/com/comphenix/protocol/wrappers/package-frame.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.wrappers - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/package-summary.html b/Javadoc/com/comphenix/protocol/wrappers/package-summary.html index d1369611..af12d0d7 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/package-summary.html +++ b/Javadoc/com/comphenix/protocol/wrappers/package-summary.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.wrappers - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/package-tree.html b/Javadoc/com/comphenix/protocol/wrappers/package-tree.html index 5ed30fd3..708a9ec6 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/package-tree.html +++ b/Javadoc/com/comphenix/protocol/wrappers/package-tree.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.wrappers Class Hierarchy - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/package-use.html b/Javadoc/com/comphenix/protocol/wrappers/package-use.html index 712f2647..3feeb902 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/package-use.html +++ b/Javadoc/com/comphenix/protocol/wrappers/package-use.html @@ -2,9 +2,9 @@ - + Uses of Package com.comphenix.protocol.wrappers - + diff --git a/Javadoc/constant-values.html b/Javadoc/constant-values.html index 15b9ccda..d594e7ce 100644 --- a/Javadoc/constant-values.html +++ b/Javadoc/constant-values.html @@ -2,9 +2,9 @@ - + Constant Field Values - + @@ -76,6 +76,25 @@
                                        • + + + + + + + + + + + + + +
                                          com.comphenix.protocol.Packets 
                                          Modifier and TypeConstant FieldValue
                                          + +public static final intMAXIMUM_PACKET_ID255
                                          +
                                        • +
                                        • + diff --git a/Javadoc/deprecated-list.html b/Javadoc/deprecated-list.html index f5a0583c..e0babc43 100644 --- a/Javadoc/deprecated-list.html +++ b/Javadoc/deprecated-list.html @@ -2,9 +2,9 @@ - +Deprecated List - + @@ -81,9 +81,12 @@ - + + + + diff --git a/Javadoc/help-doc.html b/Javadoc/help-doc.html index c2538f2c..7806ec41 100644 --- a/Javadoc/help-doc.html +++ b/Javadoc/help-doc.html @@ -2,9 +2,9 @@ - +API Help - + diff --git a/Javadoc/index-files/index-1.html b/Javadoc/index-files/index-1.html index f474c797..8b849c75 100644 --- a/Javadoc/index-files/index-1.html +++ b/Javadoc/index-files/index-1.html @@ -2,9 +2,9 @@ - +A-Index - + @@ -77,6 +77,26 @@
                                          AbstractConcurrentListenerMultimap() - Constructor for class com.comphenix.protocol.concurrency.AbstractConcurrentListenerMultimap
                                           
                                          +
                                          AbstractFuzzyMatcher<T> - Class in com.comphenix.protocol.reflect.fuzzy
                                          +
                                          +
                                          Represents a matcher for fields, methods, constructors and classes.
                                          +
                                          +
                                          AbstractFuzzyMatcher() - Constructor for class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMatcher
                                          +
                                           
                                          +
                                          AbstractFuzzyMember<T extends java.lang.reflect.Member> - Class in com.comphenix.protocol.reflect.fuzzy
                                          +
                                          +
                                          Represents a matcher that matches members.
                                          +
                                          +
                                          AbstractFuzzyMember() - Constructor for class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember
                                          +
                                           
                                          +
                                          AbstractFuzzyMember(AbstractFuzzyMember<T>) - Constructor for class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember
                                          +
                                           
                                          +
                                          AbstractFuzzyMember.Builder<T extends AbstractFuzzyMember<?>> - Class in com.comphenix.protocol.reflect.fuzzy
                                          +
                                          +
                                          Represents a builder of a fuzzy member contract.
                                          +
                                          +
                                          AbstractFuzzyMember.Builder() - Constructor for class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember.Builder
                                          +
                                           
                                          AbstractIntervalTree<TKey extends java.lang.Comparable<TKey>,TValue> - Class in com.comphenix.protocol.concurrency
                                          Represents a generic store of intervals and associated values.
                                          @@ -99,6 +119,10 @@
                                          Accepts a NBT visitor.
                                          +
                                          add(int) - Method in class com.comphenix.protocol.concurrency.IntegerSet
                                          +
                                          +
                                          Add the given element to the set, or do nothing if it already exists.
                                          +
                                          add(T) - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
                                          Inserts the given element in the proper location.
                                          @@ -151,25 +175,21 @@
                                          Add a value to a typed list by attempting to convert it to the nearest value.
                                          -
                                          addCustomData(Metrics.Plotter) - Method in class com.comphenix.protocol.metrics.Metrics
                                          -
                                          -
                                          Adds a custom data plotter to the default graph
                                          -
                                          addEndPoint(TKey, TValue, AbstractIntervalTree.State) - Method in class com.comphenix.protocol.concurrency.AbstractIntervalTree
                                           
                                          addGlobalParameter(String, Object) - Method in class com.comphenix.protocol.error.DetailedErrorReporter
                                          Adds the given global parameter.
                                          -
                                          addGraph(Metrics.Graph) - Method in class com.comphenix.protocol.metrics.Metrics
                                          -
                                          -
                                          Add a Graph object to BukkitMetrics that represents data for the plugin that should be sent to the backend
                                          -
                                          addListener(TListener, ListeningWhitelist) - Method in class com.comphenix.protocol.concurrency.AbstractConcurrentListenerMultimap
                                          Adds a listener to its requested list of packet recievers.
                                          -
                                          addPacketHandler(int) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
                                          +
                                          addPacketHandler(int) - Method in interface com.comphenix.protocol.injector.packet.PacketInjector
                                          +
                                          +
                                          Start intercepting packets with the given packet ID.
                                          +
                                          +
                                          addPacketHandler(int) - Method in interface com.comphenix.protocol.injector.player.PlayerInjectionHandler
                                          Add an underlying packet handler of the given ID.
                                          @@ -179,10 +199,6 @@
                                          Adds a packet listener.
                                          -
                                          addPlotter(Metrics.Plotter) - Method in class com.comphenix.protocol.metrics.Metrics.Graph
                                          -
                                          -
                                          Add a plotter to the graph, which will be used to plot entries
                                          -
                                          addPrefix(String, String) - Method in class com.comphenix.protocol.error.DetailedErrorReporter
                                          Adds the given prefix to every line in the text.
                                          @@ -203,6 +219,10 @@
                                          Supplies the cloner factories with necessary parameters.
                                          +
                                          and(AbstractFuzzyMatcher<T>) - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMatcher
                                          +
                                          +
                                          Require that this and the given matcher be TRUE.
                                          +
                                          andThen(Class<? extends Cloner>) - Method in class com.comphenix.protocol.reflect.cloning.AggregateCloner.Builder
                                          Add the next cloner that will be considered in turn.
                                          diff --git a/Javadoc/index-files/index-10.html b/Javadoc/index-files/index-10.html index 2b0164ac..54a880cf 100644 --- a/Javadoc/index-files/index-10.html +++ b/Javadoc/index-files/index-10.html @@ -2,9 +2,9 @@ - + K-Index - + diff --git a/Javadoc/index-files/index-11.html b/Javadoc/index-files/index-11.html index f9b8144b..b8604166 100644 --- a/Javadoc/index-files/index-11.html +++ b/Javadoc/index-files/index-11.html @@ -2,9 +2,9 @@ - + L-Index - + diff --git a/Javadoc/index-files/index-12.html b/Javadoc/index-files/index-12.html index 4e4bd02d..49c96e31 100644 --- a/Javadoc/index-files/index-12.html +++ b/Javadoc/index-files/index-12.html @@ -2,9 +2,9 @@ - + M-Index - + @@ -73,54 +73,86 @@
                                           
                                          MAP_CHUNK_BULK - Static variable in class com.comphenix.protocol.Packets.Server
                                           
                                          +
                                          matchAnyOf(Class<?>...) - Static method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMatchers
                                          +
                                          +
                                          Construct a class matcher that matches any of the given classes exactly.
                                          +
                                          +
                                          matchAnyOf(Set<Class<?>>) - Static method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMatchers
                                          +
                                          +
                                          Construct a class matcher that matches any of the given classes exactly.
                                          +
                                          +
                                          matchDerived(Class<?>) - Static method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMatchers
                                          +
                                          +
                                          Construct a class matcher that matches derived types of the given class.
                                          +
                                          +
                                          matchExact(Class<?>) - Static method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMatchers
                                          +
                                          +
                                          Construct a class matcher that matches types exactly.
                                          +
                                          +
                                          matchParent() - Static method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMatchers
                                          +
                                          +
                                          Match the parent class of a method, field or constructor.
                                          +
                                          +
                                          matchRegex(Pattern, int) - Static method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMatchers
                                          +
                                          +
                                          Construct a class matcher based on the canonical names of classes.
                                          +
                                          +
                                          matchRegex(String, int) - Static method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMatchers
                                          +
                                          +
                                          Construct a class matcher based on the canonical names of classes.
                                          +
                                          +
                                          matchSuper(Class<?>) - Static method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMatchers
                                          +
                                          +
                                          Construct a class matcher that matches super types of the given class.
                                          +
                                          maxErrorCount - Variable in class com.comphenix.protocol.error.DetailedErrorReporter
                                           
                                          +
                                          MAXIMUM_PACKET_ID - Static variable in class com.comphenix.protocol.Packets
                                          +
                                          +
                                          The highest possible packet ID.
                                          +
                                          +
                                          member - Variable in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember.Builder
                                          +
                                           
                                          members - Variable in class com.comphenix.protocol.reflect.IntEnum
                                           
                                          +
                                          method(AbstractFuzzyMatcher<MethodInfo>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyClassContract.Builder
                                          +
                                          +
                                          Add a new method contract.
                                          +
                                          +
                                          method(FuzzyMethodContract.Builder) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyClassContract.Builder
                                          +
                                          +
                                          Add a new method contract via a builder.
                                          +
                                          +
                                          MethodInfo - Class in com.comphenix.protocol.reflect
                                          +
                                          +
                                          Represents a method or a constructor.
                                          +
                                          +
                                          MethodInfo() - Constructor for class com.comphenix.protocol.reflect.MethodInfo
                                          +
                                           
                                          MethodUtils - Class in com.comphenix.protocol.reflect
                                          Utility reflection methods focussed on methods in general rather than properties in particular.
                                          MethodUtils() - Constructor for class com.comphenix.protocol.reflect.MethodUtils
                                           
                                          -
                                          Metrics - Class in com.comphenix.protocol.metrics
                                          -
                                          -
                                          The metrics class obtains data about a plugin and submits statistics about it to the metrics backend.
                                          -
                                          -
                                          Metrics(Plugin) - Constructor for class com.comphenix.protocol.metrics.Metrics
                                          -
                                           
                                          -
                                          Metrics.Graph - Class in com.comphenix.protocol.metrics
                                          -
                                          -
                                          Represents a custom graph on the website
                                          -
                                          -
                                          Metrics.Plotter - Class in com.comphenix.protocol.metrics
                                          -
                                          -
                                          Interface used to collect custom data for a plugin
                                          -
                                          -
                                          Metrics.Plotter() - Constructor for class com.comphenix.protocol.metrics.Metrics.Plotter
                                          -
                                          -
                                          Construct a plotter with the default plot name
                                          -
                                          -
                                          Metrics.Plotter(String) - Constructor for class com.comphenix.protocol.metrics.Metrics.Plotter
                                          -
                                          -
                                          Construct a plotter with a specific plot name
                                          -
                                          MINECRAFT_OBJECT - Static variable in class com.comphenix.protocol.utility.MinecraftReflection
                                          -
                                          Regular expression that matches a Minecraft object.
                                          +
                                          Deprecated.
                                          MinecraftReflection - Class in com.comphenix.protocol.utility
                                          Methods and constants specifically used in conjuction with reflecting Minecraft object.
                                          -
                                          MinecraftReflection() - Constructor for class com.comphenix.protocol.utility.MinecraftReflection
                                          -
                                           
                                          MOB_EFFECT - Static variable in class com.comphenix.protocol.Packets.Server
                                           
                                          MOB_SPAWN - Static variable in class com.comphenix.protocol.Packets.Server
                                           
                                          modifier - Variable in class com.comphenix.protocol.wrappers.WrappedWatchableObject
                                           
                                          +
                                          modifiersBanned - Variable in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember
                                          +
                                           
                                          +
                                          modifiersRequired - Variable in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember
                                          +
                                           
                                          modify(int, Function<TField, TField>) - Method in class com.comphenix.protocol.reflect.StructureModifier
                                          Correctly modifies the value of a field.
                                          diff --git a/Javadoc/index-files/index-13.html b/Javadoc/index-files/index-13.html index 6f0fa351..343c96e7 100644 --- a/Javadoc/index-files/index-13.html +++ b/Javadoc/index-files/index-13.html @@ -2,9 +2,9 @@ - + N-Index - + @@ -71,6 +71,32 @@
                                           
                                          NAMED_SOUND_EFFECT - Static variable in class com.comphenix.protocol.Packets.Server
                                           
                                          +
                                          nameExact(String) - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember.Builder
                                          +
                                          +
                                          Set the exact name of the member we are matching.
                                          +
                                          +
                                          nameExact(String) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract.Builder
                                          +
                                           
                                          +
                                          nameExact(String) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
                                          +
                                           
                                          +
                                          nameRegex(String) - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember.Builder
                                          +
                                          +
                                          Set the regular expresson that matches a members name.
                                          +
                                          +
                                          nameRegex(Pattern) - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember.Builder
                                          +
                                          +
                                          Set the regular expression pattern that matches a members name.
                                          +
                                          +
                                          nameRegex - Variable in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember
                                          +
                                           
                                          +
                                          nameRegex(String) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract.Builder
                                          +
                                           
                                          +
                                          nameRegex(Pattern) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract.Builder
                                          +
                                           
                                          +
                                          nameRegex(String) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
                                          +
                                           
                                          +
                                          nameRegex(Pattern) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
                                          +
                                           
                                          NbtBase<TType> - Interface in com.comphenix.protocol.wrappers.nbt
                                          Represents a generic container for an NBT element.
                                          @@ -127,20 +153,61 @@
                                          Indicates that this NBT wraps an underlying net.minecraft.server instance.
                                          -
                                          NetworkServerInjector - Class in com.comphenix.protocol.injector.player
                                          +
                                          NetworkObjectInjector - Class in com.comphenix.protocol.injector.player
                                          -
                                          Represents a player hook into the NetServerHandler class.
                                          +
                                          Injection method that overrides the NetworkHandler itself, and its queue-method.
                                          -
                                          NetworkServerInjector(ClassLoader, ErrorReporter, Player, ListenerInvoker, IntegerSet, InjectedServerConnection) - Constructor for class com.comphenix.protocol.injector.player.NetworkServerInjector
                                          +
                                          NetworkObjectInjector(ClassLoader, ErrorReporter, Player, ListenerInvoker, IntegerSet) - Constructor for class com.comphenix.protocol.injector.player.NetworkObjectInjector
                                          +
                                          +
                                          Create a new network object injector.
                                          +
                                          +
                                          newBuilder() - Static method in class com.comphenix.protocol.injector.packet.PacketInjectorBuilder
                                          +
                                          +
                                          Retrieve a new packet injector builder.
                                          +
                                          +
                                          newBuilder() - Static method in class com.comphenix.protocol.injector.player.PlayerInjectorBuilder
                                           
                                          newBuilder() - Static method in class com.comphenix.protocol.reflect.cloning.AggregateCloner
                                          Begins constructing a new aggregate cloner.
                                          +
                                          newBuilder() - Static method in class com.comphenix.protocol.reflect.fuzzy.FuzzyClassContract
                                          +
                                          +
                                          Construct a new fuzzy class contract builder.
                                          +
                                          +
                                          newBuilder() - Static method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract
                                          +
                                          +
                                          Return a new fuzzy field contract builder.
                                          +
                                          +
                                          newBuilder() - Static method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract
                                          +
                                          +
                                          Return a method contract builder.
                                          +
                                          newPacket(int) - Static method in class com.comphenix.protocol.injector.StructureCache
                                          Creates an empty Minecraft packet of the given ID.
                                          +
                                          NotConstructableException - Exception in com.comphenix.protocol.reflect.instances
                                          +
                                          +
                                          Invoked when a instance provider indicates that a given type cannot or should not be + constructed under any circumstances.
                                          +
                                          +
                                          NotConstructableException() - Constructor for exception com.comphenix.protocol.reflect.instances.NotConstructableException
                                          +
                                          +
                                          Construct a new not constructable exception.
                                          +
                                          +
                                          NotConstructableException(String) - Constructor for exception com.comphenix.protocol.reflect.instances.NotConstructableException
                                          +
                                          +
                                          Construct a new not constructable exception with a custom message.
                                          +
                                          +
                                          NotConstructableException(String, Throwable) - Constructor for exception com.comphenix.protocol.reflect.instances.NotConstructableException
                                          +
                                          +
                                          Construct a new not constructable exception with a custom message and cause.
                                          +
                                          +
                                          NotConstructableException(Throwable) - Constructor for exception com.comphenix.protocol.reflect.instances.NotConstructableException
                                          +
                                          +
                                          Construct a new not constructable exception with a custom cause.
                                          +
                                          NullableCloner - Class in com.comphenix.protocol.reflect.cloning
                                          Creates a cloner wrapper that accepts and clones NULL values.
                                          diff --git a/Javadoc/index-files/index-14.html b/Javadoc/index-files/index-14.html index 7beb889b..adf3a626 100644 --- a/Javadoc/index-files/index-14.html +++ b/Javadoc/index-files/index-14.html @@ -2,9 +2,9 @@ - + O-Index - + @@ -155,10 +155,6 @@
                                          onLoad() - Method in class com.comphenix.protocol.ProtocolLibrary
                                           
                                          -
                                          onOptOut() - Method in class com.comphenix.protocol.metrics.Metrics.Graph
                                          -
                                          -
                                          Called when the server owner decides to opt-out of BukkitMetrics while the server is running.
                                          -
                                          onPacketReceiving(PacketEvent) - Method in class com.comphenix.protocol.events.PacketAdapter
                                           
                                          onPacketReceiving(PacketEvent) - Method in interface com.comphenix.protocol.events.PacketListener
                                          @@ -173,6 +169,10 @@
                                          OPEN_WINDOW - Static variable in class com.comphenix.protocol.Packets.Server
                                           
                                          +
                                          or(AbstractFuzzyMatcher<T>) - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMatcher
                                          +
                                          +
                                          Require that either this or the other given matcher be TRUE.
                                          +
                                          ORIGIN - Static variable in class com.comphenix.protocol.wrappers.ChunkPosition
                                          Represents the null (0, 0, 0) origin.
                                          diff --git a/Javadoc/index-files/index-15.html b/Javadoc/index-files/index-15.html index 342de28d..3db9bd06 100644 --- a/Javadoc/index-files/index-15.html +++ b/Javadoc/index-files/index-15.html @@ -2,9 +2,9 @@ - + P-Index - + @@ -143,10 +143,40 @@
                                          Sets the inject hook type.
                                          +
                                          PacketInjector - Interface in com.comphenix.protocol.injector.packet
                                          +
                                          +
                                          Represents a incoming packet injector.
                                          +
                                          +
                                          PacketInjectorBuilder - Class in com.comphenix.protocol.injector.packet
                                          +
                                          +
                                          A builder responsible for creating incoming packet injectors.
                                          +
                                          +
                                          PacketInjectorBuilder() - Constructor for class com.comphenix.protocol.injector.packet.PacketInjectorBuilder
                                          +
                                           
                                          PacketListener - Interface in com.comphenix.protocol.events
                                          Represents a listener that recieves notifications when packets are sent or recieved.
                                          +
                                          packetListeners - Variable in class com.comphenix.protocol.injector.player.PlayerInjectorBuilder
                                          +
                                           
                                          +
                                          packetListeners(Set<PacketListener>) - Method in class com.comphenix.protocol.injector.player.PlayerInjectorBuilder
                                          +
                                          +
                                          Set the set of packet listeners.
                                          +
                                          +
                                          packetQueued(Object, Object, Object) - Method in class com.comphenix.protocol.injector.spigot.SpigotPacketInjector
                                          +
                                           
                                          +
                                          packetReceived(Object, Object, Object) - Method in class com.comphenix.protocol.injector.spigot.SpigotPacketInjector
                                          +
                                           
                                          +
                                          packetRecieved(PacketContainer, Player) - Method in interface com.comphenix.protocol.injector.packet.PacketInjector
                                          +
                                          +
                                          Let the packet listeners process the given packet.
                                          +
                                          +
                                          PacketRegistry - Class in com.comphenix.protocol.injector.packet
                                          +
                                          +
                                          Static packet registry in Minecraft.
                                          +
                                          +
                                          PacketRegistry() - Constructor for class com.comphenix.protocol.injector.packet.PacketRegistry
                                          +
                                           
                                          Packets - Class in com.comphenix.protocol
                                          List of known packet IDs since 1.3.2.
                                          @@ -165,6 +195,34 @@
                                          Represents a object capable of sending or receiving packets.
                                          +
                                          parameterCount(int) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
                                          +
                                          +
                                          Set the expected number of parameters in the matching method.
                                          +
                                          +
                                          parameterExactType(Class<?>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
                                          +
                                          +
                                          Add a new required parameter by type for any matching method.
                                          +
                                          +
                                          parameterExactType(Class<?>, int) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
                                          +
                                          +
                                          Add a new required parameter by type and position for any matching method.
                                          +
                                          +
                                          parameterMatches(AbstractFuzzyMatcher<Class<?>>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
                                          +
                                          +
                                          Add a new required parameter whose type must match the given class matcher.
                                          +
                                          +
                                          parameterMatches(AbstractFuzzyMatcher<Class<?>>, int) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
                                          +
                                          +
                                          Add a new required parameter whose type must match the given class matcher and index.
                                          +
                                          +
                                          parameterSuperOf(Class<?>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
                                          +
                                          +
                                          Add a new required parameter whose type must be a superclass of the given type.
                                          +
                                          +
                                          parameterSuperOf(Class<?>, int) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
                                          +
                                          +
                                          Add a new required parameter whose type must be a superclass of the given type.
                                          +
                                          PICKUP_SPAWN - Static variable in class com.comphenix.protocol.Packets.Server
                                          Deprecated.
                                          @@ -187,11 +245,19 @@
                                           
                                          PLAYER_POSITION - Static variable in class com.comphenix.protocol.Packets.Server
                                           
                                          -
                                          PlayerInjectionHandler - Class in com.comphenix.protocol.injector.player
                                          +
                                          playerInjection - Variable in class com.comphenix.protocol.injector.packet.PacketInjectorBuilder
                                          +
                                           
                                          +
                                          playerInjection(PlayerInjectionHandler) - Method in class com.comphenix.protocol.injector.packet.PacketInjectorBuilder
                                          -
                                          Responsible for injecting into a player's sendPacket method.
                                          +
                                          The packet stream invoker.
                                          -
                                          PlayerInjectionHandler(ClassLoader, ErrorReporter, Predicate<GamePhase>, ListenerInvoker, Set<PacketListener>, Server) - Constructor for class com.comphenix.protocol.injector.player.PlayerInjectionHandler
                                          +
                                          PlayerInjectionHandler - Interface in com.comphenix.protocol.injector.player
                                          +
                                           
                                          +
                                          PlayerInjectorBuilder - Class in com.comphenix.protocol.injector.player
                                          +
                                          +
                                          Constructor for different player injectors.
                                          +
                                          +
                                          PlayerInjectorBuilder() - Constructor for class com.comphenix.protocol.injector.player.PlayerInjectorBuilder
                                           
                                          PlayerLoggedOutException - Exception in com.comphenix.protocol.injector
                                          @@ -211,14 +277,16 @@
                                           
                                          PLUGIN_NAME - Static variable in class com.comphenix.protocol.error.DetailedErrorReporter
                                           
                                          -
                                          pluginFile(String) - Method in class com.comphenix.protocol.metrics.Updater
                                          -
                                          -
                                          Check if the name of a jar is one of the plugins currently installed, used for extracting the correct files out of a zip.
                                          -
                                          pluginReference - Variable in class com.comphenix.protocol.error.DetailedErrorReporter
                                           
                                          prefix - Variable in class com.comphenix.protocol.error.DetailedErrorReporter
                                           
                                          +
                                          prepareBuild() - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember
                                          +
                                          +
                                          Called before a builder is building a member and copying its state.
                                          +
                                          +
                                          prepareBuild() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract
                                          +
                                           
                                          PrettyPrinter - Class in com.comphenix.protocol.reflect
                                          Used to print the content of an arbitrary class.
                                          @@ -249,7 +317,7 @@
                                          PrioritizedListener(TListener, ListenerPriority) - Constructor for class com.comphenix.protocol.injector.PrioritizedListener
                                           
                                          -
                                          processPacket(Player, Object) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
                                          +
                                          processPacket(Player, Object) - Method in interface com.comphenix.protocol.injector.player.PlayerInjectionHandler
                                          Process a packet as if it were sent by the given player.
                                          diff --git a/Javadoc/index-files/index-16.html b/Javadoc/index-files/index-16.html index bca497d2..2214c199 100644 --- a/Javadoc/index-files/index-16.html +++ b/Javadoc/index-files/index-16.html @@ -2,9 +2,9 @@ - +R-Index - + @@ -137,6 +137,10 @@
                                          How far we will recurse.
                                          +
                                          register(Plugin) - Method in class com.comphenix.protocol.injector.spigot.SpigotPacketInjector
                                          +
                                          +
                                          Register the Spigot packet injector.
                                          +
                                          registerAll() - Method in class com.comphenix.protocol.reflect.IntEnum
                                          Registers every public int field as a member.
                                          @@ -185,6 +189,10 @@
                                          Removes every interval that intersects with the given range.
                                          +
                                          remove(int) - Method in class com.comphenix.protocol.concurrency.IntegerSet
                                          +
                                          +
                                          Remove the given element from the set, or do nothing if it's already removed.
                                          +
                                          remove(Object) - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
                                          Removes from the list by making a new list with every element except the one given.
                                          @@ -209,7 +217,11 @@
                                          Remove a given object from the underlying DataWatcher.
                                          -
                                          removePacketHandler(int) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
                                          +
                                          removePacketHandler(int) - Method in interface com.comphenix.protocol.injector.packet.PacketInjector
                                          +
                                          +
                                          Stop intercepting packets with the given packet ID.
                                          +
                                          +
                                          removePacketHandler(int) - Method in interface com.comphenix.protocol.injector.player.PlayerInjectionHandler
                                          Remove an underlying packet handler of ths ID.
                                          @@ -229,16 +241,24 @@
                                          Clean up after a given player has logged out.
                                          -
                                          removePlotter(Metrics.Plotter) - Method in class com.comphenix.protocol.metrics.Metrics.Graph
                                          -
                                          -
                                          Remove a plotter from the graph
                                          -
                                          reportDetailed(Object, String, Throwable, Object...) - Method in class com.comphenix.protocol.error.DetailedErrorReporter
                                           
                                          reportDetailed(Object, String, Throwable, Object...) - Method in interface com.comphenix.protocol.error.ErrorReporter
                                          Prints a detailed error report about an unhandled exception.
                                          +
                                          reporter - Variable in class com.comphenix.protocol.injector.packet.PacketInjectorBuilder
                                          +
                                           
                                          +
                                          reporter(ErrorReporter) - Method in class com.comphenix.protocol.injector.packet.PacketInjectorBuilder
                                          +
                                          +
                                          The error reporter used by the created injector.
                                          +
                                          +
                                          reporter - Variable in class com.comphenix.protocol.injector.player.PlayerInjectorBuilder
                                          +
                                           
                                          +
                                          reporter(ErrorReporter) - Method in class com.comphenix.protocol.injector.player.PlayerInjectorBuilder
                                          +
                                          +
                                          The error reporter used by the created injector.
                                          +
                                          reportMinimal(Plugin, String, Throwable, Object...) - Method in class com.comphenix.protocol.error.DetailedErrorReporter
                                           
                                          reportMinimal(Plugin, String, Throwable) - Method in class com.comphenix.protocol.error.DetailedErrorReporter
                                          @@ -265,10 +285,14 @@
                                          Prints a warning message from the current plugin.
                                          -
                                          reset() - Method in class com.comphenix.protocol.metrics.Metrics.Plotter
                                          +
                                          requireModifier(int) - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember.Builder
                                          -
                                          Called after the website graphs have been updated
                                          +
                                          Add a given bit-field of required modifiers for every matching member.
                                          +
                                          requireModifier(int) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract.Builder
                                          +
                                           
                                          +
                                          requireModifier(int) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
                                          +
                                           
                                          RESPAWN - Static variable in class com.comphenix.protocol.Packets.Client
                                          Deprecated.
                                          @@ -277,6 +301,22 @@
                                           
                                          retainAll(Collection<?>) - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
                                           
                                          +
                                          returnDerivedOf(Class<?>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
                                          +
                                          +
                                          Set the expected super class of the return type for every matching method.
                                          +
                                          +
                                          returnTypeExact(Class<?>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
                                          +
                                          +
                                          Set the return type of a matching method exactly.
                                          +
                                          +
                                          returnTypeMatches(AbstractFuzzyMatcher<Class<?>>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
                                          +
                                          +
                                          Set a matcher that must match the return type of a matching method.
                                          +
                                          +
                                          returnTypeVoid() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
                                          +
                                          +
                                          Require a void method.
                                          +
                                          revertValue() - Method in class com.comphenix.protocol.reflect.VolatileField
                                          Revert to the previously set value.
                                          diff --git a/Javadoc/index-files/index-17.html b/Javadoc/index-files/index-17.html index 5fddfdc4..7542b059 100644 --- a/Javadoc/index-files/index-17.html +++ b/Javadoc/index-files/index-17.html @@ -2,9 +2,9 @@ - + S-Index - + @@ -83,12 +83,16 @@
                                          Ensure that the given structure modifier is eventually compiled.
                                          -
                                          scheduleDataInputRefresh(Player) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
                                          +
                                          scheduleDataInputRefresh(Player) - Method in interface com.comphenix.protocol.injector.player.PlayerInjectionHandler
                                          Inform the current PlayerInjector that it should update the DataInputStream next.
                                          scheduler - Variable in class com.comphenix.protocol.injector.DelayedSingleTask
                                           
                                          +
                                          sealed - Variable in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember
                                          +
                                          +
                                          Whether or not this contract can be modified.
                                          +
                                          SECOND_LEVEL_PREFIX - Static variable in class com.comphenix.protocol.error.DetailedErrorReporter
                                           
                                          sendingWhitelist - Variable in class com.comphenix.protocol.events.PacketAdapter
                                          @@ -105,9 +109,9 @@
                                           
                                          sendServerPacket(Player, PacketContainer, boolean) - Method in class com.comphenix.protocol.injector.PacketFilterManager
                                           
                                          -
                                          sendServerPacket(Object, boolean) - Method in class com.comphenix.protocol.injector.player.NetworkServerInjector
                                          +
                                          sendServerPacket(Object, boolean) - Method in class com.comphenix.protocol.injector.player.NetworkObjectInjector
                                           
                                          -
                                          sendServerPacket(Player, PacketContainer, boolean) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
                                          +
                                          sendServerPacket(Player, PacketContainer, boolean) - Method in interface com.comphenix.protocol.injector.player.PlayerInjectionHandler
                                          Send the given packet to the given reciever.
                                          @@ -143,6 +147,12 @@
                                          Serialize an item stack as a base-64 encoded string.
                                          +
                                          server - Variable in class com.comphenix.protocol.injector.player.PlayerInjectorBuilder
                                          +
                                           
                                          +
                                          server(Server) - Method in class com.comphenix.protocol.injector.player.PlayerInjectorBuilder
                                          +
                                          +
                                          Set the Bukkit server used for scheduling.
                                          +
                                          SET_CREATIVE_SLOT - Static variable in class com.comphenix.protocol.Packets.Client
                                           
                                          SET_CREATIVE_SLOT - Static variable in class com.comphenix.protocol.Packets.Server
                                          @@ -250,11 +260,11 @@
                                          Sets how the server packets are read.
                                          -
                                          setPlayerHook(PacketFilterManager.PlayerInjectHooks) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
                                          +
                                          setPlayerHook(PacketFilterManager.PlayerInjectHooks) - Method in interface com.comphenix.protocol.injector.player.PlayerInjectionHandler
                                          Sets how the server packets are read.
                                          -
                                          setPlayerHook(GamePhase, PacketFilterManager.PlayerInjectHooks) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
                                          +
                                          setPlayerHook(GamePhase, PacketFilterManager.PlayerInjectHooks) - Method in interface com.comphenix.protocol.injector.player.PlayerInjectionHandler
                                          Sets how the server packets are read.
                                          @@ -378,6 +388,14 @@
                                           
                                          SPAWN_POSITION - Static variable in class com.comphenix.protocol.Packets.Server
                                           
                                          +
                                          SpigotPacketInjector - Class in com.comphenix.protocol.injector.spigot
                                          +
                                          +
                                          Offload all the work to Spigot, if possible.
                                          +
                                          +
                                          SpigotPacketInjector(ClassLoader, ErrorReporter, ListenerInvoker, Server) - Constructor for class com.comphenix.protocol.injector.spigot.SpigotPacketInjector
                                          +
                                          +
                                          Create a new spigot injector.
                                          +
                                          start() - Method in class com.comphenix.protocol.async.AsyncListenerHandler
                                          Start a singler worker thread handling the asynchronous listener.
                                          @@ -390,18 +408,10 @@
                                          Start multiple worker threads for this listener.
                                          -
                                          start() - Method in class com.comphenix.protocol.metrics.Metrics
                                          -
                                          -
                                          Start measuring statistics.
                                          -
                                          state - Variable in class com.comphenix.protocol.concurrency.AbstractIntervalTree.EndPoint
                                           
                                          STATISTIC - Static variable in class com.comphenix.protocol.Packets.Server
                                           
                                          -
                                          Statistics - Class in com.comphenix.protocol.metrics
                                          -
                                           
                                          -
                                          Statistics(Plugin) - Constructor for class com.comphenix.protocol.metrics.Statistics
                                          -
                                           
                                          stop() - Method in class com.comphenix.protocol.async.AsyncListenerHandler
                                          Stop a worker thread.
                                          diff --git a/Javadoc/index-files/index-18.html b/Javadoc/index-files/index-18.html index 97bc6f99..f9b40dcc 100644 --- a/Javadoc/index-files/index-18.html +++ b/Javadoc/index-files/index-18.html @@ -2,9 +2,9 @@ - + T-Index - + @@ -87,6 +87,10 @@
                                           
                                          toArray(T[]) - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
                                           
                                          +
                                          toGenericString() - Method in class com.comphenix.protocol.reflect.MethodInfo
                                          +
                                          +
                                          Returns a string describing this method or constructor, including type parameters.
                                          +
                                          toNodeValue(Object, NbtType) - Method in class com.comphenix.protocol.wrappers.nbt.io.NbtConfigurationSerializer
                                           
                                          toNonPrimitiveClass(Class) - Static method in class com.comphenix.protocol.reflect.MethodUtils
                                          @@ -97,14 +101,24 @@
                                          Create an immutable chunk position from this coordinate.
                                          +
                                          toSet() - Method in class com.comphenix.protocol.concurrency.IntegerSet
                                          +
                                          +
                                          Convert the current IntegerSet to an equivalent HashSet.
                                          +
                                          toString() - Method in class com.comphenix.protocol.concurrency.AbstractIntervalTree.Entry
                                           
                                          toString() - Method in class com.comphenix.protocol.events.ListeningWhitelist
                                           
                                          toString() - Method in class com.comphenix.protocol.events.PacketAdapter
                                           
                                          -
                                          toString() - Method in enum com.comphenix.protocol.metrics.Updater.UpdateResult
                                          +
                                          toString() - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember
                                           
                                          +
                                          toString() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyClassContract
                                          +
                                           
                                          +
                                          toString() - Method in class com.comphenix.protocol.reflect.MethodInfo
                                          +
                                          +
                                          Returns a string describing this method or constructor
                                          +
                                          toString() - Method in class com.comphenix.protocol.wrappers.WrappedWatchableObject
                                           
                                          toVector() - Method in class com.comphenix.protocol.wrappers.ChunkPosition
                                          @@ -123,6 +137,14 @@
                                          The default delimiter that is used to store the data type in YAML.
                                          +
                                          typeDerivedOf(Class<?>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract.Builder
                                          +
                                           
                                          +
                                          typeExact(Class<?>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract.Builder
                                          +
                                           
                                          +
                                          typeMatches(AbstractFuzzyMatcher<Class<?>>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract.Builder
                                          +
                                           
                                          +
                                          typeSuperOf(Class<?>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract.Builder
                                          +
                                           
                                          A B C D E F G H I K L M N O P R S T U V W X Y Z  diff --git a/Javadoc/index-files/index-19.html b/Javadoc/index-files/index-19.html index b04bc0b2..bcd8f5a1 100644 --- a/Javadoc/index-files/index-19.html +++ b/Javadoc/index-files/index-19.html @@ -2,9 +2,9 @@ - +U-Index - + @@ -67,19 +67,19 @@

                                          U

                                          +
                                          undoCancel(Integer, Object) - Method in interface com.comphenix.protocol.injector.packet.PacketInjector
                                          +
                                          +
                                          Undo a packet cancel.
                                          +
                                          uninitializePlayers(Player[]) - Method in class com.comphenix.protocol.injector.PacketFilterManager
                                          Uninitialize the packet injection of every player.
                                          -
                                          uninjectPlayer(Player) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
                                          +
                                          uninjectPlayer(Player) - Method in interface com.comphenix.protocol.injector.player.PlayerInjectionHandler
                                          Unregisters the given player.
                                          -
                                          uninjectPlayer(Player, boolean) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
                                          -
                                          -
                                          Unregisters the given player.
                                          -
                                          -
                                          uninjectPlayer(InetSocketAddress) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
                                          +
                                          uninjectPlayer(InetSocketAddress) - Method in interface com.comphenix.protocol.injector.player.PlayerInjectionHandler
                                          Unregisters a player by the given address.
                                          @@ -113,10 +113,6 @@
                                          Convert the given wrapped object to the equivalent net.minecraft.server object.
                                          -
                                          update(Updater.UpdateType, boolean) - Method in class com.comphenix.protocol.metrics.Updater
                                          -
                                          -
                                          Update the plugin.
                                          -
                                          UPDATE_HEALTH - Static variable in class com.comphenix.protocol.Packets.Server
                                           
                                          UPDATE_SIGN - Static variable in class com.comphenix.protocol.Packets.Client
                                          @@ -131,22 +127,6 @@
                                          Completely resend an entity to a list of clients.
                                          -
                                          Updater - Class in com.comphenix.protocol.metrics
                                          -
                                          -
                                          Check dev.bukkit.org to find updates for a given plugin, and download the updates if needed.
                                          -
                                          -
                                          Updater(Plugin, Logger, String, File, String) - Constructor for class com.comphenix.protocol.metrics.Updater
                                          -
                                          -
                                          Initialize the updater
                                          -
                                          -
                                          Updater.UpdateResult - Enum in com.comphenix.protocol.metrics
                                          -
                                          -
                                          Gives the dev the result of the update process.
                                          -
                                          -
                                          Updater.UpdateType - Enum in com.comphenix.protocol.metrics
                                          -
                                          -
                                          Allows the dev to specify the type of update that will be run.
                                          -
                                          USE_ENTITY - Static variable in class com.comphenix.protocol.Packets.Client
                                           
                                          useStructureCompiler - Variable in class com.comphenix.protocol.reflect.StructureModifier
                                          diff --git a/Javadoc/index-files/index-2.html b/Javadoc/index-files/index-2.html index 391c1126..26688330 100644 --- a/Javadoc/index-files/index-2.html +++ b/Javadoc/index-files/index-2.html @@ -2,9 +2,9 @@ - + B-Index - + @@ -79,6 +79,24 @@
                                          Initialize a background compiler utilizing the given thread pool.
                                          +
                                          banModifier(int) - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember.Builder
                                          +
                                          +
                                          Add a given bit-field of modifers that will skip or ignore members.
                                          +
                                          +
                                          banModifier(int) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract.Builder
                                          +
                                           
                                          +
                                          banModifier(int) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
                                          +
                                           
                                          +
                                          BannedGenerator - Class in com.comphenix.protocol.reflect.instances
                                          +
                                          +
                                          Generator that ensures certain types will never be created.
                                          +
                                          +
                                          BannedGenerator(AbstractFuzzyMatcher<Class<?>>) - Constructor for class com.comphenix.protocol.reflect.instances.BannedGenerator
                                          +
                                          +
                                          Construct a generator that ensures any class that matches the given matcher is never constructed.
                                          +
                                          +
                                          BannedGenerator(Class<?>...) - Constructor for class com.comphenix.protocol.reflect.instances.BannedGenerator
                                          +
                                           
                                          BED - Static variable in class com.comphenix.protocol.Packets.Server
                                           
                                          BLOCK_BREAK_ANIMATION - Static variable in class com.comphenix.protocol.Packets.Server
                                          @@ -111,6 +129,24 @@
                                          Build a new aggregate cloner using the supplied values.
                                          +
                                          build() - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember.Builder
                                          +
                                          +
                                          Build a new instance of this type.
                                          +
                                          +
                                          build() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyClassContract.Builder
                                          +
                                           
                                          +
                                          build() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract.Builder
                                          +
                                           
                                          +
                                          build() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
                                          +
                                           
                                          +
                                          buildHandler() - Method in class com.comphenix.protocol.injector.player.PlayerInjectorBuilder
                                          +
                                          +
                                          Construct the injection handler.
                                          +
                                          +
                                          buildInjector() - Method in class com.comphenix.protocol.injector.packet.PacketInjectorBuilder
                                          +
                                          +
                                          Create a packet injector using the provided fields or the default values.
                                          +
                                          BukkitCloner - Class in com.comphenix.protocol.reflect.cloning
                                          Represents an object that can clone a specific list of Bukkit- and Minecraft-related objects.
                                          diff --git a/Javadoc/index-files/index-20.html b/Javadoc/index-files/index-20.html index 5e7a9f01..174fe803 100644 --- a/Javadoc/index-files/index-20.html +++ b/Javadoc/index-files/index-20.html @@ -2,9 +2,9 @@ - + V-Index - + @@ -89,14 +89,6 @@
                                          Returns the enum constant of this type with the specified name.
                                          -
                                          valueOf(String) - Static method in enum com.comphenix.protocol.metrics.Updater.UpdateResult
                                          -
                                          -
                                          Returns the enum constant of this type with the specified name.
                                          -
                                          -
                                          valueOf(String) - Static method in enum com.comphenix.protocol.metrics.Updater.UpdateType
                                          -
                                          -
                                          Returns the enum constant of this type with the specified name.
                                          -
                                          valueOf(String) - Static method in class com.comphenix.protocol.Packets
                                          Find a packet by name.
                                          @@ -140,16 +132,6 @@ the order they are declared.
                                          Returns an array containing the constants of this enum type, in the order they are declared.
                                          -
                                          values() - Static method in enum com.comphenix.protocol.metrics.Updater.UpdateResult
                                          -
                                          -
                                          Returns an array containing the constants of this enum type, in -the order they are declared.
                                          -
                                          -
                                          values() - Static method in enum com.comphenix.protocol.metrics.Updater.UpdateType
                                          -
                                          -
                                          Returns an array containing the constants of this enum type, in -the order they are declared.
                                          -
                                          values() - Method in class com.comphenix.protocol.reflect.IntEnum
                                          Retrieve the ID of every registered member.
                                          diff --git a/Javadoc/index-files/index-21.html b/Javadoc/index-files/index-21.html index 275888cb..d5198885 100644 --- a/Javadoc/index-files/index-21.html +++ b/Javadoc/index-files/index-21.html @@ -2,9 +2,9 @@ - + W-Index - + diff --git a/Javadoc/index-files/index-22.html b/Javadoc/index-files/index-22.html index e782ab92..9eab66b0 100644 --- a/Javadoc/index-files/index-22.html +++ b/Javadoc/index-files/index-22.html @@ -2,9 +2,9 @@ - + X-Index - + diff --git a/Javadoc/index-files/index-23.html b/Javadoc/index-files/index-23.html index f6ae3614..4f5075d7 100644 --- a/Javadoc/index-files/index-23.html +++ b/Javadoc/index-files/index-23.html @@ -2,9 +2,9 @@ - + Y-Index - + diff --git a/Javadoc/index-files/index-24.html b/Javadoc/index-files/index-24.html index b653c54b..738df8bd 100644 --- a/Javadoc/index-files/index-24.html +++ b/Javadoc/index-files/index-24.html @@ -2,9 +2,9 @@ - + Z-Index - + diff --git a/Javadoc/index-files/index-3.html b/Javadoc/index-files/index-3.html index 7b26d292..c88249c9 100644 --- a/Javadoc/index-files/index-3.html +++ b/Javadoc/index-files/index-3.html @@ -2,9 +2,9 @@ - + C-Index - + @@ -67,6 +67,18 @@

                                          C

                                          +
                                          calculateRoundNumber() - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMatcher
                                          +
                                          +
                                          Calculate the round number indicating when this matcher should be applied.
                                          +
                                          +
                                          calculateRoundNumber() - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember
                                          +
                                           
                                          +
                                          calculateRoundNumber() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyClassContract
                                          +
                                           
                                          +
                                          calculateRoundNumber() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract
                                          +
                                           
                                          +
                                          calculateRoundNumber() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract
                                          +
                                           
                                          cancel() - Method in class com.comphenix.protocol.async.AsyncListenerHandler
                                          Cancel the handler.
                                          @@ -95,8 +107,12 @@
                                           
                                          canClone(Object) - Method in class com.comphenix.protocol.reflect.cloning.NullableCloner
                                           
                                          -
                                          canInject(GamePhase) - Method in class com.comphenix.protocol.injector.player.NetworkServerInjector
                                          +
                                          canInject(GamePhase) - Method in class com.comphenix.protocol.injector.player.NetworkObjectInjector
                                           
                                          +
                                          canUseSpigotListener() - Static method in class com.comphenix.protocol.injector.spigot.SpigotPacketInjector
                                          +
                                          +
                                          Determine if there is a Spigot packet listener.
                                          +
                                          CHAT - Static variable in class com.comphenix.protocol.Packets.Client
                                           
                                          CHAT - Static variable in class com.comphenix.protocol.Packets.Server
                                          @@ -107,13 +123,13 @@
                                          ChatExtensions(ProtocolManager) - Constructor for class com.comphenix.protocol.utility.ChatExtensions
                                           
                                          -
                                          checkListener(PacketListener) - Method in class com.comphenix.protocol.injector.player.NetworkServerInjector
                                          +
                                          checkListener(PacketListener) - Method in class com.comphenix.protocol.injector.player.NetworkObjectInjector
                                           
                                          -
                                          checkListener(Set<PacketListener>) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
                                          +
                                          checkListener(Set<PacketListener>) - Method in interface com.comphenix.protocol.injector.player.PlayerInjectionHandler
                                          Determine if the given listeners are valid.
                                          -
                                          checkListener(PacketListener) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
                                          +
                                          checkListener(PacketListener) - Method in interface com.comphenix.protocol.injector.player.PlayerInjectionHandler
                                          Determine if a listener is valid or not.
                                          @@ -129,7 +145,19 @@
                                          Construct an immutable integer 3D vector from a mutable Bukkit vector.
                                          -
                                          cleanHook() - Method in class com.comphenix.protocol.injector.player.NetworkServerInjector
                                          +
                                          classLoader - Variable in class com.comphenix.protocol.injector.packet.PacketInjectorBuilder
                                          +
                                           
                                          +
                                          classLoader(ClassLoader) - Method in class com.comphenix.protocol.injector.packet.PacketInjectorBuilder
                                          +
                                          +
                                          Set the class loader to use during class generation.
                                          +
                                          +
                                          classLoader - Variable in class com.comphenix.protocol.injector.player.PlayerInjectorBuilder
                                          +
                                           
                                          +
                                          classLoader(ClassLoader) - Method in class com.comphenix.protocol.injector.player.PlayerInjectorBuilder
                                          +
                                          +
                                          Set the class loader to use during class generation.
                                          +
                                          +
                                          cleanHook() - Method in class com.comphenix.protocol.injector.player.NetworkObjectInjector
                                           
                                          cleanupAll() - Method in class com.comphenix.protocol.async.AsyncFilterManager
                                           
                                          @@ -137,10 +165,18 @@
                                          Remove listeners, close threads and transmit every delayed packet.
                                          +
                                          cleanupAll() - Method in interface com.comphenix.protocol.injector.packet.PacketInjector
                                          +
                                          +
                                          Perform any necessary cleanup before unloading ProtocolLib.
                                          +
                                          clear() - Method in class com.comphenix.protocol.concurrency.AbstractIntervalTree
                                          Remove every interval.
                                          +
                                          clear() - Method in class com.comphenix.protocol.concurrency.IntegerSet
                                          +
                                          +
                                          Remove every element from the set.
                                          +
                                          clear() - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
                                           
                                          clearCache() - Static method in class com.comphenix.protocol.reflect.MethodUtils
                                          @@ -183,8 +219,10 @@
                                          Called when ProtocolLib is closing.
                                          -
                                          close() - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
                                          -
                                           
                                          +
                                          close() - Method in interface com.comphenix.protocol.injector.player.PlayerInjectionHandler
                                          +
                                          +
                                          Close any lingering proxy injections.
                                          +
                                          CLOSE_WINDOW - Static variable in class com.comphenix.protocol.Packets.Client
                                           
                                          CLOSE_WINDOW - Static variable in class com.comphenix.protocol.Packets.Server
                                          @@ -211,9 +249,11 @@
                                           
                                          com.comphenix.protocol.error - package com.comphenix.protocol.error
                                           
                                          +
                                          com.comphenix.protocol.injector.packet - package com.comphenix.protocol.injector.packet
                                          +
                                           
                                          com.comphenix.protocol.injector.player - package com.comphenix.protocol.injector.player
                                           
                                          -
                                          com.comphenix.protocol.metrics - package com.comphenix.protocol.metrics
                                          +
                                          com.comphenix.protocol.injector.spigot - package com.comphenix.protocol.injector.spigot
                                           
                                          com.comphenix.protocol.reflect - package com.comphenix.protocol.reflect
                                           
                                          @@ -221,14 +261,22 @@
                                           
                                          com.comphenix.protocol.reflect.compiler - package com.comphenix.protocol.reflect.compiler
                                           
                                          +
                                          com.comphenix.protocol.reflect.fuzzy - package com.comphenix.protocol.reflect.fuzzy
                                          +
                                           
                                          com.comphenix.protocol.reflect.instances - package com.comphenix.protocol.reflect.instances
                                           
                                          com.comphenix.protocol.utility - package com.comphenix.protocol.utility
                                           
                                          +
                                          combineRounds(int, int) - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMatcher
                                          +
                                          +
                                          Combine two round numbers by taking the highest non-zero number, or return zero.
                                          +
                                          compareTo(AsyncMarker) - Method in class com.comphenix.protocol.async.AsyncMarker
                                           
                                          compareTo(PrioritizedListener<TListener>) - Method in class com.comphenix.protocol.injector.PrioritizedListener
                                           
                                          +
                                          compareTo(AbstractFuzzyMatcher<T>) - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMatcher
                                          +
                                           
                                          compareTo(WrappedChunkCoordinate) - Method in class com.comphenix.protocol.wrappers.WrappedChunkCoordinate
                                           
                                          compile(StructureModifier<TField>) - Method in class com.comphenix.protocol.reflect.compiler.StructureCompiler
                                          @@ -253,6 +301,18 @@
                                          connectionSide - Variable in class com.comphenix.protocol.events.PacketAdapter
                                           
                                          +
                                          constructor(AbstractFuzzyMatcher<MethodInfo>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyClassContract.Builder
                                          +
                                          +
                                          Add a new constructor contract.
                                          +
                                          +
                                          constructor(FuzzyMethodContract.Builder) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyClassContract.Builder
                                          +
                                          +
                                          Add a new constructor contract via a builder.
                                          +
                                          +
                                          contains(int) - Method in class com.comphenix.protocol.concurrency.IntegerSet
                                          +
                                          +
                                          Determine whether or not the given element exists in the set.
                                          +
                                          contains(Object) - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
                                           
                                          contains(T[], T) - Method in class com.comphenix.protocol.reflect.instances.DefaultInstances
                                          @@ -283,6 +343,8 @@
                                          Initialize a new map.
                                          +
                                          create(Class<?>) - Method in class com.comphenix.protocol.reflect.instances.BannedGenerator
                                          +
                                           
                                          create(Class<?>) - Method in class com.comphenix.protocol.reflect.instances.CollectionGenerator
                                           
                                          create(Class<?>) - Method in class com.comphenix.protocol.reflect.instances.DefaultInstances
                                          @@ -303,11 +365,6 @@
                                          Construct an async marker with the given sending priority delta and timeout delta.
                                          -
                                          createGraph(String) - Method in class com.comphenix.protocol.metrics.Metrics
                                          -
                                          -
                                          Construct and create a Graph that can be used to separate specific plotters to their own graphs on the metrics - website.
                                          -
                                          createInstance(Class<T>, Constructor<T>, Class<?>[], Object[]) - Method in class com.comphenix.protocol.reflect.instances.DefaultInstances
                                          Used by the default instance provider to create a class from a given constructor.
                                          @@ -334,6 +391,10 @@
                                          Construct a packet using the special builtin Minecraft constructors.
                                          +
                                          createTemporaryPlayer(Server) - Method in class com.comphenix.protocol.injector.player.NetworkObjectInjector
                                          +
                                          +
                                          Create a temporary player for use during login.
                                          +
                                          CUSTOM_PAYLOAD - Static variable in class com.comphenix.protocol.Packets.Client
                                           
                                          CUSTOM_PAYLOAD - Static variable in class com.comphenix.protocol.Packets.Server
                                          diff --git a/Javadoc/index-files/index-4.html b/Javadoc/index-files/index-4.html index 8300803a..921da140 100644 --- a/Javadoc/index-files/index-4.html +++ b/Javadoc/index-files/index-4.html @@ -2,9 +2,9 @@ - + D-Index - + @@ -69,6 +69,40 @@
                                          data - Variable in class com.comphenix.protocol.reflect.StructureModifier
                                           
                                          +
                                          declaringClassDerivedOf(Class<?>) - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember.Builder
                                          +
                                          +
                                          Require that a member is defined by this exact class, or any super class.
                                          +
                                          +
                                          declaringClassDerivedOf(Class<?>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract.Builder
                                          +
                                           
                                          +
                                          declaringClassDerivedOf(Class<?>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
                                          +
                                           
                                          +
                                          declaringClassExactType(Class<?>) - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember.Builder
                                          +
                                          +
                                          Require that a member is defined by this exact class.
                                          +
                                          +
                                          declaringClassExactType(Class<?>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract.Builder
                                          +
                                           
                                          +
                                          declaringClassExactType(Class<?>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
                                          +
                                           
                                          +
                                          declaringClassMatching(AbstractFuzzyMatcher<Class<?>>) - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember.Builder
                                          +
                                          +
                                          Require that a member is defined by a class that matches the given matcher.
                                          +
                                          +
                                          declaringClassMatching(AbstractFuzzyMatcher<Class<?>>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract.Builder
                                          +
                                           
                                          +
                                          declaringClassMatching(AbstractFuzzyMatcher<Class<?>>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
                                          +
                                           
                                          +
                                          declaringClassSuperOf(Class<?>) - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember.Builder
                                          +
                                          +
                                          Require that a member is defined by this exact class, or any super class.
                                          +
                                          +
                                          declaringClassSuperOf(Class<?>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract.Builder
                                          +
                                           
                                          +
                                          declaringClassSuperOf(Class<?>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
                                          +
                                           
                                          +
                                          declaringMatcher - Variable in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember
                                          +
                                           
                                          decrementKey(TKey) - Method in class com.comphenix.protocol.concurrency.AbstractIntervalTree
                                          Decrement the given key by one unit.
                                          @@ -225,10 +259,6 @@
                                          Create a central error reporting system.
                                          -
                                          disable() - Method in class com.comphenix.protocol.metrics.Metrics
                                          -
                                          -
                                          Disables metrics for the server by setting "opt-out" to true in the config file and canceling the metrics task.
                                          -
                                          divide(int) - Method in class com.comphenix.protocol.wrappers.ChunkPosition
                                          Divide each dimension in the current position by the given divisor.
                                          diff --git a/Javadoc/index-files/index-5.html b/Javadoc/index-files/index-5.html index c7b9572c..201bf1b0 100644 --- a/Javadoc/index-files/index-5.html +++ b/Javadoc/index-files/index-5.html @@ -2,9 +2,9 @@ - + E-Index - + @@ -75,10 +75,6 @@
                                          A whitelist with no packets - indicates that the listener shouldn't observe any packets.
                                          -
                                          enable() - Method in class com.comphenix.protocol.metrics.Metrics
                                          -
                                          -
                                          Enables metrics for the server by setting "opt-out" to false in the config file and starting the metrics task.
                                          -
                                          enqueuePacket(PacketEvent) - Method in class com.comphenix.protocol.async.AsyncListenerHandler
                                          Queue a packet for processing.
                                          @@ -121,9 +117,11 @@
                                           
                                          equals(Object) - Method in class com.comphenix.protocol.injector.PrioritizedListener
                                           
                                          -
                                          equals(Object) - Method in class com.comphenix.protocol.metrics.Metrics.Graph
                                          +
                                          equals(Object) - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember
                                           
                                          -
                                          equals(Object) - Method in class com.comphenix.protocol.metrics.Metrics.Plotter
                                          +
                                          equals(Object) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract
                                          +
                                           
                                          +
                                          equals(Object) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract
                                           
                                          equals(Object) - Method in class com.comphenix.protocol.wrappers.ChunkPosition
                                           
                                          @@ -141,6 +139,30 @@
                                           
                                          ErrorReporter - Interface in com.comphenix.protocol.error
                                           
                                          +
                                          exceptionExactType(Class<?>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
                                          +
                                          +
                                          Add a throwable exception that must match the given type exactly.
                                          +
                                          +
                                          exceptionExactType(Class<?>, int) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
                                          +
                                          +
                                          Add a throwable exception that must match the given type exactly and index.
                                          +
                                          +
                                          exceptionMatches(AbstractFuzzyMatcher<Class<?>>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
                                          +
                                          +
                                          Add a throwable exception that must match the given matcher,
                                          +
                                          +
                                          exceptionMatches(AbstractFuzzyMatcher<Class<?>>, int) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
                                          +
                                          +
                                          Add a throwable exception that must match the given matcher and index.
                                          +
                                          +
                                          exceptionSuperOf(Class<?>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
                                          +
                                          +
                                          Add a throwable exception that must match the given type or be derived.
                                          +
                                          +
                                          exceptionSuperOf(Class<?>, int) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
                                          +
                                          +
                                          Add a throwable exception that must match the given type or be derived and index.
                                          +
                                          ExistingGenerator - Class in com.comphenix.protocol.reflect.instances
                                          Provides instance constructors using a list of existing values.
                                          diff --git a/Javadoc/index-files/index-6.html b/Javadoc/index-files/index-6.html index ba972351..9214a63b 100644 --- a/Javadoc/index-files/index-6.html +++ b/Javadoc/index-files/index-6.html @@ -2,9 +2,9 @@ - + F-Index - + @@ -67,6 +67,14 @@

                                          F

                                          +
                                          field(AbstractFuzzyMatcher<Field>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyClassContract.Builder
                                          +
                                          +
                                          Add a new field contract.
                                          +
                                          +
                                          field(FuzzyFieldContract.Builder) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyClassContract.Builder
                                          +
                                          +
                                          Add a new field contract via a builder.
                                          +
                                          FieldAccessException - Exception in com.comphenix.protocol.reflect
                                          Invoked when a field is inaccessible due to security limitations, or when it simply doesn't exist.
                                          @@ -131,6 +139,22 @@
                                          Creates an event representing a client packet transmission.
                                          +
                                          fromCollection(Collection<InstanceProvider>) - Static method in class com.comphenix.protocol.reflect.instances.DefaultInstances
                                          +
                                          +
                                          Construct a default instance generator using the given instance providers.
                                          +
                                          +
                                          fromConstructor(Constructor<?>) - Static method in class com.comphenix.protocol.reflect.MethodInfo
                                          +
                                          +
                                          Wraps a constructor as a method information object.
                                          +
                                          +
                                          fromConstructors(Constructor<?>[]) - Static method in class com.comphenix.protocol.reflect.MethodInfo
                                          +
                                          +
                                          Construct a list of method infos from a given array of constructors.
                                          +
                                          +
                                          fromConstructors(Collection<Constructor<?>>) - Static method in class com.comphenix.protocol.reflect.MethodInfo
                                          +
                                          +
                                          Construct a list of method infos from a given collection of constructors.
                                          +
                                          fromFormat(String, Object...) - Static method in exception com.comphenix.protocol.injector.PlayerLoggedOutException
                                          Construct an exception from a formatted message.
                                          @@ -141,6 +165,18 @@
                                          Construct a wrapper for an NBT tag stored (in memory) in an item stack.
                                          +
                                          fromMethod(Method) - Static method in class com.comphenix.protocol.reflect.MethodInfo
                                          +
                                          +
                                          Wraps a method as a MethodInfo object.
                                          +
                                          +
                                          fromMethods(Method[]) - Static method in class com.comphenix.protocol.reflect.MethodInfo
                                          +
                                          +
                                          Construct a list of method infos from a given array of methods.
                                          +
                                          +
                                          fromMethods(Collection<Method>) - Static method in class com.comphenix.protocol.reflect.MethodInfo
                                          +
                                          +
                                          Construct a list of method infos from a given collection of methods.
                                          +
                                          fromNMS(Object) - Static method in class com.comphenix.protocol.wrappers.nbt.NbtFactory
                                          Initialize a NBT wrapper.
                                          @@ -173,6 +209,40 @@
                                          Create an asynchronous packet event from a synchronous event and a async marker.
                                          +
                                          FuzzyClassContract - Class in com.comphenix.protocol.reflect.fuzzy
                                          +
                                          +
                                          Determine if a given class implements a given fuzzy (duck typed) contract.
                                          +
                                          +
                                          FuzzyClassContract.Builder - Class in com.comphenix.protocol.reflect.fuzzy
                                          +
                                          +
                                          Represents a class contract builder.
                                          +
                                          +
                                          FuzzyClassContract.Builder() - Constructor for class com.comphenix.protocol.reflect.fuzzy.FuzzyClassContract.Builder
                                          +
                                           
                                          +
                                          FuzzyFieldContract - Class in com.comphenix.protocol.reflect.fuzzy
                                          +
                                          +
                                          Represents a field matcher.
                                          +
                                          +
                                          FuzzyFieldContract.Builder - Class in com.comphenix.protocol.reflect.fuzzy
                                          +
                                          +
                                          Represents a builder for a field matcher.
                                          +
                                          +
                                          FuzzyFieldContract.Builder() - Constructor for class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract.Builder
                                          +
                                           
                                          +
                                          FuzzyMatchers - Class in com.comphenix.protocol.reflect.fuzzy
                                          +
                                          +
                                          Contains factory methods for matching classes.
                                          +
                                          +
                                          FuzzyMethodContract - Class in com.comphenix.protocol.reflect.fuzzy
                                          +
                                          +
                                          Represents a contract for matching methods or constructors.
                                          +
                                          +
                                          FuzzyMethodContract.Builder - Class in com.comphenix.protocol.reflect.fuzzy
                                          +
                                          +
                                          Represents a builder for a fuzzy method contract.
                                          +
                                          +
                                          FuzzyMethodContract.Builder() - Constructor for class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
                                          +
                                           
                                          FuzzyReflection - Class in com.comphenix.protocol.reflect
                                          Retrieves fields and methods by signature, not just name.
                                          diff --git a/Javadoc/index-files/index-7.html b/Javadoc/index-files/index-7.html index 5d95efc5..bb018bc6 100644 --- a/Javadoc/index-files/index-7.html +++ b/Javadoc/index-files/index-7.html @@ -2,9 +2,9 @@ - + G-Index - + @@ -130,6 +130,10 @@
                                          Retrieve the binary serializer that is used.
                                          +
                                          getBlockClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
                                          +
                                          +
                                          Retrieve the Block (NMS) class.
                                          +
                                          getBooleans() - Method in class com.comphenix.protocol.events.PacketContainer
                                          Retrieves a read/write structure for every boolean field.
                                          @@ -190,6 +194,10 @@
                                          Retrieves the current plugin class loader.
                                          +
                                          getClientPackets() - Static method in class com.comphenix.protocol.injector.packet.PacketRegistry
                                          +
                                          +
                                          Retrieve every known and supported client packet.
                                          +
                                          getClientPackets() - Static method in class com.comphenix.protocol.injector.PacketFilterManager
                                          Retrieve every known and supported client packet.
                                          @@ -202,10 +210,6 @@
                                          Retrieves a view of the current list of cloners.
                                          -
                                          getColumnName() - Method in class com.comphenix.protocol.metrics.Metrics.Plotter
                                          -
                                          -
                                          Get the column name for the plotted point
                                          -
                                          getCompiler() - Method in class com.comphenix.protocol.reflect.compiler.BackgroundCompiler
                                          Retrieve the current structure compiler.
                                          @@ -218,9 +222,21 @@
                                          Retrieve a compound (map) value by its key, or create a new compound if it doesn't exist.
                                          -
                                          getConfigFile() - Method in class com.comphenix.protocol.metrics.Metrics
                                          +
                                          getConstructor(AbstractFuzzyMatcher<MethodInfo>) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
                                          -
                                          Gets the File object of the config file that should be used to store data such as the GUID and opt-out status
                                          +
                                          Retrieve the first constructor that matches.
                                          +
                                          +
                                          getConstructorContracts() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyClassContract
                                          +
                                          +
                                          Retrieve an immutable list of every constructor contract.
                                          +
                                          +
                                          getConstructorList(AbstractFuzzyMatcher<MethodInfo>) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
                                          +
                                          +
                                          Retrieve a list of every constructor that matches the given matcher.
                                          +
                                          +
                                          getConstructors() - Method in class com.comphenix.protocol.reflect.FuzzyReflection
                                          +
                                          +
                                          Retrieves all private and public constructors in declared order (after JDK 1.5).
                                          getContainer() - Method in class com.comphenix.protocol.reflect.VolatileField
                                          @@ -242,6 +258,10 @@
                                          Retrieve the CraftItemStack class.
                                          +
                                          getCraftPlayerClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
                                          +
                                          +
                                          Retrieve the CraftPlayer class.
                                          +
                                          getDataTypeDelimiter() - Method in class com.comphenix.protocol.wrappers.nbt.io.NbtConfigurationSerializer
                                          Retrieve the current data type delimiter.
                                          @@ -266,6 +286,10 @@
                                          Retrieve the name of the member with the given id.
                                          +
                                          getDeclaringMatcher() - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember
                                          +
                                          +
                                          Retrieve a class matcher for the declaring class of the member.
                                          +
                                          getDefault(Class<T>) - Method in class com.comphenix.protocol.reflect.instances.DefaultInstances
                                          Retrieves a default instance or value that is assignable to this type.
                                          @@ -328,6 +352,10 @@
                                          Retrieve the EntityPlayer (NMS) class.
                                          +
                                          getEntityTrackerClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
                                          +
                                          +
                                          Retrieve the EntityTracker (NMS) class.
                                          +
                                          getEntityTrackers(Entity) - Method in class com.comphenix.protocol.injector.PacketFilterManager
                                           
                                          getEntityTrackers(Entity) - Method in interface com.comphenix.protocol.ProtocolManager
                                          @@ -354,6 +382,15 @@
                                          Retrieve the current error reporter.
                                          +
                                          getExceptionMatchers() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract
                                          +
                                          +
                                          Retrieve an immutable list of every exception matcher for this method.
                                          +
                                          +
                                          getExceptionTypes() - Method in class com.comphenix.protocol.reflect.MethodInfo
                                          +
                                          +
                                          Returns an array of Class objects that represent the types of the exceptions declared to be thrown by the + underlying method or constructor represented by this MethodInfo object.
                                          +
                                          getField(Class, String) - Static method in class com.comphenix.protocol.reflect.FieldUtils
                                          Gets an accessible Field by name respecting scope.
                                          @@ -363,6 +400,10 @@
                                          Gets an accessible Field by name breaking scope if requested.
                                          +
                                          getField(AbstractFuzzyMatcher<Field>) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
                                          +
                                          +
                                          Retrieve the first field that matches.
                                          +
                                          getField(int) - Method in class com.comphenix.protocol.reflect.StructureModifier
                                          Retrieve a field by index.
                                          @@ -387,6 +428,14 @@
                                          Retrieves a field by type.
                                          +
                                          getFieldContracts() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyClassContract
                                          +
                                          +
                                          Retrieve an immutable list of every field contract.
                                          +
                                          +
                                          getFieldList(AbstractFuzzyMatcher<Field>) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
                                          +
                                          +
                                          Retrieve a list of every field that matches the given matcher.
                                          +
                                          getFieldListByType(Class<?>) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
                                          Retrieves every field with a type equal to or more specific to the given type.
                                          @@ -407,10 +456,6 @@
                                          Retrieves the common type of each field.
                                          -
                                          getFileSize() - Method in class com.comphenix.protocol.metrics.Updater
                                          -
                                          -
                                          Get the total bytes of the file (can only be used after running a version check or a normal run).
                                          -
                                          getFloat() - Method in class com.comphenix.protocol.events.PacketContainer
                                          Retrieves a read/write structure for every float field.
                                          @@ -459,7 +504,7 @@
                                          Retrieves the underlying watchable object.
                                          -
                                          getHookType() - Method in class com.comphenix.protocol.injector.player.NetworkServerInjector
                                          +
                                          getHookType() - Method in class com.comphenix.protocol.injector.player.NetworkObjectInjector
                                           
                                          getID() - Method in interface com.comphenix.protocol.async.AsyncRunnable
                                          @@ -547,10 +592,14 @@
                                          Retrieve a Set view of the keys of each entry in this compound.
                                          -
                                          getLatestVersionString() - Method in class com.comphenix.protocol.metrics.Updater
                                          +
                                          getKeyValueView() - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember
                                          -
                                          Get the version string latest file avaliable online.
                                          +
                                          Generate a view of this matcher as a key-value map.
                                          +
                                          getKeyValueView() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract
                                          +
                                           
                                          +
                                          getKeyValueView() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract
                                          +
                                           
                                          getList(String) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
                                          Retrieve the NBT list value of an entry identified by a given key.
                                          @@ -601,6 +650,10 @@
                                          Retrieve the the maximum height of the hierachy of creates types.
                                          +
                                          getMethod(AbstractFuzzyMatcher<MethodInfo>) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
                                          +
                                          +
                                          Retrieve the first method that matches.
                                          +
                                          getMethodByName(String) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
                                          Retrieves a method by looking at its name.
                                          @@ -617,6 +670,14 @@
                                          Retrieves a method by looking at the parameter types and return type only.
                                          +
                                          getMethodContracts() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyClassContract
                                          +
                                          +
                                          Retrieve an immutable list of every method contract.
                                          +
                                          +
                                          getMethodList(AbstractFuzzyMatcher<MethodInfo>) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
                                          +
                                          +
                                          Retrieve a list of every method that matches the given matcher.
                                          +
                                          getMethodListByParameters(Class<?>, Class<?>[]) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
                                          Retrieves every method that has the given parameter types and return type.
                                          @@ -637,6 +698,14 @@
                                          Retrieve the net.minecraft.server ItemStack from a Bukkit ItemStack.
                                          +
                                          getMinecraftObjectMatcher() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
                                          +
                                          +
                                          Retrieve a abstract fuzzy class matcher for Minecraft objects.
                                          +
                                          +
                                          getMinecraftObjectRegex() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
                                          +
                                          +
                                          Retrieve a regular expression that can match Minecraft package objects.
                                          +
                                          getMinecraftPackage() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
                                          Retrieve the name of the Minecraft server package.
                                          @@ -653,14 +722,22 @@
                                          Retrieves the generic structure modifier for this packet.
                                          -
                                          getName() - Method in class com.comphenix.protocol.metrics.Metrics.Graph
                                          +
                                          getModifiersBanned() - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember
                                          -
                                          Gets the graph's name
                                          +
                                          Retrieve a bit field of every Modifier that must not be present for the member to match.
                                          +
                                          +
                                          getModifiersRequired() - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember
                                          +
                                          +
                                          Retrieve a bit field of every Modifier that is required for the member to match.
                                          getName() - Method in interface com.comphenix.protocol.wrappers.nbt.NbtBase
                                          Retrieve the name of this NBT tag.
                                          +
                                          getNameRegex() - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember
                                          +
                                          +
                                          Retrieve the regular expression pattern that is used to match the name of a member.
                                          +
                                          getNBTBaseClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
                                          Retrieve the NBT base class.
                                          @@ -675,11 +752,11 @@
                                          getNetHandlerClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
                                          -
                                          Retrieve the NetHandler class.
                                          +
                                          Retrieve the NetHandler class (or Connection)
                                          getNetLoginHandlerClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
                                          -
                                          Retrieve the NetLoginHandler class.
                                          +
                                          Retrieve the NetLoginHandler class (or PendingConnection)
                                          getNetLoginHandlerName() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
                                          @@ -687,11 +764,15 @@
                                          getNetServerHandlerClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
                                          -
                                          Retrieve the NetServerHandler class.
                                          +
                                          Retrieve the NetServerHandler class (or PlayerConnection)
                                          +
                                          +
                                          getNetworkListenThreadClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
                                          +
                                          +
                                          Retrieve the NetworkListenThread class (NMS).
                                          getNetworkManagerClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
                                          -
                                          Retrieve the NetworkManager class.
                                          +
                                          Retrieve the NetworkManager class or its interface.
                                          getNetworkManagerName() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
                                          @@ -717,6 +798,10 @@
                                          Retrieve the order the packet was originally transmitted.
                                          +
                                          getOverwrittenPackets() - Static method in class com.comphenix.protocol.injector.packet.PacketRegistry
                                          +
                                          +
                                          Retrieve the injected proxy classes handlig each packet ID.
                                          +
                                          getPacket() - Method in class com.comphenix.protocol.events.PacketEvent
                                          Retrieves the packet that will be sent to the player.
                                          @@ -729,8 +814,20 @@
                                          Retrieves the correct packet class from a given packet ID.
                                          +
                                          getPacketClassFromID(int) - Static method in class com.comphenix.protocol.injector.packet.PacketRegistry
                                          +
                                          +
                                          Retrieves the correct packet class from a given packet ID.
                                          +
                                          +
                                          getPacketClassFromID(int, boolean) - Static method in class com.comphenix.protocol.injector.packet.PacketRegistry
                                          +
                                          +
                                          Retrieves the correct packet class from a given packet ID.
                                          +
                                          getPacketClassFromID(int, boolean) - Method in class com.comphenix.protocol.injector.PacketFilterManager
                                           
                                          +
                                          getPacketHandlers() - Method in interface com.comphenix.protocol.injector.packet.PacketInjector
                                          +
                                          +
                                          Retrieve every intercepted packet ID.
                                          +
                                          getPacketID() - Method in class com.comphenix.protocol.events.PacketEvent
                                          Retrieves the packet ID.
                                          @@ -739,12 +836,20 @@
                                          Retrieve the associated ID of a packet.
                                          +
                                          getPacketID(Class<?>) - Static method in class com.comphenix.protocol.injector.packet.PacketRegistry
                                          +
                                          +
                                          Retrieve the packet ID of a given packet.
                                          +
                                          getPacketID() - Method in class com.comphenix.protocol.injector.PacketConstructor
                                          Retrieve the id of the packets this constructor creates.
                                          getPacketID(Object) - Method in class com.comphenix.protocol.injector.PacketFilterManager
                                           
                                          +
                                          getPacketInjector() - Method in class com.comphenix.protocol.injector.spigot.SpigotPacketInjector
                                          +
                                          +
                                          Retrieve the dummy packet injection handler.
                                          +
                                          getPacketListeners() - Method in class com.comphenix.protocol.injector.PacketFilterManager
                                           
                                          getPacketListeners() - Method in interface com.comphenix.protocol.ProtocolManager
                                          @@ -761,33 +866,52 @@
                                          Retrieve the default packet stream.
                                          +
                                          getPacketToID() - Static method in class com.comphenix.protocol.injector.packet.PacketRegistry
                                          +
                                           
                                          +
                                          getParamCount() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract
                                          +
                                          +
                                          Retrieve the expected parameter count for this method.
                                          +
                                          +
                                          getParameterTypes() - Method in class com.comphenix.protocol.reflect.MethodInfo
                                          +
                                          +
                                          Returns an array of Class objects that represent the formal parameter types, in declaration order, + of the method or constructor represented by this MethodInfo object.
                                          +
                                          +
                                          getParamMatchers() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract
                                          +
                                          +
                                          Retrieve an immutable list of every parameter matcher for this method.
                                          +
                                          getPlayer() - Method in class com.comphenix.protocol.events.PacketEvent
                                          Retrieves the player that has sent the packet or is recieving it.
                                          -
                                          getPlayerByConnection(DataInputStream) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
                                          +
                                          getPlayerByConnection(DataInputStream) - Method in interface com.comphenix.protocol.injector.player.PlayerInjectionHandler
                                          Retrieve a player by its DataInput connection.
                                          -
                                          getPlayerByConnection(DataInputStream, long, TimeUnit) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
                                          +
                                          getPlayerByConnection(DataInputStream, long, TimeUnit) - Method in interface com.comphenix.protocol.injector.player.PlayerInjectionHandler
                                          Retrieve a player by its DataInput connection.
                                          +
                                          getPlayerHandler() - Method in class com.comphenix.protocol.injector.spigot.SpigotPacketInjector
                                          +
                                          +
                                          Retrieve the dummy player injection handler.
                                          +
                                          getPlayerHook() - Method in class com.comphenix.protocol.injector.PacketFilterManager
                                          Retrieves how the server packets are read.
                                          -
                                          getPlayerHook() - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
                                          +
                                          getPlayerHook() - Method in interface com.comphenix.protocol.injector.player.PlayerInjectionHandler
                                          Retrieves how the server packets are read.
                                          -
                                          getPlayerHook(GamePhase) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
                                          +
                                          getPlayerHook(GamePhase) - Method in interface com.comphenix.protocol.injector.player.PlayerInjectionHandler
                                          Retrieves how the server packets are read.
                                          -
                                          getPlotters() - Method in class com.comphenix.protocol.metrics.Metrics.Graph
                                          +
                                          getPlayerListClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
                                          -
                                          Gets an unmodifiable set of the plotter objects in the graph
                                          +
                                          Retrieve the player list class (or ServerConfigurationManager),
                                          getPlugin() - Method in class com.comphenix.protocol.async.AsyncListenerHandler
                                          @@ -827,6 +951,10 @@
                                          Get the previous end point of a given key.
                                          +
                                          getPreviousPackets() - Static method in class com.comphenix.protocol.injector.packet.PacketRegistry
                                          +
                                          +
                                          Retrieve the vanilla classes handling each packet ID.
                                          +
                                          getPrimitiveType(Class) - Static method in class com.comphenix.protocol.reflect.MethodUtils
                                          Gets the class for the primitive type corresponding to the primitive wrapper class given.
                                          @@ -904,14 +1032,19 @@
                                          A registry that parses between names and packet IDs.
                                          -
                                          getResult() - Method in class com.comphenix.protocol.metrics.Updater
                                          +
                                          getReturnMatcher() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract
                                          -
                                          Get the result of the update process.
                                          +
                                          Retrieve the class matcher for the return type.
                                          +
                                          +
                                          getReturnType() - Method in class com.comphenix.protocol.reflect.MethodInfo
                                          +
                                          +
                                          Returns a Class object that represents the formal return type of the method or constructor + represented by this MethodInfo object.
                                          +
                                          +
                                          getRoundNumber() - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMatcher
                                          +
                                          +
                                          Retrieve the cached round number.
                                          -
                                          getResult(int) - Static method in enum com.comphenix.protocol.metrics.Updater.UpdateResult
                                          -
                                           
                                          -
                                          getResult(int) - Static method in enum com.comphenix.protocol.metrics.Updater.UpdateType
                                          -
                                           
                                          getScheduler() - Method in class com.comphenix.protocol.async.AsyncFilterManager
                                          Retrieve the current task scheduler.
                                          @@ -925,7 +1058,7 @@
                                          getSendingFilters() - Method in class com.comphenix.protocol.injector.PacketFilterManager
                                           
                                          -
                                          getSendingFilters() - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
                                          +
                                          getSendingFilters() - Method in interface com.comphenix.protocol.injector.player.PlayerInjectionHandler
                                          Retrieve the current list of registered sending listeners.
                                          @@ -949,6 +1082,14 @@
                                          Retrieve which packets sent by the server this listener will observe.
                                          +
                                          getServerConnectionClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
                                          +
                                          +
                                          Retrieve the ServerConnection abstract class.
                                          +
                                          +
                                          getServerPackets() - Static method in class com.comphenix.protocol.injector.packet.PacketRegistry
                                          +
                                          +
                                          Retrieve every known and supported server packet.
                                          +
                                          getServerPackets() - Static method in class com.comphenix.protocol.injector.PacketFilterManager
                                          Retrieve every known and supported server packet.
                                          @@ -1099,18 +1240,14 @@
                                          Retrieve the type ID of a watchable object.
                                          +
                                          getTypeMatcher() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract
                                          +
                                          +
                                          Retrieve the class matcher that matches the type of a field.
                                          +
                                          getUnwrappers() - Method in class com.comphenix.protocol.injector.PacketConstructor
                                           
                                          getValue() - Method in class com.comphenix.protocol.concurrency.AbstractIntervalTree.Entry
                                           
                                          -
                                          getValue() - Method in class com.comphenix.protocol.metrics.Metrics.Plotter
                                          -
                                          -
                                          Get the current value for the plotted point.
                                          -
                                          -
                                          getValue() - Method in enum com.comphenix.protocol.metrics.Updater.UpdateResult
                                          -
                                           
                                          -
                                          getValue() - Method in enum com.comphenix.protocol.metrics.Updater.UpdateType
                                          -
                                           
                                          getValue() - Method in class com.comphenix.protocol.reflect.VolatileField
                                          Retrieves the current field value.
                                          @@ -1175,6 +1312,10 @@
                                          Retrieve the current number of registered workers.
                                          +
                                          getWorldServerClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
                                          +
                                          +
                                          Retrieve the WorldServer (NMS) class.
                                          +
                                          getWorldTypeClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
                                          Retrieve the WorldType class.
                                          diff --git a/Javadoc/index-files/index-8.html b/Javadoc/index-files/index-8.html index 033cfc69..03dd750b 100644 --- a/Javadoc/index-files/index-8.html +++ b/Javadoc/index-files/index-8.html @@ -2,9 +2,9 @@ - + H-Index - + @@ -75,9 +75,9 @@
                                           
                                          handle - Variable in class com.comphenix.protocol.wrappers.WrappedWatchableObject
                                           
                                          -
                                          handleDisconnect() - Method in class com.comphenix.protocol.injector.player.NetworkServerInjector
                                          +
                                          handleDisconnect() - Method in class com.comphenix.protocol.injector.player.NetworkObjectInjector
                                           
                                          -
                                          handleDisconnect(Player) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
                                          +
                                          handleDisconnect(Player) - Method in interface com.comphenix.protocol.injector.player.PlayerInjectionHandler
                                          Invoke special routines for handling disconnect before a player is uninjected.
                                          @@ -105,9 +105,11 @@
                                           
                                          hashCode() - Method in class com.comphenix.protocol.injector.PrioritizedListener
                                           
                                          -
                                          hashCode() - Method in class com.comphenix.protocol.metrics.Metrics.Graph
                                          +
                                          hashCode() - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember
                                           
                                          -
                                          hashCode() - Method in class com.comphenix.protocol.metrics.Metrics.Plotter
                                          +
                                          hashCode() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract
                                          +
                                           
                                          +
                                          hashCode() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract
                                           
                                          hashCode() - Method in class com.comphenix.protocol.wrappers.ChunkPosition
                                           
                                          @@ -117,7 +119,7 @@
                                           
                                          hashCode() - Method in class com.comphenix.protocol.wrappers.WrappedWatchableObject
                                           
                                          -
                                          hasListener(int) - Method in class com.comphenix.protocol.injector.player.NetworkServerInjector
                                          +
                                          hasListener(int) - Method in class com.comphenix.protocol.injector.player.NetworkObjectInjector
                                           
                                          hasLogin() - Method in enum com.comphenix.protocol.injector.GamePhase
                                          @@ -127,10 +129,18 @@
                                          Determines whether or not the given member exists.
                                          +
                                          hasPacketHandler(int) - Method in interface com.comphenix.protocol.injector.packet.PacketInjector
                                          +
                                          +
                                          Determine if packets with the given packet ID is being intercepted.
                                          +
                                          hasPlaying() - Method in enum com.comphenix.protocol.injector.GamePhase
                                          Determine if the current value represents the playing phase.
                                          +
                                          hasRegistered() - Method in class com.comphenix.protocol.injector.spigot.SpigotPacketInjector
                                          +
                                          +
                                          Determine if the Spigot packet listener has been registered.
                                          +
                                          A B C D E F G H I K L M N O P R S T U V W X Y Z  diff --git a/Javadoc/index-files/index-9.html b/Javadoc/index-files/index-9.html index bf5801e9..b99b3192 100644 --- a/Javadoc/index-files/index-9.html +++ b/Javadoc/index-files/index-9.html @@ -2,9 +2,9 @@ - + I-Index - + @@ -87,8 +87,6 @@
                                          Retrieve a copy of every index associated with a watched object.
                                          -
                                          initialize(Object) - Method in class com.comphenix.protocol.injector.player.NetworkServerInjector
                                          -
                                           
                                          initialize(StructureModifier<TField>) - Method in class com.comphenix.protocol.reflect.StructureModifier
                                          Initialize using the same field types.
                                          @@ -105,9 +103,24 @@
                                          Initialize the packet injection for every player.
                                          -
                                          injectManager() - Method in class com.comphenix.protocol.injector.player.NetworkServerInjector
                                          +
                                          initialMember() - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember.Builder
                                          +
                                          +
                                          Construct a new instance of the current type.
                                          +
                                          +
                                          initialMember() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract.Builder
                                           
                                          -
                                          injectPlayer(Player) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
                                          +
                                          initialMember() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
                                          +
                                           
                                          +
                                          injectionFilter - Variable in class com.comphenix.protocol.injector.player.PlayerInjectorBuilder
                                          +
                                           
                                          +
                                          injectionFilter(Predicate<GamePhase>) - Method in class com.comphenix.protocol.injector.player.PlayerInjectorBuilder
                                          +
                                          +
                                          The injection filter that is used to determine if it is necessary to perform + injection during a certain phase.
                                          +
                                          +
                                          injectManager() - Method in class com.comphenix.protocol.injector.player.NetworkObjectInjector
                                          +
                                           
                                          +
                                          injectPlayer(Player) - Method in interface com.comphenix.protocol.injector.player.PlayerInjectionHandler
                                          Initialize a player hook, allowing us to read server packets.
                                          @@ -129,6 +142,14 @@
                                          Represents a type generator for specific types.
                                          +
                                          IntegerSet - Class in com.comphenix.protocol.concurrency
                                          +
                                          +
                                          Represents a very quick integer set that uses a lookup table to store membership.
                                          +
                                          +
                                          IntegerSet(int) - Constructor for class com.comphenix.protocol.concurrency.IntegerSet
                                          +
                                          +
                                          Initialize a lookup table with the given maximum number of elements.
                                          +
                                          IntEnum - Class in com.comphenix.protocol.reflect
                                          Represents a traditional int field enum.
                                          @@ -139,6 +160,10 @@
                                          internalErrorCount - Variable in class com.comphenix.protocol.error.DetailedErrorReporter
                                           
                                          +
                                          inverted() - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMatcher
                                          +
                                          +
                                          Create a fuzzy matcher that returns the opposite result of the current matcher.
                                          +
                                          invokeExactMethod(Object, String, Object) - Static method in class com.comphenix.protocol.reflect.MethodUtils
                                          Invoke a method whose parameter type matches exactly the object @@ -201,6 +226,18 @@
                                          Invokes the given packet event for every registered listener.
                                          +
                                          invoker - Variable in class com.comphenix.protocol.injector.packet.PacketInjectorBuilder
                                          +
                                           
                                          +
                                          invoker(ListenerInvoker) - Method in class com.comphenix.protocol.injector.packet.PacketInjectorBuilder
                                          +
                                          +
                                          The packet stream invoker.
                                          +
                                          +
                                          invoker - Variable in class com.comphenix.protocol.injector.player.PlayerInjectorBuilder
                                          +
                                           
                                          +
                                          invoker(ListenerInvoker) - Method in class com.comphenix.protocol.injector.player.PlayerInjectorBuilder
                                          +
                                          +
                                          The packet stream invoker.
                                          +
                                          invokeStaticMethod(Class, String, Object) - Static method in class com.comphenix.protocol.reflect.MethodUtils
                                          Invoke a named static method whose parameter type matches the object type.
                                          @@ -251,10 +288,18 @@
                                          Determine if the given NBT can store multiple children NBT tags.
                                          +
                                          isConstructor() - Method in class com.comphenix.protocol.reflect.MethodInfo
                                          +
                                          +
                                          Determine if this is a constructor or not.
                                          +
                                          isCraftItemStack(Object) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
                                          Determine if the given object is a CraftItemStack instancey.
                                          +
                                          isCraftPlayer(Object) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
                                          +
                                          +
                                          Determine if the given object is a CraftPlayer class.
                                          +
                                          isCurrentSet() - Method in class com.comphenix.protocol.reflect.VolatileField
                                          Determine whether or not we'll need to revert the value.
                                          @@ -297,22 +342,34 @@
                                          Determine if the given type is probably immutable.
                                          -
                                          isInjectionNecessary(GamePhase) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
                                          -
                                          -
                                          Determine if it's truly necessary to perform the given player injection.
                                          -
                                          isItemStack(Object) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
                                          Determine if the given object is a NMS ItemStack.
                                          isLoginHandler(Object) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
                                          -
                                          Determine if the given object is a NetLoginHandler.
                                          +
                                          Determine if the given object is a NetLoginHandler (PendingConnection)
                                          +
                                          isMatch(T, Object) - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMatcher
                                          +
                                          +
                                          Determine if the given value is a match.
                                          +
                                          +
                                          isMatch(T, Object) - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember
                                          +
                                           
                                          +
                                          isMatch(Class<?>, Object) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyClassContract
                                          +
                                           
                                          +
                                          isMatch(Field, Object) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract
                                          +
                                           
                                          +
                                          isMatch(MethodInfo, Object) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract
                                          +
                                           
                                          isMinecraftAsync(PacketEvent) - Method in class com.comphenix.protocol.async.AsyncMarker
                                          Determine if Minecraft allows asynchronous processing of this packet.
                                          +
                                          isMinecraftClass(Class<?>) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
                                          +
                                          +
                                          Determine if the given class is found within the package net.minecraft.server, or any equivalent package.
                                          +
                                          isMinecraftEntity(Object) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
                                          Determine if the given object is actually a Minecraft packet.
                                          @@ -333,10 +390,6 @@
                                          Retrieve whether or not the constructor's parameters must be non-null.
                                          -
                                          isOptOut() - Method in class com.comphenix.protocol.metrics.Metrics
                                          -
                                          -
                                          Has the server owner denied plugin metrics?
                                          -
                                          isPacketClass(Object) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
                                          Determine if the given object is actually a Minecraft packet.
                                          @@ -365,6 +418,10 @@
                                          Whether or not a future task is scheduled to be executed.
                                          +
                                          isServerHandler(Object) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
                                          +
                                          +
                                          Determine if the given object is assignable to a NetServerHandler (PlayerConnection)
                                          +
                                          isServerPacket() - Method in class com.comphenix.protocol.events.PacketEvent
                                          Whether or not this packet was created by the server.
                                          diff --git a/Javadoc/index.html b/Javadoc/index.html index bdb474c3..648aabf4 100644 --- a/Javadoc/index.html +++ b/Javadoc/index.html @@ -2,7 +2,7 @@ - + Generated Documentation (Untitled) + + + + + + +
                                          +
                                          com.comphenix.protocol.utility
                                          +

                                          Class MinecraftMethods

                                          +
                                          +
                                          +
                                            +
                                          • java.lang.Object
                                          • +
                                          • +
                                              +
                                            • com.comphenix.protocol.utility.MinecraftMethods
                                            • +
                                            +
                                          • +
                                          +
                                          +
                                            +
                                          • +
                                            +
                                            +
                                            public class MinecraftMethods
                                            +extends java.lang.Object
                                            +
                                            Static methods for accessing Minecraft methods.
                                            +
                                            Author:
                                            +
                                            Kristian
                                            +
                                          • +
                                          +
                                          +
                                          +
                                            +
                                          • + +
                                              +
                                            • + + +

                                              Constructor Summary

                                              +
                                          com.comphenix.protocol.Packets.Client 
                                          Modifier and Type
                                          com.comphenix.protocol.Packets.Server.PICKUP_SPAWNcom.comphenix.protocol.utility.MinecraftReflection.MINECRAFT_OBJECT
                                          com.comphenix.protocol.Packets.Server.PICKUP_SPAWN
                                          com.comphenix.protocol.Packets.Client.RESPAWN
                                          + + + + + + + +
                                          Constructors 
                                          Constructor and Description
                                          MinecraftMethods() 
                                          +
                                        • +
                                        + +
                                          +
                                        • + + +

                                          Method Summary

                                          + + + + + + + + + + +
                                          Methods 
                                          Modifier and TypeMethod and Description
                                          static java.lang.reflect.MethodgetSendPacketMethod() +
                                          Retrieve the send packet method in PlayerConnection/NetServerHandler.
                                          +
                                          +
                                            +
                                          • + + +

                                            Methods inherited from class java.lang.Object

                                            +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
                                          • +
                                          +
                                        • +
                                        +
                                      • +
                                      + +
                                      +
                                        +
                                      • + +
                                          +
                                        • + + +

                                          Constructor Detail

                                          + + + +
                                            +
                                          • +

                                            MinecraftMethods

                                            +
                                            public MinecraftMethods()
                                            +
                                          • +
                                          +
                                        • +
                                        + +
                                          +
                                        • + + +

                                          Method Detail

                                          + + + +
                                            +
                                          • +

                                            getSendPacketMethod

                                            +
                                            public static java.lang.reflect.Method getSendPacketMethod()
                                            +
                                            Retrieve the send packet method in PlayerConnection/NetServerHandler.
                                            +
                                            Returns:
                                            The send packet method.
                                            +
                                          • +
                                          +
                                        • +
                                        +
                                      • +
                                      +
                                      + + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/utility/MinecraftReflection.html b/Javadoc/com/comphenix/protocol/utility/MinecraftReflection.html index 8ee3ac31..066e35d8 100644 --- a/Javadoc/com/comphenix/protocol/utility/MinecraftReflection.html +++ b/Javadoc/com/comphenix/protocol/utility/MinecraftReflection.html @@ -2,9 +2,9 @@ - + MinecraftReflection - + @@ -36,7 +36,7 @@
                              @@ -788,6 +844,34 @@ extends Returns:
                              This current compound, for chaining.
                            + + + +
                              +
                            • +

                              putObject

                              +
                              NbtCompound putObject(java.lang.String key,
                              +                    java.lang.Object value)
                              +
                              Associates a given Java primitive value, list, map or NbtBase with a certain key. +

                              + If the value is NULL, the corresponding key is removed. Any Map or List will be converted + to a corresponding NbtCompound or NbtList.

                              +
                              Parameters:
                              key - - the name of the new entry,
                              value - - the value of the new entry, or NULL to remove the current value.
                              +
                              Returns:
                              This current compound, for chaining.
                              +
                            • +
                            + + + +
                              +
                            • +

                              getObject

                              +
                              java.lang.Object getObject(java.lang.String key)
                              +
                              Retrieve the primitive object, NbtList or NbtCompound associated with the given key.
                              +
                              Parameters:
                              key - - the key of the object to find.
                              +
                              Returns:
                              The object with this key, or NULL if we couldn't find anything.
                              +
                            • +
                            @@ -877,6 +961,18 @@ extends Returns:
                            This current compound, for chaining.
                          + + + +
                            +
                          • +

                            remove

                            +
                            <T> NbtBase<?> remove(java.lang.String key)
                            +
                            Remove the NBT element that is associated with the given key.
                            +
                            Parameters:
                            key - - the key of the element to remove.
                            +
                            Returns:
                            The removed element, or NULL if no such element was found.
                            +
                          • +
                          diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtFactory.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtFactory.html index e7924cc7..e79196ba 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtFactory.html +++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtFactory.html @@ -2,9 +2,9 @@ - + NbtFactory - + @@ -156,7 +156,7 @@ extends java.lang.Object static NbtWrapper<?> -fromItemTag(ItemStack stack) +fromItemTag(org.bukkit.inventory.ItemStack stack)
                          Construct a wrapper for an NBT tag stored (in memory) in an item stack.
                          @@ -366,7 +366,7 @@ extends java.lang.Object
                          • fromItemTag

                            -
                            public static NbtWrapper<?> fromItemTag(ItemStack stack)
                            +
                            public static NbtWrapper<?> fromItemTag(org.bukkit.inventory.ItemStack stack)
                            Construct a wrapper for an NBT tag stored (in memory) in an item stack. This is where auxillary data such as enchanting, name and lore is stored. It doesn't include the items material, damage value or count. diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtList.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtList.html index 53c894a8..dcd1a9cf 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtList.html +++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtList.html @@ -2,9 +2,9 @@ - + NbtList - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtType.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtType.html index 5279c5f5..08e5ce8f 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtType.html +++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtType.html @@ -2,9 +2,9 @@ - + NbtType - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtVisitor.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtVisitor.html index 7ad1f52a..afeacbf6 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtVisitor.html +++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtVisitor.html @@ -2,9 +2,9 @@ - + NbtVisitor - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtWrapper.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtWrapper.html index 194fe539..13cbffe2 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtWrapper.html +++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtWrapper.html @@ -2,9 +2,9 @@ - + NbtWrapper - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtBase.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtBase.html index 40d149a6..89dd2470 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtBase.html +++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtBase.html @@ -2,9 +2,9 @@ - + Uses of Interface com.comphenix.protocol.wrappers.nbt.NbtBase - + @@ -256,6 +256,12 @@
                            Constructs a NBT tag of type string.
                            + +<T> NbtBase<?> +NbtCompound.remove(java.lang.String key) +
                            Remove the NBT element that is associated with the given key.
                            + + @@ -272,6 +278,12 @@ + + + + diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtCompound.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtCompound.html index 88176df1..663334ea 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtCompound.html +++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtCompound.html @@ -2,9 +2,9 @@ - +Uses of Interface com.comphenix.protocol.wrappers.nbt.NbtCompound - + @@ -225,6 +225,13 @@
                            Associate a NBT string value with the given key.
                            + + + +
                            java.util.Map<java.lang.String,NbtBase<?>>NbtCompound.getValue() +
                            Deprecated. 
                            +
                            java.util.Iterator<NbtBase<?>> NbtCompound.iterator()
                            Retrieve an iterator view of the NBT tags stored in this compound.
                            @@ -375,7 +387,7 @@
                            <TType> void NbtConfigurationSerializer.serialize(NbtBase<TType> value, - ConfigurationSection destination) + org.bukkit.configuration.ConfigurationSection destination)
                            Write the content of a NBT tag to a configuration section.
                            NbtCompoundNbtCompound.putObject(java.lang.String key, + java.lang.Object value) +
                            Associates a given Java primitive value, list, map or NbtBase with a certain key.
                            +
                            @@ -280,7 +287,7 @@ - diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtFactory.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtFactory.html index 7f62293c..6401af13 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtFactory.html +++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtFactory.html @@ -2,9 +2,9 @@ - +Uses of Class com.comphenix.protocol.wrappers.nbt.NbtFactory - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtList.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtList.html index d451e37b..1561cf1c 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtList.html +++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtList.html @@ -2,9 +2,9 @@ - +Uses of Interface com.comphenix.protocol.wrappers.nbt.NbtList - + @@ -186,7 +186,7 @@ - diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtType.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtType.html index 908522e0..447d4e73 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtType.html +++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtType.html @@ -2,9 +2,9 @@ - +Uses of Class com.comphenix.protocol.wrappers.nbt.NbtType - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtVisitor.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtVisitor.html index 3aef5ac0..b00811ae 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtVisitor.html +++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtVisitor.html @@ -2,9 +2,9 @@ - +Uses of Interface com.comphenix.protocol.wrappers.nbt.NbtVisitor - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtWrapper.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtWrapper.html index 6ffbce20..046c0d0c 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtWrapper.html +++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtWrapper.html @@ -2,9 +2,9 @@ - +Uses of Interface com.comphenix.protocol.wrappers.nbt.NbtWrapper - + @@ -107,7 +107,7 @@ - @@ -156,7 +156,7 @@ - diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/NbtBinarySerializer.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/NbtBinarySerializer.html index c3c30a41..2dcb71be 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/NbtBinarySerializer.html +++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/NbtBinarySerializer.html @@ -2,9 +2,9 @@ - +NbtBinarySerializer - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/NbtConfigurationSerializer.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/NbtConfigurationSerializer.html index 4f8f349c..c05bc22c 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/NbtConfigurationSerializer.html +++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/NbtConfigurationSerializer.html @@ -2,9 +2,9 @@ - +NbtConfigurationSerializer - + @@ -175,21 +175,21 @@ extends java.lang.Object - - - @@ -203,7 +203,7 @@ extends java.lang.Object @@ -310,7 +310,7 @@ extends java.lang.Object
                          • serialize

                            public <TType> void serialize(NbtBase<TType> value,
                            -                     ConfigurationSection destination)
                            + org.bukkit.configuration.ConfigurationSection destination)
                            Write the content of a NBT tag to a configuration section.
                            Parameters:
                            value - - the NBT tag to write.
                            destination - - the destination section.
                          • @@ -321,7 +321,7 @@ extends java.lang.Object
                            • deserialize

                              -
                              public <TType> NbtWrapper<TType> deserialize(ConfigurationSection root,
                              +
                              public <TType> NbtWrapper<TType> deserialize(org.bukkit.configuration.ConfigurationSection root,
                                                                   java.lang.String nodeName)
                              Read a NBT tag from a root configuration.
                              Parameters:
                              root - - configuration that contains the NBT tag.
                              nodeName - - name of the NBT tag.
                              @@ -334,7 +334,7 @@ extends java.lang.Object
                              • deserializeCompound

                                -
                                public NbtCompound deserializeCompound(YamlConfiguration root,
                                +
                                public NbtCompound deserializeCompound(org.bukkit.configuration.file.YamlConfiguration root,
                                                               java.lang.String nodeName)
                                Read a NBT compound from a root configuration.
                                Parameters:
                                root - - configuration that contains the NBT compound.
                                nodeName - - name of the NBT compound.
                                @@ -347,7 +347,7 @@ extends java.lang.Object
                                • deserializeList

                                  -
                                  public <T> NbtList<T> deserializeList(YamlConfiguration root,
                                  +
                                  public <T> NbtList<T> deserializeList(org.bukkit.configuration.file.YamlConfiguration root,
                                                                java.lang.String nodeName)
                                  Read a NBT compound from a root configuration.
                                  Parameters:
                                  root - - configuration that contains the NBT compound.
                                  nodeName - - name of the NBT compound.
                                  diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/NbtTextSerializer.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/NbtTextSerializer.html index 7bafea0e..411adaf3 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/NbtTextSerializer.html +++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/NbtTextSerializer.html @@ -2,9 +2,9 @@ - + NbtTextSerializer - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/class-use/NbtBinarySerializer.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/class-use/NbtBinarySerializer.html index 46eef061..02a14ccc 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/class-use/NbtBinarySerializer.html +++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/class-use/NbtBinarySerializer.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.wrappers.nbt.io.NbtBinarySerializer - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/class-use/NbtConfigurationSerializer.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/class-use/NbtConfigurationSerializer.html index 4790df3f..ff9891d4 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/class-use/NbtConfigurationSerializer.html +++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/class-use/NbtConfigurationSerializer.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.wrappers.nbt.io.NbtConfigurationSerializer - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/class-use/NbtTextSerializer.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/class-use/NbtTextSerializer.html index 547ad2fc..e3499145 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/class-use/NbtTextSerializer.html +++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/class-use/NbtTextSerializer.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.wrappers.nbt.io.NbtTextSerializer - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/package-frame.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/package-frame.html index 2c4f541b..2c264b6e 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/package-frame.html +++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/package-frame.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.wrappers.nbt.io - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/package-summary.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/package-summary.html index bb984948..00238f77 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/package-summary.html +++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/package-summary.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.wrappers.nbt.io - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/package-tree.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/package-tree.html index a4eea5c0..15c50ce6 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/package-tree.html +++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/package-tree.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.wrappers.nbt.io Class Hierarchy - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/package-use.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/package-use.html index f3106bbb..3400c813 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/package-use.html +++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/package-use.html @@ -2,9 +2,9 @@ - + Uses of Package com.comphenix.protocol.wrappers.nbt.io - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/package-frame.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/package-frame.html index 84ac8e16..4eaac763 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/package-frame.html +++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/package-frame.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.wrappers.nbt - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/package-summary.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/package-summary.html index fccf0272..dbe4f6d6 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/package-summary.html +++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/package-summary.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.wrappers.nbt - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/package-tree.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/package-tree.html index 4fb23ac5..df6619e9 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/package-tree.html +++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/package-tree.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.wrappers.nbt Class Hierarchy - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/package-use.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/package-use.html index e86edb70..d5944e20 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/package-use.html +++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/package-use.html @@ -2,9 +2,9 @@ - + Uses of Package com.comphenix.protocol.wrappers.nbt - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/package-frame.html b/Javadoc/com/comphenix/protocol/wrappers/package-frame.html index 25c758b3..694a2889 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/package-frame.html +++ b/Javadoc/com/comphenix/protocol/wrappers/package-frame.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.wrappers - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/package-summary.html b/Javadoc/com/comphenix/protocol/wrappers/package-summary.html index af12d0d7..7833dc1f 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/package-summary.html +++ b/Javadoc/com/comphenix/protocol/wrappers/package-summary.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.wrappers - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/package-tree.html b/Javadoc/com/comphenix/protocol/wrappers/package-tree.html index 708a9ec6..d30e5b1b 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/package-tree.html +++ b/Javadoc/com/comphenix/protocol/wrappers/package-tree.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.wrappers Class Hierarchy - + diff --git a/Javadoc/com/comphenix/protocol/wrappers/package-use.html b/Javadoc/com/comphenix/protocol/wrappers/package-use.html index 3feeb902..bb17e7b8 100644 --- a/Javadoc/com/comphenix/protocol/wrappers/package-use.html +++ b/Javadoc/com/comphenix/protocol/wrappers/package-use.html @@ -2,9 +2,9 @@ - + Uses of Package com.comphenix.protocol.wrappers - + diff --git a/Javadoc/constant-values.html b/Javadoc/constant-values.html index d594e7ce..3ecfb9c9 100644 --- a/Javadoc/constant-values.html +++ b/Javadoc/constant-values.html @@ -2,9 +2,9 @@ - + Constant Field Values - + @@ -892,13 +892,20 @@
                            + + + + + - + diff --git a/Javadoc/deprecated-list.html b/Javadoc/deprecated-list.html index e0babc43..050573d6 100644 --- a/Javadoc/deprecated-list.html +++ b/Javadoc/deprecated-list.html @@ -2,9 +2,9 @@ - +Deprecated List - + @@ -67,6 +67,7 @@

                            Contents

                            NbtCompoundNbtConfigurationSerializer.deserializeCompound(YamlConfiguration root, +NbtConfigurationSerializer.deserializeCompound(org.bukkit.configuration.file.YamlConfiguration root, java.lang.String nodeName)
                            Read a NBT compound from a root configuration.
                            <T> NbtList<T>NbtConfigurationSerializer.deserializeList(YamlConfiguration root, +NbtConfigurationSerializer.deserializeList(org.bukkit.configuration.file.YamlConfiguration root, java.lang.String nodeName)
                            Read a NBT compound from a root configuration.
                            static NbtWrapper<?>NbtFactory.fromItemTag(ItemStack stack) +NbtFactory.fromItemTag(org.bukkit.inventory.ItemStack stack)
                            Construct a wrapper for an NBT tag stored (in memory) in an item stack.
                            <TType> NbtWrapper<TType>NbtConfigurationSerializer.deserialize(ConfigurationSection root, +NbtConfigurationSerializer.deserialize(org.bukkit.configuration.ConfigurationSection root, java.lang.String nodeName)
                            Read a NBT tag from a root configuration.
                            <TType> NbtWrapper<TType>deserialize(ConfigurationSection root, +deserialize(org.bukkit.configuration.ConfigurationSection root, java.lang.String nodeName)
                            Read a NBT tag from a root configuration.
                            NbtCompounddeserializeCompound(YamlConfiguration root, +deserializeCompound(org.bukkit.configuration.file.YamlConfiguration root, java.lang.String nodeName)
                            Read a NBT compound from a root configuration.
                            <T> NbtList<T>deserializeList(YamlConfiguration root, +deserializeList(org.bukkit.configuration.file.YamlConfiguration root, java.lang.String nodeName)
                            Read a NBT compound from a root configuration.
                            <TType> void serialize(NbtBase<TType> value, - ConfigurationSection destination) + org.bukkit.configuration.ConfigurationSection destination)
                            Write the content of a NBT tag to a configuration section.
                            + +public static final doubleDEFAULT_DISABLE_AT_PERM_GEN0.65
                            public static final int SHUTDOWN_DELAY_MS 2000
                            public static final java.lang.String
                          + + + +
                          diff --git a/Javadoc/help-doc.html b/Javadoc/help-doc.html index 7806ec41..d7b8d944 100644 --- a/Javadoc/help-doc.html +++ b/Javadoc/help-doc.html @@ -2,9 +2,9 @@ - + API Help - + diff --git a/Javadoc/index-files/index-1.html b/Javadoc/index-files/index-1.html index 8b849c75..fcb359cc 100644 --- a/Javadoc/index-files/index-1.html +++ b/Javadoc/index-files/index-1.html @@ -2,9 +2,9 @@ - + A-Index - + @@ -175,30 +175,36 @@
                          Add a value to a typed list by attempting to convert it to the nearest value.
                          +
                          addCustomData(Metrics.Plotter) - Method in class com.comphenix.protocol.metrics.Metrics
                          +
                          +
                          Adds a custom data plotter to the default graph
                          +
                          addEndPoint(TKey, TValue, AbstractIntervalTree.State) - Method in class com.comphenix.protocol.concurrency.AbstractIntervalTree
                           
                          addGlobalParameter(String, Object) - Method in class com.comphenix.protocol.error.DetailedErrorReporter
                          Adds the given global parameter.
                          +
                          addGraph(Metrics.Graph) - Method in class com.comphenix.protocol.metrics.Metrics
                          +
                          +
                          Add a Graph object to BukkitMetrics that represents data for the plugin that should be sent to the backend
                          +
                          addListener(TListener, ListeningWhitelist) - Method in class com.comphenix.protocol.concurrency.AbstractConcurrentListenerMultimap
                          Adds a listener to its requested list of packet recievers.
                          -
                          addPacketHandler(int) - Method in interface com.comphenix.protocol.injector.packet.PacketInjector
                          +
                          addListener(StructureModifier<TKey>, CompileListener<TKey>) - Method in class com.comphenix.protocol.reflect.compiler.BackgroundCompiler
                          -
                          Start intercepting packets with the given packet ID.
                          +
                          Add a compile listener if we are still waiting for the structure modifier to be compiled.
                          -
                          addPacketHandler(int) - Method in interface com.comphenix.protocol.injector.player.PlayerInjectionHandler
                          -
                          -
                          Add an underlying packet handler of the given ID.
                          -
                          -
                          addPacketListener(PacketListener) - Method in class com.comphenix.protocol.injector.PacketFilterManager
                          -
                           
                          addPacketListener(PacketListener) - Method in interface com.comphenix.protocol.ProtocolManager
                          Adds a packet listener.
                          +
                          addPlotter(Metrics.Plotter) - Method in class com.comphenix.protocol.metrics.Metrics.Graph
                          +
                          +
                          Add a plotter to the graph, which will be used to plot entries
                          +
                          addPrefix(String, String) - Method in class com.comphenix.protocol.error.DetailedErrorReporter
                          Adds the given prefix to every line in the text.
                          diff --git a/Javadoc/index-files/index-10.html b/Javadoc/index-files/index-10.html index 54a880cf..1380ddd1 100644 --- a/Javadoc/index-files/index-10.html +++ b/Javadoc/index-files/index-10.html @@ -2,9 +2,9 @@ - + K-Index - + diff --git a/Javadoc/index-files/index-11.html b/Javadoc/index-files/index-11.html index b8604166..6dcf9e3d 100644 --- a/Javadoc/index-files/index-11.html +++ b/Javadoc/index-files/index-11.html @@ -2,9 +2,9 @@ - + L-Index - + @@ -67,10 +67,6 @@

                          L

                          -
                          ListenerInvoker - Interface in com.comphenix.protocol.injector
                          -
                          -
                          Represents an object that initiate the packet listeners.
                          -
                          ListenerPriority - Enum in com.comphenix.protocol.events
                          Represents a packet event priority, similar to the Bukkit EventPriority.
                          diff --git a/Javadoc/index-files/index-12.html b/Javadoc/index-files/index-12.html index 49c96e31..5ded4f00 100644 --- a/Javadoc/index-files/index-12.html +++ b/Javadoc/index-files/index-12.html @@ -2,9 +2,9 @@ - + M-Index - + @@ -135,10 +135,38 @@
                          MethodUtils() - Constructor for class com.comphenix.protocol.reflect.MethodUtils
                           
                          +
                          Metrics - Class in com.comphenix.protocol.metrics
                          +
                          +
                          The metrics class obtains data about a plugin and submits statistics about it to the metrics backend.
                          +
                          +
                          Metrics(Plugin) - Constructor for class com.comphenix.protocol.metrics.Metrics
                          +
                           
                          +
                          Metrics.Graph - Class in com.comphenix.protocol.metrics
                          +
                          +
                          Represents a custom graph on the website
                          +
                          +
                          Metrics.Plotter - Class in com.comphenix.protocol.metrics
                          +
                          +
                          Interface used to collect custom data for a plugin
                          +
                          +
                          Metrics.Plotter() - Constructor for class com.comphenix.protocol.metrics.Metrics.Plotter
                          +
                          +
                          Construct a plotter with the default plot name
                          +
                          +
                          Metrics.Plotter(String) - Constructor for class com.comphenix.protocol.metrics.Metrics.Plotter
                          +
                          +
                          Construct a plotter with a specific plot name
                          +
                          MINECRAFT_OBJECT - Static variable in class com.comphenix.protocol.utility.MinecraftReflection
                          Deprecated.
                          +
                          MinecraftMethods - Class in com.comphenix.protocol.utility
                          +
                          +
                          Static methods for accessing Minecraft methods.
                          +
                          +
                          MinecraftMethods() - Constructor for class com.comphenix.protocol.utility.MinecraftMethods
                          +
                           
                          MinecraftReflection - Class in com.comphenix.protocol.utility
                          Methods and constants specifically used in conjuction with reflecting Minecraft object.
                          diff --git a/Javadoc/index-files/index-13.html b/Javadoc/index-files/index-13.html index 343c96e7..5f340b19 100644 --- a/Javadoc/index-files/index-13.html +++ b/Javadoc/index-files/index-13.html @@ -2,9 +2,9 @@ - + N-Index - + @@ -153,20 +153,6 @@
                          Indicates that this NBT wraps an underlying net.minecraft.server instance.
                          -
                          NetworkObjectInjector - Class in com.comphenix.protocol.injector.player
                          -
                          -
                          Injection method that overrides the NetworkHandler itself, and its queue-method.
                          -
                          -
                          NetworkObjectInjector(ClassLoader, ErrorReporter, Player, ListenerInvoker, IntegerSet) - Constructor for class com.comphenix.protocol.injector.player.NetworkObjectInjector
                          -
                          -
                          Create a new network object injector.
                          -
                          -
                          newBuilder() - Static method in class com.comphenix.protocol.injector.packet.PacketInjectorBuilder
                          -
                          -
                          Retrieve a new packet injector builder.
                          -
                          -
                          newBuilder() - Static method in class com.comphenix.protocol.injector.player.PlayerInjectorBuilder
                          -
                           
                          newBuilder() - Static method in class com.comphenix.protocol.reflect.cloning.AggregateCloner
                          Begins constructing a new aggregate cloner.
                          @@ -183,9 +169,9 @@
                          Return a method contract builder.
                          -
                          newPacket(int) - Static method in class com.comphenix.protocol.injector.StructureCache
                          +
                          newInvalidCacheLoader() - Static method in class com.comphenix.protocol.concurrency.BlockingHashMap
                          -
                          Creates an empty Minecraft packet of the given ID.
                          +
                          Retrieve a cache loader that will always throw an exception.
                          NotConstructableException - Exception in com.comphenix.protocol.reflect.instances
                          diff --git a/Javadoc/index-files/index-14.html b/Javadoc/index-files/index-14.html index adf3a626..edd300ef 100644 --- a/Javadoc/index-files/index-14.html +++ b/Javadoc/index-files/index-14.html @@ -2,9 +2,9 @@ - + O-Index - + @@ -155,6 +155,10 @@
                          onLoad() - Method in class com.comphenix.protocol.ProtocolLibrary
                           
                          +
                          onOptOut() - Method in class com.comphenix.protocol.metrics.Metrics.Graph
                          +
                          +
                          Called when the server owner decides to opt-out of BukkitMetrics while the server is running.
                          +
                          onPacketReceiving(PacketEvent) - Method in class com.comphenix.protocol.events.PacketAdapter
                           
                          onPacketReceiving(PacketEvent) - Method in interface com.comphenix.protocol.events.PacketListener
                          diff --git a/Javadoc/index-files/index-15.html b/Javadoc/index-files/index-15.html index 3db9bd06..8bebb60a 100644 --- a/Javadoc/index-files/index-15.html +++ b/Javadoc/index-files/index-15.html @@ -2,9 +2,9 @@ - + P-Index - + @@ -99,14 +99,6 @@
                          Initialize a packet listener for a single connection side.
                          -
                          PacketConstructor - Class in com.comphenix.protocol.injector
                          -
                          -
                          A packet constructor that uses an internal Minecraft.
                          -
                          -
                          PacketConstructor.Unwrapper - Interface in com.comphenix.protocol.injector
                          -
                          -
                          Represents a unwrapper for a constructor parameter.
                          -
                          PacketContainer - Class in com.comphenix.protocol.events
                          Represents a Minecraft packet indirectly.
                          @@ -133,50 +125,10 @@
                          Use the static constructors to create instances of this event.
                          -
                          PacketFilterManager - Class in com.comphenix.protocol.injector
                          -
                           
                          -
                          PacketFilterManager(ClassLoader, Server, DelayedSingleTask, ErrorReporter) - Constructor for class com.comphenix.protocol.injector.PacketFilterManager
                          -
                          -
                          Only create instances of this class if protocol lib is disabled.
                          -
                          -
                          PacketFilterManager.PlayerInjectHooks - Enum in com.comphenix.protocol.injector
                          -
                          -
                          Sets the inject hook type.
                          -
                          -
                          PacketInjector - Interface in com.comphenix.protocol.injector.packet
                          -
                          -
                          Represents a incoming packet injector.
                          -
                          -
                          PacketInjectorBuilder - Class in com.comphenix.protocol.injector.packet
                          -
                          -
                          A builder responsible for creating incoming packet injectors.
                          -
                          -
                          PacketInjectorBuilder() - Constructor for class com.comphenix.protocol.injector.packet.PacketInjectorBuilder
                          -
                           
                          PacketListener - Interface in com.comphenix.protocol.events
                          Represents a listener that recieves notifications when packets are sent or recieved.
                          -
                          packetListeners - Variable in class com.comphenix.protocol.injector.player.PlayerInjectorBuilder
                          -
                           
                          -
                          packetListeners(Set<PacketListener>) - Method in class com.comphenix.protocol.injector.player.PlayerInjectorBuilder
                          -
                          -
                          Set the set of packet listeners.
                          -
                          -
                          packetQueued(Object, Object, Object) - Method in class com.comphenix.protocol.injector.spigot.SpigotPacketInjector
                          -
                           
                          -
                          packetReceived(Object, Object, Object) - Method in class com.comphenix.protocol.injector.spigot.SpigotPacketInjector
                          -
                           
                          -
                          packetRecieved(PacketContainer, Player) - Method in interface com.comphenix.protocol.injector.packet.PacketInjector
                          -
                          -
                          Let the packet listeners process the given packet.
                          -
                          -
                          PacketRegistry - Class in com.comphenix.protocol.injector.packet
                          -
                          -
                          Static packet registry in Minecraft.
                          -
                          -
                          PacketRegistry() - Constructor for class com.comphenix.protocol.injector.packet.PacketRegistry
                          -
                           
                          Packets - Class in com.comphenix.protocol
                          List of known packet IDs since 1.3.2.
                          @@ -245,38 +197,14 @@
                           
                          PLAYER_POSITION - Static variable in class com.comphenix.protocol.Packets.Server
                           
                          -
                          playerInjection - Variable in class com.comphenix.protocol.injector.packet.PacketInjectorBuilder
                          -
                           
                          -
                          playerInjection(PlayerInjectionHandler) - Method in class com.comphenix.protocol.injector.packet.PacketInjectorBuilder
                          -
                          -
                          The packet stream invoker.
                          -
                          -
                          PlayerInjectionHandler - Interface in com.comphenix.protocol.injector.player
                          -
                           
                          -
                          PlayerInjectorBuilder - Class in com.comphenix.protocol.injector.player
                          -
                          -
                          Constructor for different player injectors.
                          -
                          -
                          PlayerInjectorBuilder() - Constructor for class com.comphenix.protocol.injector.player.PlayerInjectorBuilder
                          -
                           
                          -
                          PlayerLoggedOutException - Exception in com.comphenix.protocol.injector
                          -
                          -
                          Invoked when attempting to use a player that has already logged out.
                          -
                          -
                          PlayerLoggedOutException() - Constructor for exception com.comphenix.protocol.injector.PlayerLoggedOutException
                          -
                           
                          -
                          PlayerLoggedOutException(String, Throwable) - Constructor for exception com.comphenix.protocol.injector.PlayerLoggedOutException
                          -
                           
                          -
                          PlayerLoggedOutException(String) - Constructor for exception com.comphenix.protocol.injector.PlayerLoggedOutException
                          -
                           
                          -
                          PlayerLoggedOutException(Throwable) - Constructor for exception com.comphenix.protocol.injector.PlayerLoggedOutException
                          -
                           
                          plugin - Variable in class com.comphenix.protocol.events.PacketAdapter
                           
                          -
                          plugin - Variable in class com.comphenix.protocol.injector.DelayedSingleTask
                          -
                           
                          PLUGIN_NAME - Static variable in class com.comphenix.protocol.error.DetailedErrorReporter
                           
                          +
                          pluginFile(String) - Method in class com.comphenix.protocol.metrics.Updater
                          +
                          +
                          Check if the name of a jar is one of the plugins currently installed, used for extracting the correct files out of a zip.
                          +
                          pluginReference - Variable in class com.comphenix.protocol.error.DetailedErrorReporter
                           
                          prefix - Variable in class com.comphenix.protocol.error.DetailedErrorReporter
                          @@ -311,16 +239,6 @@
                          Print the content of an object.
                          -
                          PrioritizedListener<TListener> - Class in com.comphenix.protocol.injector
                          -
                          -
                          Represents a listener with a priority.
                          -
                          -
                          PrioritizedListener(TListener, ListenerPriority) - Constructor for class com.comphenix.protocol.injector.PrioritizedListener
                          -
                           
                          -
                          processPacket(Player, Object) - Method in interface com.comphenix.protocol.injector.player.PlayerInjectionHandler
                          -
                          -
                          Process a packet as if it were sent by the given player.
                          -
                          ProtocolLibrary - Class in com.comphenix.protocol
                          The main entry point for ProtocolLib.
                          @@ -399,6 +317,14 @@
                          Inserts every range from the given tree into the current tree.
                          +
                          putIfAbsent(TKey, TValue) - Method in class com.comphenix.protocol.concurrency.BlockingHashMap
                          +
                          +
                          If and only if a key is not present in the map will it be associated with the given value.
                          +
                          +
                          putObject(String, Object) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
                          +
                          +
                          Associates a given Java primitive value, list, map or NbtBase with a certain key.
                          +
                          A B C D E F G H I K L M N O P R S T U V W X Y Z 
                          diff --git a/Javadoc/index-files/index-16.html b/Javadoc/index-files/index-16.html index 2214c199..20c12d96 100644 --- a/Javadoc/index-files/index-16.html +++ b/Javadoc/index-files/index-16.html @@ -2,9 +2,9 @@ - + R-Index - + @@ -117,10 +117,6 @@
                          receivingWhitelist - Variable in class com.comphenix.protocol.events.PacketAdapter
                           
                          -
                          recieveClientPacket(Player, PacketContainer) - Method in class com.comphenix.protocol.injector.PacketFilterManager
                          -
                           
                          -
                          recieveClientPacket(Player, PacketContainer, boolean) - Method in class com.comphenix.protocol.injector.PacketFilterManager
                          -
                           
                          recieveClientPacket(Player, PacketContainer) - Method in interface com.comphenix.protocol.PacketStream
                          Simulate recieving a certain packet from a given player.
                          @@ -137,10 +133,6 @@
                          How far we will recurse.
                          -
                          register(Plugin) - Method in class com.comphenix.protocol.injector.spigot.SpigotPacketInjector
                          -
                          -
                          Register the Spigot packet injector.
                          -
                          registerAll() - Method in class com.comphenix.protocol.reflect.IntEnum
                          Registers every public int field as a member.
                          @@ -155,20 +147,10 @@
                          Registers an asynchronous packet handler.
                          -
                          registerEvents(PluginManager, Plugin) - Method in class com.comphenix.protocol.injector.PacketFilterManager
                          -
                          -
                          Register this protocol manager on Bukkit.
                          -
                          registerMember(int, String) - Method in class com.comphenix.protocol.reflect.IntEnum
                          Registers a member.
                          -
                          registerPacketClass(Class<?>, int) - Method in interface com.comphenix.protocol.injector.ListenerInvoker
                          -
                          -
                          Remove a given class from the packet registry.
                          -
                          -
                          registerPacketClass(Class<?>, int) - Method in class com.comphenix.protocol.injector.PacketFilterManager
                          -
                           
                          registerTimeoutHandler(PacketListener) - Method in class com.comphenix.protocol.async.AsyncFilterManager
                           
                          registerTimeoutHandler(PacketListener) - Method in interface com.comphenix.protocol.AsynchronousManager
                          @@ -201,6 +183,10 @@
                          Removes from the list by making a copy of every element except the one with the given index.
                          +
                          remove(String) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
                          +
                          +
                          Remove the NBT element that is associated with the given key.
                          +
                          remove(Object) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtList
                          Remove a given object from the list.
                          @@ -217,22 +203,10 @@
                          Remove a given object from the underlying DataWatcher.
                          -
                          removePacketHandler(int) - Method in interface com.comphenix.protocol.injector.packet.PacketInjector
                          -
                          -
                          Stop intercepting packets with the given packet ID.
                          -
                          -
                          removePacketHandler(int) - Method in interface com.comphenix.protocol.injector.player.PlayerInjectionHandler
                          -
                          -
                          Remove an underlying packet handler of ths ID.
                          -
                          -
                          removePacketListener(PacketListener) - Method in class com.comphenix.protocol.injector.PacketFilterManager
                          -
                           
                          removePacketListener(PacketListener) - Method in interface com.comphenix.protocol.ProtocolManager
                          Removes a given packet listener.
                          -
                          removePacketListeners(Plugin) - Method in class com.comphenix.protocol.injector.PacketFilterManager
                          -
                           
                          removePacketListeners(Plugin) - Method in interface com.comphenix.protocol.ProtocolManager
                          Removes every listener associated with the given plugin.
                          @@ -241,24 +215,16 @@
                          Clean up after a given player has logged out.
                          +
                          removePlotter(Metrics.Plotter) - Method in class com.comphenix.protocol.metrics.Metrics.Graph
                          +
                          +
                          Remove a plotter from the graph
                          +
                          reportDetailed(Object, String, Throwable, Object...) - Method in class com.comphenix.protocol.error.DetailedErrorReporter
                           
                          reportDetailed(Object, String, Throwable, Object...) - Method in interface com.comphenix.protocol.error.ErrorReporter
                          Prints a detailed error report about an unhandled exception.
                          -
                          reporter - Variable in class com.comphenix.protocol.injector.packet.PacketInjectorBuilder
                          -
                           
                          -
                          reporter(ErrorReporter) - Method in class com.comphenix.protocol.injector.packet.PacketInjectorBuilder
                          -
                          -
                          The error reporter used by the created injector.
                          -
                          -
                          reporter - Variable in class com.comphenix.protocol.injector.player.PlayerInjectorBuilder
                          -
                           
                          -
                          reporter(ErrorReporter) - Method in class com.comphenix.protocol.injector.player.PlayerInjectorBuilder
                          -
                          -
                          The error reporter used by the created injector.
                          -
                          reportMinimal(Plugin, String, Throwable, Object...) - Method in class com.comphenix.protocol.error.DetailedErrorReporter
                           
                          reportMinimal(Plugin, String, Throwable) - Method in class com.comphenix.protocol.error.DetailedErrorReporter
                          @@ -293,6 +259,10 @@
                           
                          requireModifier(int) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
                           
                          +
                          reset() - Method in class com.comphenix.protocol.metrics.Metrics.Plotter
                          +
                          +
                          Called after the website graphs have been updated
                          +
                          RESPAWN - Static variable in class com.comphenix.protocol.Packets.Client
                          Deprecated.
                          diff --git a/Javadoc/index-files/index-17.html b/Javadoc/index-files/index-17.html index 7542b059..9e0c7a3e 100644 --- a/Javadoc/index-files/index-17.html +++ b/Javadoc/index-files/index-17.html @@ -2,9 +2,9 @@ - + S-Index - + @@ -71,10 +71,6 @@
                          Ensure that the current value is still set after this class has been garbaged collected.
                          -
                          schedule(long, Runnable) - Method in class com.comphenix.protocol.injector.DelayedSingleTask
                          -
                          -
                          Schedule a single task for execution.
                          -
                          scheduleCompilation(Map<Class, StructureModifier>, Class) - Method in class com.comphenix.protocol.reflect.compiler.BackgroundCompiler
                          Ensure that the indirectly given structure modifier is eventually compiled.
                          @@ -83,12 +79,6 @@
                          Ensure that the given structure modifier is eventually compiled.
                          -
                          scheduleDataInputRefresh(Player) - Method in interface com.comphenix.protocol.injector.player.PlayerInjectionHandler
                          -
                          -
                          Inform the current PlayerInjector that it should update the DataInputStream next.
                          -
                          -
                          scheduler - Variable in class com.comphenix.protocol.injector.DelayedSingleTask
                          -
                           
                          sealed - Variable in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember
                          Whether or not this contract can be modified.
                          @@ -105,16 +95,6 @@
                          Send any due packets, or clean up packets that have expired.
                          -
                          sendServerPacket(Player, PacketContainer) - Method in class com.comphenix.protocol.injector.PacketFilterManager
                          -
                           
                          -
                          sendServerPacket(Player, PacketContainer, boolean) - Method in class com.comphenix.protocol.injector.PacketFilterManager
                          -
                           
                          -
                          sendServerPacket(Object, boolean) - Method in class com.comphenix.protocol.injector.player.NetworkObjectInjector
                          -
                           
                          -
                          sendServerPacket(Player, PacketContainer, boolean) - Method in interface com.comphenix.protocol.injector.player.PlayerInjectionHandler
                          -
                          -
                          Send the given packet to the given reciever.
                          -
                          sendServerPacket(Player, PacketContainer) - Method in interface com.comphenix.protocol.PacketStream
                          Send a packet to the given player.
                          @@ -147,12 +127,6 @@
                          Serialize an item stack as a base-64 encoded string.
                          -
                          server - Variable in class com.comphenix.protocol.injector.player.PlayerInjectorBuilder
                          -
                           
                          -
                          server(Server) - Method in class com.comphenix.protocol.injector.player.PlayerInjectorBuilder
                          -
                          -
                          Set the Bukkit server used for scheduling.
                          -
                          SET_CREATIVE_SLOT - Static variable in class com.comphenix.protocol.Packets.Client
                           
                          SET_CREATIVE_SLOT - Static variable in class com.comphenix.protocol.Packets.Server
                          @@ -186,6 +160,10 @@
                          Set whether or not the value must be synchronized with the client.
                          +
                          setDisablePermGenFraction(double) - Method in class com.comphenix.protocol.reflect.compiler.BackgroundCompiler
                          +
                          +
                          Set the fraction of perm gen space used after which the background compiler will be disabled.
                          +
                          setElementType(NbtType) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtList
                          Set the type of each element.
                          @@ -256,18 +234,6 @@
                          Sets the output packet stream responsible for transmitting this packet.
                          -
                          setPlayerHook(PacketFilterManager.PlayerInjectHooks) - Method in class com.comphenix.protocol.injector.PacketFilterManager
                          -
                          -
                          Sets how the server packets are read.
                          -
                          -
                          setPlayerHook(PacketFilterManager.PlayerInjectHooks) - Method in interface com.comphenix.protocol.injector.player.PlayerInjectionHandler
                          -
                          -
                          Sets how the server packets are read.
                          -
                          -
                          setPlayerHook(GamePhase, PacketFilterManager.PlayerInjectHooks) - Method in interface com.comphenix.protocol.injector.player.PlayerInjectionHandler
                          -
                          -
                          Sets how the server packets are read.
                          -
                          setPrefix(String) - Method in class com.comphenix.protocol.error.DetailedErrorReporter
                           
                          setProcessingLock(Object) - Method in class com.comphenix.protocol.async.AsyncMarker
                          @@ -380,22 +346,8 @@
                          Create a sorted array from the given list.
                          -
                          SortedPacketListenerList - Class in com.comphenix.protocol.injector
                          -
                          -
                          Registry of synchronous packet listeners.
                          -
                          -
                          SortedPacketListenerList() - Constructor for class com.comphenix.protocol.injector.SortedPacketListenerList
                          -
                           
                          SPAWN_POSITION - Static variable in class com.comphenix.protocol.Packets.Server
                           
                          -
                          SpigotPacketInjector - Class in com.comphenix.protocol.injector.spigot
                          -
                          -
                          Offload all the work to Spigot, if possible.
                          -
                          -
                          SpigotPacketInjector(ClassLoader, ErrorReporter, ListenerInvoker, Server) - Constructor for class com.comphenix.protocol.injector.spigot.SpigotPacketInjector
                          -
                          -
                          Create a new spigot injector.
                          -
                          start() - Method in class com.comphenix.protocol.async.AsyncListenerHandler
                          Start a singler worker thread handling the asynchronous listener.
                          @@ -408,10 +360,18 @@
                          Start multiple worker threads for this listener.
                          +
                          start() - Method in class com.comphenix.protocol.metrics.Metrics
                          +
                          +
                          Start measuring statistics.
                          +
                          state - Variable in class com.comphenix.protocol.concurrency.AbstractIntervalTree.EndPoint
                           
                          STATISTIC - Static variable in class com.comphenix.protocol.Packets.Server
                           
                          +
                          Statistics - Class in com.comphenix.protocol.metrics
                          +
                           
                          +
                          Statistics(Plugin) - Constructor for class com.comphenix.protocol.metrics.Statistics
                          +
                           
                          stop() - Method in class com.comphenix.protocol.async.AsyncListenerHandler
                          Stop a worker thread.
                          @@ -434,12 +394,6 @@
                          Default value for Strings.
                          -
                          StructureCache - Class in com.comphenix.protocol.injector
                          -
                          -
                          Caches structure modifiers.
                          -
                          -
                          StructureCache() - Constructor for class com.comphenix.protocol.injector.StructureCache
                          -
                           
                          StructureCompiler - Class in com.comphenix.protocol.reflect.compiler
                          Represents a StructureModifier compiler.
                          diff --git a/Javadoc/index-files/index-18.html b/Javadoc/index-files/index-18.html index f9b40dcc..5ebc2cfb 100644 --- a/Javadoc/index-files/index-18.html +++ b/Javadoc/index-files/index-18.html @@ -2,9 +2,9 @@ - + T-Index - + @@ -75,8 +75,6 @@
                           
                          targetType - Variable in class com.comphenix.protocol.reflect.StructureModifier
                           
                          -
                          taskID - Variable in class com.comphenix.protocol.injector.DelayedSingleTask
                          -
                           
                          THREAD_FORMAT - Static variable in class com.comphenix.protocol.reflect.compiler.BackgroundCompiler
                          The default format for the name of new worker threads.
                          @@ -87,6 +85,10 @@
                           
                          toArray(T[]) - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
                           
                          +
                          toFlowerBox(String[], String, int, int) - Static method in class com.comphenix.protocol.utility.ChatExtensions
                          +
                          +
                          Print a flower box around a given message.
                          +
                          toGenericString() - Method in class com.comphenix.protocol.reflect.MethodInfo
                          Returns a string describing this method or constructor, including type parameters.
                          @@ -111,6 +113,8 @@
                           
                          toString() - Method in class com.comphenix.protocol.events.PacketAdapter
                           
                          +
                          toString() - Method in enum com.comphenix.protocol.metrics.Updater.UpdateResult
                          +
                           
                          toString() - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember
                           
                          toString() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyClassContract
                          diff --git a/Javadoc/index-files/index-19.html b/Javadoc/index-files/index-19.html index bcd8f5a1..4e2f0f42 100644 --- a/Javadoc/index-files/index-19.html +++ b/Javadoc/index-files/index-19.html @@ -2,9 +2,9 @@ - + U-Index - + @@ -67,22 +67,6 @@

                          U

                          -
                          undoCancel(Integer, Object) - Method in interface com.comphenix.protocol.injector.packet.PacketInjector
                          -
                          -
                          Undo a packet cancel.
                          -
                          -
                          uninitializePlayers(Player[]) - Method in class com.comphenix.protocol.injector.PacketFilterManager
                          -
                          -
                          Uninitialize the packet injection of every player.
                          -
                          -
                          uninjectPlayer(Player) - Method in interface com.comphenix.protocol.injector.player.PlayerInjectionHandler
                          -
                          -
                          Unregisters the given player.
                          -
                          -
                          uninjectPlayer(InetSocketAddress) - Method in interface com.comphenix.protocol.injector.player.PlayerInjectionHandler
                          -
                          -
                          Unregisters a player by the given address.
                          -
                          unregisterAsyncHandler(AsyncListenerHandler) - Method in class com.comphenix.protocol.async.AsyncFilterManager
                           
                          unregisterAsyncHandler(AsyncListenerHandler) - Method in interface com.comphenix.protocol.AsynchronousManager
                          @@ -95,23 +79,15 @@
                          Unregisters every asynchronous handler associated with this plugin.
                          -
                          unregisterPacketClass(Class<?>) - Method in interface com.comphenix.protocol.injector.ListenerInvoker
                          -
                          -
                          Associate a given class with the given packet ID.
                          -
                          -
                          unregisterPacketClass(Class<?>) - Method in class com.comphenix.protocol.injector.PacketFilterManager
                          -
                           
                          unregisterTimeoutHandler(PacketListener) - Method in class com.comphenix.protocol.async.AsyncFilterManager
                           
                          unregisterTimeoutHandler(PacketListener) - Method in interface com.comphenix.protocol.AsynchronousManager
                          Unregisters a given timeout listener.
                          -
                          unwrapItem(Object) - Method in class com.comphenix.protocol.injector.BukkitUnwrapper
                          -
                           
                          -
                          unwrapItem(Object) - Method in interface com.comphenix.protocol.injector.PacketConstructor.Unwrapper
                          +
                          update(Updater.UpdateType, boolean) - Method in class com.comphenix.protocol.metrics.Updater
                          -
                          Convert the given wrapped object to the equivalent net.minecraft.server object.
                          +
                          Update the plugin.
                          UPDATE_HEALTH - Static variable in class com.comphenix.protocol.Packets.Server
                           
                          @@ -121,12 +97,26 @@
                           
                          UPDATE_TIME - Static variable in class com.comphenix.protocol.Packets.Server
                           
                          -
                          updateEntity(Entity, List<Player>) - Method in class com.comphenix.protocol.injector.PacketFilterManager
                          -
                           
                          updateEntity(Entity, List<Player>) - Method in interface com.comphenix.protocol.ProtocolManager
                          Completely resend an entity to a list of clients.
                          +
                          Updater - Class in com.comphenix.protocol.metrics
                          +
                          +
                          Check dev.bukkit.org to find updates for a given plugin, and download the updates if needed.
                          +
                          +
                          Updater(Plugin, Logger, String, File, String) - Constructor for class com.comphenix.protocol.metrics.Updater
                          +
                          +
                          Initialize the updater
                          +
                          +
                          Updater.UpdateResult - Enum in com.comphenix.protocol.metrics
                          +
                          +
                          Gives the dev the result of the update process.
                          +
                          +
                          Updater.UpdateType - Enum in com.comphenix.protocol.metrics
                          +
                          +
                          Allows the dev to specify the type of update that will be run.
                          +
                          USE_ENTITY - Static variable in class com.comphenix.protocol.Packets.Client
                           
                          useStructureCompiler - Variable in class com.comphenix.protocol.reflect.StructureModifier
                          diff --git a/Javadoc/index-files/index-2.html b/Javadoc/index-files/index-2.html index 26688330..d8cc3d98 100644 --- a/Javadoc/index-files/index-2.html +++ b/Javadoc/index-files/index-2.html @@ -2,9 +2,9 @@ - + B-Index - + @@ -139,14 +139,6 @@
                           
                          build() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
                           
                          -
                          buildHandler() - Method in class com.comphenix.protocol.injector.player.PlayerInjectorBuilder
                          -
                          -
                          Construct the injection handler.
                          -
                          -
                          buildInjector() - Method in class com.comphenix.protocol.injector.packet.PacketInjectorBuilder
                          -
                          -
                          Create a packet injector using the provided fields or the default values.
                          -
                          BukkitCloner - Class in com.comphenix.protocol.reflect.cloning
                          Represents an object that can clone a specific list of Bukkit- and Minecraft-related objects.
                          @@ -159,12 +151,6 @@
                          BukkitConverters() - Constructor for class com.comphenix.protocol.wrappers.BukkitConverters
                           
                          -
                          BukkitUnwrapper - Class in com.comphenix.protocol.injector
                          -
                          -
                          Represents an object capable of converting wrapped Bukkit objects into NMS objects.
                          -
                          -
                          BukkitUnwrapper() - Constructor for class com.comphenix.protocol.injector.BukkitUnwrapper
                          -
                           
                          BUTTON_CLICK - Static variable in class com.comphenix.protocol.Packets.Client
                           
                          diff --git a/Javadoc/index-files/index-20.html b/Javadoc/index-files/index-20.html index 174fe803..3a882344 100644 --- a/Javadoc/index-files/index-20.html +++ b/Javadoc/index-files/index-20.html @@ -2,9 +2,9 @@ - + V-Index - + @@ -81,11 +81,11 @@
                          Returns the enum constant of this type with the specified name.
                          -
                          valueOf(String) - Static method in enum com.comphenix.protocol.injector.GamePhase
                          +
                          valueOf(String) - Static method in enum com.comphenix.protocol.metrics.Updater.UpdateResult
                          Returns the enum constant of this type with the specified name.
                          -
                          valueOf(String) - Static method in enum com.comphenix.protocol.injector.PacketFilterManager.PlayerInjectHooks
                          +
                          valueOf(String) - Static method in enum com.comphenix.protocol.metrics.Updater.UpdateType
                          Returns the enum constant of this type with the specified name.
                          @@ -122,12 +122,12 @@ the order they are declared.
                          Returns an array containing the constants of this enum type, in the order they are declared.
                          -
                          values() - Static method in enum com.comphenix.protocol.injector.GamePhase
                          +
                          values() - Static method in enum com.comphenix.protocol.metrics.Updater.UpdateResult
                          Returns an array containing the constants of this enum type, in the order they are declared.
                          -
                          values() - Static method in enum com.comphenix.protocol.injector.PacketFilterManager.PlayerInjectHooks
                          +
                          values() - Static method in enum com.comphenix.protocol.metrics.Updater.UpdateType
                          Returns an array containing the constants of this enum type, in the order they are declared.
                          @@ -143,10 +143,6 @@ the order they are declared.
                          VEHICLE_SPAWN - Static variable in class com.comphenix.protocol.Packets.Server
                           
                          -
                          verifyWhitelist(PacketListener, ListeningWhitelist) - Static method in class com.comphenix.protocol.injector.PacketFilterManager
                          -
                          -
                          Determine if the packet IDs in a whitelist is valid.
                          -
                          visit(NbtBase<?>) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtVisitor
                          Visit a leaf node, which is a NBT tag with a primitive or String value.
                          diff --git a/Javadoc/index-files/index-21.html b/Javadoc/index-files/index-21.html index d5198885..1333fd6f 100644 --- a/Javadoc/index-files/index-21.html +++ b/Javadoc/index-files/index-21.html @@ -2,9 +2,9 @@ - + W-Index - + @@ -77,10 +77,6 @@
                          Create a new structure modifier for the new field type.
                          -
                          withPacket(int, Object[]) - Method in class com.comphenix.protocol.injector.PacketConstructor
                          -
                          -
                          Create a packet constructor that creates packets using the given types.
                          -
                          withTarget(Object) - Method in class com.comphenix.protocol.reflect.compiler.CompiledStructureModifier
                           
                          withTarget(Object) - Method in class com.comphenix.protocol.reflect.StructureModifier
                          @@ -95,10 +91,6 @@
                          Retrieves a structure modifier that only reads and writes fields of a given type.
                          -
                          withUnwrappers(List<PacketConstructor.Unwrapper>) - Method in class com.comphenix.protocol.injector.PacketConstructor
                          -
                          -
                          Return a copy of the current constructor with a different list of unwrappers.
                          -
                          WORLD_EVENT - Static variable in class com.comphenix.protocol.Packets.Server
                           
                          wrapped - Variable in class com.comphenix.protocol.reflect.cloning.NullableCloner
                          diff --git a/Javadoc/index-files/index-22.html b/Javadoc/index-files/index-22.html index 9eab66b0..28730f97 100644 --- a/Javadoc/index-files/index-22.html +++ b/Javadoc/index-files/index-22.html @@ -2,9 +2,9 @@ - + X-Index - + diff --git a/Javadoc/index-files/index-23.html b/Javadoc/index-files/index-23.html index 4f5075d7..e214f271 100644 --- a/Javadoc/index-files/index-23.html +++ b/Javadoc/index-files/index-23.html @@ -2,9 +2,9 @@ - + Y-Index - + diff --git a/Javadoc/index-files/index-24.html b/Javadoc/index-files/index-24.html index 738df8bd..833cf39d 100644 --- a/Javadoc/index-files/index-24.html +++ b/Javadoc/index-files/index-24.html @@ -2,9 +2,9 @@ - + Z-Index - + diff --git a/Javadoc/index-files/index-3.html b/Javadoc/index-files/index-3.html index c88249c9..3adab262 100644 --- a/Javadoc/index-files/index-3.html +++ b/Javadoc/index-files/index-3.html @@ -2,9 +2,9 @@ - + C-Index - + @@ -83,10 +83,6 @@
                          Cancel the handler.
                          -
                          cancel() - Method in class com.comphenix.protocol.injector.DelayedSingleTask
                          -
                          -
                          Cancel a future task from being executed.
                          -
                          cancel() - Method in interface com.comphenix.protocol.utility.WrappedScheduler.TaskWrapper
                          Cancel the current task.
                          @@ -107,12 +103,6 @@
                           
                          canClone(Object) - Method in class com.comphenix.protocol.reflect.cloning.NullableCloner
                           
                          -
                          canInject(GamePhase) - Method in class com.comphenix.protocol.injector.player.NetworkObjectInjector
                          -
                           
                          -
                          canUseSpigotListener() - Static method in class com.comphenix.protocol.injector.spigot.SpigotPacketInjector
                          -
                          -
                          Determine if there is a Spigot packet listener.
                          -
                          CHAT - Static variable in class com.comphenix.protocol.Packets.Client
                           
                          CHAT - Static variable in class com.comphenix.protocol.Packets.Server
                          @@ -123,16 +113,6 @@
                          ChatExtensions(ProtocolManager) - Constructor for class com.comphenix.protocol.utility.ChatExtensions
                           
                          -
                          checkListener(PacketListener) - Method in class com.comphenix.protocol.injector.player.NetworkObjectInjector
                          -
                           
                          -
                          checkListener(Set<PacketListener>) - Method in interface com.comphenix.protocol.injector.player.PlayerInjectionHandler
                          -
                          -
                          Determine if the given listeners are valid.
                          -
                          -
                          checkListener(PacketListener) - Method in interface com.comphenix.protocol.injector.player.PlayerInjectionHandler
                          -
                          -
                          Determine if a listener is valid or not.
                          -
                          ChunkPosition - Class in com.comphenix.protocol.wrappers
                          Copies a immutable net.minecraft.server.ChunkPosition, which represents a integer 3D vector.
                          @@ -145,30 +125,12 @@
                          Construct an immutable integer 3D vector from a mutable Bukkit vector.
                          -
                          classLoader - Variable in class com.comphenix.protocol.injector.packet.PacketInjectorBuilder
                          -
                           
                          -
                          classLoader(ClassLoader) - Method in class com.comphenix.protocol.injector.packet.PacketInjectorBuilder
                          -
                          -
                          Set the class loader to use during class generation.
                          -
                          -
                          classLoader - Variable in class com.comphenix.protocol.injector.player.PlayerInjectorBuilder
                          -
                           
                          -
                          classLoader(ClassLoader) - Method in class com.comphenix.protocol.injector.player.PlayerInjectorBuilder
                          -
                          -
                          Set the class loader to use during class generation.
                          -
                          -
                          cleanHook() - Method in class com.comphenix.protocol.injector.player.NetworkObjectInjector
                          -
                           
                          cleanupAll() - Method in class com.comphenix.protocol.async.AsyncFilterManager
                           
                          cleanupAll() - Method in interface com.comphenix.protocol.AsynchronousManager
                          Remove listeners, close threads and transmit every delayed packet.
                          -
                          cleanupAll() - Method in interface com.comphenix.protocol.injector.packet.PacketInjector
                          -
                          -
                          Perform any necessary cleanup before unloading ProtocolLib.
                          -
                          clear() - Method in class com.comphenix.protocol.concurrency.AbstractIntervalTree
                          Remove every interval.
                          @@ -211,24 +173,10 @@
                          Represents an object that is capable of cloning other objects.
                          -
                          close() - Method in class com.comphenix.protocol.injector.DelayedSingleTask
                          -
                          -
                          Stop the current task and all future tasks scheduled by this instance.
                          -
                          -
                          close() - Method in class com.comphenix.protocol.injector.PacketFilterManager
                          -
                          -
                          Called when ProtocolLib is closing.
                          -
                          -
                          close() - Method in interface com.comphenix.protocol.injector.player.PlayerInjectionHandler
                          -
                          -
                          Close any lingering proxy injections.
                          -
                          CLOSE_WINDOW - Static variable in class com.comphenix.protocol.Packets.Client
                           
                          CLOSE_WINDOW - Static variable in class com.comphenix.protocol.Packets.Server
                           
                          -
                          closed - Variable in class com.comphenix.protocol.injector.DelayedSingleTask
                          -
                           
                          COLLECT - Static variable in class com.comphenix.protocol.Packets.Server
                           
                          CollectionCloner - Class in com.comphenix.protocol.reflect.cloning
                          @@ -249,11 +197,7 @@
                           
                          com.comphenix.protocol.error - package com.comphenix.protocol.error
                           
                          -
                          com.comphenix.protocol.injector.packet - package com.comphenix.protocol.injector.packet
                          -
                           
                          -
                          com.comphenix.protocol.injector.player - package com.comphenix.protocol.injector.player
                          -
                           
                          -
                          com.comphenix.protocol.injector.spigot - package com.comphenix.protocol.injector.spigot
                          +
                          com.comphenix.protocol.metrics - package com.comphenix.protocol.metrics
                           
                          com.comphenix.protocol.reflect - package com.comphenix.protocol.reflect
                           
                          @@ -273,8 +217,6 @@
                          compareTo(AsyncMarker) - Method in class com.comphenix.protocol.async.AsyncMarker
                           
                          -
                          compareTo(PrioritizedListener<TListener>) - Method in class com.comphenix.protocol.injector.PrioritizedListener
                          -
                           
                          compareTo(AbstractFuzzyMatcher<T>) - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMatcher
                           
                          compareTo(WrappedChunkCoordinate) - Method in class com.comphenix.protocol.wrappers.WrappedChunkCoordinate
                          @@ -365,18 +307,15 @@
                          Construct an async marker with the given sending priority delta and timeout delta.
                          +
                          createGraph(String) - Method in class com.comphenix.protocol.metrics.Metrics
                          +
                          +
                          Construct and create a Graph that can be used to separate specific plotters to their own graphs on the metrics + website.
                          +
                          createInstance(Class<T>, Constructor<T>, Class<?>[], Object[]) - Method in class com.comphenix.protocol.reflect.instances.DefaultInstances
                          Used by the default instance provider to create a class from a given constructor.
                          -
                          createPacket(Object...) - Method in class com.comphenix.protocol.injector.PacketConstructor
                          -
                          -
                          Construct a packet using the special builtin Minecraft constructors.
                          -
                          -
                          createPacket(int) - Method in class com.comphenix.protocol.injector.PacketFilterManager
                          -
                           
                          -
                          createPacket(int, boolean) - Method in class com.comphenix.protocol.injector.PacketFilterManager
                          -
                           
                          createPacket(int) - Method in interface com.comphenix.protocol.ProtocolManager
                          Constructs a new encapsulated Minecraft packet with the given ID.
                          @@ -385,16 +324,10 @@
                          Constructs a new encapsulated Minecraft packet with the given ID.
                          -
                          createPacketConstructor(int, Object...) - Method in class com.comphenix.protocol.injector.PacketFilterManager
                          -
                           
                          createPacketConstructor(int, Object...) - Method in interface com.comphenix.protocol.ProtocolManager
                          Construct a packet using the special builtin Minecraft constructors.
                          -
                          createTemporaryPlayer(Server) - Method in class com.comphenix.protocol.injector.player.NetworkObjectInjector
                          -
                          -
                          Create a temporary player for use during login.
                          -
                          CUSTOM_PAYLOAD - Static variable in class com.comphenix.protocol.Packets.Client
                           
                          CUSTOM_PAYLOAD - Static variable in class com.comphenix.protocol.Packets.Server
                          diff --git a/Javadoc/index-files/index-4.html b/Javadoc/index-files/index-4.html index 921da140..2db4fc98 100644 --- a/Javadoc/index-files/index-4.html +++ b/Javadoc/index-files/index-4.html @@ -2,9 +2,9 @@ - + D-Index - + @@ -123,10 +123,6 @@
                          Clone the current wrapped watchable object, along with any contained objects.
                          -
                          DEFAULT - Static variable in class com.comphenix.protocol.injector.PacketConstructor
                          -
                          -
                          A packet constructor that automatically converts Bukkit types to their NMS conterpart.
                          -
                          DEFAULT - Static variable in class com.comphenix.protocol.reflect.cloning.AggregateCloner
                          Represents a default aggregate cloner.
                          @@ -147,6 +143,10 @@
                          A default instance of this serializer.
                          +
                          DEFAULT_DISABLE_AT_PERM_GEN - Static variable in class com.comphenix.protocol.reflect.compiler.BackgroundCompiler
                          +
                          +
                          The default fraction of perm gen space after which the background compiler will be disabled.
                          +
                          DEFAULT_MAX_ERROR_COUNT - Static variable in class com.comphenix.protocol.error.DetailedErrorReporter
                           
                          DEFAULT_PREFIX - Static variable in class com.comphenix.protocol.error.DetailedErrorReporter
                          @@ -185,18 +185,6 @@
                          Default implementation of the field transform.
                          -
                          DelayedSingleTask - Class in com.comphenix.protocol.injector
                          -
                          -
                          Represents a single delayed task.
                          -
                          -
                          DelayedSingleTask(Plugin) - Constructor for class com.comphenix.protocol.injector.DelayedSingleTask
                          -
                          -
                          Create a single task scheduler.
                          -
                          -
                          DelayedSingleTask(Plugin, BukkitScheduler) - Constructor for class com.comphenix.protocol.injector.DelayedSingleTask
                          -
                          -
                          Create a single task scheduler.
                          -
                          deserialize(DataInput) - Method in class com.comphenix.protocol.wrappers.nbt.io.NbtBinarySerializer
                          Load an NBT tag from a stream.
                          @@ -259,6 +247,10 @@
                          Create a central error reporting system.
                          +
                          disable() - Method in class com.comphenix.protocol.metrics.Metrics
                          +
                          +
                          Disables metrics for the server by setting "opt-out" to true in the config file and canceling the metrics task.
                          +
                          divide(int) - Method in class com.comphenix.protocol.wrappers.ChunkPosition
                          Divide each dimension in the current position by the given divisor.
                          diff --git a/Javadoc/index-files/index-5.html b/Javadoc/index-files/index-5.html index 201bf1b0..11ec04d1 100644 --- a/Javadoc/index-files/index-5.html +++ b/Javadoc/index-files/index-5.html @@ -2,9 +2,9 @@ - + E-Index - + @@ -75,6 +75,10 @@
                          A whitelist with no packets - indicates that the listener shouldn't observe any packets.
                          +
                          enable() - Method in class com.comphenix.protocol.metrics.Metrics
                          +
                          +
                          Enables metrics for the server by setting "opt-out" to false in the config file and starting the metrics task.
                          +
                          enqueuePacket(PacketEvent) - Method in class com.comphenix.protocol.async.AsyncListenerHandler
                          Queue a packet for processing.
                          @@ -115,7 +119,9 @@
                           
                          equals(Object) - Method in class com.comphenix.protocol.events.ListeningWhitelist
                           
                          -
                          equals(Object) - Method in class com.comphenix.protocol.injector.PrioritizedListener
                          +
                          equals(Object) - Method in class com.comphenix.protocol.metrics.Metrics.Graph
                          +
                           
                          +
                          equals(Object) - Method in class com.comphenix.protocol.metrics.Metrics.Plotter
                           
                          equals(Object) - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember
                           
                          diff --git a/Javadoc/index-files/index-6.html b/Javadoc/index-files/index-6.html index 9214a63b..d8fb3cf0 100644 --- a/Javadoc/index-files/index-6.html +++ b/Javadoc/index-files/index-6.html @@ -2,9 +2,9 @@ - + F-Index - + @@ -105,10 +105,6 @@
                          FieldUtils instances should NOT be constructed in standard programming.
                          -
                          finalize() - Method in class com.comphenix.protocol.injector.DelayedSingleTask
                          -
                           
                          -
                          finalize() - Method in class com.comphenix.protocol.injector.PacketFilterManager
                          -
                           
                          finalize() - Method in class com.comphenix.protocol.reflect.VolatileField
                           
                          FLYING - Static variable in class com.comphenix.protocol.Packets.Client
                          @@ -155,10 +151,6 @@
                          Construct a list of method infos from a given collection of constructors.
                          -
                          fromFormat(String, Object...) - Static method in exception com.comphenix.protocol.injector.PlayerLoggedOutException
                          -
                          -
                          Construct an exception from a formatted message.
                          -
                          fromFormat(String, Object...) - Static method in exception com.comphenix.protocol.reflect.FieldAccessException
                           
                          fromItemTag(ItemStack) - Static method in class com.comphenix.protocol.wrappers.nbt.NbtFactory
                          diff --git a/Javadoc/index-files/index-7.html b/Javadoc/index-files/index-7.html index bb018bc6..f21ff25b 100644 --- a/Javadoc/index-files/index-7.html +++ b/Javadoc/index-files/index-7.html @@ -2,9 +2,9 @@ - + G-Index - + @@ -67,10 +67,6 @@

                          G

                          -
                          GamePhase - Enum in com.comphenix.protocol.injector
                          -
                          -
                          The current player phase.
                          -
                          get(TKey) - Method in class com.comphenix.protocol.concurrency.AbstractIntervalTree
                          Retrieves the value of the range that matches the given key, or NULL if nothing was found.
                          @@ -83,6 +79,10 @@
                          Waits until a value has been associated with the given key, and then retrieves that value.
                          +
                          get(TKey, long, TimeUnit, boolean) - Method in class com.comphenix.protocol.concurrency.BlockingHashMap
                          +
                          +
                          Waits until a value has been associated with the given key, and then retrieves that value.
                          +
                          get(int) - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
                          Retrieves an element by index.
                          @@ -112,8 +112,6 @@
                          Retrieve the array class of a given component type.
                          -
                          getAsynchronousManager() - Method in class com.comphenix.protocol.injector.PacketFilterManager
                          -
                           
                          getAsynchronousManager() - Method in interface com.comphenix.protocol.ProtocolManager
                          Retrieve the current asyncronous packet manager.
                          @@ -190,18 +188,6 @@
                          Retrieve the ChunkPosition class.
                          -
                          getClassLoader() - Method in class com.comphenix.protocol.injector.PacketFilterManager
                          -
                          -
                          Retrieves the current plugin class loader.
                          -
                          -
                          getClientPackets() - Static method in class com.comphenix.protocol.injector.packet.PacketRegistry
                          -
                          -
                          Retrieve every known and supported client packet.
                          -
                          -
                          getClientPackets() - Static method in class com.comphenix.protocol.injector.PacketFilterManager
                          -
                          -
                          Retrieve every known and supported client packet.
                          -
                          getClientRegistry() - Static method in class com.comphenix.protocol.Packets
                          A registry that parses between names and packet IDs.
                          @@ -210,6 +196,10 @@
                          Retrieves a view of the current list of cloners.
                          +
                          getColumnName() - Method in class com.comphenix.protocol.metrics.Metrics.Plotter
                          +
                          +
                          Get the column name for the plotted point
                          +
                          getCompiler() - Method in class com.comphenix.protocol.reflect.compiler.BackgroundCompiler
                          Retrieve the current structure compiler.
                          @@ -222,6 +212,10 @@
                          Retrieve a compound (map) value by its key, or create a new compound if it doesn't exist.
                          +
                          getConfigFile() - Method in class com.comphenix.protocol.metrics.Metrics
                          +
                          +
                          Gets the File object of the config file that should be used to store data such as the GUID and opt-out status
                          +
                          getConstructor(AbstractFuzzyMatcher<MethodInfo>) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
                          Retrieve the first constructor that matches.
                          @@ -254,6 +248,10 @@
                          Retrieve the name of the root CraftBukkit package.
                          +
                          getCraftEntityClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
                          +
                          +
                          Retrieve the CraftEntity class.
                          +
                          getCraftItemStackClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
                          Retrieve the CraftItemStack class.
                          @@ -310,6 +308,10 @@
                          Retrieve whether or not the value must be synchronized with the client.
                          +
                          getDisablePermGenFraction() - Method in class com.comphenix.protocol.reflect.compiler.BackgroundCompiler
                          +
                          +
                          Retrieve the fraction of perm gen space used after which the background compiler will be disabled.
                          +
                          getDouble(String) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
                          Retrieve the double value of an entry identified by a given key.
                          @@ -338,8 +340,6 @@
                          Retrieve a converter for NMS entities and Bukkit entities.
                          -
                          getEntityFromID(World, int) - Method in class com.comphenix.protocol.injector.PacketFilterManager
                          -
                           
                          getEntityFromID(World, int) - Method in interface com.comphenix.protocol.ProtocolManager
                          Retrieve the associated entity.
                          @@ -356,8 +356,6 @@
                          Retrieve the EntityTracker (NMS) class.
                          -
                          getEntityTrackers(Entity) - Method in class com.comphenix.protocol.injector.PacketFilterManager
                          -
                           
                          getEntityTrackers(Entity) - Method in interface com.comphenix.protocol.ProtocolManager
                          Retrieve every client that is receiving information about a given entity.
                          @@ -456,6 +454,10 @@
                          Retrieves the common type of each field.
                          +
                          getFileSize() - Method in class com.comphenix.protocol.metrics.Updater
                          +
                          +
                          Get the total bytes of the file (can only be used after running a version check or a normal run).
                          +
                          getFloat() - Method in class com.comphenix.protocol.events.PacketContainer
                          Retrieves a read/write structure for every float field.
                          @@ -504,8 +506,6 @@
                          Retrieves the underlying watchable object.
                          -
                          getHookType() - Method in class com.comphenix.protocol.injector.player.NetworkObjectInjector
                          -
                           
                          getID() - Method in interface com.comphenix.protocol.async.AsyncRunnable
                          Retrieve a unique worker ID.
                          @@ -600,6 +600,10 @@
                           
                          getKeyValueView() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract
                           
                          +
                          getLatestVersionString() - Method in class com.comphenix.protocol.metrics.Updater
                          +
                          +
                          Get the version string latest file avaliable online.
                          +
                          getList(String) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
                          Retrieve the NBT list value of an entry identified by a given key.
                          @@ -610,10 +614,6 @@
                          Retrieve the registered listeners, in order from the lowest to the highest priority.
                          -
                          getListener() - Method in class com.comphenix.protocol.injector.PrioritizedListener
                          -
                          -
                          Retrieve the underlying listener.
                          -
                          getListenerHandler() - Method in class com.comphenix.protocol.async.AsyncMarker
                          Retrieve the current asynchronous listener handler.
                          @@ -640,6 +640,10 @@
                          Retrieves a read/write structure for every long field.
                          +
                          getMappedMethods(List<Method>) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
                          +
                          +
                          Retrieve every method as a map over names.
                          +
                          getMatchingAccessibleMethod(Class, String, Class[]) - Static method in class com.comphenix.protocol.reflect.MethodUtils
                          Find an accessible method that matches the given name and has compatible parameters.
                          @@ -730,6 +734,10 @@
                          Retrieve a bit field of every Modifier that is required for the member to match.
                          +
                          getName() - Method in class com.comphenix.protocol.metrics.Metrics.Graph
                          +
                          +
                          Gets the graph's name
                          +
                          getName() - Method in interface com.comphenix.protocol.wrappers.nbt.NbtBase
                          Retrieve the name of this NBT tag.
                          @@ -786,6 +794,10 @@
                          Get the next end point of a given key.
                          +
                          getObject(String) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
                          +
                          +
                          Retrieve the primitive object, NbtList or NbtCompound associated with the given key.
                          +
                          getObject(int) - Method in class com.comphenix.protocol.wrappers.WrappedDataWatcher
                          Retrieve a watchable object by index.
                          @@ -798,10 +810,6 @@
                          Retrieve the order the packet was originally transmitted.
                          -
                          getOverwrittenPackets() - Static method in class com.comphenix.protocol.injector.packet.PacketRegistry
                          -
                          -
                          Retrieve the injected proxy classes handlig each packet ID.
                          -
                          getPacket() - Method in class com.comphenix.protocol.events.PacketEvent
                          Retrieves the packet that will be sent to the player.
                          @@ -810,48 +818,10 @@
                          Retrieve the packet class.
                          -
                          getPacketClassFromID(int, boolean) - Method in interface com.comphenix.protocol.injector.ListenerInvoker
                          -
                          -
                          Retrieves the correct packet class from a given packet ID.
                          -
                          -
                          getPacketClassFromID(int) - Static method in class com.comphenix.protocol.injector.packet.PacketRegistry
                          -
                          -
                          Retrieves the correct packet class from a given packet ID.
                          -
                          -
                          getPacketClassFromID(int, boolean) - Static method in class com.comphenix.protocol.injector.packet.PacketRegistry
                          -
                          -
                          Retrieves the correct packet class from a given packet ID.
                          -
                          -
                          getPacketClassFromID(int, boolean) - Method in class com.comphenix.protocol.injector.PacketFilterManager
                          -
                           
                          -
                          getPacketHandlers() - Method in interface com.comphenix.protocol.injector.packet.PacketInjector
                          -
                          -
                          Retrieve every intercepted packet ID.
                          -
                          getPacketID() - Method in class com.comphenix.protocol.events.PacketEvent
                          Retrieves the packet ID.
                          -
                          getPacketID(Object) - Method in interface com.comphenix.protocol.injector.ListenerInvoker
                          -
                          -
                          Retrieve the associated ID of a packet.
                          -
                          -
                          getPacketID(Class<?>) - Static method in class com.comphenix.protocol.injector.packet.PacketRegistry
                          -
                          -
                          Retrieve the packet ID of a given packet.
                          -
                          -
                          getPacketID() - Method in class com.comphenix.protocol.injector.PacketConstructor
                          -
                          -
                          Retrieve the id of the packets this constructor creates.
                          -
                          -
                          getPacketID(Object) - Method in class com.comphenix.protocol.injector.PacketFilterManager
                          -
                           
                          -
                          getPacketInjector() - Method in class com.comphenix.protocol.injector.spigot.SpigotPacketInjector
                          -
                          -
                          Retrieve the dummy packet injection handler.
                          -
                          -
                          getPacketListeners() - Method in class com.comphenix.protocol.injector.PacketFilterManager
                          -
                           
                          getPacketListeners() - Method in interface com.comphenix.protocol.ProtocolManager
                          Retrieves a list of every registered packet listener.
                          @@ -866,8 +836,6 @@
                          Retrieve the default packet stream.
                          -
                          getPacketToID() - Static method in class com.comphenix.protocol.injector.packet.PacketRegistry
                          -
                           
                          getParamCount() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract
                          Retrieve the expected parameter count for this method.
                          @@ -885,34 +853,14 @@
                          Retrieves the player that has sent the packet or is recieving it.
                          -
                          getPlayerByConnection(DataInputStream) - Method in interface com.comphenix.protocol.injector.player.PlayerInjectionHandler
                          -
                          -
                          Retrieve a player by its DataInput connection.
                          -
                          -
                          getPlayerByConnection(DataInputStream, long, TimeUnit) - Method in interface com.comphenix.protocol.injector.player.PlayerInjectionHandler
                          -
                          -
                          Retrieve a player by its DataInput connection.
                          -
                          -
                          getPlayerHandler() - Method in class com.comphenix.protocol.injector.spigot.SpigotPacketInjector
                          -
                          -
                          Retrieve the dummy player injection handler.
                          -
                          -
                          getPlayerHook() - Method in class com.comphenix.protocol.injector.PacketFilterManager
                          -
                          -
                          Retrieves how the server packets are read.
                          -
                          -
                          getPlayerHook() - Method in interface com.comphenix.protocol.injector.player.PlayerInjectionHandler
                          -
                          -
                          Retrieves how the server packets are read.
                          -
                          -
                          getPlayerHook(GamePhase) - Method in interface com.comphenix.protocol.injector.player.PlayerInjectionHandler
                          -
                          -
                          Retrieves how the server packets are read.
                          -
                          getPlayerListClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
                          Retrieve the player list class (or ServerConfigurationManager),
                          +
                          getPlotters() - Method in class com.comphenix.protocol.metrics.Metrics.Graph
                          +
                          +
                          Gets an unmodifiable set of the plotter objects in the graph
                          +
                          getPlugin() - Method in class com.comphenix.protocol.async.AsyncListenerHandler
                          Retrieve the plugin associated with this async listener.
                          @@ -925,10 +873,6 @@
                          Retrieve the plugin that created list packet listener.
                          -
                          getPlugin() - Method in class com.comphenix.protocol.injector.DelayedSingleTask
                          -
                          -
                          Retrieve the plugin this task belongs to.
                          -
                          getPluginName(PacketListener) - Static method in class com.comphenix.protocol.events.PacketAdapter
                          Retrieves the name of the plugin that has been associated with the listener.
                          @@ -951,10 +895,6 @@
                          Get the previous end point of a given key.
                          -
                          getPreviousPackets() - Static method in class com.comphenix.protocol.injector.packet.PacketRegistry
                          -
                          -
                          Retrieve the vanilla classes handling each packet ID.
                          -
                          getPrimitiveType(Class) - Static method in class com.comphenix.protocol.reflect.MethodUtils
                          Gets the class for the primitive type corresponding to the primitive wrapper class given.
                          @@ -967,10 +907,6 @@
                          Retrieve the priority in the execution order of the packet listener.
                          -
                          getPriority() - Method in class com.comphenix.protocol.injector.PrioritizedListener
                          -
                          -
                          Retrieve the priority of this listener.
                          -
                          getProcessingDelay() - Method in class com.comphenix.protocol.async.AsyncMarker
                          Retrieve the number of times a packet must be signalled to be done before it's sent.
                          @@ -1006,8 +942,6 @@
                          Retrieves a immutable set containing the ID of the recieved client packets that will be observed by the asynchronous listeners.
                          -
                          getReceivingFilters() - Method in class com.comphenix.protocol.injector.PacketFilterManager
                          -
                           
                          getReceivingFilters() - Method in interface com.comphenix.protocol.ProtocolManager
                          Retrieves a immutable set containing the ID of the recieved client packets that will be observed by listeners.
                          @@ -1032,6 +966,14 @@
                          A registry that parses between names and packet IDs.
                          +
                          getResult() - Method in class com.comphenix.protocol.metrics.Updater
                          +
                          +
                          Get the result of the update process.
                          +
                          +
                          getResult(int) - Static method in enum com.comphenix.protocol.metrics.Updater.UpdateResult
                          +
                           
                          +
                          getResult(int) - Static method in enum com.comphenix.protocol.metrics.Updater.UpdateType
                          +
                           
                          getReturnMatcher() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract
                          Retrieve the class matcher for the return type.
                          @@ -1056,12 +998,6 @@
                          Retrieves a immutable set containing the ID of the sent server packets that will be observed by the asynchronous listeners.
                          -
                          getSendingFilters() - Method in class com.comphenix.protocol.injector.PacketFilterManager
                          -
                           
                          -
                          getSendingFilters() - Method in interface com.comphenix.protocol.injector.player.PlayerInjectionHandler
                          -
                          -
                          Retrieve the current list of registered sending listeners.
                          -
                          getSendingFilters() - Method in interface com.comphenix.protocol.ProtocolManager
                          Retrieves a immutable set containing the ID of the sent server packets that will be observed by listeners.
                          @@ -1082,18 +1018,14 @@
                          Retrieve which packets sent by the server this listener will observe.
                          +
                          getSendPacketMethod() - Static method in class com.comphenix.protocol.utility.MinecraftMethods
                          +
                          +
                          Retrieve the send packet method in PlayerConnection/NetServerHandler.
                          +
                          getServerConnectionClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
                          Retrieve the ServerConnection abstract class.
                          -
                          getServerPackets() - Static method in class com.comphenix.protocol.injector.packet.PacketRegistry
                          -
                          -
                          Retrieve every known and supported server packet.
                          -
                          -
                          getServerPackets() - Static method in class com.comphenix.protocol.injector.PacketFilterManager
                          -
                          -
                          Retrieve every known and supported server packet.
                          -
                          getServerRegistry() - Static method in class com.comphenix.protocol.Packets
                          A registry that parses between names and packet IDs.
                          @@ -1164,22 +1096,6 @@
                          Retrieves a read/write structure for every String field.
                          -
                          getStructure(int) - Static method in class com.comphenix.protocol.injector.StructureCache
                          -
                          -
                          Retrieve a cached structure modifier for the given packet id.
                          -
                          -
                          getStructure(Class<?>) - Static method in class com.comphenix.protocol.injector.StructureCache
                          -
                          -
                          Retrieve a cached structure modifier given a packet type.
                          -
                          -
                          getStructure(Class<?>, boolean) - Static method in class com.comphenix.protocol.injector.StructureCache
                          -
                          -
                          Retrieve a cached structure modifier given a packet type.
                          -
                          -
                          getStructure(int, boolean) - Static method in class com.comphenix.protocol.injector.StructureCache
                          -
                          -
                          Retrieve a cached structure modifier for the given packet id.
                          -
                          getSupported() - Static method in class com.comphenix.protocol.Packets.Client
                          Retrieve every client packet the current version of Minecraft is aware of.
                          @@ -1198,10 +1114,6 @@
                          Retrieves the type of the object we're modifying.
                          -
                          getTaskID() - Method in class com.comphenix.protocol.injector.DelayedSingleTask
                          -
                          -
                          Retrieve the raw task ID.
                          -
                          getTimeout() - Method in class com.comphenix.protocol.async.AsyncMarker
                          Retrieve the time the packet will be forcefully rejected.
                          @@ -1244,10 +1156,16 @@
                          Retrieve the class matcher that matches the type of a field.
                          -
                          getUnwrappers() - Method in class com.comphenix.protocol.injector.PacketConstructor
                          -
                           
                          getValue() - Method in class com.comphenix.protocol.concurrency.AbstractIntervalTree.Entry
                           
                          +
                          getValue() - Method in class com.comphenix.protocol.metrics.Metrics.Plotter
                          +
                          +
                          Get the current value for the plotted point.
                          +
                          +
                          getValue() - Method in enum com.comphenix.protocol.metrics.Updater.UpdateResult
                          +
                           
                          +
                          getValue() - Method in enum com.comphenix.protocol.metrics.Updater.UpdateType
                          +
                           
                          getValue() - Method in class com.comphenix.protocol.reflect.VolatileField
                          Retrieves the current field value.
                          @@ -1256,6 +1174,10 @@
                          Retrieve the value of this NBT tag.
                          +
                          getValue() - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
                          +
                          +
                          Deprecated.
                          +
                          getValue(String) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
                          Retrieve the value of a given entry.
                          diff --git a/Javadoc/index-files/index-8.html b/Javadoc/index-files/index-8.html index 03dd750b..8e41b8b1 100644 --- a/Javadoc/index-files/index-8.html +++ b/Javadoc/index-files/index-8.html @@ -2,9 +2,9 @@ - + H-Index - + @@ -75,12 +75,6 @@
                           
                          handle - Variable in class com.comphenix.protocol.wrappers.WrappedWatchableObject
                           
                          -
                          handleDisconnect() - Method in class com.comphenix.protocol.injector.player.NetworkObjectInjector
                          -
                           
                          -
                          handleDisconnect(Player) - Method in interface com.comphenix.protocol.injector.player.PlayerInjectionHandler
                          -
                          -
                          Invoke special routines for handling disconnect before a player is uninjected.
                          -
                          HANDSHAKE - Static variable in class com.comphenix.protocol.Packets.Client
                           
                          hasAsynchronousListeners(PacketEvent) - Method in class com.comphenix.protocol.async.AsyncFilterManager
                          @@ -103,7 +97,9 @@
                           
                          hashCode() - Method in class com.comphenix.protocol.events.ListeningWhitelist
                           
                          -
                          hashCode() - Method in class com.comphenix.protocol.injector.PrioritizedListener
                          +
                          hashCode() - Method in class com.comphenix.protocol.metrics.Metrics.Graph
                          +
                           
                          +
                          hashCode() - Method in class com.comphenix.protocol.metrics.Metrics.Plotter
                           
                          hashCode() - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember
                           
                          @@ -119,28 +115,10 @@
                           
                          hashCode() - Method in class com.comphenix.protocol.wrappers.WrappedWatchableObject
                           
                          -
                          hasListener(int) - Method in class com.comphenix.protocol.injector.player.NetworkObjectInjector
                          -
                           
                          -
                          hasLogin() - Method in enum com.comphenix.protocol.injector.GamePhase
                          -
                          -
                          Determine if the current value represents the login phase.
                          -
                          hasMember(int) - Method in class com.comphenix.protocol.reflect.IntEnum
                          Determines whether or not the given member exists.
                          -
                          hasPacketHandler(int) - Method in interface com.comphenix.protocol.injector.packet.PacketInjector
                          -
                          -
                          Determine if packets with the given packet ID is being intercepted.
                          -
                          -
                          hasPlaying() - Method in enum com.comphenix.protocol.injector.GamePhase
                          -
                          -
                          Determine if the current value represents the playing phase.
                          -
                          -
                          hasRegistered() - Method in class com.comphenix.protocol.injector.spigot.SpigotPacketInjector
                          -
                          -
                          Determine if the Spigot packet listener has been registered.
                          -
                          A B C D E F G H I K L M N O P R S T U V W X Y Z  diff --git a/Javadoc/index-files/index-9.html b/Javadoc/index-files/index-9.html index b99b3192..6b7db6e4 100644 --- a/Javadoc/index-files/index-9.html +++ b/Javadoc/index-files/index-9.html @@ -2,9 +2,9 @@ - + I-Index - + @@ -99,10 +99,6 @@
                          Initialize every field of this class.
                          -
                          initializePlayers(Player[]) - Method in class com.comphenix.protocol.injector.PacketFilterManager
                          -
                          -
                          Initialize the packet injection for every player.
                          -
                          initialMember() - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember.Builder
                          Construct a new instance of the current type.
                          @@ -111,19 +107,6 @@
                           
                          initialMember() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
                           
                          -
                          injectionFilter - Variable in class com.comphenix.protocol.injector.player.PlayerInjectorBuilder
                          -
                           
                          -
                          injectionFilter(Predicate<GamePhase>) - Method in class com.comphenix.protocol.injector.player.PlayerInjectorBuilder
                          -
                          -
                          The injection filter that is used to determine if it is necessary to perform - injection during a certain phase.
                          -
                          -
                          injectManager() - Method in class com.comphenix.protocol.injector.player.NetworkObjectInjector
                          -
                           
                          -
                          injectPlayer(Player) - Method in interface com.comphenix.protocol.injector.player.PlayerInjectionHandler
                          -
                          -
                          Initialize a player hook, allowing us to read server packets.
                          -
                          INSTANCE - Static variable in class com.comphenix.protocol.reflect.instances.CollectionGenerator
                          Shared instance of this generator.
                          @@ -206,38 +189,6 @@
                          Invoke a named method whose parameter type matches the object type.
                          -
                          invokePacketRecieving(PacketEvent) - Method in interface com.comphenix.protocol.injector.ListenerInvoker
                          -
                          -
                          Invokes the given packet event for every registered listener.
                          -
                          -
                          invokePacketRecieving(PacketEvent) - Method in class com.comphenix.protocol.injector.PacketFilterManager
                          -
                           
                          -
                          invokePacketRecieving(ErrorReporter, PacketEvent) - Method in class com.comphenix.protocol.injector.SortedPacketListenerList
                          -
                          -
                          Invokes the given packet event for every registered listener.
                          -
                          -
                          invokePacketSending(PacketEvent) - Method in interface com.comphenix.protocol.injector.ListenerInvoker
                          -
                          -
                          Invokes the given packet event for every registered listener.
                          -
                          -
                          invokePacketSending(PacketEvent) - Method in class com.comphenix.protocol.injector.PacketFilterManager
                          -
                           
                          -
                          invokePacketSending(ErrorReporter, PacketEvent) - Method in class com.comphenix.protocol.injector.SortedPacketListenerList
                          -
                          -
                          Invokes the given packet event for every registered listener.
                          -
                          -
                          invoker - Variable in class com.comphenix.protocol.injector.packet.PacketInjectorBuilder
                          -
                           
                          -
                          invoker(ListenerInvoker) - Method in class com.comphenix.protocol.injector.packet.PacketInjectorBuilder
                          -
                          -
                          The packet stream invoker.
                          -
                          -
                          invoker - Variable in class com.comphenix.protocol.injector.player.PlayerInjectorBuilder
                          -
                           
                          -
                          invoker(ListenerInvoker) - Method in class com.comphenix.protocol.injector.player.PlayerInjectorBuilder
                          -
                          -
                          The packet stream invoker.
                          -
                          invokeStaticMethod(Class, String, Object) - Static method in class com.comphenix.protocol.reflect.MethodUtils
                          Invoke a named static method whose parameter type matches the object type.
                          @@ -278,8 +229,6 @@
                          Determine if a given object is a ChunkPosition.
                          -
                          isClosed() - Method in class com.comphenix.protocol.injector.PacketFilterManager
                          -
                           
                          isClosed() - Method in interface com.comphenix.protocol.ProtocolManager
                          Determines whether or not this protocol mananger has been disabled.
                          @@ -390,6 +339,10 @@
                          Retrieve whether or not the constructor's parameters must be non-null.
                          +
                          isOptOut() - Method in class com.comphenix.protocol.metrics.Metrics
                          +
                          +
                          Has the server owner denied plugin metrics?
                          +
                          isPacketClass(Object) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
                          Determine if the given object is actually a Minecraft packet.
                          @@ -414,10 +367,6 @@
                          Determine if we're running or not.
                          -
                          isRunning() - Method in class com.comphenix.protocol.injector.DelayedSingleTask
                          -
                          -
                          Whether or not a future task is scheduled to be executed.
                          -
                          isServerHandler(Object) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
                          Determine if the given object is assignable to a NetServerHandler (PlayerConnection)
                          diff --git a/Javadoc/index.html b/Javadoc/index.html index 648aabf4..481039ef 100644 --- a/Javadoc/index.html +++ b/Javadoc/index.html @@ -2,7 +2,7 @@ - + Generated Documentation (Untitled) + + + + + + +
                          +
                          com.comphenix.protocol
                          +

                          Class BukkitInitialization

                          +
                          +
                          +
                            +
                          • java.lang.Object
                          • +
                          • +
                              +
                            • com.comphenix.protocol.BukkitInitialization
                            • +
                            +
                          • +
                          +
                          +
                            +
                          • +
                            +
                            +
                            public class BukkitInitialization
                            +extends java.lang.Object
                            +
                            Used to ensure that ProtocolLib and Bukkit is prepared to be tested.
                            +
                            Author:
                            +
                            Kristian
                            +
                          • +
                          +
                          +
                          +
                            +
                          • + + + +
                              +
                            • + + +

                              Method Summary

                              + + + + + + + + + + + + + + +
                              Methods 
                              Modifier and TypeMethod and Description
                              static voidinitializeItemMeta() +
                              Initialize Bukkit and ProtocolLib such that we can perfrom unit testing.
                              +
                              static voidinitializePackage() +
                              Ensure that package names are correctly set up.
                              +
                              +
                                +
                              • + + +

                                Methods inherited from class java.lang.Object

                                +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
                              • +
                              +
                            • +
                            +
                          • +
                          +
                          +
                          +
                            +
                          • + +
                              +
                            • + + +

                              Constructor Detail

                              + + + +
                                +
                              • +

                                BukkitInitialization

                                +
                                public BukkitInitialization()
                                +
                              • +
                              +
                            • +
                            + +
                              +
                            • + + +

                              Method Detail

                              + + + +
                                +
                              • +

                                initializeItemMeta

                                +
                                public static void initializeItemMeta()
                                +                               throws java.lang.IllegalAccessException
                                +
                                Initialize Bukkit and ProtocolLib such that we can perfrom unit testing.
                                +
                                Throws:
                                +
                                java.lang.IllegalAccessException - If we are unable to initialize Bukkit.
                                +
                              • +
                              + + + +
                                +
                              • +

                                initializePackage

                                +
                                public static void initializePackage()
                                +
                                Ensure that package names are correctly set up.
                                +
                              • +
                              +
                            • +
                            +
                          • +
                          +
                          +
                          + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/CommandFilter.Filter.html b/Javadoc/com/comphenix/protocol/CommandFilter.Filter.html new file mode 100644 index 00000000..49da33ac --- /dev/null +++ b/Javadoc/com/comphenix/protocol/CommandFilter.Filter.html @@ -0,0 +1,371 @@ + + + + + +CommandFilter.Filter + + + + + + + + + + + +
                          +
                          com.comphenix.protocol
                          +

                          Class CommandFilter.Filter

                          +
                          +
                          +
                            +
                          • java.lang.Object
                          • +
                          • +
                              +
                            • com.comphenix.protocol.CommandFilter.Filter
                            • +
                            +
                          • +
                          +
                          +
                            +
                          • +
                            +
                            Enclosing class:
                            +
                            CommandFilter
                            +
                            +
                            +
                            +
                            public static class CommandFilter.Filter
                            +extends java.lang.Object
                            +
                            A filter that will be used to process a packet event.
                            +
                            Author:
                            +
                            Kristian
                            +
                          • +
                          +
                          +
                          +
                            +
                          • + +
                              +
                            • + + +

                              Constructor Summary

                              + + + + + + + + +
                              Constructors 
                              Constructor and Description
                              CommandFilter.Filter(java.lang.String name, + java.lang.String predicate, + java.util.Set<java.lang.Integer> packets) +
                              Construct a new immutable filter.
                              +
                              +
                            • +
                            + +
                              +
                            • + + +

                              Method Summary

                              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                              Methods 
                              Modifier and TypeMethod and Description
                              voidclose(javax.script.ScriptEngine context) +
                              Clean up all associated code from this filter in the provided script engine.
                              +
                              voidcompile(javax.script.ScriptEngine context) +
                              Force the compilation of a specific filter.
                              +
                              booleanevaluate(javax.script.ScriptEngine context, + PacketEvent event) +
                              Evaluate the current filter using the provided ScriptEngine as context.
                              +
                              java.lang.StringgetName() +
                              Retrieve the unique name of the filter.
                              +
                              java.lang.StringgetPredicate() +
                              Retrieve the JavaScript predicate that will be used to filter packet events.
                              +
                              java.util.Set<java.lang.Integer>getRanges() +
                              Retrieve a copy of the set of packets this filter applies to.
                              +
                              +
                                +
                              • + + +

                                Methods inherited from class java.lang.Object

                                +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
                              • +
                              +
                            • +
                            +
                          • +
                          +
                          +
                          +
                            +
                          • + +
                              +
                            • + + +

                              Constructor Detail

                              + + + +
                                +
                              • +

                                CommandFilter.Filter

                                +
                                public CommandFilter.Filter(java.lang.String name,
                                +                    java.lang.String predicate,
                                +                    java.util.Set<java.lang.Integer> packets)
                                +
                                Construct a new immutable filter.
                                +
                                Parameters:
                                name - - the unique name of the filter.
                                predicate - - the JavaScript predicate that will be used to filter packet events.
                                ranges - - a list of valid packet ID ranges that this filter applies to.
                                +
                              • +
                              +
                            • +
                            + +
                              +
                            • + + +

                              Method Detail

                              + + + +
                                +
                              • +

                                getName

                                +
                                public java.lang.String getName()
                                +
                                Retrieve the unique name of the filter.
                                +
                                Returns:
                                Unique name of the filter.
                                +
                              • +
                              + + + +
                                +
                              • +

                                getPredicate

                                +
                                public java.lang.String getPredicate()
                                +
                                Retrieve the JavaScript predicate that will be used to filter packet events.
                                +
                                Returns:
                                Predicate itself.
                                +
                              • +
                              + + + +
                                +
                              • +

                                getRanges

                                +
                                public java.util.Set<java.lang.Integer> getRanges()
                                +
                                Retrieve a copy of the set of packets this filter applies to.
                                +
                                Returns:
                                Set of packets this filter applies to.
                                +
                              • +
                              + + + +
                                +
                              • +

                                evaluate

                                +
                                public boolean evaluate(javax.script.ScriptEngine context,
                                +               PacketEvent event)
                                +                 throws javax.script.ScriptException
                                +
                                Evaluate the current filter using the provided ScriptEngine as context. +

                                + This context may be modified with additional code.

                                +
                                Parameters:
                                context - - the current script context.
                                event - - the packet event to evaluate.
                                +
                                Returns:
                                TRUE to pass this packet event on to the debug listeners, FALSE otherwise.
                                +
                                Throws:
                                +
                                javax.script.ScriptException - If the compilation failed or the filter is not valid.
                                +
                              • +
                              + + + +
                                +
                              • +

                                compile

                                +
                                public void compile(javax.script.ScriptEngine context)
                                +             throws javax.script.ScriptException
                                +
                                Force the compilation of a specific filter.
                                +
                                Parameters:
                                context - - the current script context.
                                +
                                Throws:
                                +
                                javax.script.ScriptException - If the compilation failed.
                                +
                              • +
                              + + + +
                                +
                              • +

                                close

                                +
                                public void close(javax.script.ScriptEngine context)
                                +
                                Clean up all associated code from this filter in the provided script engine.
                                +
                                Parameters:
                                context - - the current script context.
                                +
                              • +
                              +
                            • +
                            +
                          • +
                          +
                          +
                          + + + + + + + diff --git a/Javadoc/com/comphenix/protocol/injector/PacketConstructor.Unwrapper.html b/Javadoc/com/comphenix/protocol/CommandFilter.FilterFailedHandler.html similarity index 50% rename from Javadoc/com/comphenix/protocol/injector/PacketConstructor.Unwrapper.html rename to Javadoc/com/comphenix/protocol/CommandFilter.FilterFailedHandler.html index 7e7a9faf..203cdeb1 100644 --- a/Javadoc/com/comphenix/protocol/injector/PacketConstructor.Unwrapper.html +++ b/Javadoc/com/comphenix/protocol/CommandFilter.FilterFailedHandler.html @@ -2,15 +2,15 @@ - -PacketConstructor.Unwrapper - - + +CommandFilter.FilterFailedHandler + + @@ -24,27 +24,27 @@
                        • @@ -196,13 +196,13 @@ extends java.lang.Object

                          Constructor Detail

                          - +
                          • AbstractConcurrentListenerMultimap

                            -
                            public AbstractConcurrentListenerMultimap()
                            +
                            public AbstractConcurrentListenerMultimap(int maximumPacketID)
                          diff --git a/Javadoc/com/comphenix/protocol/concurrency/AbstractIntervalTree.EndPoint.html b/Javadoc/com/comphenix/protocol/concurrency/AbstractIntervalTree.EndPoint.html index d44dd88a..72daf0ab 100644 --- a/Javadoc/com/comphenix/protocol/concurrency/AbstractIntervalTree.EndPoint.html +++ b/Javadoc/com/comphenix/protocol/concurrency/AbstractIntervalTree.EndPoint.html @@ -2,9 +2,9 @@ - + AbstractIntervalTree.EndPoint - + diff --git a/Javadoc/com/comphenix/protocol/concurrency/AbstractIntervalTree.Entry.html b/Javadoc/com/comphenix/protocol/concurrency/AbstractIntervalTree.Entry.html index f9e4686c..24bb0fae 100644 --- a/Javadoc/com/comphenix/protocol/concurrency/AbstractIntervalTree.Entry.html +++ b/Javadoc/com/comphenix/protocol/concurrency/AbstractIntervalTree.Entry.html @@ -2,9 +2,9 @@ - + AbstractIntervalTree.Entry - + diff --git a/Javadoc/com/comphenix/protocol/concurrency/AbstractIntervalTree.State.html b/Javadoc/com/comphenix/protocol/concurrency/AbstractIntervalTree.State.html index 960d3490..facf483b 100644 --- a/Javadoc/com/comphenix/protocol/concurrency/AbstractIntervalTree.State.html +++ b/Javadoc/com/comphenix/protocol/concurrency/AbstractIntervalTree.State.html @@ -2,9 +2,9 @@ - + AbstractIntervalTree.State - + diff --git a/Javadoc/com/comphenix/protocol/concurrency/AbstractIntervalTree.html b/Javadoc/com/comphenix/protocol/concurrency/AbstractIntervalTree.html index e7ac3ac9..2e1661cf 100644 --- a/Javadoc/com/comphenix/protocol/concurrency/AbstractIntervalTree.html +++ b/Javadoc/com/comphenix/protocol/concurrency/AbstractIntervalTree.html @@ -2,9 +2,9 @@ - + AbstractIntervalTree - + diff --git a/Javadoc/com/comphenix/protocol/concurrency/BlockingHashMap.html b/Javadoc/com/comphenix/protocol/concurrency/BlockingHashMap.html index 5feffa2c..6a56a2b7 100644 --- a/Javadoc/com/comphenix/protocol/concurrency/BlockingHashMap.html +++ b/Javadoc/com/comphenix/protocol/concurrency/BlockingHashMap.html @@ -2,9 +2,9 @@ - + BlockingHashMap - + @@ -37,7 +37,7 @@
                        @@ -699,6 +767,8 @@ implements

                        getErrorCount

                        public int getErrorCount()
                        +
                        +
                        Returns:
                        Number of errors printed.
                      @@ -708,6 +778,8 @@ implements

                      setErrorCount

                      public void setErrorCount(int errorCount)
                      +
                      Set the number of errors printed.
                      +
                      Parameters:
                      errorCount - - new number of errors printed.
                    @@ -717,6 +789,8 @@ implements

                    getMaxErrorCount

                    public int getMaxErrorCount()
                    +
                    Retrieve the maximum number of errors we can print before we begin suppressing errors.
                    +
                    Returns:
                    Maximum number of errors.
                  @@ -726,6 +800,8 @@ implements

                  setMaxErrorCount

                  public void setMaxErrorCount(int maxErrorCount)
                  +
                  Set the maximum number of errors we can print before we begin suppressing errors.
                  +
                  Parameters:
                  maxErrorCount - - new max count.
                @@ -736,7 +812,9 @@ implements addGlobalParameter
                public void addGlobalParameter(java.lang.String key,
                                       java.lang.Object value)
                -
                Adds the given global parameter. It will be included in every error report.
                +
                Adds the given global parameter. It will be included in every error report. +

                + Both key and value must be non-null.

                Parameters:
                key - - name of parameter.
                value - - the global parameter itself.
              @@ -747,6 +825,9 @@ implements

              getGlobalParameter

              public java.lang.Object getGlobalParameter(java.lang.String key)
              +
              Retrieve a global parameter by its key.
              +
              Parameters:
              key - - key of the parameter to retrieve.
              +
              Returns:
              The value of the global parameter, or NULL if not found.
            @@ -756,6 +837,7 @@ implements

            clearGlobalParameters

            public void clearGlobalParameters()
            +
            Reset all global parameters.
          @@ -765,6 +847,8 @@ implements

          globalParameters

          public java.util.Set<java.lang.String> globalParameters()
          +
          Retrieve a set of every registered global parameter.
          +
          Returns:
          Set of all registered global parameters.
        @@ -774,6 +858,8 @@ implements

        getSupportURL

        public java.lang.String getSupportURL()
        +
        Retrieve the support URL that will be added to all detailed reports.
        +
        Returns:
        Support URL.
      @@ -783,6 +869,8 @@ implements

      setSupportURL

      public void setSupportURL(java.lang.String supportURL)
      +
      Set the support URL that will be added to all detailed reports.
      +
      Parameters:
      supportURL - - the new support URL.
    @@ -792,6 +880,8 @@ implements

    getPrefix

    public java.lang.String getPrefix()
    +
    Retrieve the prefix to apply to every line in the error reports.
    +
    Returns:
    Error report prefix.
    @@ -801,6 +891,8 @@ implements

    setPrefix

    public void setPrefix(java.lang.String prefix)
    +
    Set the prefix to apply to every line in the error reports.
    +
    Parameters:
    prefix - - new prefix.
    @@ -810,6 +902,8 @@ implements

    getLogger

    public java.util.logging.Logger getLogger()
    +
    Retrieve the current logger that is used to print all reports.
    +
    Returns:
    The current logger.
    @@ -819,6 +913,8 @@ implements

    setLogger

    public void setLogger(java.util.logging.Logger logger)
    +
    Set the current logger that is used to print all reports.
    +
    Parameters:
    logger - - new logger.
    @@ -847,7 +943,7 @@ implements