LeviLamina
Loading...
Searching...
No Matches
PluginInterface2.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/raknet/PI2_FailedConnectionAttemptReason.h"
7#include "mc/deps/raknet/PI2_LostConnectionReason.h"
8#include "mc/deps/raknet/PluginReceiveResult.h"
9
10// auto generated forward declare list
11// clang-format off
12namespace RakNet { struct InternalPacket; }
13namespace RakNet { struct Packet; }
14namespace RakNet { struct RakNetGUID; }
15namespace RakNet { struct SystemAddress; }
16// clang-format on
17
18namespace RakNet {
19
21public:
22 // member variables
23 // NOLINTBEGIN
26 // NOLINTEND
27
28public:
29 // prevent constructor by default
30 PluginInterface2& operator=(PluginInterface2 const&);
33
34public:
35 // virtual functions
36 // NOLINTBEGIN
37 // vIndex: 0
38 virtual ~PluginInterface2() = default;
39
40 // vIndex: 1
41 virtual void OnAttach();
42
43 // vIndex: 2
44 virtual void OnDetach();
45
46 // vIndex: 3
47 virtual void Update();
48
49 // vIndex: 4
50 virtual ::RakNet::PluginReceiveResult OnReceive(::RakNet::Packet*);
51
52 // vIndex: 5
53 virtual void OnRakPeerStartup();
54
55 // vIndex: 6
56 virtual void OnRakPeerShutdown();
57
58 // vIndex: 7
59 virtual void
60 OnClosedConnection(::RakNet::SystemAddress const&, ::RakNet::RakNetGUID, ::RakNet::PI2_LostConnectionReason);
61
62 // vIndex: 8
63 virtual void OnNewConnection(::RakNet::SystemAddress const&, ::RakNet::RakNetGUID, bool);
64
65 // vIndex: 9
66 virtual void OnFailedConnectionAttempt(::RakNet::Packet*, ::RakNet::PI2_FailedConnectionAttemptReason);
67
68 // vIndex: 10
69 virtual bool UsesReliabilityLayer() const;
70
71 // vIndex: 11
72 virtual void OnDirectSocketSend(char const*, uint const, ::RakNet::SystemAddress);
73
74 // vIndex: 12
75 virtual void OnDirectSocketReceive(char const*, uint const, ::RakNet::SystemAddress);
76
77 // vIndex: 13
78 virtual void OnReliabilityLayerNotification(char const*, uint const, ::RakNet::SystemAddress, bool);
79
80 // vIndex: 14
81 virtual void OnInternalPacket(::RakNet::InternalPacket*, uint, ::RakNet::SystemAddress, uint, int);
82
83 // vIndex: 15
84 virtual void OnAck(uint, ::RakNet::SystemAddress, uint);
85
86 // vIndex: 16
87 virtual void OnPushBackPacket(char const*, uint const, ::RakNet::SystemAddress);
88 // NOLINTEND
89
90public:
91 // destructor thunk
92 // NOLINTBEGIN
93
94 // NOLINTEND
95
96public:
97 // virtual function thunks
98 // NOLINTBEGIN
99
100 // NOLINTEND
101};
102
103} // namespace RakNet
Definition Packet.h:26
Definition PluginInterface2.h:20
Definition InternalPacket.h:10
Definition Packet.h:7
Definition RakNetGUID.h:7
Definition SystemAddress.h:7
Definition Alias.h:14