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


C# ValueRef类代码示例

本文整理汇总了C#中ValueRef的典型用法代码示例。如果您正苦于以下问题:C# ValueRef类的具体用法?C# ValueRef怎么用?C# ValueRef使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


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

示例1: Collidable

        public Collidable(int w, int h, MovementController mc, LifeController lc, DamageController dc)
        {
            ID = -1;
            _width = w;
            _height = h;
            CollidedAt = new Vector2();            
            _bounds = new Rectangle(Convert.ToInt32(mc.Position.X), Convert.ToInt32(mc.Position.Y), _width, _height);
            MovementController = mc;
            LifeController = lc;
            DamageController = dc;
            Controllable = new ValueRef<bool>(true);

            _serverID = Interlocked.Increment(ref _itemCount);
        }
开发者ID:EugeneWang,项目名称:ShootR,代码行数:14,代码来源:Collidable.cs

示例2: IsAConstantVector

 public unsafe static ValueRef IsAConstantVector(ValueRef Val) {
   ValueRef ret = new ValueRef(LLVMPINVOKE.IsAConstantVector(Val.Value));
   return ret;
 }
开发者ID:RainsSoft,项目名称:SharpLang,代码行数:4,代码来源:LLVM.cs

示例3: ConstStringInContext

 public unsafe static ValueRef ConstStringInContext(ContextRef C, string Str, uint Length, bool DontNullTerminate) {
   ValueRef ret = new ValueRef(LLVMPINVOKE.ConstStringInContext(C.Value, Str, Length, DontNullTerminate));
   return ret;
 }
开发者ID:RainsSoft,项目名称:SharpLang,代码行数:4,代码来源:LLVM.cs

示例4: ConstIntGetSExtValue

 public unsafe static long ConstIntGetSExtValue(ValueRef ConstantVal) {
   long ret = LLVMPINVOKE.ConstIntGetSExtValue(ConstantVal.Value);
   return ret;
 }
开发者ID:RainsSoft,项目名称:SharpLang,代码行数:4,代码来源:LLVM.cs

示例5: ConstRealOfString

 public unsafe static ValueRef ConstRealOfString(TypeRef RealTy, string Text) {
   ValueRef ret = new ValueRef(LLVMPINVOKE.ConstRealOfString(RealTy.Value, Text));
   return ret;
 }
开发者ID:RainsSoft,项目名称:SharpLang,代码行数:4,代码来源:LLVM.cs

示例6: ConstIntOfStringAndSize

 public unsafe static ValueRef ConstIntOfStringAndSize(TypeRef IntTy, string Text, uint SLen, byte Radix) {
   ValueRef ret = new ValueRef(LLVMPINVOKE.ConstIntOfStringAndSize(IntTy.Value, Text, SLen, Radix));
   return ret;
 }
开发者ID:RainsSoft,项目名称:SharpLang,代码行数:4,代码来源:LLVM.cs

示例7: ConstPointerNull

 public unsafe static ValueRef ConstPointerNull(TypeRef Ty) {
   ValueRef ret = new ValueRef(LLVMPINVOKE.ConstPointerNull(Ty.Value));
   return ret;
 }
开发者ID:RainsSoft,项目名称:SharpLang,代码行数:4,代码来源:LLVM.cs

示例8: GetUndef

 public unsafe static ValueRef GetUndef(TypeRef Ty) {
   ValueRef ret = new ValueRef(LLVMPINVOKE.GetUndef(Ty.Value));
   return ret;
 }
开发者ID:RainsSoft,项目名称:SharpLang,代码行数:4,代码来源:LLVM.cs

示例9: IsAUnaryInstruction

 public unsafe static ValueRef IsAUnaryInstruction(ValueRef Val) {
   ValueRef ret = new ValueRef(LLVMPINVOKE.IsAUnaryInstruction(Val.Value));
   return ret;
 }
开发者ID:RainsSoft,项目名称:SharpLang,代码行数:4,代码来源:LLVM.cs

示例10: IsAShuffleVectorInst

 public unsafe static ValueRef IsAShuffleVectorInst(ValueRef Val) {
   ValueRef ret = new ValueRef(LLVMPINVOKE.IsAShuffleVectorInst(Val.Value));
   return ret;
 }
开发者ID:RainsSoft,项目名称:SharpLang,代码行数:4,代码来源:LLVM.cs

示例11: IsAPHINode

 public unsafe static ValueRef IsAPHINode(ValueRef Val) {
   ValueRef ret = new ValueRef(LLVMPINVOKE.IsAPHINode(Val.Value));
   return ret;
 }
开发者ID:RainsSoft,项目名称:SharpLang,代码行数:4,代码来源:LLVM.cs

示例12: IsAInsertElementInst

 public unsafe static ValueRef IsAInsertElementInst(ValueRef Val) {
   ValueRef ret = new ValueRef(LLVMPINVOKE.IsAInsertElementInst(Val.Value));
   return ret;
 }
开发者ID:RainsSoft,项目名称:SharpLang,代码行数:4,代码来源:LLVM.cs

示例13: IsADbgInfoIntrinsic

 public unsafe static ValueRef IsADbgInfoIntrinsic(ValueRef Val) {
   ValueRef ret = new ValueRef(LLVMPINVOKE.IsADbgInfoIntrinsic(Val.Value));
   return ret;
 }
开发者ID:RainsSoft,项目名称:SharpLang,代码行数:4,代码来源:LLVM.cs

示例14: IsABinaryOperator

 public unsafe static ValueRef IsABinaryOperator(ValueRef Val) {
   ValueRef ret = new ValueRef(LLVMPINVOKE.IsABinaryOperator(Val.Value));
   return ret;
 }
开发者ID:RainsSoft,项目名称:SharpLang,代码行数:4,代码来源:LLVM.cs

示例15: IsAGlobalVariable

 public unsafe static ValueRef IsAGlobalVariable(ValueRef Val) {
   ValueRef ret = new ValueRef(LLVMPINVOKE.IsAGlobalVariable(Val.Value));
   return ret;
 }
开发者ID:RainsSoft,项目名称:SharpLang,代码行数:4,代码来源:LLVM.cs


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