초기커밋
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
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()}";
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user