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/persona/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 notification) ;
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 ::std::string _getSkinName(::SkinHandle
const& handle)
const;
80 MCAPI ::std::string _getSkinPackName(
int index)
const;
82 MCAPI
bool _isCustomSkin(::SkinHandle
const& skin)
const;
84 MCAPI
void _pickCustomSkin();
86 MCAPI
void _registerBindings();
88 MCAPI
void _registerEventHandlers();
90 MCAPI
void setPreviewSkin(::SkinHandle
const& newSkin);
96 MCAPI static ::std::string
const& MINECON_2012_CAPE_ID();
98 MCAPI static ::std::string
const& MOJANG_CAPE_ID();
105 $ctor(::std::shared_ptr<::MainMenuScreenModel> model, ::std::shared_ptr<::SkinRepository> skinRepository);
117 MCAPI
void $onOpen();
119 MCAPI
void $onTerminate();
121 MCAPI ::ui::ViewRequest $tryExit();
123 MCAPI ::ui::DirtyFlag $tick();
125 MCAPI ::ui::DirtyFlag $handleGameEventNotification(::ui::GameEventNotification notification);
127 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