LeviLamina
Loading...
Searching...
No Matches
HttpRequestHandler.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/core/threading/IAsyncResult.h"
7
#include "mc/deps/core/utility/NonOwnerPointer.h"
8
9
// auto generated forward declare list
10
// clang-format off
11
class
IMinecraftEventing
;
12
namespace
Bedrock::Http {
class
Response; }
13
// clang-format on
14
15
class
HttpRequestHandler
:
public
::std::enable_shared_from_this<::HttpRequestHandler> {
16
public
:
17
// HttpRequestHandler inner types define
18
enum class
WaitForSignIn : uint {
19
None = 0,
20
PlayFab = 1,
21
XboxLive = 2,
22
};
23
24
enum class
RequestStatus :
int
{
25
NotStarted = 0,
26
InProgress = 1,
27
Completed = 2,
28
Canceled = 3,
29
TimeOut = 4,
30
};
31
32
public
:
33
// member variables
34
// NOLINTBEGIN
35
::ll::UntypedStorage<8, 8>
mUnk314b76;
36
::ll::UntypedStorage<8, 8>
mUnkd4a64f;
37
::ll::UntypedStorage<8, 8>
mUnk54cbd7;
38
::ll::UntypedStorage<1, 1>
mUnk811043;
39
::ll::UntypedStorage<4, 4>
mUnk2aee14;
40
::ll::UntypedStorage<8, 8>
mUnkdd4ce8;
41
::ll::UntypedStorage<4, 4>
mUnk5dc8c9;
42
::ll::UntypedStorage<8, 32>
mUnk72fca6;
43
::ll::UntypedStorage<4, 4>
mUnkf010d4;
44
// NOLINTEND
45
46
public
:
47
// prevent constructor by default
48
HttpRequestHandler
& operator=(
HttpRequestHandler
const
&);
49
HttpRequestHandler
(
HttpRequestHandler
const
&);
50
HttpRequestHandler
();
51
52
public
:
53
// virtual functions
54
// NOLINTBEGIN
55
// vIndex: 0
56
virtual
~HttpRequestHandler
() =
default
;
57
58
// vIndex: 1
59
virtual
bool
trySend(
bool
const
);
60
61
// vIndex: 2
62
virtual ::std::shared_ptr<::Bedrock::Threading::IAsyncResult<::std::string>> getAuthToken() = 0;
63
64
// vIndex: 3
65
virtual ::std::shared_ptr<::Bedrock::Threading::IAsyncResult<::Bedrock::Http::Response>> send(::std::string) = 0;
66
67
// vIndex: 4
68
virtual
void
processResponse(
::Bedrock::Http::Response
) = 0;
69
70
// vIndex: 5
71
virtual
void
sendCachedRequest();
72
73
// vIndex: 6
74
virtual
bool
isDone()
const
;
75
76
// vIndex: 7
77
virtual
void
onComplete() = 0;
78
79
// vIndex: 8
80
virtual
bool
canSendRequest()
const
;
81
82
// vIndex: 9
83
virtual
void
fireTelemetry(
::Bedrock::NonOwnerPointer<::IMinecraftEventing>
const
&);
84
// NOLINTEND
85
86
public
:
87
// destructor thunk
88
// NOLINTBEGIN
89
90
// NOLINTEND
91
92
public
:
93
// virtual function thunks
94
// NOLINTBEGIN
95
96
// NOLINTEND
97
};
Bedrock::Http::Response
Definition
Response.h:12
Bedrock::NonOwnerPointer
Definition
NonOwnerPointer.h:9
HttpRequestHandler
Definition
HttpRequestHandler.h:15
IMinecraftEventing
Definition
IMinecraftEventing.h:143
ll::UntypedStorage
Definition
Alias.h:14
src
mc
client
services
requests
HttpRequestHandler.h
Generated on Sat Apr 26 2025 05:55:22 for LeviLamina by
1.12.0