internal ELSurveyStake.Data this[int index] { get { Vessel v = stakes[index]; if (v.loaded) { var stake = v[0].FindModuleImplementing <ELSurveyStake> (); return(stake.GetData()); } else { var ppart = v.protoVessel.protoPartSnapshots[0]; var stake = ppart.FindModule("ELSurveyStake"); return(ELSurveyStake.GetData(stake, v)); } } }
internal ELSurveyStake.Data this[int index] { get { return(ELSurveyStake.GetData(stakes[index])); } }