internal static int NxGetBits(UIBlock block, string propertyName) { PropertyList properties = block.GetProperties(); int num2 = SnapPointsStateSet.Chop17(properties.GetBits(propertyName)); properties.Dispose(); return(num2); }
internal static void NxSetBits(UIBlock block, string propertyName, int value) { PropertyList properties = block.GetProperties(); int num2 = SnapPointsStateSet.Chop17(properties.GetBits(propertyName)); int bitsSc = SnapPointsStateSet.Chop17(value); if (bitsSc != num2) { properties.SetBits(propertyName, bitsSc); } properties.Dispose(); }