java.lang.Object
games.stendhal.tools.loganalyser.itemlog.consistency.ItemLocation

public class ItemLocation extends Object
Represents the location of an item (slot or ground).
Author:
hendrik
  • Constructor Details

    • ItemLocation

      public ItemLocation()
  • Method Details

    • check

      public boolean check(String event, String param1, String param2)
      checks the consitency between the stored information and the logged source. Returns true in case no information is stored.
      Parameters:
      event - name of event
      param1 - param1 from database
      param2 - param2 from database
      Returns:
      true in case the location is consistent or unknown
    • update

      public void update(String event, String param3, String param4)
      updates the location in case the event is a location change event.
      Parameters:
      event - name of event
      param3 - param3 from database
      param4 - param4 from database
    • toString

      public String toString()
      Overrides:
      toString in class Object