Skip to content
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
English
English
简体中文
繁體中文
Auto
Light
Dark
Auto
Light
Dark
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Resources
LeviLamina on GitHub
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
API Reference
On this page
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Search
Ctrl
K
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
void
callWithCallback
(
73
::std::string
const
& className,
74
::std::string
const
& methodName,
75
::std::string
const
& serializedArgs,
76
::std::function<
void
(
::Editor::Rpc::RpcRejection
, ::std::string)> callback
77
);
78
79
MCNAPI
void
registerModule
(
::Scripting::ModuleBinding
&& moduleBinding, ::std::string subsystem);
80
81
MCNAPI
void
shutdown
();
82
83
MCNAPI
~RpcService
();
84
// NOLINTEND
85
86
public
:
87
// constructor thunks
88
// NOLINTBEGIN
89
MCNAPI
void
*
$ctor
(
::Editor::ServiceProviderCollection
& serviceProviders);
90
// NOLINTEND
91
92
public
:
93
// destructor thunk
94
// NOLINTBEGIN
95
MCNAPI
void
$dtor
();
96
// NOLINTEND
97
};
98
99
}
// namespace Editor::Rpc
BedrockLoadContext
Definition
BedrockLoadContext.h:15
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::$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:13
cereal::SchemaWriter
Definition
SchemaWriter.h:16
ll::UntypedStorage
Definition
Alias.h:14
src
mc
editor
RpcService.h
Generated on
for LeviLamina by
1.16.1