28 lines
699 B
C#
28 lines
699 B
C#
using System.Text;
|
|
|
|
|
|
using Google.Protobuf.WellKnownTypes;
|
|
|
|
|
|
namespace ServerCommon;
|
|
|
|
|
|
public class QuestValidatorForNpcDialogueSet : QuestScriptValidatorBase
|
|
{
|
|
private string m_func_cond2 = string.Empty;
|
|
|
|
public QuestValidatorForNpcDialogueSet(QuestMetaValidateHandler handler, string funcCond2) : base(handler)
|
|
{
|
|
m_func_cond2 = funcCond2;
|
|
init();
|
|
}
|
|
|
|
public override void init()
|
|
{
|
|
StringBuilder dialogue_ended = new();
|
|
dialogue_ended.Append(EQuestEventTargetType.DIALOGUE.ToString()).Append(EQuestEventNameType.ENDED.ToString())
|
|
.Append(m_func_cond2);
|
|
m_handler.addEventChecker(dialogue_ended.ToString());
|
|
|
|
}
|
|
} |