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> mUnk7f72bb;
50 ::ll::UntypedStorage<4, 4> mUnkffeab0;
51 ::ll::UntypedStorage<4, 4> mUnk9482e2;
52 ::ll::UntypedStorage<8, 8> mUnkf2e06e;
53 ::ll::UntypedStorage<8, 8> mUnk5cc4f9;
54 ::ll::UntypedStorage<4, 4> mUnk7144cf;
55 ::ll::UntypedStorage<4, 4> mUnkff2cf8;
56 // NOLINTEND
57
58 public:
59 // prevent constructor by default
60 UserImageData& operator=(UserImageData const&);
61 UserImageData(UserImageData const&);
62 UserImageData();
63 };
64
65public:
66 // virtual functions
67 // NOLINTBEGIN
68 virtual ~IAsyncResourceResponse() = default;
69
70 virtual void* GetSpace(uint64) = 0;
71
72 virtual void ReceiveUserImage(::cohtml::IAsyncResourceResponse::UserImageData const&) = 0;
73
74 virtual void ReceiveOptimizedData(::cohtml::DataBuffer const*) = 0;
75
76 virtual void SignalProgress() = 0;
77
78 virtual void SetStatus(ushort) = 0;
79
80 virtual void SetResponseURL(char const*) = 0;
81
82 virtual void SetHeader(char const*, char const*) = 0;
83
84 virtual void Finish(::cohtml::IAsyncResourceResponse::Status) = 0;
85 // NOLINTEND
86
87public:
88 // virtual function thunks
89 // NOLINTBEGIN
90
91 // NOLINTEND
92};
93
94} // namespace cohtml
Definition DataBuffer.h:7
Definition IAsyncResourceResponse.h:7
Definition IAsyncResourceResponse.h:17