コード例 #1
0
        public LaunchSite(string sName, string sAuthor, SiteType sType, Texture sLogo, Texture sIcon,
			string sDescription, string sDevice, float fOpenCost, float fCloseValue, string sOpenCloseState, float fRefLon, 
			float fRefLat, float fRefAlt, float fLength, float fWidth, float fRefund, float fRecoveryFactor, float fRecoveryRange,
			GameObject gameObject, PSystemSetup.SpaceCenterFacility newFacility = null, string sFavourite = "No")
        {
            name = sName;
            author = sAuthor;
            type = sType;
            logo = sLogo;
            icon = sIcon;
            description = sDescription;
            category = sDevice;
            opencost = fOpenCost;
            closevalue = fCloseValue;
            openclosestate = sOpenCloseState;
            GameObject = gameObject;
            facility = newFacility;
            reflon = fRefLon;
            reflat = fRefLat;
            refalt = fRefAlt;
            sitelength = fLength;
            sitewidth = fWidth;
            launchrefund = fRefund;
            recoveryfactor = fRecoveryFactor;
            recoveryrange = fRecoveryRange;
            favouritesite = sFavourite;
        }
コード例 #2
0
        public LaunchSite(string sName, string sAuthor, SiteType sType, Texture sLogo, Texture sIcon,
			string sDescription, string sDevice, float fOpenCost, float fCloseValue, string sOpenCloseState, float fRefLon, 
			float fRefLat, float fRefAlt, float fLength, float fWidth, float fRefund, float fRecoveryFactor, float fRecoveryRange,
			GameObject gameObject, PSystemSetup.SpaceCenterFacility newFacility = null, 
			string sMissionLog = "Too busy to keep this log. Signed Gene Kerman.", 
			string sNation = "United Kerbin", string sFavourite = "No", float fMissionCount = 0)
        {
            name = sName;
            author = sAuthor;
            type = sType;
            logo = sLogo;
            icon = sIcon;
            description = sDescription;
            category = sDevice;
            opencost = fOpenCost;
            closevalue = fCloseValue;
            openclosestate = sOpenCloseState;
            GameObject = gameObject;
            facility = newFacility;
            reflon = fRefLon;
            reflat = fRefLat;
            refalt = fRefAlt;
            sitelength = fLength;
            sitewidth = fWidth;
            launchrefund = fRefund;
            recoveryfactor = fRecoveryFactor;
            recoveryrange = fRecoveryRange;
            favouritesite = sFavourite;
            missioncount = fMissionCount;
            nation = sNation;
            missionlog = sMissionLog;
        }
コード例 #3
0
		public LaunchSite(string sName, string sAuthor, SiteType sType, Texture sLogo, Texture sIcon, string sDescription, string sDevice, float fOpenCost, float fCloseValue, string sOpenCloseState, GameObject gameObject, PSystemSetup.SpaceCenterFacility newFacility = null)
		{
			name = sName;
			author = sAuthor;
			type = sType;
			logo = sLogo;
			icon = sIcon;
			description = sDescription;
			category = sDevice;
			opencost = fOpenCost;
			closevalue = fCloseValue;
			openclosestate = sOpenCloseState;
			GameObject = gameObject;
			facility = newFacility;
		}