Tramway SDK
painis
tram-sdk
src
framework
type.h
Go to the documentation of this file.
1
// TRAMWAY DRIFT AND DUNGEON EXPLORATION SIMULATOR 2022
2
// All rights reserved.
3
4
#ifndef TRAM_SDK_FRAMEWORK_TYPES_H
5
#define TRAM_SDK_FRAMEWORK_TYPES_H
6
7
#include <cstdint>
8
9
namespace
tram
{
10
12
13
enum
Type
: uint32_t {
14
TYPE_UNDEFINED
,
//< When you don't know what the type is.
15
TYPE_BOOL
,
//< Bool. Defaults to C++ bool type.
16
TYPE_INT
,
//< Generic signed integer. Defaults to a int32_t.
17
TYPE_UINT
,
//< Generic unsigned integer. Defaults to a uint32_t.
18
TYPE_FLOAT
,
//< Generic floating-point. Defaults to C++ float type.
19
TYPE_NAME
,
//< Our own name_t hashtable string.
20
TYPE_STRING
,
//< Generic string. Defaults to a char array.
21
TYPE_INT8
,
//< Signed 8 bit long integer.
22
TYPE_INT16
,
//< Signed 16 bit long integer.
23
TYPE_INT32
,
//< Signed 32 bit long integer.
24
TYPE_INT64
,
//< Signed 64 bit long integer.
25
TYPE_UINT8
,
//< Unigned 8 bit long integer.
26
TYPE_UINT16
,
//< Unigned 16 bit long integer.
27
TYPE_UINT32
,
//< Unigned 32 bit long integer.
28
TYPE_UINT64
,
//< Unigned 64 bit long integer.
29
TYPE_FLOAT32
,
//< Normal precision floating-point.
30
TYPE_FLOAT64
,
//< Double precision floating-point.
31
TYPE_VEC2
,
//< Normal precision floating-point 2 element vector.
32
TYPE_VEC3
,
//< Normal precision floating-point 3 element vector.
33
TYPE_VEC4
,
//< Normal precision floating-point 4 element vector.
34
TYPE_QUAT
,
//< Normal precision floating-point quaternion.
35
};
36
37
}
38
39
#endif
// TRAM_SDK_FRAMEWORK_TYPES_H
tram
Definition:
api.h:9
tram::Type
Type
Type enumeration for serialization, etc.
Definition:
type.h:13
tram::TYPE_BOOL
@ TYPE_BOOL
Definition:
type.h:15
tram::TYPE_INT
@ TYPE_INT
Definition:
type.h:16
tram::TYPE_UINT
@ TYPE_UINT
Definition:
type.h:17
tram::TYPE_STRING
@ TYPE_STRING
Definition:
type.h:20
tram::TYPE_INT16
@ TYPE_INT16
Definition:
type.h:22
tram::TYPE_VEC2
@ TYPE_VEC2
Definition:
type.h:31
tram::TYPE_UINT32
@ TYPE_UINT32
Definition:
type.h:27
tram::TYPE_INT32
@ TYPE_INT32
Definition:
type.h:23
tram::TYPE_FLOAT64
@ TYPE_FLOAT64
Definition:
type.h:30
tram::TYPE_VEC3
@ TYPE_VEC3
Definition:
type.h:32
tram::TYPE_QUAT
@ TYPE_QUAT
Definition:
type.h:34
tram::TYPE_VEC4
@ TYPE_VEC4
Definition:
type.h:33
tram::TYPE_UINT8
@ TYPE_UINT8
Definition:
type.h:25
tram::TYPE_UINT64
@ TYPE_UINT64
Definition:
type.h:28
tram::TYPE_FLOAT
@ TYPE_FLOAT
Definition:
type.h:18
tram::TYPE_INT8
@ TYPE_INT8
Definition:
type.h:21
tram::TYPE_UNDEFINED
@ TYPE_UNDEFINED
Definition:
type.h:14
tram::TYPE_INT64
@ TYPE_INT64
Definition:
type.h:24
tram::TYPE_NAME
@ TYPE_NAME
Definition:
type.h:19
tram::TYPE_UINT16
@ TYPE_UINT16
Definition:
type.h:26
tram::TYPE_FLOAT32
@ TYPE_FLOAT32
Definition:
type.h:29
Generated by
1.9.2