LeviLamina
Loading...
Searching...
No Matches
RakNet.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace RakNet { class BitStream; }
8namespace RakNet { class RakNetSocket2; }
9namespace RakNet { class RakPeer; }
10namespace RakNet { struct RakNetGUID; }
11namespace RakNet { struct SplitPacketChannel; }
12namespace RakNet { struct SystemAddress; }
13// clang-format on
14
15namespace RakNet {
16// functions
17// NOLINTBEGIN
18MCAPI uint ConnectionAttemptLoop(void* arguments);
19
20MCFOLD uint64 GetTime();
21
22MCFOLD uint GetTimeMS();
23
24MCAPI void ProcessNetworkPacket(
25 ::RakNet::SystemAddress systemAddress,
26 char const* data,
27 int length,
28 ::RakNet::RakPeer* rakPeer,
29 ::RakNet::RakNetSocket2* rakNetSocket,
30 uint64 timeRead,
31 ::RakNet::BitStream& updateBitStream
32);
33
34MCAPI bool ProcessOfflineNetworkPacket(
35 ::RakNet::SystemAddress systemAddress,
36 char const* data,
37 int length,
38 ::RakNet::RakPeer* rakPeer,
39 ::RakNet::RakNetSocket2* rakNetSocket,
40 bool* isOfflineMessage,
41 uint64 timeRead
42);
43
44MCAPI int SplitPacketChannelComp(ushort const& key, ::RakNet::SplitPacketChannel* const& data);
45
46MCAPI uint UpdateNetworkLoop(void* arguments);
47
48MCAPI uint UpdateTCPInterfaceLoop(void* arguments);
49
50MCFOLD void _RakFree_Ex(void* p, char const* file, uint line);
51
52MCFOLD void* _RakMalloc_Ex(uint64 size, char const* file, uint line);
53
54MCAPI void* _RakRealloc_Ex(void* p, uint64 size, char const* file, uint line);
55// NOLINTEND
56
57// static variables
58// NOLINTBEGIN
59MCAPI ::RakNet::RakNetGUID const& UNASSIGNED_RAKNET_GUID();
60
61MCAPI ::RakNet::SystemAddress const& UNASSIGNED_SYSTEM_ADDRESS();
62
63MCAPI ::std::add_lvalue_reference_t<uint64 (*)()> rak64BitGuidGeneratorOverride();
64
65MCAPI ::std::add_lvalue_reference_t<int (*)(char const*, ...)> rakDebugLogCallback();
66// NOLINTEND
67
68} // namespace RakNet
Definition BitStream.h:7
Definition RakNetSocket2.h:12
Definition RakPeer.h:43
Definition SplitPacketChannel.h:7
Definition SystemAddress.h:7