using ServerCore; using ServerBase; namespace ServerCommon.BusinessLogDomain; public class CurrencyDeltaUpdateBusinessLog : ILogInvokerEx { CurrencyInfo m_currency_info; public CurrencyDeltaUpdateBusinessLog( CurrencyType currencyType , AmountDeltaType deltaType, double deltaAmount, double currencyAmount ) : base(LogDomainType.Currency) { m_currency_info = new CurrencyInfo(this, currencyType, deltaType, deltaAmount, currencyAmount); } public override bool hasLog() { return true; } protected override void fillup(ref BusinessLog.LogBody body) { body.append(m_currency_info); } public CurrencyInfo getInfo() { return m_currency_info; } }