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;
13class PersonaClient;
14// clang-format on
15
16class SkinPackModel {
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<8, 8, ::PersonaClient&> mPersonaClient;
21 ::ll::TypedStorage<8, 8, ::IEntitlement const*> mEntitlement;
22 ::ll::TypedStorage<8, 48, ::PackIdVersion> mPackIdentity;
23 ::ll::TypedStorage<8, 2544, ::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() = default;
39 // NOLINTEND
40
41public:
42 // member functions
43 // NOLINTBEGIN
44 MCAPI SkinPackModel(
45 ::PackIdVersion const& packIdentity,
46 ::PersonaClient& skinRepoInterface,
47 ::IEntitlement const* entitlement
48 );
49
50 MCAPI SkinPackModel(
51 ::PackManifest const& manifest,
52 ::PersonaClient& skinRepoInterface,
53 ::IEntitlement const* entitlement,
54 bool isOfflineLoaded
55 );
56
57 MCAPI bool areAnySkinsUnlocked() const;
58
59 MCAPI ::std::string const& getLocName() const;
60
61 MCAPI int getNumSkins() const;
62
63 MCAPI ::std::string const& getSkinName(int skinIndex) const;
64
65 MCAPI void incrementFirstVisibleSkinIndex(int amount);
66 // NOLINTEND
67
68public:
69 // constructor thunks
70 // NOLINTBEGIN
71 MCAPI void*
72 $ctor(::PackIdVersion const& packIdentity, ::PersonaClient& skinRepoInterface, ::IEntitlement const* entitlement);
73
74 MCAPI void* $ctor(
75 ::PackManifest const& manifest,
76 ::PersonaClient& skinRepoInterface,
77 ::IEntitlement const* entitlement,
78 bool isOfflineLoaded
79 );
80 // NOLINTEND
81
82public:
83 // vftables
84 // NOLINTBEGIN
85 MCNAPI static void** $vftable();
86 // NOLINTEND
87};
Definition PackManifest.h:39
Definition PersonaClient.h:5
Definition SkinPackModel.h:5
static MCAPI void ** $vftable()