Example #1
0
        public override string ToString()
        {
            switch (Game)
            {
            case Game.OcarinaOfTime: return(OVer.ToString());

            case Game.MajorasMask: return(MVer.ToString());

            default: return(base.ToString());
            }
        }
Example #2
0
        public string GetVerAbbr()
        {
            switch (Game)
            {
            case Game.OcarinaOfTime: return(OVer.ToString().ToLowerInvariant());

            case Game.MajorasMask: return(MVer.ToString().ToLowerInvariant());

            default: return("n/a");
            }
        }
Example #3
0
 public Type GetInternalType()
 {
     if (Game == Game.OcarinaOfTime)
     {
         return(OVer.GetType());
     }
     else if (Game == Game.MajorasMask)
     {
         return(MVer.GetType());
     }
     else
     {
         return(GetType());
     }
 }