LeviLamina
Loading...
Searching...
No Matches
NatTypeDetectionClient.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
21class NatTypeDetectionClient : public ::RakNet::PluginInterface2, public ::RakNet::RNS2EventHandler {
22public:
23 // member variables
24 // NOLINTBEGIN
29 // NOLINTEND
30
31public:
32 // prevent constructor by default
33 NatTypeDetectionClient& operator=(NatTypeDetectionClient const&);
34 NatTypeDetectionClient(NatTypeDetectionClient const&);
35 NatTypeDetectionClient();
36
37public:
38 // virtual functions
39 // NOLINTBEGIN
40 virtual ~NatTypeDetectionClient() /*override*/ = default;
41
42 virtual void Update() /*override*/;
43
44 virtual ::RakNet::PluginReceiveResult OnReceive(::RakNet::Packet*) /*override*/;
45
46 virtual void OnClosedConnection(
49 ::RakNet::PI2_LostConnectionReason
50 ) /*override*/;
51
52 virtual void OnRakPeerShutdown() /*override*/;
53
54 virtual void OnDetach() /*override*/;
55
56 virtual void OnRNS2Recv(::RakNet::RNS2RecvStruct*) /*override*/;
57
58 virtual void DeallocRNS2RecvStruct(::RakNet::RNS2RecvStruct*, char const*, uint) /*override*/;
59
60 virtual ::RakNet::RNS2RecvStruct* AllocRNS2RecvStruct(char const*, uint) /*override*/;
61 // NOLINTEND
62
63public:
64 // virtual function thunks
65 // NOLINTBEGIN
66
67 // NOLINTEND
68};
69
70} // namespace RakNet
Definition PluginInterface2.h:20
Definition RNS2EventHandler.h:12
Definition Packet.h:7
Definition RNS2RecvStruct.h:7
Definition RakNetGUID.h:7
Definition SystemAddress.h:7
Definition Alias.h:14