43 lines
1.1 KiB
C#
43 lines
1.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
using ServerCommon;
|
|
using ServerCore; using ServerBase;
|
|
|
|
|
|
|
|
namespace GameServer
|
|
{
|
|
public class LandAuctionRefundBidPrice : EntityBase
|
|
{
|
|
public LandAuctionRefundBidPrice(Player owner)
|
|
: base(EntityType.LandAuctionRefundBidPrice, owner)
|
|
{
|
|
}
|
|
public override async Task<Result> onInit()
|
|
{
|
|
addEntityAttribute(new LandAuctionRefundBidPriceAttribute(this));
|
|
|
|
addEntityAction(new LandAuctionRefundBidPriceAction(this));
|
|
|
|
return await base.onInit();
|
|
}
|
|
|
|
public override string toBasicString()
|
|
{
|
|
return $"{this.getTypeName()}"
|
|
+ $", {getOriginEntityAttribute<LandAuctionRefundBidPriceAttribute>()?.toBasicString()}";
|
|
}
|
|
|
|
public override string toSummaryString()
|
|
{
|
|
return $"{this.getTypeName()}"
|
|
+ $", {getEntityAttribute<LandAuctionRefundBidPriceAttribute>()?.toSummaryString()}";
|
|
}
|
|
}
|
|
}
|