private bool EnterPackedInt(PackedIntType type, string name, uint offset, bool visible, uint pluginLine) { if (visible || _showInvisibles) { _currentPackedInt = new PackedIntData(name, offset, 0, type, pluginLine); return(true); } return(false); }
public void LeavePackedInt() { if (_currentPackedInt == null) { throw new InvalidOperationException("Cannot leave a PackedInt if one isn't active"); } AddValue(_currentPackedInt); _currentPackedInt = null; }