multiverse.mars.plugins
Class QuestClient
java.lang.Object
multiverse.mars.plugins.QuestClient
public class QuestClient
- extends java.lang.Object
|
Method Summary |
static java.util.Map<java.lang.String,java.lang.Byte> |
getQuestStatus(java.lang.Long playerOid,
java.util.Collection<java.lang.String> questRefs)
makes a request to the questplugin to get the quest completion status for the passed
in quest ids for a given player |
static void |
requestConclude(java.lang.Long mobOid,
java.lang.Long playerOid)
|
static void |
requestQuestInfo(java.lang.Long mobOid,
java.lang.Long playerOid)
|
static void |
resetQuests(java.lang.Long playerOid)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QuestStatusDNE
public static final byte QuestStatusDNE
- See Also:
- Constant Field Values
QuestStatusInProgress
public static final byte QuestStatusInProgress
- See Also:
- Constant Field Values
QuestStatusCompleted
public static final byte QuestStatusCompleted
- See Also:
- Constant Field Values
QuestStatusConcluded
public static final byte QuestStatusConcluded
- See Also:
- Constant Field Values
MSG_TYPE_REQ_QUEST_INFO
public static final MessageType MSG_TYPE_REQ_QUEST_INFO
MSG_TYPE_REQ_CONCLUDE_QUEST
public static final MessageType MSG_TYPE_REQ_CONCLUDE_QUEST
MSG_TYPE_QUEST_INFO
public static final MessageType MSG_TYPE_QUEST_INFO
MSG_TYPE_GET_QUEST_STATUS
public static final MessageType MSG_TYPE_GET_QUEST_STATUS
MSG_TYPE_QUEST_RESP
public static final MessageType MSG_TYPE_QUEST_RESP
MSG_TYPE_NEW_QUESTSTATE
public static final MessageType MSG_TYPE_NEW_QUESTSTATE
MSG_TYPE_CONCLUDE_QUEST
public static final MessageType MSG_TYPE_CONCLUDE_QUEST
MSG_TYPE_QUEST_STATE_STATUS_CHANGE
public static final MessageType MSG_TYPE_QUEST_STATE_STATUS_CHANGE
MSG_TYPE_QUEST_LOG_INFO
public static final MessageType MSG_TYPE_QUEST_LOG_INFO
MSG_TYPE_QUEST_STATE_INFO
public static final MessageType MSG_TYPE_QUEST_STATE_INFO
MSG_TYPE_REMOVE_QUEST_RESP
public static final MessageType MSG_TYPE_REMOVE_QUEST_RESP
MSG_TYPE_REQ_RESET_QUESTS
public static final MessageType MSG_TYPE_REQ_RESET_QUESTS
QuestClient
public QuestClient()
getQuestStatus
public static java.util.Map<java.lang.String,java.lang.Byte> getQuestStatus(java.lang.Long playerOid,
java.util.Collection<java.lang.String> questRefs)
- makes a request to the questplugin to get the quest completion status for the passed
in quest ids for a given player
- Parameters:
playerOid - playerquestRefs - name of quests we want the status for
requestQuestInfo
public static void requestQuestInfo(java.lang.Long mobOid,
java.lang.Long playerOid)
requestConclude
public static void requestConclude(java.lang.Long mobOid,
java.lang.Long playerOid)
resetQuests
public static void resetQuests(java.lang.Long playerOid)