LeviLamina
Loading...
Searching...
No Matches
ConnectionDefinition.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
6public:
7 // ConnectionDefinition inner types define
8 enum class PortBusyFallbackPolicy : int {
9 UseRandom = 0,
10 Fail = 1,
11 };
12
13public:
14 // member variables
15 // NOLINTBEGIN
16 ::ll::TypedStorage<2, 2, ushort> ipv4Port;
17 ::ll::TypedStorage<2, 2, ushort> ipv6Port;
18 ::ll::TypedStorage<4, 4, ::ConnectionDefinition::PortBusyFallbackPolicy> fallback;
19 ::ll::TypedStorage<4, 4, int> maxNumPlayers;
20 ::ll::TypedStorage<4, 4, int> maxNumConnections;
21 ::ll::TypedStorage<1, 1, bool> isServerVisibleToLanDiscovery;
22 ::ll::TypedStorage<1, 1, bool> allowUnconnectedPongs;
23 // NOLINTEND
24};
Definition ConnectionDefinition.h:5