33 lines
698 B
C#
33 lines
698 B
C#
using Google.Protobuf;
|
|
using Google.Protobuf.WellKnownTypes;
|
|
|
|
|
|
using ServerCore;
|
|
using ServerBase;
|
|
using ServerCommon;
|
|
using ServerCommon.BusinessLogDomain;
|
|
using MetaAssets;
|
|
|
|
|
|
namespace GameServer;
|
|
|
|
public class SwitchingPropBusinessLog : ILogInvokerEx
|
|
{
|
|
private SwitchingPropLogInfo m_info;
|
|
|
|
public SwitchingPropBusinessLog(UInt32 questId, Int32 propId, Int32 propState)
|
|
: base(LogDomainType.SwitchingProp)
|
|
{
|
|
m_info = new SwitchingPropLogInfo(this, questId, propId, propState);
|
|
}
|
|
|
|
public override bool hasLog()
|
|
{
|
|
return true;
|
|
}
|
|
|
|
protected override void fillup(ref BusinessLog.LogBody body)
|
|
{
|
|
body.append(m_info);
|
|
}
|
|
} |