Class: Sc2::BlockTableEntry
- Inherits:
-
BinData::Record
- Object
- BinData::Record
- Sc2::BlockTableEntry
- Defined in:
- lib/sc2/wrappers/block_table_entry.rb
Instance Method Summary collapse
Instance Method Details
#compressed? ⇒ Boolean
13 14 15 |
# File 'lib/sc2/wrappers/block_table_entry.rb', line 13 def compressed? (flags & 0x00000200) != 0 end |
#encrypted? ⇒ Boolean
17 18 19 |
# File 'lib/sc2/wrappers/block_table_entry.rb', line 17 def encrypted? (flags & 0x00010000) != 0 end |
#file? ⇒ Boolean
9 10 11 |
# File 'lib/sc2/wrappers/block_table_entry.rb', line 9 def file? (flags & 0x80000000) != 0 end |
#single_unit? ⇒ Boolean
21 22 23 |
# File 'lib/sc2/wrappers/block_table_entry.rb', line 21 def single_unit? (flags & 0x01000000) != 0 end |