Package marauroa.server.db.command

Examples of marauroa.server.db.command.ResultHandle


   * @param lineBreaks should each player be put on a line by itself?
   */
  public SignFromHallOfFameLoader(Sign sign, String introduction, String fametype, int max, boolean ascending, boolean lineBreaks) {
    this.sign = sign;
    this.introduction = introduction;
    this.handle = new ResultHandle();
    this.lineBreaks = lineBreaks;
    DBCommand command = new ReadCharactersFromHallOfFameCommand(fametype, max, ascending);
    DBCommandQueue.get().enqueueAndAwaitResult(command, handle);
  }
View Full Code Here


   * @param questSlot name of a slot to store the points to
   */
  public NotifyPlayerAboutHallOfFamePoints(SpeakerNPC npc, String playerName, String fametype, String questSlot) {
    this.npc = npc;
    this.playerName = playerName;
    this.handle = new ResultHandle();
    this.questSlot = questSlot;
    DBCommand command = new ReadHallOfFamePointsCommand(playerName, fametype);
    DBCommandQueue.get().enqueueAndAwaitResult(command, handle);
  }
View Full Code Here

TOP

Related Classes of marauroa.server.db.command.ResultHandle

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.