초기커밋
This commit is contained in:
35
GameServer/Contents/Escape/Log/EscapePositionBusinessLog.cs
Normal file
35
GameServer/Contents/Escape/Log/EscapePositionBusinessLog.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;
|
||||
|
||||
public class EscapePositionBusinessLog : ILogInvokerEx
|
||||
{
|
||||
EscapePositionLogInfo m_info;
|
||||
|
||||
public EscapePositionBusinessLog(Pos currentPos, Pos nearestStartPos)
|
||||
: base(LogDomainType.EscapePosition)
|
||||
{
|
||||
m_info = new EscapePositionLogInfo(this, currentPos, nearestStartPos);
|
||||
}
|
||||
|
||||
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