LeviLamina
Loading...
Searching...
No Matches
SignalingServiceSignInJob.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/deps/core/threading/AsyncPromise.h"
8#include "mc/deps/nether_net/ILanEventHandler.h"
9
10// auto generated forward declare list
11// clang-format off
12namespace NetherNet { struct NetworkID; }
13namespace NetherNet::LanEvents { struct MessageReceived; }
14namespace NetherNet::LanEvents { struct MessageSent; }
15// clang-format on
16
18 public ::std::enable_shared_from_this<::SignalingServiceSignInJob> {
19public:
20 // member variables
21 // NOLINTBEGIN
26 // NOLINTEND
27
28public:
29 // prevent constructor by default
33
34public:
35 // virtual functions
36 // NOLINTBEGIN
37 // vIndex: 0
38 virtual ~SignalingServiceSignInJob() /*override*/ = default;
39
40 // vIndex: 4
41 virtual void OnLanEvent(::NetherNet::LanEvents::MessageSent const&) /*override*/;
42
43 // vIndex: 3
44 virtual void OnLanEvent(::NetherNet::LanEvents::MessageReceived const&) /*override*/;
45 // NOLINTEND
46
47public:
48 // member functions
49 // NOLINTBEGIN
51 ::std::error_code error,
53 bool fetchRelayConfig
54 ) const;
55
56 MCNAPI ::Bedrock::Threading::Async<::std::error_code>
57 signin(bool fetchRelayConfig, ::std::optional<::NetherNet::NetworkID> playerMessagingId) const;
58 // NOLINTEND
59
60public:
61 // virtual function thunks
62 // NOLINTBEGIN
63
64 // NOLINTEND
65};
Definition AsyncPromise.h:8
Definition SignalingServiceSignInJob.h:18
MCAPI void _handleSignInResult(::std::error_code error, ::Bedrock::Threading::AsyncPromise<::std::error_code > &&signInPromise, bool fetchRelayConfig) const
MCAPI ::Bedrock::Threading::Async<::std::error_code > signin(bool fetchRelayConfig, ::std::optional<::NetherNet::NetworkID > playerMessagingId) const
Definition ILanEventHandler.h:15
Definition MessageReceived.h:7
Definition MessageSent.h:7
Definition Alias.h:14