mirror of
https://github.com/PrimeDecomp/prime.git
synced 2026-07-12 18:18:56 -07:00
20 lines
291 B
C++
20 lines
291 B
C++
#ifndef _CSEGID
|
|
#define _CSEGID
|
|
|
|
#include <types.h>
|
|
|
|
#include "Kyoto/Streams/CInputStream.hpp"
|
|
|
|
class CSegId {
|
|
public:
|
|
CSegId() : x0_id(-1) {}
|
|
CSegId(CInputStream& in) : x0_id(in.ReadInt32()) {}
|
|
|
|
const uchar val() const { return x0_id; }
|
|
|
|
private:
|
|
uchar x0_id;
|
|
};
|
|
|
|
#endif // _CSEGID
|