Class ItemLocation
java.lang.Object
games.stendhal.tools.loganalyser.itemlog.consistency.ItemLocation
Represents the location of an item (slot or ground).
- Author:
- hendrik
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanchecks the consitency between the stored information and the logged source.toString()voidupdates the location in case the event is a location change event.
-
Constructor Details
-
ItemLocation
public ItemLocation()
-
-
Method Details
-
check
checks the consitency between the stored information and the logged source. Returns true in case no information is stored.- Parameters:
event- name of eventparam1- param1 from databaseparam2- param2 from database- Returns:
- true in case the location is consistent or unknown
-
update
updates the location in case the event is a location change event.- Parameters:
event- name of eventparam3- param3 from databaseparam4- param4 from database
-
toString
-