LeviLamina
Loading...
Searching...
No Matches
SystemAddress.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5namespace RakNet {
6
7struct SystemAddress {
8public:
9 // member variables
10 // NOLINTBEGIN
11 union {
15 } address;
16 ::ll::TypedStorage<2, 2, ushort> debugPort;
17 ::ll::TypedStorage<2, 2, ushort> systemIndex;
18 // NOLINTEND
19
20 LLNDAPI bool operator==(SystemAddress const& other) const;
21
22public:
23 // member functions
24 // NOLINTBEGIN
25 MCAPI void FixForIPVersion(::RakNet::SystemAddress const& boundAddressToSocket);
26
27 MCAPI bool FromString(char const* str, char portDelineator, int ipVersion);
28
29 MCAPI bool FromStringExplicitPort(char const* str, ushort port, int ipVersion);
30
31 MCAPI ::std::string GetIPString() const;
32
33 MCAPI SystemAddress();
34
35 MCAPI void ToString(bool writePort, char* dest, char portDelineator) const;
36 // NOLINTEND
37
38public:
39 // static functions
40 // NOLINTBEGIN
41 MCAPI static ulong ToInteger(::RakNet::SystemAddress const& sa);
42 // NOLINTEND
43
44public:
45 // constructor thunks
46 // NOLINTBEGIN
47 MCAPI void* $ctor();
48 // NOLINTEND
49};
50
51} // namespace RakNet
Definition SystemAddress.h:7
Definition Alias.h:14