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 void deselectItem(::ContentItem const& item);
64
65 MCAPI ::std::vector<::std::shared_ptr<::ContentItem const>> getAndExpandSelectedItems() const;
66
67 MCAPI ::ContentItemCollection& getSelectedView();
68
69 MCAPI ::std::array<::gsl::not_null<::std::shared_ptr<::StorageManagementViews::ContentTab>>, 6> getTabs();
70
71 MCAPI void selectItem(::std::shared_ptr<::ContentItem const> item);
72
73 MCAPI ~StorageManagementViews();
74 // NOLINTEND
75
76public:
77 // constructor thunks
78 // NOLINTBEGIN
79 MCAPI void* $ctor(
80 ::std::shared_ptr<::IVersionedContentItemCollection const> viewSource,
81 ::std::shared_ptr<::IStorageManagementModel> model
82 );
83 // NOLINTEND
84
85public:
86 // destructor thunk
87 // NOLINTBEGIN
88 MCAPI void $dtor();
89 // NOLINTEND
90};
Definition ContentItemCollection.h:5
Definition IStorageManagementModel.h:5
Definition IVersionedContentItemCollection.h:5
Definition StorageManagementViews.h:5
Definition ContentItem.h:5
Definition StorageManagementViews.h:13