LeviLamina
Loading...
Searching...
No Matches
SkinPackModel.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/services/catalog/SkinPackMeta.h"
7#include "mc/deps/core/resource/PackIdVersion.h"
8
9// auto generated forward declare list
10// clang-format off
11class IEntitlement;
12class PackManifest;
14// clang-format on
15
16class SkinPackModel {
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<8, 8, ::SkinRepositoryClientInterface&> mSkinRepositoryClientInterface;
21 ::ll::TypedStorage<8, 8, ::IEntitlement const*> mEntitlement;
22 ::ll::TypedStorage<8, 48, ::PackIdVersion> mPackIdentity;
23 ::ll::TypedStorage<8, 2552, ::SkinPackMeta> mSkinPackMetaData;
24 ::ll::TypedStorage<4, 4, int> mFirstVisibleSkinIndex;
25 ::ll::TypedStorage<4, 4, int> mSelectedSkinIndex;
26 ::ll::TypedStorage<1, 1, bool> mIsOfflineLoaded;
27 // NOLINTEND
28
29public:
30 // prevent constructor by default
31 SkinPackModel& operator=(SkinPackModel const&);
32 SkinPackModel(SkinPackModel const&);
33 SkinPackModel();
34
35public:
36 // virtual functions
37 // NOLINTBEGIN
38 virtual ~SkinPackModel();
39 // NOLINTEND
40
41public:
42 // member functions
43 // NOLINTBEGIN
44 MCAPI SkinPackModel(
45 ::PackIdVersion const& packIdentity,
46 ::SkinRepositoryClientInterface& skinRepoInterface,
47 ::IEntitlement const* entitlement
48 );
49
50 MCAPI SkinPackModel(
51 ::PackManifest const& manifest,
52 ::SkinRepositoryClientInterface& skinRepoInterface,
53 ::IEntitlement const* entitlement,
54 bool isOfflineLoaded
55 );
56
57 MCAPI ::std::string const& getSkinName(int skinIndex) const;
58
59 MCAPI void incrementFirstVisibleSkinIndex(int amount);
60
61 MCAPI bool isLimitedUsageSkinPack() const;
62 // NOLINTEND
63
64public:
65 // constructor thunks
66 // NOLINTBEGIN
67 MCAPI void* $ctor(
68 ::PackIdVersion const& packIdentity,
69 ::SkinRepositoryClientInterface& skinRepoInterface,
70 ::IEntitlement const* entitlement
71 );
72
73 MCAPI void* $ctor(
74 ::PackManifest const& manifest,
75 ::SkinRepositoryClientInterface& skinRepoInterface,
76 ::IEntitlement const* entitlement,
77 bool isOfflineLoaded
78 );
79 // NOLINTEND
80
81public:
82 // destructor thunk
83 // NOLINTBEGIN
84 MCAPI void $dtor();
85 // NOLINTEND
86
87public:
88 // vftables
89 // NOLINTBEGIN
90 MCNAPI static void** $vftable();
91 // NOLINTEND
92};
Definition PackManifest.h:37
Definition SkinPackModel.h:5
static MCAPI void ** $vftable()
Definition SkinRepositoryClientInterface.h:5