LeviLamina
Loading...
Searching...
No Matches
SessionInfoManager.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/EnableNonOwnerReferences.h"
7#include "mc/deps/core/utility/NonOwnerPointer.h"
8#include "mc/deps/core/utility/pub_sub/Connector.h"
9
10// auto generated forward declare list
11// clang-format off
12namespace Bedrock { class SessionInfo; }
13namespace Bedrock { class SessionInfoManagerImpl; }
14namespace Bedrock::Threading { class Mutex; }
15// clang-format on
16
17namespace Bedrock {
18
20 public ::Bedrock::ImplBase<::Bedrock::SessionInfoManager> {
21public:
22 // virtual functions
23 // NOLINTBEGIN
24 // vIndex: 1
25 virtual void initialize() = 0;
26
27 // vIndex: 2
28 virtual void beginNewSession() = 0;
29
30 // vIndex: 3
31 virtual ::std::shared_ptr<::Bedrock::SessionInfo const> getCurrentSession() const = 0;
32
33 // vIndex: 4
34 virtual ::Bedrock::AccessUpdateEditor<
35 ::std::shared_ptr<::Bedrock::SessionInfo>,
39 editCurrentSession() = 0;
40
41 // vIndex: 5
42 virtual ::Bedrock::PubSub::Connector<
43 void(::Bedrock::NonOwnerPointer<::Bedrock::SessionInfoManager> const&, ::std::shared_ptr<::Bedrock::SessionInfo const> const&)>&
44 onCurrentSessionChanged() = 0;
45
46 // vIndex: 6
47 virtual ::std::string serializeSession(::Bedrock::SessionInfo const&) const = 0;
48
49 // vIndex: 7
50 virtual ::std::shared_ptr<::Bedrock::SessionInfo> deserializeSession(::std::string_view) const = 0;
51
52 // vIndex: 0
53 virtual ~SessionInfoManager() /*override*/ = default;
54 // NOLINTEND
55
56public:
57 // destructor thunk
58 // NOLINTBEGIN
59
60 // NOLINTEND
61
62public:
63 // virtual function thunks
64 // NOLINTBEGIN
65
66 // NOLINTEND
67};
68
69} // namespace Bedrock
Definition EnableNonOwnerReferences.h:7
Definition _HeaderOutputPredefine.h:198
Definition NonOwnerPointer.h:9
Definition SessionInfoManagerImpl.h:20
Definition SessionInfoManager.h:20
Definition SessionInfo.h:7
Definition Mutex.h:10
Definition _HeaderOutputPredefine.h:207