초기커밋
This commit is contained in:
23
GameServer/Contents/Quest/QuestChecker/QuestSocialAction.cs
Normal file
23
GameServer/Contents/Quest/QuestChecker/QuestSocialAction.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using ServerCommon;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace GameServer
|
||||
{
|
||||
internal class QuestSocialAction : QuestBase
|
||||
{
|
||||
public QuestSocialAction(EQuestEventTargetType targetType, EQuestEventNameType eventNameType, int socialActionId) : base(targetType, eventNameType, 0, string.Empty, string.Empty, string.Empty)
|
||||
{
|
||||
m_condition_1 = socialActionId.ToString();
|
||||
}
|
||||
|
||||
public override bool checkSubValidTaskScript(QuestAttribute questAttribute, QuestEventInfo events)
|
||||
{
|
||||
if (events.EventCondition1.Equals(m_condition_1)) return true;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user