LeviLamina
Loading...
Searching...
No Matches
TransportInterface.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace RakNet { class CommandParserInterface; }
8namespace RakNet { struct Packet; }
9namespace RakNet { struct SystemAddress; }
10// clang-format on
11
12namespace RakNet {
13
15public:
16 // virtual functions
17 // NOLINTBEGIN
18 // vIndex: 0
19 virtual ~TransportInterface() = default;
20
21 // vIndex: 1
22 virtual bool Start(ushort, bool) = 0;
23
24 // vIndex: 2
25 virtual void Stop() = 0;
26
27 // vIndex: 3
28 virtual void Send(::RakNet::SystemAddress, char const*, ...) = 0;
29
30 // vIndex: 4
31 virtual void CloseConnection(::RakNet::SystemAddress) = 0;
32
33 // vIndex: 5
34 virtual ::RakNet::Packet* Receive() = 0;
35
36 // vIndex: 6
37 virtual void DeallocatePacket(::RakNet::Packet*) = 0;
38
39 // vIndex: 7
40 virtual ::RakNet::SystemAddress HasNewIncomingConnection() = 0;
41
42 // vIndex: 8
43 virtual ::RakNet::SystemAddress HasLostConnection() = 0;
44
45 // vIndex: 9
46 virtual ::RakNet::CommandParserInterface* GetCommandParser() = 0;
47 // NOLINTEND
48
49public:
50 // destructor thunk
51 // NOLINTBEGIN
52
53 // NOLINTEND
54
55public:
56 // virtual function thunks
57 // NOLINTBEGIN
58
59 // NOLINTEND
60};
61
62} // namespace RakNet
Definition Packet.h:26
Definition TransportInterface.h:14
Definition Packet.h:7
Definition SystemAddress.h:7