Skip to content
LeviMC
English
AutoLightDark
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, 2616, ::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
45 ::PackIdVersion const& packIdentity,
46 ::PersonaClient& skinRepoInterface,
47 ::IEntitlement const* entitlement
48 );
49
51 ::PackManifest const& manifest,
52 ::PersonaClient& skinRepoInterface,
53 ::IEntitlement const* entitlement,
54 bool isOfflineLoaded
55 );
56
57 MCNAPI ::std::string const& getLocName() const;
58
59 MCNAPI int getNumSkins() const;
60
61 MCNAPI ::std::string const& getSkinName(int skinIndex) const;
62
63 MCNAPI void incrementFirstVisibleSkinIndex(int amount);
64 // NOLINTEND
65
66public:
67 // constructor thunks
68 // NOLINTBEGIN
69 MCNAPI void*
70 $ctor(::PackIdVersion const& packIdentity, ::PersonaClient& skinRepoInterface, ::IEntitlement const* entitlement);
71
72 MCNAPI void* $ctor(
73 ::PackManifest const& manifest,
74 ::PersonaClient& skinRepoInterface,
75 ::IEntitlement const* entitlement,
76 bool isOfflineLoaded
77 );
78 // NOLINTEND
79
80public:
81 // vftables
82 // NOLINTBEGIN
83 MCNAPI static void** $vftable();
84 // NOLINTEND
85};
Definition PackManifest.h:39
Definition PersonaClient.h:5
Definition SkinPackModel.h:5
MCAPI SkinPackModel(::PackIdVersion const &packIdentity, ::PersonaClient &skinRepoInterface, ::IEntitlement const *entitlement)
MCAPI SkinPackModel(::PackManifest const &manifest, ::PersonaClient &skinRepoInterface, ::IEntitlement const *entitlement, bool isOfflineLoaded)
MCAPI void * $ctor(::PackIdVersion const &packIdentity, ::PersonaClient &skinRepoInterface, ::IEntitlement const *entitlement)
MCAPI int getNumSkins() const
static MCAPI void ** $vftable()
MCAPI void * $ctor(::PackManifest const &manifest, ::PersonaClient &skinRepoInterface, ::IEntitlement const *entitlement, bool isOfflineLoaded)
MCAPI void incrementFirstVisibleSkinIndex(int amount)
MCAPI::std::string const & getLocName() const
MCAPI::std::string const & getSkinName(int skinIndex) const
Definition PackIdVersion.h:10