LeviLamina
Loading...
Searching...
No Matches
NatTypeDetectionServer.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/raknet/PI2_LostConnectionReason.h"
7#include "mc/deps/raknet/PluginInterface2.h"
8#include "mc/deps/raknet/PluginReceiveResult.h"
9#include "mc/deps/raknet/RNS2EventHandler.h"
10
11// auto generated forward declare list
12// clang-format off
13namespace RakNet { struct Packet; }
14namespace RakNet { struct RNS2RecvStruct; }
15namespace RakNet { struct RakNetGUID; }
16namespace RakNet { struct SystemAddress; }
17// clang-format on
18
19namespace RakNet {
20
22public:
23 // NatTypeDetectionServer inner types declare
24 // clang-format off
26 // clang-format on
27
28 // NatTypeDetectionServer inner types define
29 enum class NATDetectionState : int {
30 None = 0,
31 TestingNone1 = 1,
32 TestingNone2 = 2,
33 TestingFullCone1 = 3,
34 TestingFullCone2 = 4,
35 TestingAddressRestricted1 = 5,
36 TestingAddressRestricted2 = 6,
37 TestingPortRestricted1 = 7,
38 TestingPortRestricted2 = 8,
39 Done = 9,
40 };
41
43 public:
44 // member variables
45 // NOLINTBEGIN
52 // NOLINTEND
53
54 public:
55 // prevent constructor by default
59 };
60
61public:
62 // member variables
63 // NOLINTBEGIN
72 // NOLINTEND
73
74public:
75 // prevent constructor by default
79
80public:
81 // virtual functions
82 // NOLINTBEGIN
83 // vIndex: 0
84 virtual ~NatTypeDetectionServer() /*override*/ = default;
85
86 // vIndex: 3
87 virtual void Update() /*override*/;
88
89 // vIndex: 4
90 virtual ::RakNet::PluginReceiveResult OnReceive(::RakNet::Packet*) /*override*/;
91
92 // vIndex: 7
93 virtual void OnClosedConnection(
96 ::RakNet::PI2_LostConnectionReason
97 ) /*override*/;
98
99 // vIndex: 1
100 virtual void OnRNS2Recv(::RakNet::RNS2RecvStruct*) /*override*/;
101
102 // vIndex: 2
103 virtual void DeallocRNS2RecvStruct(::RakNet::RNS2RecvStruct*, char const*, uint) /*override*/;
104
105 // vIndex: 3
106 virtual ::RakNet::RNS2RecvStruct* AllocRNS2RecvStruct(char const*, uint) /*override*/;
107 // NOLINTEND
108
109public:
110 // destructor thunk
111 // NOLINTBEGIN
112
113 // NOLINTEND
114
115public:
116 // virtual function thunks
117 // NOLINTBEGIN
118
119 // NOLINTEND
120};
121
122} // namespace RakNet
Definition Packet.h:26
Definition NatTypeDetectionServer.h:21
Definition PluginInterface2.h:20
Definition RNS2EventHandler.h:12
Definition NatTypeDetectionServer.h:42
Definition Packet.h:7
Definition RNS2RecvStruct.h:7
Definition RakNetGUID.h:7
Definition SystemAddress.h:7
Definition Alias.h:14