LeviLamina
Loading...
Searching...
No Matches
AsynchronousIPResolver.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/threading/SharedAsync.h"
7
8class AsynchronousIPResolver {
9public:
10 // member variables
11 // NOLINTBEGIN
15 // NOLINTEND
16
17#ifdef LL_PLAT_S
18public:
19 // prevent constructor by default
20 AsynchronousIPResolver& operator=(AsynchronousIPResolver const&);
21 AsynchronousIPResolver(AsynchronousIPResolver const&);
22 AsynchronousIPResolver();
23
24#else // LL_PLAT_C
25public:
26 // prevent constructor by default
27 AsynchronousIPResolver(AsynchronousIPResolver const&);
28 AsynchronousIPResolver();
29
30#endif
31public:
32 // member functions
33 // NOLINTBEGIN
34 MCNAPI explicit AsynchronousIPResolver(::std::string url);
35
36 MCNAPI ::Bedrock::Threading::SharedAsync<::std::string> _resolve();
37
38 MCNAPI void _resolveIfNeeded();
39
40 MCNAPI ::std::string getIp() const;
41
42 MCNAPI ::std::string const& getOriginalUrl() const;
43
44 MCNAPI bool isDone() const;
45
46#ifdef LL_PLAT_C
47 MCNAPI ::AsynchronousIPResolver& operator=(::AsynchronousIPResolver const&);
48
49 MCNAPI ~AsynchronousIPResolver();
50#endif
51 // NOLINTEND
52
53public:
54 // constructor thunks
55 // NOLINTBEGIN
56 MCNAPI void* $ctor(::std::string url);
57 // NOLINTEND
58
59public:
60 // destructor thunk
61 // NOLINTBEGIN
62#ifdef LL_PLAT_C
63 MCNAPI void $dtor();
64#endif
65 // NOLINTEND
66};
MCAPI AsynchronousIPResolver(::std::string url)
MCAPI void * $ctor(::std::string url)
MCAPI::std::string const & getOriginalUrl() const
MCAPI::std::string getIp() const
MCAPI void _resolveIfNeeded()
MCAPI ::Bedrock::Threading::SharedAsync<::std::string > _resolve()
MCAPI bool isDone() const
Definition Alias.h:14