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/Async.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
};
22
23
enum class
RequestStatus :
int
{
24
NotStarted = 0,
25
InProgress = 1,
26
Completed = 2,
27
Canceled = 3,
28
TimeOut = 4,
29
};
30
31
public
:
32
// member variables
33
// NOLINTBEGIN
34
::ll::UntypedStorage<8, 8>
mUnk314b76;
35
::ll::UntypedStorage<8, 8>
mUnkd4a64f;
36
::ll::UntypedStorage<8, 8>
mUnk54cbd7;
37
::ll::UntypedStorage<1, 1>
mUnk811043;
38
::ll::UntypedStorage<4, 4>
mUnk2aee14;
39
::ll::UntypedStorage<8, 8>
mUnkdd4ce8;
40
::ll::UntypedStorage<4, 4>
mUnk5dc8c9;
41
::ll::UntypedStorage<8, 32>
mUnk72fca6;
42
::ll::UntypedStorage<4, 4>
mUnkf010d4;
43
// NOLINTEND
44
45
public
:
46
// prevent constructor by default
47
HttpRequestHandler
& operator=(
HttpRequestHandler
const
&);
48
HttpRequestHandler
(
HttpRequestHandler
const
&);
49
HttpRequestHandler
();
50
51
public
:
52
// virtual functions
53
// NOLINTBEGIN
54
// vIndex: 0
55
virtual
~HttpRequestHandler
() =
default
;
56
57
// vIndex: 1
58
virtual
bool
trySend(
bool
const
);
59
60
// vIndex: 2
61
virtual ::Bedrock::Threading::Async<::std::string> getAuthToken() = 0;
62
63
// vIndex: 3
64
virtual ::Bedrock::Threading::Async<::Bedrock::Http::Response> send(::std::string) = 0;
65
66
// vIndex: 4
67
virtual
void
processResponse(
::Bedrock::Http::Response
) = 0;
68
69
// vIndex: 5
70
virtual
void
sendCachedRequest();
71
72
// vIndex: 6
73
virtual
bool
isDone()
const
;
74
75
// vIndex: 7
76
virtual
void
onComplete() = 0;
77
78
// vIndex: 8
79
virtual
bool
canSendRequest()
const
;
80
81
// vIndex: 9
82
virtual
void
fireTelemetry(
::Bedrock::NonOwnerPointer<::IMinecraftEventing>
const
&);
83
// NOLINTEND
84
85
public
:
86
// virtual function thunks
87
// NOLINTBEGIN
88
89
// NOLINTEND
90
};
Bedrock::Http::Response
Definition
Response.h:13
Bedrock::NonOwnerPointer
Definition
NonOwnerPointer.h:9
HttpRequestHandler
Definition
HttpRequestHandler.h:15
IMinecraftEventing
Definition
IMinecraftEventing.h:147
ll::UntypedStorage
Definition
Alias.h:14
src-server
mc
client
services
requests
HttpRequestHandler.h
Generated on Sun Oct 12 2025 06:31:21 for LeviLamina by
1.12.0