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