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 ContentIdentity;
12class IEntitlement;
13class PackManifest;
14class PersonaClient;
15// clang-format on
16
17class SkinPackModel {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 8, ::PersonaClient&> mPersonaClient;
22 ::ll::TypedStorage<8, 8, ::IEntitlement const*> mEntitlement;
23 ::ll::TypedStorage<8, 48, ::PackIdVersion> mPackIdentity;
24 ::ll::TypedStorage<8, 2552, ::SkinPackMeta> mSkinPackMetaData;
25 ::ll::TypedStorage<4, 4, int> mFirstVisibleSkinIndex;
26 ::ll::TypedStorage<4, 4, int> mSelectedSkinIndex;
27 ::ll::TypedStorage<1, 1, bool> mIsOfflineLoaded;
28 // NOLINTEND
29
30public:
31 // prevent constructor by default
32 SkinPackModel& operator=(SkinPackModel const&);
33 SkinPackModel(SkinPackModel const&);
34 SkinPackModel();
35
36public:
37 // virtual functions
38 // NOLINTBEGIN
39 virtual ~SkinPackModel();
40 // NOLINTEND
41
42public:
43 // member functions
44 // NOLINTBEGIN
45 MCAPI SkinPackModel(
46 ::PackIdVersion const& packIdentity,
47 ::PersonaClient& skinRepoInterface,
48 ::IEntitlement const* entitlement
49 );
50
51 MCAPI SkinPackModel(
52 ::PackManifest const& manifest,
53 ::PersonaClient& skinRepoInterface,
54 ::IEntitlement const* entitlement,
55 bool isOfflineLoaded
56 );
57
58 MCAPI void decrementFirstVisibleSkinIndex(int amount);
59
60 MCAPI ::ContentIdentity const& getContentIdentity() const;
61
62 MCAPI int getFirstVisibleSkinIndex() const;
63
64 MCAPI ::std::string const& getLocName() const;
65
66 MCFOLD ::SkinPackMeta const& getMetaData() const;
67
68 MCAPI int getNumSkins() const;
69
70 MCFOLD ::PackIdVersion const& getPackIdentity() const;
71
72 MCAPI ::std::string const& getSkinName(int skinIndex) const;
73
74 MCAPI void incrementFirstVisibleSkinIndex(int amount);
75
76 MCAPI bool isCustomSkinPack() const;
77
78 MCAPI bool isInPackage() const;
79
80 MCAPI bool isLimitedUsageSkinPack() const;
81
82 MCAPI bool isOfflineOrSideLoaded() const;
83
84 MCAPI bool isPlatformLocked() const;
85
86 MCAPI bool isSideLoaded() const;
87
88 MCAPI bool isSkinLocked(int skinIndex) const;
89
90 MCAPI bool isSkinPackOwned() const;
91
92 MCAPI bool isValid() const;
93
94 MCAPI bool isVanillaSkinPack() const;
95 // NOLINTEND
96
97public:
98 // constructor thunks
99 // NOLINTBEGIN
100 MCAPI void*
101 $ctor(::PackIdVersion const& packIdentity, ::PersonaClient& skinRepoInterface, ::IEntitlement const* entitlement);
102
103 MCAPI void* $ctor(
104 ::PackManifest const& manifest,
105 ::PersonaClient& skinRepoInterface,
106 ::IEntitlement const* entitlement,
107 bool isOfflineLoaded
108 );
109 // NOLINTEND
110
111public:
112 // destructor thunk
113 // NOLINTBEGIN
114 MCAPI void $dtor();
115 // NOLINTEND
116
117public:
118 // vftables
119 // NOLINTBEGIN
120 MCNAPI static void** $vftable();
121 // NOLINTEND
122};
Definition ContentIdentity.h:8
Definition PackManifest.h:38
Definition PersonaClient.h:5
Definition SkinPackModel.h:5
static MCAPI void ** $vftable()