public override DemoParseResult GetResult() { DemoParseResult demoParseResult = new DemoParseResult() { FileName = base.FileName, MapName = base.Map, PlayerName = base.PlayerName, GameDir = base.GameDir, TotalTicks = base.CurrentTick, StartAdjustmentType = base.MapStartAdjustType, EndAdjustmentType = base.MapEndAdjustType }; return(demoParseResult); }
public override DemoParseResult GetResult() { DemoParseResult result = base.GetResult(); if (this._startAdjustType != null) { result.StartAdjustmentType = this._startAdjustType; result.StartAdjustmentTick = this._startTick; } if (this._endAdjustType != null) { result.EndAdjustmentType = this._endAdjustType; result.EndAdjustmentTick = this._endTick; } return(result); }
public object Clone() { DemoParseResult demoParseResult = new DemoParseResult() { FileName = this.FileName, MapName = this.MapName, PlayerName = this.PlayerName, GameDir = this.GameDir, TotalTicks = this.TotalTicks, StartAdjustmentTick = this.StartAdjustmentTick, StartAdjustmentType = this.StartAdjustmentType, EndAdjustmentTick = this.EndAdjustmentTick, EndAdjustmentType = this.EndAdjustmentType }; return(demoParseResult); }