LeviLamina
Loading...
Searching...
No Matches
SignalPublisher.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated forward declare list
6
// clang-format off
7
namespace
Bedrock::PubSub {
class
DeferredSubscriptionHub
; }
8
namespace
Bedrock::PubSub {
class
RawSubscription
; }
9
// clang-format on
10
11
namespace
Bedrock::Detail {
12
13
class
SignalPublisher
{
14
public
:
15
// virtual functions
16
// NOLINTBEGIN
17
virtual
~SignalPublisher
() =
default
;
18
19
virtual
void
send(
void
const
* data) = 0;
20
21
virtual ::std::function<
::Bedrock::PubSub::RawSubscription
(
::Bedrock::PubSub::DeferredSubscriptionHub
&,
int
)>
22
getConnectOp(::std::function<
void
(
void
const
*)>&& handler) = 0;
23
// NOLINTEND
24
25
public
:
26
// static functions
27
// NOLINTBEGIN
28
#ifdef LL_PLAT_C
29
MCNAPI static ::std::unique_ptr<::Bedrock::Detail::SignalPublisher>
30
makePublisher(
bool
isWrapped, uint64 unwrappedSize);
31
#endif
32
// NOLINTEND
33
34
public
:
35
// virtual function thunks
36
// NOLINTBEGIN
37
38
// NOLINTEND
39
40
public
:
41
// vftables
42
// NOLINTBEGIN
43
MCNAPI
static
void
**
$vftable
();
44
// NOLINTEND
45
};
46
47
}
// namespace Bedrock::Detail
Bedrock::Detail::SignalPublisher
Definition
SignalPublisher.h:13
Bedrock::Detail::SignalPublisher::$vftable
static MCAPI void ** $vftable()
Bedrock::PubSub::DeferredSubscriptionHub
Definition
DeferredSubscriptionHub.h:16
Bedrock::PubSub::RawSubscription
Definition
RawSubscription.h:10
src
mc
deps
core
signal
SignalPublisher.h
Generated on
for LeviLamina by
1.16.1