29 enum class NATDetectionState :
int {
35 TestingAddressRestricted1 = 5,
36 TestingAddressRestricted2 = 6,
37 TestingPortRestricted1 = 7,
38 TestingPortRestricted2 = 8,
42 struct NATDetectionAttempt {
56 NATDetectionAttempt& operator=(NATDetectionAttempt
const&);
57 NATDetectionAttempt(NATDetectionAttempt
const&);
58 NATDetectionAttempt();
76 NatTypeDetectionServer& operator=(NatTypeDetectionServer
const&);
77 NatTypeDetectionServer(NatTypeDetectionServer
const&);
78 NatTypeDetectionServer();
83 virtual ~NatTypeDetectionServer() =
default;
85 virtual void Update() ;
89 virtual void OnClosedConnection(
92 ::RakNet::PI2_LostConnectionReason
99 virtual ::RakNet::RNS2RecvStruct* AllocRNS2RecvStruct(
char const*, uint) ;