public override string ToString() { switch (Game) { case Game.OcarinaOfTime: return(OVer.ToString()); case Game.MajorasMask: return(MVer.ToString()); default: return(base.ToString()); } }
public string GetVerAbbr() { switch (Game) { case Game.OcarinaOfTime: return(OVer.ToString().ToLowerInvariant()); case Game.MajorasMask: return(MVer.ToString().ToLowerInvariant()); default: return("n/a"); } }
public Type GetInternalType() { if (Game == Game.OcarinaOfTime) { return(OVer.GetType()); } else if (Game == Game.MajorasMask) { return(MVer.GetType()); } else { return(GetType()); } }