Tramway SDK
serialization.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_SERIALIZATION_H
5#define TRAM_SDK_FRAMEWORK_SERIALIZATION_H
6
7#include <cassert>
8
9#include <framework/uid.h>
10#include <framework/value.h>
11
12#include <framework/math.h>
13
14namespace tram {
15
17/*class SerializedFieldArray {
18public:
19 SerializedFieldArray(const Value* first, size_t count) : first_field(first), field_count(count) {}
20 const Value& operator [](size_t n) const { assert(n < field_count); return first_field[n]; }
21private:
22 const Value* first_field;
23 size_t field_count;
24};*/
25
26}
27
28#endif // TRAM_SDK_FRAMEWORK_SERIALIZATION_H
Definition: api.h:9