LeviLamina
Loading...
Searching...
No Matches
EncryptedNetworkPeer.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/network/Compressibility.h"
7#include "mc/network/NetworkPeer.h"
8
10public:
11 // member variables
12 // NOLINTBEGIN
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
31
32public:
33 // virtual functions
34 // NOLINTBEGIN
35 // vIndex: 0
36 virtual ~EncryptedNetworkPeer() /*override*/;
37
38 // vIndex: 1
39 virtual void sendPacket(
40 ::std::string const& data,
41 ::NetworkPeer::Reliability reliability,
42 ::Compressibility compressible
43 ) /*override*/;
44
45 // vIndex: 2
46 virtual ::NetworkPeer::DataStatus receivePacket(
47 ::std::string& outData,
48 ::std::shared_ptr<::std::chrono::steady_clock::time_point> const& timepointPtr
49 ) /*override*/;
50
51 // vIndex: 3
52 virtual ::NetworkPeer::NetworkStatus getNetworkStatus() const /*override*/;
53
54 // vIndex: 7
55 virtual bool isEncrypted() const /*override*/;
56 // NOLINTEND
57
58public:
59 // member functions
60 // NOLINTBEGIN
61 MCAPI explicit EncryptedNetworkPeer(::std::shared_ptr<::NetworkPeer> peer);
62
63 MCAPI void enableEncryption(::std::string const& symmetricKey);
64 // NOLINTEND
65
66public:
67 // constructor thunks
68 // NOLINTBEGIN
69 MCAPI void* $ctor(::std::shared_ptr<::NetworkPeer> peer);
70 // NOLINTEND
71
72public:
73 // destructor thunk
74 // NOLINTBEGIN
75 MCAPI void $dtor();
76 // NOLINTEND
77
78public:
79 // virtual function thunks
80 // NOLINTBEGIN
81 MCAPI void
82 $sendPacket(::std::string const& data, ::NetworkPeer::Reliability reliability, ::Compressibility compressible);
83
84 MCAPI ::NetworkPeer::DataStatus $receivePacket(
85 ::std::string& outData,
86 ::std::shared_ptr<::std::chrono::steady_clock::time_point> const& timepointPtr
87 );
88
89 MCFOLD ::NetworkPeer::NetworkStatus $getNetworkStatus() const;
90
91 MCAPI bool $isEncrypted() const;
92 // NOLINTEND
93
94public:
95 // vftables
96 // NOLINTBEGIN
97 MCAPI static void** $vftable();
98 // NOLINTEND
99};
Definition EncryptedNetworkPeer.h:9
Definition NetworkPeer.h:8
Definition Alias.h:14