24 lines
701 B
C#
24 lines
701 B
C#
using ServerCommon;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace GameServer
|
|
{
|
|
public class QuestChair : QuestBase
|
|
{
|
|
public QuestChair(EQuestEventTargetType targetType, EQuestEventNameType eventNameType, int tableId) : base(targetType, eventNameType, 0, string.Empty, string.Empty, string.Empty)
|
|
{
|
|
m_condition_1 = tableId.ToString();
|
|
}
|
|
|
|
public override bool checkSubValidTaskScript(QuestAttribute questAttribute, QuestEventInfo events)
|
|
{
|
|
if (events.EventCondition1.Equals(m_condition_1)) return true;
|
|
return false;
|
|
}
|
|
}
|
|
}
|