LeviLamina
Loading...
Searching...
No Matches
ViewsCacheRegistry.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/oreui/interface/ViewId.h"
7#include "mc/common/SubClientId.h"
8
9namespace OreUI {
10
12public:
13 // ViewsCacheRegistry inner types declare
14 // clang-format off
15 struct CachedView;
16 // clang-format on
17
18 // ViewsCacheRegistry inner types define
19 struct CachedView {
20 public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<4, 4, ::OreUI::ViewId> viewId;
24 ::ll::TypedStorage<8, 32, ::std::string> url;
25 // NOLINTEND
26 };
27
28public:
29 // member variables
30 // NOLINTBEGIN
31 ::ll::TypedStorage<8, 96, ::std::array<::std::vector<::OreUI::ViewsCacheRegistry::CachedView>, 4>> mCachedViews;
32 // NOLINTEND
33
34public:
35 // member functions
36 // NOLINTBEGIN
37 MCAPI void add(::SubClientId subClientId, ::OreUI::ViewId viewId, ::std::string_view url);
38
39 MCAPI void clearForSubClient(::SubClientId subClientId);
40 // NOLINTEND
41};
42
43} // namespace OreUI
Definition ViewsCacheRegistry.h:7
Definition ViewsCacheRegistry.h:15