public RestartData(RestartData other) { WastedRestartPoints = ArrayHelper.DeepClone(other.WastedRestartPoints); BustedRestartPoints = ArrayHelper.DeepClone(other.BustedRestartPoints); NumberOfWastedRestartPoints = other.NumberOfWastedRestartPoints; NumberOfBustedRestartPoints = other.NumberOfBustedRestartPoints; OverrideNextRestart = other.OverrideNextRestart; OverrideRestartPoint = new RestartPoint(other.OverrideRestartPoint); FadeInAfteNextDeath = other.FadeInAfteNextDeath; FadeInAfteNextArrest = other.FadeInAfteNextArrest; OverrideHospitalLevel = other.OverrideHospitalLevel; OverridePoliceStationLevel = other.OverridePoliceStationLevel; }
public RestartData() { WastedRestartPoints = ArrayHelper.CreateArray <RestartPoint>(MaxNumWastedRestarts); BustedRestartPoints = ArrayHelper.CreateArray <RestartPoint>(MaxNumBustedRestarts); OverrideRestartPoint = new RestartPoint(); }