LeviLamina
Loading...
Searching...
No Matches
RpcService.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated forward declare list
6
// clang-format off
7
class
BedrockLoadContext
;
8
namespace
Editor {
class
ServiceProviderCollection
; }
9
namespace
Editor::Rpc {
struct
RpcRejection
; }
10
namespace
Scripting {
struct
ModuleBinding
; }
11
namespace
cereal {
class
BasicLoader
; }
12
namespace
cereal {
class
BasicSaver
; }
13
namespace
cereal {
struct
SchemaReader
; }
14
namespace
cereal {
struct
SchemaWriter
; }
15
// clang-format on
16
17
namespace
Editor::Rpc {
18
19
class
RpcService {
20
public
:
21
// RpcService inner types declare
22
// clang-format off
23
struct
DispatchTarget
;
24
// clang-format on
25
26
// RpcService inner types define
27
struct
DispatchTarget {
28
public
:
29
// member variables
30
// NOLINTBEGIN
31
::ll::UntypedStorage<8, 8>
mUnkb6d958;
32
::ll::UntypedStorage<8, 16>
mUnk6ecac0;
33
// NOLINTEND
34
35
public
:
36
// prevent constructor by default
37
DispatchTarget& operator=(DispatchTarget
const
&);
38
DispatchTarget(DispatchTarget
const
&);
39
DispatchTarget();
40
};
41
42
public
:
43
// member variables
44
// NOLINTBEGIN
45
::ll::UntypedStorage<8, 8>
mUnk8d364d;
46
::ll::UntypedStorage<8, 24>
mUnk7903ba;
47
::ll::UntypedStorage<8, 64>
mUnkb11d2c;
48
::ll::UntypedStorage<8, 64>
mUnk7d645e;
49
::ll::UntypedStorage<8, 8>
mUnka1c91e;
50
::ll::UntypedStorage<8, 64>
mUnkb36584;
51
::ll::UntypedStorage<8, 64>
mUnka0d980;
52
::ll::UntypedStorage<8, 64>
mUnkcc85d1;
53
::ll::UntypedStorage<8, 64>
mUnka827e5;
54
::ll::UntypedStorage<8, 64>
mUnkc0de0a;
55
::ll::UntypedStorage<8, 8>
mUnkc59500;
56
::ll::UntypedStorage<8, 16>
mUnka96cf8;
57
::ll::UntypedStorage<8, 16>
mUnk83af5a;
58
::ll::UntypedStorage<8, 16>
mUnkc3345e;
59
// NOLINTEND
60
61
public
:
62
// prevent constructor by default
63
RpcService& operator=(RpcService
const
&);
64
RpcService(RpcService
const
&);
65
RpcService();
66
67
public
:
68
// member functions
69
// NOLINTBEGIN
70
MCNAPI
explicit
RpcService
(
::Editor::ServiceProviderCollection
& serviceProviders);
71
72
MCNAPI
bool
_saveResult
(
73
::entt::meta_type type,
74
::cereal::BasicSaver
& saver,
75
::cereal::SchemaWriter
& writer,
76
::entt::meta_any
const
& any
77
)
const
;
78
79
MCNAPI
void
callWithCallback
(
80
::std::string
const
& className,
81
::std::string
const
& methodName,
82
::std::string
const
& serializedArgs,
83
::std::function<
void
(
::Editor::Rpc::RpcRejection
, ::std::string)> callback
84
);
85
86
MCNAPI
void
registerModule
(
::Scripting::ModuleBinding
&& moduleBinding, ::std::string subsystem);
87
88
MCNAPI
void
shutdown
();
89
90
MCNAPI
~RpcService
();
91
// NOLINTEND
92
93
public
:
94
// constructor thunks
95
// NOLINTBEGIN
96
MCNAPI
void
*
$ctor
(
::Editor::ServiceProviderCollection
& serviceProviders);
97
// NOLINTEND
98
99
public
:
100
// destructor thunk
101
// NOLINTBEGIN
102
MCNAPI
void
$dtor
();
103
// NOLINTEND
104
};
105
106
}
// namespace Editor::Rpc
BedrockLoadContext
Definition
BedrockLoadContext.h:5
Editor::Rpc::RpcService::RpcService
MCAPI RpcService(::Editor::ServiceProviderCollection &serviceProviders)
Editor::Rpc::RpcService::registerModule
MCAPI void registerModule(::Scripting::ModuleBinding &&moduleBinding, ::std::string subsystem)
Editor::Rpc::RpcService::$dtor
MCAPI void $dtor()
Editor::Rpc::RpcService::callWithCallback
MCAPI void callWithCallback(::std::string const &className, ::std::string const &methodName, ::std::string const &serializedArgs, ::std::function< void(::Editor::Rpc::RpcRejection, ::std::string)> callback)
Editor::Rpc::RpcService::~RpcService
MCAPI ~RpcService()
Editor::Rpc::RpcService::shutdown
MCAPI void shutdown()
Editor::Rpc::RpcService::_saveResult
MCAPI bool _saveResult(::entt::meta_type type, ::cereal::BasicSaver &saver, ::cereal::SchemaWriter &writer, ::entt::meta_any const &any) const
Editor::Rpc::RpcService::$ctor
MCAPI void * $ctor(::Editor::ServiceProviderCollection &serviceProviders)
Editor::ServiceProviderCollection
Definition
ServiceProviderCollection.h:7
cereal::BasicLoader
Definition
BasicLoader.h:18
cereal::BasicSaver
Definition
BasicSaver.h:18
Editor::Rpc::RpcRejection
Definition
RpcRejection.h:7
Editor::Rpc::RpcService::DispatchTarget
Definition
RpcService.h:27
Scripting::ModuleBinding
Definition
ModuleBinding.h:23
cereal::SchemaReader
Definition
SchemaReader.h:12
cereal::SchemaWriter
Definition
SchemaWriter.h:16
ll::UntypedStorage
Definition
Alias.h:14
src
mc
common
editor
RpcService.h
Generated on
for LeviLamina by
1.16.1