초기커밋
This commit is contained in:
@@ -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 CheatRenewalShopProductBusinessLog : ILogInvokerEx
|
||||
{
|
||||
private RenewalShopProductsLogInfo m_info;
|
||||
|
||||
public CheatRenewalShopProductBusinessLog(Int32 shopId)
|
||||
:base(LogDomainType.CheatRenewalShopProducts)
|
||||
{
|
||||
m_info = new RenewalShopProductsLogInfo(this, shopId, 0, 0, 0, 0, new());
|
||||
}
|
||||
|
||||
public override bool hasLog()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
protected override void fillup(ref BusinessLog.LogBody body)
|
||||
{
|
||||
body.append(m_info);
|
||||
}
|
||||
}
|
||||
@@ -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 RenewalShopProductsBusinessLog : ILogInvokerEx
|
||||
{
|
||||
private RenewalShopProductsLogInfo m_info;
|
||||
|
||||
public RenewalShopProductsBusinessLog(Int32 shopId, Int32 maxCount, Int32 currentRenewalCount, Int32 currencyType,
|
||||
Int32 currencyValue, List<ShopProductTradingMeterSubAttribute> productTrandingMeters)
|
||||
:base(LogDomainType.RenewalShopProducts)
|
||||
{
|
||||
m_info = new RenewalShopProductsLogInfo(this, shopId, maxCount, currentRenewalCount, currencyType,
|
||||
currencyValue, productTrandingMeters);
|
||||
}
|
||||
|
||||
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