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
20MCAPI uint64 GetTime();
21
22MCAPI uint GetTimeMS();
23
24MCAPI uint64 GetTimeUS();
25
26MCAPI bool NonNumericHostString(char const* host);
27
28MCAPI void ProcessNetworkPacket(
29 ::RakNet::SystemAddress systemAddress,
30 char const* data,
31 int length,
32 ::RakNet::RakPeer* rakPeer,
33 ::RakNet::RakNetSocket2* rakNetSocket,
34 uint64 timeRead,
35 ::RakNet::BitStream& updateBitStream
36);
37
38MCAPI bool ProcessOfflineNetworkPacket(
39 ::RakNet::SystemAddress systemAddress,
40 char const* data,
41 int length,
42 ::RakNet::RakPeer* rakPeer,
43 ::RakNet::RakNetSocket2* rakNetSocket,
44 bool* isOfflineMessage,
45 uint64 timeRead
46);
47
48MCAPI int SplitPacketChannelComp(ushort const& key, ::RakNet::SplitPacketChannel* const& data);
49
50MCAPI uint UpdateNetworkLoop(void* arguments);
51
52MCAPI uint UpdateTCPInterfaceLoop(void* arguments);
53
54MCAPI void _RakFree_Ex(void* p, char const*, uint);
55
56MCAPI void* _RakMalloc_Ex(uint64 size, char const*, uint);
57
58MCAPI void* _RakRealloc_Ex(void* p, uint64 size, char const*, uint);
59// NOLINTEND
60
61// static variables
62// NOLINTBEGIN
63MCAPI ::RakNet::RakNetGUID const& UNASSIGNED_RAKNET_GUID();
64
65MCAPI ::RakNet::SystemAddress const& UNASSIGNED_SYSTEM_ADDRESS();
66
67MCAPI ::std::add_lvalue_reference_t<uint64 (*)()> rak64BitGuidGeneratorOverride();
68
69MCAPI ::std::add_lvalue_reference_t<int (*)(char const*, ...)> rakDebugLogCallback();
70// NOLINTEND
71
72} // namespace RakNet
Definition BitStream.h:7
Definition RakNetSocket2.h:12
Definition RakPeer.h:43
Definition RakNetGUID.h:7
Definition SplitPacketChannel.h:7
Definition SystemAddress.h:7