LeviLamina
Loading...
Searching...
No Matches
IAsyncResourceResponse.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace cohtml { class DataBuffer; }
8// clang-format on
9
10namespace cohtml {
11
13public:
14 // IAsyncResourceResponse inner types declare
15 // clang-format off
16 struct UserImageData;
17 // clang-format on
18
19 // IAsyncResourceResponse inner types define
20 enum class Status : int {
21 Success = 0,
22 Failure = 1,
23 };
24
25 struct UserImageData {
26 public:
27 // UserImageData inner types define
28 enum class TextureFilteringMode : int {
29 FilterPoint = 0,
30 FilterLinear = 1,
31 };
32
33 enum class AlphaPremultiplicationMode : int {
34 Premultiplied = 0,
35 NonPremultiplied = 1,
36 };
37
38 public:
39 // member variables
40 // NOLINTBEGIN
41 ::ll::UntypedStorage<4, 4> mUnk16189b;
42 ::ll::UntypedStorage<4, 4> mUnk68a279;
43 ::ll::UntypedStorage<4, 4> mUnkef4915;
44 ::ll::UntypedStorage<4, 4> mUnk9e6001;
45 ::ll::UntypedStorage<4, 4> mUnkf6e233;
46 ::ll::UntypedStorage<4, 4> mUnkf4cfe5;
47 ::ll::UntypedStorage<4, 4> mUnkc28890;
48 ::ll::UntypedStorage<4, 4> mUnk9b804c;
49 ::ll::UntypedStorage<4, 4> mUnkffeab0;
50 ::ll::UntypedStorage<4, 4> mUnk9482e2;
51 ::ll::UntypedStorage<8, 8> mUnkf2e06e;
52 ::ll::UntypedStorage<8, 8> mUnk5cc4f9;
53 ::ll::UntypedStorage<4, 4> mUnk7144cf;
54 ::ll::UntypedStorage<4, 4> mUnkff2cf8;
55 // NOLINTEND
56
57 public:
58 // prevent constructor by default
59 UserImageData& operator=(UserImageData const&);
60 UserImageData(UserImageData const&);
61 UserImageData();
62 };
63
64public:
65 // virtual functions
66 // NOLINTBEGIN
67 virtual ~IAsyncResourceResponse() = default;
68
69 virtual void* GetSpace(uint64) = 0;
70
71 virtual void ReceiveUserImage(::cohtml::IAsyncResourceResponse::UserImageData const&) = 0;
72
73 virtual void ReceiveOptimizedData(::cohtml::DataBuffer const*) = 0;
74
75 virtual void SignalProgress() = 0;
76
77 virtual void SetStatus(ushort) = 0;
78
79 virtual void SetResponseURL(char const*) = 0;
80
81 virtual void SetHeader(char const*, char const*) = 0;
82
83 virtual void Finish(::cohtml::IAsyncResourceResponse::Status) = 0;
84 // NOLINTEND
85
86public:
87 // virtual function thunks
88 // NOLINTBEGIN
89
90 // NOLINTEND
91};
92
93} // namespace cohtml
Definition DataBuffer.h:7
Definition IAsyncResourceResponse.h:7
Definition IAsyncResourceResponse.h:17