OpenBarnyard
 
Loading...
Searching...
No Matches
TVersion.h
Go to the documentation of this file.
1#pragma once
2#include "Toshi/Typedefs.h"
3
5
7{
9
10 TVersion() = default;
11 constexpr TVersion( TUINT32 a_uiVersion )
12 : Value( a_uiVersion )
13 {}
14
15 struct
16 {
20
21 void operator=( TUINT32 a_uiVersion )
22 {
23 Value = a_uiVersion;
24 }
25
26 operator TUINT32&()
27 {
28 return Value;
29 }
30};
31
#define TOSHI_NAMESPACE_START
Definition Defines.h:47
#define TOSHI_NAMESPACE_END
Definition Defines.h:50
uint16_t TUINT16
Definition Typedefs.h:15
uint32_t TUINT32
Definition Typedefs.h:13
TUINT16 Minor
Definition TVersion.h:17
TUINT16 Major
Definition TVersion.h:18
TUINT32 Value
Definition TVersion.h:8
struct TVersion::@330314336264332157020175375351224114343302272307 Parts
TVersion()=default
void operator=(TUINT32 a_uiVersion)
Definition TVersion.h:21
constexpr TVersion(TUINT32 a_uiVersion)
Definition TVersion.h:11