24 lines
831 B
C#
24 lines
831 B
C#
using ServerCommon;
|
|
|
|
|
|
namespace GameServer
|
|
{
|
|
public class QuestDressRoom : QuestBase
|
|
{
|
|
public QuestDressRoom(EQuestEventTargetType targetType, EQuestEventNameType eventNameType, string enterType) : base(targetType, eventNameType, 0, string.Empty, string.Empty, string.Empty)
|
|
{
|
|
m_condition_1 = enterType;
|
|
}
|
|
public override bool checkSubValidTaskScript(QuestAttribute questAttribute, QuestEventInfo events)
|
|
{
|
|
if (events.EventCondition1.Equals(m_condition_1)) return true;
|
|
return false;
|
|
}
|
|
|
|
public override async Task<Result> postProcess(Player player, QuestTaskUpdateHandler questTaskUpdateHandler)
|
|
{
|
|
return await QuestNotifyHelper.sendRedisQuestNotifyRequest(player, questTaskUpdateHandler);
|
|
}
|
|
}
|
|
}
|