LeviLamina
Loading...
Searching...
No Matches
SystemAddress.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
namespace
RakNet {
6
7
struct
SystemAddress {
8
public
:
9
// member variables
10
// NOLINTBEGIN
11
union
{
12
::ll::UntypedStorage<8, 128>
sa_stor;
13
::ll::UntypedStorage<4, 128>
addr6;
14
::ll::UntypedStorage<2, 128>
addr4;
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
22
public
:
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
38
public
:
39
// static functions
40
// NOLINTBEGIN
41
MCAPI
static
ulong ToInteger(
::RakNet::SystemAddress
const
& sa);
42
// NOLINTEND
43
44
public
:
45
// constructor thunks
46
// NOLINTBEGIN
47
MCAPI
void
* $ctor();
48
// NOLINTEND
49
};
50
51
}
// namespace RakNet
RakNet::SystemAddress
Definition
SystemAddress.h:7
ll::UntypedStorage
Definition
Alias.h:14
src
mc
deps
raknet
SystemAddress.h
Generated on
for LeviLamina by
1.16.1