LeviLamina
Loading...
Searching...
No Matches
SystemAddress.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5namespace RakNet {
6
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 ::std::string ToString(char portDelineator) const;
36
37 MCAPI void ToString(bool writePort, char* dest, char portDelineator) const;
38 // NOLINTEND
39
40public:
41 // static functions
42 // NOLINTBEGIN
43 MCAPI static ulong ToInteger(::RakNet::SystemAddress const& sa);
44 // NOLINTEND
45
46public:
47 // constructor thunks
48 // NOLINTBEGIN
49 MCAPI void* $ctor();
50 // NOLINTEND
51};
52
53} // namespace RakNet
Definition SystemAddress.h:7
Definition Alias.h:14