3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/gui/DirtyFlag.h"
7#include "mc/client/gui/GameEventNotification.h"
8#include "mc/client/gui/ViewRequest.h"
9#include "mc/client/gui/screens/controllers/MainMenuScreenController.h"
10#include "mc/client/player/SkinHandle.h"
23 ::ll::TypedStorage<8, 8, ::SkinPackCollectionModel&> mSkinPackCollection;
24 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::SkinRepository>> mSkinRepository;
25 ::ll::TypedStorage<1, 1, bool> mSearchedSkins;
26 ::ll::TypedStorage<4, 4, int> mHoverPack;
27 ::ll::TypedStorage<4, 4, int> mHoverSkin;
28 ::ll::TypedStorage<8, 112, ::SkinHandle> mPreviewSkinHandle;
29 ::ll::TypedStorage<8, 112, ::SkinHandle const> mCustomSkinHandleSkinny;
30 ::ll::TypedStorage<8, 112, ::SkinHandle const> mCustomSkinHandleFat;
31 ::ll::TypedStorage<8, 112, ::SkinHandle const> mCustomSkinHandleDummy;
32 ::ll::TypedStorage<8, 112, ::SkinHandle> mInitialSkinHandle;
33 ::ll::TypedStorage<8, 40, ::std::deque<::SkinHandle>> mSkinUndoList;
34 ::ll::TypedStorage<1, 1, bool> mForceUpdatePreviewSkin;
35 ::ll::TypedStorage<1, 1, bool> mForceUpdateRecentSkin;
36 ::ll::TypedStorage<1, 1, bool> mForceUpdateCustomSkin;
37 ::ll::TypedStorage<1, 1, bool> mContentAreaActive;
38 ::ll::TypedStorage<1, 1, bool> mSkinStatusHovered;
39 ::ll::TypedStorage<1, 1, bool> mNewCustomSkinPicked;
40 ::ll::TypedStorage<1, 1, bool> mCapeChanged;
41 ::ll::TypedStorage<1, 1, bool> mEventHandlersRegistered;
46 SkinPickerScreenController& operator=(SkinPickerScreenController
const&);
47 SkinPickerScreenController(SkinPickerScreenController
const&);
48 SkinPickerScreenController();
53 virtual ~SkinPickerScreenController() ;
55 virtual void onOpen() ;
57 virtual void onTerminate() ;
59 virtual ::ui::ViewRequest tryExit() ;
61 virtual ::ui::DirtyFlag tick() ;
63 virtual ::ui::DirtyFlag handleGameEventNotification(::ui::GameEventNotification) ;
65 virtual ::std::string _getButtonBDescription() ;
71 MCAPI SkinPickerScreenController(
72 ::std::shared_ptr<::MainMenuScreenModel> model,
73 ::std::shared_ptr<::SkinRepository> skinRepository
76 MCAPI ::ui::ViewRequest _equipPreviewedSkin();
78 MCAPI
bool _getAcceptButtonEnabled()
const;
80 MCAPI ::std::string _getSkinName(::SkinHandle
const& handle)
const;
82 MCAPI ::std::string _getSkinPackName(
int index)
const;
84 MCAPI
bool _isCustomSkin(::SkinHandle
const& skin)
const;
86 MCAPI
bool _isEquipablePreviewHandle()
const;
88 MCAPI
bool _isLimitedUsagePreviewHandle()
const;
90 MCAPI
void _pickCustomSkin();
92 MCAPI
void _registerBindings();
94 MCAPI
void _registerEventHandlers();
96 MCAPI
void setPreviewSkin(::SkinHandle
const& newSkin);
102 MCAPI static ::std::string
const& MINECON_2012_CAPE_ID();
104 MCAPI static ::std::string
const& MOJANG_CAPE_ID();
111 $ctor(::std::shared_ptr<::MainMenuScreenModel> model, ::std::shared_ptr<::SkinRepository> skinRepository);
123 MCAPI
void $onOpen();
125 MCAPI
void $onTerminate();
127 MCAPI ::ui::ViewRequest $tryExit();
129 MCAPI ::ui::DirtyFlag $tick();
131 MCAPI ::std::string $_getButtonBDescription();
Definition MainMenuScreenController.h:5
Definition MainMenuScreenModel.h:5
Definition SkinPackCollectionModel.h:5
Definition SkinPickerScreenController.h:5
static MCAPI void ** $vftableForScreenController()
static MCAPI void ** $vftableForEnableNonOwnerReferences()
Definition SkinRepository.h:5