示例#1
0
文件: IL.cs 项目: Kolky/open3mod
 public static void SetBoolean(ILBooleanMode mode, bool value) {
     ilSetInteger((uint) mode, (value) ? 1 : 0);
 }
示例#2
0
 public static void SetBoolean(ILBooleanMode mode, bool value)
 {
     IL.ilSetInteger((uint)mode, value ? 1 : 0);
 }
示例#3
0
文件: IL.cs 项目: Kolky/open3mod
        /* Needs investigation
        public static byte[] GetAlphaData(DataType dataType) {
            //Returns a pointer that gets allocated, we don't have a way to release the memory?
        }*/

        public static bool GetBoolean(ILBooleanMode mode) {
            return (ilGetInteger((uint) mode) == 0) ? false : true;
        }
示例#4
0
 public static bool GetBoolean(ILBooleanMode mode)
 {
     return(IL.ilGetInteger((uint)mode) != 0);
 }