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
7class Level;
8// clang-format on
9
11public:
12 // IConnectionEventing inner types define
13 enum class ConnectionFailureReason : int {
14 Unknown = -1,
15 MismatchedMinecraftProtocol = 1,
16 MismatchedRaknetVersion = 2,
17 };
18
19 enum class PlayerJoinWorldAttemptState : int {
20 Unknown = 0,
21 AttemptingToJoin = 1,
22 TimedOutAttemptingJoin = 2,
23 FailedToJoin = 3,
24 SuccessfulJoin = 4,
25 Canceled = 5,
26 };
27
28 enum class ServerConnectionOutcome : int {
29 Success = 0,
30 Failed = 1,
31 FailedUserOffline = 2,
32 FailedServerFull = 3,
33 FailedServerOffline = 4,
34 };
35
36public:
37 // virtual functions
38 // NOLINTBEGIN
39 virtual ~IConnectionEventing() = default;
40
41 virtual void fireServerConnectionEvent(
42 ::IConnectionEventing::ServerConnectionOutcome,
43 uint,
44 double,
45 ::std::string const&,
46 ::std::string const&
47 ) = 0;
48
49 virtual void fireEventOnSuccessfulClientLogin(::Level const*) = 0;
50 // NOLINTEND
51
52public:
53 // virtual function thunks
54 // NOLINTBEGIN
55
56 // NOLINTEND
57
58public:
59 // vftables
60 // NOLINTBEGIN
61 MCNAPI static void** $vftable();
62 // NOLINTEND
63};
Definition IConnectionEventing.h:10
static MCAPI void ** $vftable()
Definition Level.h:249