Class ItemLogger

java.lang.Object
games.stendhal.server.core.engine.ItemLogger

public class ItemLogger extends Object
Item Logger.
Author:
hendrik
  • Constructor Details

    • ItemLogger

      public ItemLogger()
  • Method Details

    • addLogItemEventCommand

      public void addLogItemEventCommand(AbstractLogItemEventCommand command)
    • loadOnLogin

      public void loadOnLogin(Player player, RPSlot slot, Item item)
    • destroyOnLogin

      public void destroyOnLogin(Player player, RPSlot slot, RPObject item)
    • destroy

      public void destroy(RPEntity entity, RPSlot slot, RPObject item)
    • destroy

      public void destroy(RPEntity entity, RPSlot slot, RPObject item, String reason)
    • dropQuest

      public void dropQuest(Player player, Item item)
    • timeout

      public void timeout(Item item)
      Call when the item or its container times out, or the containing zone is destroyed
      Parameters:
      item - Item to log timeout for
    • displace

      public void displace(Player player, PassiveEntity item, StendhalRPZone zone, int oldX, int oldY, int x, int y)
    • equipAction

      public void equipAction(Player player, Entity entity, String[] sourceInfo, String[] destInfo)
    • merge

      public void merge(RPEntity entity, Item oldItem, Item outlivingItem)
    • splitOff

      public void splitOff(RPEntity player, Item item, int quantity)
    • splitOff

      public void splitOff(RPEntity player, Item item, Item newItem, int quantity)