LeviLamina
Loading...
Searching...
No Matches
RakNetTransport2.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/TransportInterface.h"
10
11// auto generated forward declare list
12// clang-format off
13namespace RakNet { class CommandParserInterface; }
14namespace RakNet { struct Packet; }
15namespace RakNet { struct RakNetGUID; }
16namespace RakNet { struct SystemAddress; }
17// clang-format on
18
19namespace RakNet {
20
22public:
23 // member variables
24 // NOLINTBEGIN
28 // NOLINTEND
29
30public:
31 // prevent constructor by default
32 RakNetTransport2& operator=(RakNetTransport2 const&);
35
36public:
37 // virtual functions
38 // NOLINTBEGIN
39 // vIndex: 0
40 virtual ~RakNetTransport2() /*override*/ = default;
41
42 // vIndex: 1
43 virtual bool Start(ushort, bool) /*override*/;
44
45 // vIndex: 2
46 virtual void Stop() /*override*/;
47
48 // vIndex: 3
49 virtual void Send(::RakNet::SystemAddress, char const*, ...) /*override*/;
50
51 // vIndex: 4
52 virtual void CloseConnection(::RakNet::SystemAddress) /*override*/;
53
54 // vIndex: 5
55 virtual ::RakNet::Packet* Receive() /*override*/;
56
57 // vIndex: 6
58 virtual void DeallocatePacket(::RakNet::Packet*) /*override*/;
59
60 // vIndex: 7
61 virtual ::RakNet::SystemAddress HasNewIncomingConnection() /*override*/;
62
63 // vIndex: 8
64 virtual ::RakNet::SystemAddress HasLostConnection() /*override*/;
65
66 // vIndex: 9
67 virtual ::RakNet::CommandParserInterface* GetCommandParser() /*override*/;
68
69 // vIndex: 4
70 virtual ::RakNet::PluginReceiveResult OnReceive(::RakNet::Packet*) /*override*/;
71
72 // vIndex: 7
73 virtual void OnClosedConnection(
76 ::RakNet::PI2_LostConnectionReason
77 ) /*override*/;
78
79 // vIndex: 8
80 virtual void OnNewConnection(::RakNet::SystemAddress const&, ::RakNet::RakNetGUID, bool) /*override*/;
81 // NOLINTEND
82
83public:
84 // destructor thunk
85 // NOLINTBEGIN
86
87 // NOLINTEND
88
89public:
90 // virtual function thunks
91 // NOLINTBEGIN
92
93 // NOLINTEND
94};
95
96} // namespace RakNet
Definition Packet.h:26
Definition PluginInterface2.h:20
Definition RakNetTransport2.h:21
Definition TransportInterface.h:14
Definition Packet.h:7
Definition RakNetGUID.h:7
Definition SystemAddress.h:7
Definition Alias.h:14