LeviLamina
Loading...
Searching...
No Matches
IConnectionEventing.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
8// clang-format on
9
11public:
12 // IConnectionEventing inner types define
13 enum class ServerConnectionOutcome : int {
14 Success = 0,
15 Failed = 1,
16 FailedUserOffline = 2,
17 FailedServerFull = 3,
18 FailedServerOffline = 4,
19 };
20
21 enum class ConnectionFailureReason : int {
22 Unknown = -1,
23 MismatchedMinecraftProtocol = 1,
24 MismatchedRaknetVersion = 2,
25 };
26
27 enum class PlayerJoinWorldAttemptState : int {
28 Unknown = 0,
29 AttemptingToJoin = 1,
30 TimedOutAttemptingJoin = 2,
31 FailedToJoin = 3,
32 SuccessfulJoin = 4,
33 Canceled = 5,
34 };
35
36public:
37 // virtual functions
38 // NOLINTBEGIN
39 // vIndex: 0
40 virtual ~IConnectionEventing() = default;
41
42 // vIndex: 1
43 virtual void fireServerConnectionEvent(
44 ::IConnectionEventing::ServerConnectionOutcome,
45 uint,
46 double,
47 ::std::string const&,
48 ::std::string const&
49 ) = 0;
50
51 // vIndex: 2
52 virtual void fireEventConnectionFailed(::IConnectionEventing::ConnectionFailureReason) = 0;
53
54 // vIndex: 3
55 virtual void fireEventOnSuccessfulClientLogin(::MultiPlayerLevel const*) = 0;
56 // NOLINTEND
57
58public:
59 // virtual function thunks
60 // NOLINTBEGIN
61
62 // NOLINTEND
63
64public:
65 // vftables
66 // NOLINTBEGIN
67 MCNAPI static void** $vftable();
68 // NOLINTEND
69};
Definition IConnectionEventing.h:10
static MCAPI void ** $vftable()
Definition MultiPlayerLevel.h:37