LeviLamina
Loading...
Searching...
No Matches
TcpProxy.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace RakNet { struct Packet; }
8namespace RakNet { struct SystemAddress; }
9// clang-format on
10
11class TcpProxy {
12public:
13 // virtual functions
14 // NOLINTBEGIN
15 virtual ~TcpProxy();
16
17 virtual bool start(ushort, ushort, ushort) = 0;
18
19 virtual ::RakNet::SystemAddress connect(::std::string const&, ushort) = 0;
20
21 virtual void send(char const*, uint, ::RakNet::SystemAddress) = 0;
22
23 virtual void close(::RakNet::SystemAddress) = 0;
24
25 virtual bool packetsAvailable() = 0;
26
27 virtual ::RakNet::Packet* nextPacket() = 0;
28
29 virtual void deallocatePacket(::RakNet::Packet*) = 0;
30
31 virtual ::RakNet::SystemAddress nextCompletedConnectionAttempt() = 0;
32
33 virtual ::RakNet::SystemAddress nextFailedConnectionAttempt() = 0;
34
35 virtual ::RakNet::SystemAddress nextLostConnection() = 0;
36 // NOLINTEND
37
38public:
39 // destructor thunk
40 // NOLINTBEGIN
41 MCNAPI void $dtor();
42 // NOLINTEND
43
44public:
45 // virtual function thunks
46 // NOLINTBEGIN
47
48 // NOLINTEND
49
50public:
51 // vftables
52 // NOLINTBEGIN
53 MCNAPI static void** $vftable();
54 // NOLINTEND
55};
Definition TcpProxy.h:11
static MCAPI void ** $vftable()
MCAPI void $dtor()
Definition Packet.h:7
Definition SystemAddress.h:7