LeviLamina
Loading...
Searching...
No Matches
SerializerContext.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/cereal/BasicSerializerContext.h"
7#include "mc/deps/cereal/ResultCode.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace Bedrock { class StaticOptimizedString; }
12namespace cereal { class LogCheckpoint; }
13// clang-format on
14
15namespace cereal {
16
18public:
19 // SerializerContext inner types declare
20 // clang-format off
21 struct ScopedPop;
22 // clang-format on
23
24 // SerializerContext inner types define
25 struct ScopedPop {
26 public:
27 // member variables
28 // NOLINTBEGIN
29 ::ll::TypedStorage<8, 8, ::cereal::SerializerContext*> mContext;
30 // NOLINTEND
31 };
32
33public:
34 // member variables
35 // NOLINTBEGIN
36 ::ll::TypedStorage<4, 4, uint> mGeneration;
37 ::ll::TypedStorage<4, 4, uint> mLastError;
38 // NOLINTEND
39
40public:
41 // member functions
42 // NOLINTBEGIN
43 MCAPI void clearGenerations(uint from, uint to, ::cereal::ResultCode filter);
44
45 MCAPI ::cereal::LogCheckpoint getLogCheckpoint();
46
47 MCAPI void log(::cereal::ResultCode res, ::Bedrock::StaticOptimizedString msg);
48
49 MCAPI void popContext();
50
51 MCAPI ::cereal::SerializerContext& pushContext(uint containerIndex);
52
53 MCAPI ::cereal::SerializerContext&
54 pushContext(::Bedrock::StaticOptimizedString propertyName, ::std::optional<uint> propertyId);
55 // NOLINTEND
56};
57
58} // namespace cereal
Definition StaticOptimizedString.h:10
Definition BasicSerializerContext.h:13
Definition LogCheckpoint.h:12
Definition SerializerContext.h:17
Definition SerializerContext.h:25