Ejemplo n.º 1
0
        public override object GetSuffix(string suffixName)
        {
            switch (suffixName)
            {
            case "STATE":
                return(module.state);

            case "ORIENTATION":
                return(new Vector(module.GetFwdVector()));

            case "DOCKEDVESSELNAME":
                return(module.vesselInfo != null ? module.vesselInfo.name : string.Empty);

            case "TARGETABLE":
                return(true);
            }
            return(base.GetSuffix(suffixName));
        }