//英雄登场(武将登场) public class OperationHeroAppearInfo : OperationBase { public int ActType; // 活动类型,用于关联活动相关模块用,如签到、任务等 public int CfgID; // 活动时间表配置ID public override string ToDisplayTime() { var textBuilder = OperationTimeHepler.textBuilder; textBuilder.Length = 0; textBuilder.Append(startDate.ToDisplay()); if (startDate != endDate) { textBuilder.Append("—"); textBuilder.Append(endDate.ToDisplay()); } return textBuilder.ToString(); } }