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
44 fireServerConnectionEvent(::IConnectionEventing::ServerConnectionOutcome, uint, double, ::std::string const&, ::std::string const&) = 0;
45
46 // vIndex: 2
47 virtual void fireEventConnectionFailed(::IConnectionEventing::ConnectionFailureReason) = 0;
48
49 // vIndex: 3
50 virtual void fireEventOnSuccessfulClientLogin(::MultiPlayerLevel const*) = 0;
51 // NOLINTEND
52
53public:
54 // destructor thunk
55 // NOLINTBEGIN
56
57 // NOLINTEND
58
59public:
60 // virtual function thunks
61 // NOLINTBEGIN
62
63 // NOLINTEND
64
65public:
66 // vftables
67 // NOLINTBEGIN
68 MCAPI static void** $vftable();
69 // NOLINTEND
70};
Definition IConnectionEventing.h:10
Definition MultiPlayerLevel.h:37