Class MapContainer

java.lang.Object
com.comphenix.protocol.injector.packet.MapContainer

public class MapContainer extends Object
Represents a class that can detect if a map has changed.
  • Constructor Details

    • MapContainer

      public MapContainer(Object source)
  • Method Details

    • hasChanged

      public boolean hasChanged()
      Determine if the map has changed.
      Returns:
      TRUE if it has, FALSE otherwise.
    • setChanged

      public void setChanged(boolean changed)
      Mark the map as changed or unchanged.
      Parameters:
      changed - - TRUE if the map has changed, FALSE otherwise.
    • checkChanged

      protected void checkChanged()
      Check for modifications to the current map.