LeviLamina
Loading...
Searching...
No Matches
StorageManagementViews.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
10struct ContentItem;
11// clang-format on
12
14public:
15 // StorageManagementViews inner types declare
16 // clang-format off
17 struct ContentTab;
18 // clang-format on
19
20 // StorageManagementViews inner types define
21 struct ContentTab {
22 public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<8, 16, ::std::string_view> prefix;
26 ::ll::TypedStorage<8, 8, ::gsl::not_null<::std::unique_ptr<::ContentItemCollection>>> view;
27 ::ll::TypedStorage<1, 1, bool> expanded;
28 // NOLINTEND
29 };
30
31 using ConstContentItemPtr = ::std::shared_ptr<::ContentItem const>;
32
33 using ContentTabPtr = ::gsl::not_null<::std::shared_ptr<::StorageManagementViews::ContentTab>>;
34
35public:
36 // member variables
37 // NOLINTBEGIN
38 ::ll::TypedStorage<8, 16, ::gsl::not_null<::std::shared_ptr<::IStorageManagementModel>>> mModel;
39 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::StorageManagementViews::ContentTab>> mWorldTab;
40 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::StorageManagementViews::ContentTab>> mWorldTemplateTab;
41 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::StorageManagementViews::ContentTab>> mResourceTab;
42 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::StorageManagementViews::ContentTab>> mBehaviorTab;
43 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::StorageManagementViews::ContentTab>> mSkinTab;
44 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::StorageManagementViews::ContentTab>> mCacheTab;
45 ::ll::TypedStorage<8, 8, ::gsl::not_null<::std::unique_ptr<::ContentItemCollection>>> mSelectedView;
46 ::ll::TypedStorage<8, 24, ::std::vector<::std::shared_ptr<::ContentItem const>>> mSelectedItems;
47 // NOLINTEND
48
49public:
50 // prevent constructor by default
51 StorageManagementViews();
52
53public:
54 // member functions
55 // NOLINTBEGIN
56 MCAPI StorageManagementViews(
57 ::std::shared_ptr<::IVersionedContentItemCollection const> viewSource,
58 ::std::shared_ptr<::IStorageManagementModel> model
59 );
60
61 MCAPI void _onSelectedReloaded(::ContentItemCollection& selectedView);
62
63 MCAPI ::std::vector<::std::shared_ptr<::ContentItem const>> getAndExpandSelectedItems() const;
64
65 MCAPI ::ContentItemCollection& getSelectedView();
66
67 MCAPI ::std::array<::gsl::not_null<::std::shared_ptr<::StorageManagementViews::ContentTab>>, 6> getTabs();
68
69 MCAPI ~StorageManagementViews();
70 // NOLINTEND
71
72public:
73 // constructor thunks
74 // NOLINTBEGIN
75 MCAPI void* $ctor(
76 ::std::shared_ptr<::IVersionedContentItemCollection const> viewSource,
77 ::std::shared_ptr<::IStorageManagementModel> model
78 );
79 // NOLINTEND
80
81public:
82 // destructor thunk
83 // NOLINTBEGIN
84 MCAPI void $dtor();
85 // NOLINTEND
86};
Definition ContentItemCollection.h:5
Definition IStorageManagementModel.h:5
Definition IVersionedContentItemCollection.h:5
Definition StorageManagementViews.h:5
Definition ContentItem.h:5
Definition StorageManagementViews.h:13