You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
using System;
|
|
|
|
using MongoDB.Bson.Serialization.Attributes;
|
|
|
|
|
|
|
|
namespace ET
|
|
|
|
{
|
|
|
|
public class Farmland: Entity, IAwake,IUpdate, IDestroy,ISerializeToEntity
|
|
|
|
{
|
|
|
|
public int CropCfgId; //农作物configid
|
|
|
|
public int Duration; //种植时间
|
|
|
|
public int ExProduct; //额外产量
|
|
|
|
public int FarmlandState; //农田状态
|
|
|
|
public int PlanCropCfgId; //计划种植的东西
|
|
|
|
|
|
|
|
[BsonIgnore]
|
|
|
|
public CropConfig Config =>CropConfigCategory.Instance.Get(this.CropCfgId);
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|