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 virtual ~TransportInterface() = default;
19
20 virtual bool Start(ushort, bool) = 0;
21
22 virtual void Stop() = 0;
23
24 virtual void Send(::RakNet::SystemAddress, char const*, ...) = 0;
25
26 virtual void CloseConnection(::RakNet::SystemAddress) = 0;
27
28 virtual ::RakNet::Packet* Receive() = 0;
29
30 virtual void DeallocatePacket(::RakNet::Packet*) = 0;
31
32 virtual ::RakNet::SystemAddress HasNewIncomingConnection() = 0;
33
34 virtual ::RakNet::SystemAddress HasLostConnection() = 0;
35
36 virtual ::RakNet::CommandParserInterface* GetCommandParser() = 0;
37 // NOLINTEND
38
39public:
40 // virtual function thunks
41 // NOLINTBEGIN
42
43 // NOLINTEND
44};
45
46} // namespace RakNet
Definition CommandParserInterface.h:14
Definition TransportInterface.h:14
Definition Packet.h:7
Definition SystemAddress.h:7