Class GameEvent

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

public class GameEvent extends Object
a game event for logging
  • Constructor Details

    • GameEvent

      public GameEvent(String source, String event, String... params)
      creates a new GameEvent object
      Parameters:
      source - source of the event, usually a character
      event - name of event
      params - parameters
    • GameEvent

      public GameEvent(String source, String event, List<String> params)
      creates a new GameEvent object
      Parameters:
      source - source of the event, usually a character
      event - name of event
      params - parameters
  • Method Details

    • raise

      public void raise()
      writes the event to the database
    • getParams

      public String[] getParams()
    • getSource

      public String getSource()
    • getEvent

      public String getEvent()