Class DataProvider

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

public class DataProvider extends Object
provides data to the client
Author:
hendrik
  • Constructor Details

    • DataProvider

      public DataProvider()
      creates a new DataProvider.
  • Method Details

    • provideData

      public void provideData(Player player, String version)
      sends data to the client, if available
      Parameters:
      player - player to send data to
      version - version of the client
    • getData

      public List<TransferContent> getData(String version)
      gets the data
      Parameters:
      version - version
      Returns:
      content