OpenUT99-Plus
Unreal Engine 1, rebuilt from scratch
Loading...
Searching...
No Matches
ut::Reader Struct Reference

#include <upkg.h>

Public Member Functions

 Reader (const std::vector< uint8_t > &d, size_t p=0)
uint8_t u8 ()
uint16_t u16 ()
uint32_t u32 ()
int32_t i32 ()
float f32 ()
int32_t index ()
std::string string ()
void need (size_t n) const

Public Attributes

const std::vector< uint8_t > & data
size_t pos = 0

Constructor & Destructor Documentation

◆ Reader()

ut::Reader::Reader ( const std::vector< uint8_t > & d,
size_t p = 0 )
inlineexplicit

Member Function Documentation

◆ f32()

float ut::Reader::f32 ( )

◆ i32()

int32_t ut::Reader::i32 ( )
inline

◆ index()

int32_t ut::Reader::index ( )

◆ need()

void ut::Reader::need ( size_t n) const

◆ string()

std::string ut::Reader::string ( )

◆ u16()

uint16_t ut::Reader::u16 ( )

◆ u32()

uint32_t ut::Reader::u32 ( )

◆ u8()

uint8_t ut::Reader::u8 ( )

Member Data Documentation

◆ data

const std::vector<uint8_t>& ut::Reader::data

◆ pos

size_t ut::Reader::pos = 0

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