示例#1
0
 public void SetCustomValue(UIntFieldKey key, uint value)
 {
     if (key.Index < 0)
     {
         return;
     }
     ArrayChecker(ref _customBits, key.Index);
     SetInteger(ref _customBits[key.Index], key.Position, key.Mask, value);
 }
示例#2
0
 public uint GetCustomValue(UIntFieldKey key)
 {
     if (key.Index < 0)
     {
         return(0);
     }
     ArrayChecker(ref _customBits, key.Index);
     return(GetInteger(_customBits[key.Index], key.Position, key.Mask));
 }
示例#3
0
文件: Block.cs 项目: renezaal/dfLike
 public void SetCustomValue(UIntFieldKey key, uint value)
 {
     if (key.Index < 0) { return; }
     ArrayChecker(ref _customBits, key.Index);
     SetInteger(ref _customBits[key.Index], key.Position, key.Mask, value);
 }
示例#4
0
文件: Block.cs 项目: renezaal/dfLike
 public uint GetCustomValue(UIntFieldKey key)
 {
     if (key.Index < 0)
     {
         return 0;
     }
     ArrayChecker(ref _customBits, key.Index);
     return GetInteger(_customBits[key.Index], key.Position, key.Mask);
 }