mirror of https://github.com/PikaMug/Quests.git
52 lines
1.8 KiB
Java
52 lines
1.8 KiB
Java
/*
|
|
* Copyright (c) PikaMug and contributors
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
|
|
* LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
*/
|
|
|
|
package me.pikamug.quests.quests;
|
|
|
|
import org.bukkit.configuration.ConfigurationSection;
|
|
import org.bukkit.conversations.ConversationContext;
|
|
import org.bukkit.conversations.ConversationFactory;
|
|
import org.bukkit.conversations.Prompt;
|
|
|
|
import java.util.List;
|
|
import java.util.Set;
|
|
import java.util.UUID;
|
|
|
|
public interface QuestFactory {
|
|
|
|
Set<UUID> getSelectingNpcs();
|
|
|
|
void setSelectingNpcs(final Set<UUID> selectingNpcs);
|
|
|
|
List<String> getNamesOfQuestsBeingEdited();
|
|
|
|
void setNamesOfQuestsBeingEdited(final List<String> questNames);
|
|
|
|
ConversationFactory getConversationFactory();
|
|
|
|
Prompt returnToMenu(final ConversationContext context);
|
|
|
|
void loadQuest(final ConversationContext context, final Quest q);
|
|
|
|
void deleteQuest(final ConversationContext context);
|
|
|
|
void saveQuest(final ConversationContext context, final ConfigurationSection section);
|
|
|
|
/*void saveRequirements(final ConversationContext context, final ConfigurationSection section);
|
|
|
|
void saveStages(final ConversationContext context, final ConfigurationSection section);
|
|
|
|
void saveRewards(final ConversationContext context, final ConfigurationSection section);
|
|
|
|
void savePlanner(final ConversationContext context, final ConfigurationSection section);
|
|
|
|
void saveOptions(final ConversationContext context, final ConfigurationSection section);*/
|
|
}
|