LeviLamina
Loading...
Searching...
No Matches
PartyChatJsonRpcComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/threading/Async.h"
7#include "mc/network/services/signaling/IJsonRpcComponent.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace JsonRpc { class JsonRpcProvider; }
12// clang-format on
13
14namespace JsonRpc {
15
16class PartyChatJsonRpcComponent : public ::IJsonRpcComponent {
17public:
18 // member variables
19 // NOLINTBEGIN
25 // NOLINTEND
26
27#ifdef LL_PLAT_S
28public:
29 // prevent constructor by default
30 PartyChatJsonRpcComponent& operator=(PartyChatJsonRpcComponent const&);
31 PartyChatJsonRpcComponent(PartyChatJsonRpcComponent const&);
32 PartyChatJsonRpcComponent();
33
34#else // LL_PLAT_C
35public:
36 // prevent constructor by default
37 PartyChatJsonRpcComponent& operator=(PartyChatJsonRpcComponent const&);
38 PartyChatJsonRpcComponent(PartyChatJsonRpcComponent const&);
39
40#endif
41public:
42 // virtual functions
43 // NOLINTBEGIN
44#ifdef LL_PLAT_S
45 virtual ~PartyChatJsonRpcComponent() /*override*/ = default;
46#else // LL_PLAT_C
47 virtual ~PartyChatJsonRpcComponent() /*override*/;
48#endif
49
50 virtual void initialize(::std::shared_ptr<::JsonRpc::JsonRpcProvider> provider) /*override*/;
51 // NOLINTEND
52
53public:
54 // member functions
55 // NOLINTBEGIN
56#ifdef LL_PLAT_C
57 MCNAPI PartyChatJsonRpcComponent();
58
59 MCNAPI void _registerReceiveMessageHandler();
60
61 MCNAPI ::Bedrock::Threading::Async<::std::error_code> joinChannel(::std::string const& partyId);
62
63 MCNAPI ::Bedrock::Threading::Async<::std::error_code>
64 leaveChannel(::std::string const& partyId, ::std::string const& xuid);
65
66 MCNAPI void sendMessage(::std::string const& partyId, ::std::string const& message);
67#endif
68 // NOLINTEND
69
70public:
71 // constructor thunks
72 // NOLINTBEGIN
73#ifdef LL_PLAT_C
74 MCNAPI void* $ctor();
75#endif
76 // NOLINTEND
77
78public:
79 // destructor thunk
80 // NOLINTBEGIN
81 MCNAPI void $dtor();
82 // NOLINTEND
83
84public:
85 // virtual function thunks
86 // NOLINTBEGIN
87#ifdef LL_PLAT_C
88 MCNAPI void $initialize(::std::shared_ptr<::JsonRpc::JsonRpcProvider> provider);
89#endif
90
91
92 // NOLINTEND
93
94public:
95 // vftables
96 // NOLINTBEGIN
97 MCNAPI static void** $vftable();
98 // NOLINTEND
99};
100
101} // namespace JsonRpc
Definition IJsonRpcComponent.h:10
Definition JsonRpcProvider.h:19
static MCAPI void ** $vftable()
Definition Alias.h:14