SourcePP
Several modern C++20 libraries for sanely parsing Valve's formats.
Loading...
Searching...
No Matches
vpkpp::GCF::Block Struct Reference

#include <GCF.h>

Collaboration diagram for vpkpp::GCF::Block:

Public Types

enum class  CompressionType : uint32_t { UNCOMPRESSED = 0 , COMPRESSED , COMPRESSED_AND_ENCRYPTED , ENCRYPTED }
 

Public Member Functions

CompressionType getCompressionType () const
 
bool isEncrypted () const
 

Public Attributes

uint16_t flags
 
uint16_t open
 
uint32_t file_data_offset
 
uint32_t file_data_size
 
uint32_t first_data_block_index
 
uint32_t next_block_entry_index
 
uint32_t prev_block_entry_index
 
uint32_t dir_index
 

Detailed Description

Definition at line 39 of file GCF.h.

Member Enumeration Documentation

◆ CompressionType

enum class vpkpp::GCF::Block::CompressionType : uint32_t
strong
Enumerator
UNCOMPRESSED 
COMPRESSED 
COMPRESSED_AND_ENCRYPTED 
ENCRYPTED 

Definition at line 40 of file GCF.h.

Member Function Documentation

◆ getCompressionType()

CompressionType vpkpp::GCF::Block::getCompressionType ( ) const
inline

Definition at line 56 of file GCF.h.

◆ isEncrypted()

bool vpkpp::GCF::Block::isEncrypted ( ) const
inline

Definition at line 70 of file GCF.h.

Member Data Documentation

◆ dir_index

uint32_t vpkpp::GCF::Block::dir_index

Definition at line 54 of file GCF.h.

◆ file_data_offset

uint32_t vpkpp::GCF::Block::file_data_offset

Definition at line 49 of file GCF.h.

◆ file_data_size

uint32_t vpkpp::GCF::Block::file_data_size

Definition at line 50 of file GCF.h.

◆ first_data_block_index

uint32_t vpkpp::GCF::Block::first_data_block_index

Definition at line 51 of file GCF.h.

◆ flags

uint16_t vpkpp::GCF::Block::flags

Definition at line 47 of file GCF.h.

◆ next_block_entry_index

uint32_t vpkpp::GCF::Block::next_block_entry_index

Definition at line 52 of file GCF.h.

◆ open

uint16_t vpkpp::GCF::Block::open

Definition at line 48 of file GCF.h.

◆ prev_block_entry_index

uint32_t vpkpp::GCF::Block::prev_block_entry_index

Definition at line 53 of file GCF.h.


The documentation for this struct was generated from the following file: