초기커밋
This commit is contained in:
33
GameServer/Contents/Quest/Log/EndQuestDeleteBusinessLog.cs
Normal file
33
GameServer/Contents/Quest/Log/EndQuestDeleteBusinessLog.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
using Google.Protobuf;
|
||||
using Google.Protobuf.WellKnownTypes;
|
||||
|
||||
|
||||
using ServerCore;
|
||||
using ServerBase;
|
||||
using ServerCommon;
|
||||
using ServerCommon.BusinessLogDomain;
|
||||
using MetaAssets;
|
||||
|
||||
|
||||
namespace GameServer;
|
||||
|
||||
public class EndQuestDeleteBusinessLog : ILogInvokerEx
|
||||
{
|
||||
private QuestIdLogInfo m_info;
|
||||
|
||||
public EndQuestDeleteBusinessLog(UInt32 questId, UInt32 questRevision) : base(LogDomainType.QuestMain)
|
||||
{
|
||||
m_info = new QuestIdLogInfo(this, questId, questRevision);
|
||||
}
|
||||
|
||||
|
||||
public override bool hasLog()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
protected override void fillup(ref BusinessLog.LogBody body)
|
||||
{
|
||||
body.append(m_info);
|
||||
}
|
||||
}
|
||||
49
GameServer/Contents/Quest/Log/QueatDailyCheckBusinessLog.cs
Normal file
49
GameServer/Contents/Quest/Log/QueatDailyCheckBusinessLog.cs
Normal file
@@ -0,0 +1,49 @@
|
||||
using Google.Protobuf;
|
||||
using Google.Protobuf.WellKnownTypes;
|
||||
|
||||
|
||||
using ServerCore;
|
||||
using ServerBase;
|
||||
using ServerCommon;
|
||||
using ServerCommon.BusinessLogDomain;
|
||||
using MetaAssets;
|
||||
|
||||
|
||||
|
||||
namespace GameServer;
|
||||
|
||||
|
||||
public class QueatDailyCheckBusinessLog : ILogInvokerEx
|
||||
{
|
||||
private List<QuestDailyCheckLogInfo> m_info;
|
||||
|
||||
public QueatDailyCheckBusinessLog(Dictionary<OncePeriodRangeType, QuestPeriodRepeatInfo> infos) : base(LogDomainType.QuestMain)
|
||||
{
|
||||
m_info = new();
|
||||
|
||||
foreach (var info in infos)
|
||||
{
|
||||
QuestDailyCheckLogInfo log_info = new();
|
||||
log_info.period_type = info.Key;
|
||||
|
||||
foreach (var sended_quest in info.Value.m_sended_quest)
|
||||
{
|
||||
log_info.sended_quest_check.TryAdd(sended_quest.Key, sended_quest.Value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public override bool hasLog()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
protected override void fillup(ref BusinessLog.LogBody body)
|
||||
{
|
||||
foreach(var info in m_info)
|
||||
{
|
||||
body.append(info);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
34
GameServer/Contents/Quest/Log/QuestAbandonBusinessLog.cs
Normal file
34
GameServer/Contents/Quest/Log/QuestAbandonBusinessLog.cs
Normal file
@@ -0,0 +1,34 @@
|
||||
using Google.Protobuf;
|
||||
using Google.Protobuf.WellKnownTypes;
|
||||
|
||||
|
||||
using ServerCore;
|
||||
using ServerBase;
|
||||
using ServerCommon;
|
||||
using ServerCommon.BusinessLogDomain;
|
||||
using MetaAssets;
|
||||
|
||||
|
||||
|
||||
namespace GameServer;
|
||||
|
||||
public class QuestAbandonBusinessLog : ILogInvokerEx
|
||||
{
|
||||
private QuestIdLogInfo m_info;
|
||||
|
||||
public QuestAbandonBusinessLog(UInt32 questId, UInt32 questRevision) : base(LogDomainType.QuestMain)
|
||||
{
|
||||
m_info = new QuestIdLogInfo(this, questId, questRevision);
|
||||
}
|
||||
|
||||
|
||||
public override bool hasLog()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
protected override void fillup(ref BusinessLog.LogBody body)
|
||||
{
|
||||
body.append(m_info);
|
||||
}
|
||||
}
|
||||
34
GameServer/Contents/Quest/Log/QuestAcceptBusinessLog.cs
Normal file
34
GameServer/Contents/Quest/Log/QuestAcceptBusinessLog.cs
Normal file
@@ -0,0 +1,34 @@
|
||||
using Google.Protobuf;
|
||||
using Google.Protobuf.WellKnownTypes;
|
||||
|
||||
|
||||
using ServerCore;
|
||||
using ServerBase;
|
||||
using ServerCommon;
|
||||
using ServerCommon.BusinessLogDomain;
|
||||
using MetaAssets;
|
||||
|
||||
|
||||
|
||||
namespace GameServer;
|
||||
|
||||
public class QuestAcceptBusinessLog : ILogInvokerEx
|
||||
{
|
||||
QuestAcceptLogInfo m_info;
|
||||
|
||||
public QuestAcceptBusinessLog(UInt32 questId, UInt32 questRevision, EQuestType questType)
|
||||
: base(LogDomainType.QuestMain)
|
||||
{
|
||||
m_info = new QuestAcceptLogInfo(this, questId, questRevision, questType);
|
||||
}
|
||||
public override bool hasLog()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
protected override void fillup(ref BusinessLog.LogBody body)
|
||||
{
|
||||
body.append(m_info);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
using Google.Protobuf;
|
||||
using Google.Protobuf.WellKnownTypes;
|
||||
|
||||
|
||||
using ServerCore;
|
||||
using ServerBase;
|
||||
using ServerCommon;
|
||||
using ServerCommon.BusinessLogDomain;
|
||||
using MetaAssets;
|
||||
|
||||
|
||||
namespace GameServer;
|
||||
|
||||
public class QuestAcceptByDialogueBusinessLog : ILogInvokerEx
|
||||
{
|
||||
private QuestAcceptByDialogueLogInfo m_info;
|
||||
|
||||
public QuestAcceptByDialogueBusinessLog(UInt32 questId, UInt32 questRevision, string dialogue, string dialogueResult) : base(LogDomainType.QuestMain)
|
||||
{
|
||||
m_info = new QuestAcceptByDialogueLogInfo(this, questId, questRevision, dialogue, dialogueResult);
|
||||
}
|
||||
|
||||
|
||||
public override bool hasLog()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
protected override void fillup(ref BusinessLog.LogBody body)
|
||||
{
|
||||
body.append(m_info);
|
||||
}
|
||||
}
|
||||
33
GameServer/Contents/Quest/Log/QuestCompleteBusinessLog.cs
Normal file
33
GameServer/Contents/Quest/Log/QuestCompleteBusinessLog.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
using Google.Protobuf;
|
||||
using Google.Protobuf.WellKnownTypes;
|
||||
|
||||
|
||||
using ServerCore;
|
||||
using ServerBase;
|
||||
using ServerCommon;
|
||||
using ServerCommon.BusinessLogDomain;
|
||||
using MetaAssets;
|
||||
|
||||
|
||||
namespace GameServer;
|
||||
|
||||
public class QuestCompleteBusinessLog : ILogInvokerEx
|
||||
{
|
||||
private QuestIdLogInfo m_info;
|
||||
|
||||
public QuestCompleteBusinessLog(UInt32 questId, UInt32 questRevision) : base(LogDomainType.QuestMain)
|
||||
{
|
||||
m_info = new QuestIdLogInfo(this, questId, questRevision);
|
||||
}
|
||||
|
||||
|
||||
public override bool hasLog()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
protected override void fillup(ref BusinessLog.LogBody body)
|
||||
{
|
||||
body.append(m_info);
|
||||
}
|
||||
}
|
||||
35
GameServer/Contents/Quest/Log/QuestDeleteBusinessLog.cs
Normal file
35
GameServer/Contents/Quest/Log/QuestDeleteBusinessLog.cs
Normal file
@@ -0,0 +1,35 @@
|
||||
using Google.Protobuf;
|
||||
using Google.Protobuf.WellKnownTypes;
|
||||
|
||||
|
||||
using ServerCore;
|
||||
using ServerBase;
|
||||
using ServerCommon;
|
||||
using ServerCommon.BusinessLogDomain;
|
||||
using MetaAssets;
|
||||
|
||||
|
||||
namespace GameServer;
|
||||
|
||||
internal class QuestDeleteBusinessLog : ILogInvokerEx
|
||||
{
|
||||
QuestIdLogInfo m_info;
|
||||
|
||||
public QuestDeleteBusinessLog(UInt32 questId, UInt32 questRevision)
|
||||
: base(LogDomainType.QuestMain)
|
||||
{
|
||||
m_info = new QuestIdLogInfo(this, questId, questRevision);
|
||||
}
|
||||
|
||||
public override bool hasLog()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
protected override void fillup(ref BusinessLog.LogBody body)
|
||||
{
|
||||
body.append(m_info);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
33
GameServer/Contents/Quest/Log/QuestRefuseBusinessLog.cs
Normal file
33
GameServer/Contents/Quest/Log/QuestRefuseBusinessLog.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
using Google.Protobuf;
|
||||
using Google.Protobuf.WellKnownTypes;
|
||||
|
||||
|
||||
using ServerCore;
|
||||
using ServerBase;
|
||||
using ServerCommon;
|
||||
using ServerCommon.BusinessLogDomain;
|
||||
using MetaAssets;
|
||||
|
||||
|
||||
namespace GameServer;
|
||||
|
||||
public class QuestRefuseBusinessLog : ILogInvokerEx
|
||||
{
|
||||
QuestIdLogInfo m_info;
|
||||
|
||||
public QuestRefuseBusinessLog(UInt32 questId, UInt32 questRevision)
|
||||
: base(LogDomainType.QuestMain)
|
||||
{
|
||||
m_info = new QuestIdLogInfo(this, questId, questRevision);
|
||||
}
|
||||
public override bool hasLog()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
protected override void fillup(ref BusinessLog.LogBody body)
|
||||
{
|
||||
body.append(m_info);
|
||||
}
|
||||
|
||||
}
|
||||
33
GameServer/Contents/Quest/Log/RepeatQuestBusinessLog.cs
Normal file
33
GameServer/Contents/Quest/Log/RepeatQuestBusinessLog.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
using Google.Protobuf;
|
||||
using Google.Protobuf.WellKnownTypes;
|
||||
|
||||
|
||||
using ServerCore;
|
||||
using ServerBase;
|
||||
using ServerCommon;
|
||||
using ServerCommon.BusinessLogDomain;
|
||||
using MetaAssets;
|
||||
|
||||
|
||||
namespace GameServer;
|
||||
|
||||
public class RepeatQuestBusinessLog : ILogInvokerEx
|
||||
{
|
||||
private RepeatQuestLogInfo m_info;
|
||||
|
||||
public RepeatQuestBusinessLog(DateTime nextAllocatedTime, Int32 isChecking)
|
||||
: base(LogDomainType.QuestMain)
|
||||
{
|
||||
m_info = new RepeatQuestLogInfo(this, nextAllocatedTime, isChecking);
|
||||
}
|
||||
|
||||
public override bool hasLog()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
protected override void fillup(ref BusinessLog.LogBody body)
|
||||
{
|
||||
body.append(m_info);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user