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 fireEventOnSuccessfulClientLogin(::MultiPlayerLevel const*) = 0;
53 // NOLINTEND
54
55public:
56 // virtual function thunks
57 // NOLINTBEGIN
58
59 // NOLINTEND
60
61public:
62 // vftables
63 // NOLINTBEGIN
64 MCNAPI static void** $vftable();
65 // NOLINTEND
66};
Definition IConnectionEventing.h:10
static MCAPI void ** $vftable()
Definition MultiPlayerLevel.h:37