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 SystemAddress; }
12// clang-format on
13
14namespace RakNet {
15// functions
16// NOLINTBEGIN
17MCAPI uint ConnectionAttemptLoop(void* arguments);
18
19MCFOLD uint64 GetTime();
20
21MCFOLD uint GetTimeMS();
22
23MCAPI void ProcessNetworkPacket(
24 ::RakNet::SystemAddress systemAddress,
25 char const* data,
26 int length,
27 ::RakNet::RakPeer* rakPeer,
28 ::RakNet::RakNetSocket2* rakNetSocket,
29 uint64 timeRead,
30 ::RakNet::BitStream& updateBitStream
31);
32
33MCAPI bool ProcessOfflineNetworkPacket(
34 ::RakNet::SystemAddress systemAddress,
35 char const* data,
36 int length,
37 ::RakNet::RakPeer* rakPeer,
38 ::RakNet::RakNetSocket2* rakNetSocket,
39 bool* isOfflineMessage,
40 uint64 timeRead
41);
42
43MCAPI uint UpdateNetworkLoop(void* arguments);
44
45MCAPI uint UpdateTCPInterfaceLoop(void* arguments);
46
47MCFOLD void _RakFree_Ex(void* p, char const* file, uint line);
48
49MCFOLD void* _RakMalloc_Ex(uint64 size, char const* file, uint line);
50
51MCAPI void* _RakRealloc_Ex(void* p, uint64 size, char const* file, uint line);
52// NOLINTEND
53
54// static variables
55// NOLINTBEGIN
56MCAPI ::RakNet::RakNetGUID const& UNASSIGNED_RAKNET_GUID();
57
58MCAPI ::RakNet::SystemAddress const& UNASSIGNED_SYSTEM_ADDRESS();
59
60MCAPI ::std::add_lvalue_reference_t<uint64 (*)()> rak64BitGuidGeneratorOverride();
61
62MCAPI ::std::add_lvalue_reference_t<int (*)(char const*, ...)> rakDebugLogCallback();
63// NOLINTEND
64
65} // namespace RakNet
Definition BitStream.h:7
Definition RakNetSocket2.h:12
Definition RakPeer.h:43
Definition SystemAddress.h:7