LeviLamina
Loading...
Searching...
No Matches
TwoWayAuthentication.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
10// auto generated forward declare list
11// clang-format off
12namespace RakNet { struct Packet; }
13namespace RakNet { struct RakNetGUID; }
14namespace RakNet { struct SystemAddress; }
15// clang-format on
16
17namespace RakNet {
18
19class TwoWayAuthentication : public ::RakNet::PluginInterface2 {
20public:
21 // TwoWayAuthentication inner types declare
22 // clang-format off
24 struct NonceGenerator;
25 struct PendingChallenge;
26 // clang-format on
27
28 // TwoWayAuthentication inner types define
29 struct NonceAndRemoteSystemRequest {
30 public:
31 // member variables
32 // NOLINTBEGIN
37 // NOLINTEND
38
39 public:
40 // prevent constructor by default
41 NonceAndRemoteSystemRequest& operator=(NonceAndRemoteSystemRequest const&);
42 NonceAndRemoteSystemRequest(NonceAndRemoteSystemRequest const&);
43 NonceAndRemoteSystemRequest();
44 };
45
46 struct NonceGenerator {
47 public:
48 // member variables
49 // NOLINTBEGIN
52 // NOLINTEND
53
54 public:
55 // prevent constructor by default
56 NonceGenerator& operator=(NonceGenerator const&);
57 NonceGenerator(NonceGenerator const&);
58 NonceGenerator();
59 };
60
61 struct PendingChallenge {
62 public:
63 // member variables
64 // NOLINTBEGIN
69 // NOLINTEND
70
71 public:
72 // prevent constructor by default
73 PendingChallenge& operator=(PendingChallenge const&);
74 PendingChallenge(PendingChallenge const&);
75 PendingChallenge();
76 };
77
78public:
79 // member variables
80 // NOLINTBEGIN
85 // NOLINTEND
86
87public:
88 // prevent constructor by default
89 TwoWayAuthentication& operator=(TwoWayAuthentication const&);
90 TwoWayAuthentication(TwoWayAuthentication const&);
91 TwoWayAuthentication();
92
93public:
94 // virtual functions
95 // NOLINTBEGIN
96 virtual ~TwoWayAuthentication() /*override*/ = default;
97
98 virtual void Update() /*override*/;
99
100 virtual ::RakNet::PluginReceiveResult OnReceive(::RakNet::Packet*) /*override*/;
101
102 virtual void OnRakPeerShutdown() /*override*/;
103
104 virtual void OnClosedConnection(
107 ::RakNet::PI2_LostConnectionReason
108 ) /*override*/;
109 // NOLINTEND
110
111public:
112 // virtual function thunks
113 // NOLINTBEGIN
114
115 // NOLINTEND
116};
117
118} // namespace RakNet
Definition PluginInterface2.h:20
Definition Packet.h:7
Definition RakNetGUID.h:7
Definition SystemAddress.h:7
Definition TwoWayAuthentication.h:46
Definition TwoWayAuthentication.h:61
Definition Alias.h:14