当前位置: 首页>>代码示例>>C#>>正文


C# CPPTargetPlatform.ToString方法代码示例

本文整理汇总了C#中CPPTargetPlatform.ToString方法的典型用法代码示例。如果您正苦于以下问题:C# CPPTargetPlatform.ToString方法的具体用法?C# CPPTargetPlatform.ToString怎么用?C# CPPTargetPlatform.ToString使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在CPPTargetPlatform的用法示例。


在下文中一共展示了CPPTargetPlatform.ToString方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: RegisterRemoteToolChain

		protected void RegisterRemoteToolChain(UnrealTargetPlatform InPlatform, CPPTargetPlatform CPPPlatform)
		{
			RemoteToolChainPlatform = InPlatform;

			// Register this tool chain for IOS
			Log.TraceVerbose("        Registered for {0}", CPPPlatform.ToString());
			UEToolChain.RegisterPlatformToolChain(CPPPlatform, this);
		}
开发者ID:didixp,项目名称:Ark-Dev-Kit,代码行数:8,代码来源:RemoteToolChain.cs

示例2: GetPlatformToolChain

		public static IUEToolChain GetPlatformToolChain(CPPTargetPlatform InPlatform)
		{
			if (CPPToolChainDictionary.ContainsKey(InPlatform) == true)
			{
				return CPPToolChainDictionary[InPlatform];
			}
			throw new BuildException("GetPlatformToolChain: No tool chain found for {0}", InPlatform.ToString());
		}
开发者ID:xiangyuan,项目名称:Unreal4,代码行数:8,代码来源:UEToolChain.cs

示例3: RegisterPlatformToolChain

		public static void RegisterPlatformToolChain(CPPTargetPlatform InPlatform, IUEToolChain InToolChain)
		{
			if (CPPToolChainDictionary.ContainsKey(InPlatform) == true)
			{
				Log.TraceInformation("RegisterPlatformToolChain Warning: Registering tool chain {0} for {1} when it is already set to {2}",
					InToolChain.ToString(), InPlatform.ToString(), CPPToolChainDictionary[InPlatform].ToString());
				CPPToolChainDictionary[InPlatform] = InToolChain;
			}
			else
			{
				CPPToolChainDictionary.Add(InPlatform, InToolChain);
			}
		}
开发者ID:xiangyuan,项目名称:Unreal4,代码行数:13,代码来源:UEToolChain.cs

示例4: GetBuildPlatformForCPPTargetPlatform

 /**
  *	Retrieve the IUEBuildPlatform instance for the given CPPTargetPlatform
  *
  *	@param	InPlatform			The CPPTargetPlatform being built
  *	@param	bInAllowFailure		If true, do not throw an exception and return null
  *
  *	@return	UEBuildPlatform		The instance of the build platform
  */
 public static IUEBuildPlatform GetBuildPlatformForCPPTargetPlatform(CPPTargetPlatform InPlatform, bool bInAllowFailure = false)
 {
     UnrealTargetPlatform UTPlatform = UEBuildTarget.CPPTargetPlatformToUnrealTargetPlatform(InPlatform);
     if (BuildPlatformDictionary.ContainsKey(UTPlatform) == true)
     {
         return BuildPlatformDictionary[UTPlatform];
     }
     if (bInAllowFailure == true)
     {
         return null;
     }
     throw new BuildException("UEBuildPlatform::GetBuildPlatformForCPPTargetPlatform: No BuildPlatform found for {0}", InPlatform.ToString());
 }
开发者ID:kidaa,项目名称:UnrealEngineVR,代码行数:21,代码来源:UEBuildPlatform.cs

示例5: CPPTargetPlatformToSTTargetPlatform

 public static STTargetPlatform CPPTargetPlatformToSTTargetPlatform(CPPTargetPlatform InCPPPlatform)
 {
     switch (InCPPPlatform)
     {
         case CPPTargetPlatform.Win32: return STTargetPlatform.Win32;
         case CPPTargetPlatform.Win64: return STTargetPlatform.Win64;
         case CPPTargetPlatform.Mac: return STTargetPlatform.Mac;
         case CPPTargetPlatform.XboxOne: return STTargetPlatform.XboxOne;
         case CPPTargetPlatform.PS4: return STTargetPlatform.PS4;
         case CPPTargetPlatform.Android: return STTargetPlatform.Android;
         case CPPTargetPlatform.WinRT: return STTargetPlatform.WinRT;
         case CPPTargetPlatform.WinRT_ARM: return STTargetPlatform.WinRT_ARM;
         case CPPTargetPlatform.IOS: return STTargetPlatform.IOS;
         case CPPTargetPlatform.HTML5: return STTargetPlatform.HTML5;
         case CPPTargetPlatform.Linux: return STTargetPlatform.Linux;
     }
     throw new BuildException("CPPTargetPlatformToSTTargetPlatform: Unknown CPPTargetPlatform {0}", InCPPPlatform.ToString());
 }
开发者ID:rajeshwarn,项目名称:STEngine,代码行数:18,代码来源:STBuildTarget.cs


注:本文中的CPPTargetPlatform.ToString方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。