-
Notifications
You must be signed in to change notification settings - Fork 203
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Class for adding a customized result to BuiltQuest history
- Loading branch information
1 parent
c4fe94d
commit e77b903
Showing
3 changed files
with
68 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
src/games/stendhal/server/entity/npc/quest/QuestHistoryResult.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/*************************************************************************** | ||
* Copyright © 2024 - Faiumoni e. V. * | ||
*************************************************************************** | ||
*************************************************************************** | ||
* * | ||
* This program is free software; you can redistribute it and/or modify * | ||
* it under the terms of the GNU General Public License as published by * | ||
* the Free Software Foundation; either version 2 of the License, or * | ||
* (at your option) any later version. * | ||
* * | ||
***************************************************************************/ | ||
package games.stendhal.server.entity.npc.quest; | ||
|
||
import java.util.List; | ||
|
||
import games.stendhal.server.entity.player.Player; | ||
|
||
|
||
/** | ||
* Class for adding a customized result to BuiltQuest history. | ||
*/ | ||
public interface QuestHistoryResult { | ||
|
||
/** | ||
* Called when history is requested. | ||
* | ||
* @param player | ||
* Player for which history is requested. | ||
* @param res | ||
* History items. | ||
*/ | ||
abstract void apply(Player player, List<String> res); | ||
} |