mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-05-01 11:30:57 +00:00
Added code to DLCSkinFile.cpp to store skin box scale value. Added code to HumanoidModel.cpp and HumanoidModel.h to handle skin boxes added to the armor layer of skin. Added another float value to SkinBox.h
32 lines
921 B
C++
32 lines
921 B
C++
#pragma once
|
|
#include "DLCFile.h"
|
|
#include "..\..\..\Minecraft.Client\HumanoidModel.h"
|
|
|
|
class DLCSkinFile : public DLCFile
|
|
{
|
|
|
|
private:
|
|
wstring m_displayName;
|
|
wstring m_themeName;
|
|
wstring m_cape;
|
|
unsigned int m_uiAnimOverrideBitmask;
|
|
bool m_bIsFree;
|
|
vector<SKIN_BOX *> m_AdditionalBoxes;
|
|
vector<SKIN_OFFSET *> m_Offsets;
|
|
|
|
public:
|
|
|
|
DLCSkinFile(const wstring &path);
|
|
|
|
void addData(PBYTE pbData, DWORD dwBytes) override;
|
|
void addParameter(DLCManager::EDLCParameterType type, const wstring &value) override;
|
|
|
|
wstring getParameterAsString(DLCManager::EDLCParameterType type) override;
|
|
bool getParameterAsBool(DLCManager::EDLCParameterType type) override;
|
|
vector<SKIN_BOX *> *getAdditionalBoxes();
|
|
int getAdditionalBoxesCount();
|
|
vector<SKIN_OFFSET *> *getOffsets();
|
|
int getOffsetsCount();
|
|
unsigned int getAnimOverrideBitmask() { return m_uiAnimOverrideBitmask;}
|
|
bool isFree() {return m_bIsFree;}
|
|
}; |