mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-06-20 00:06:17 +00:00
various iggy UI build fixes, format DLC folder
This commit is contained in:
@@ -2,20 +2,18 @@
|
||||
#include "DLCManager.h"
|
||||
#include "DLCGameRulesFile.h"
|
||||
|
||||
DLCGameRulesFile::DLCGameRulesFile(const std::wstring &path) : DLCGameRules(DLCManager::e_DLCType_GameRules,path)
|
||||
{
|
||||
m_pbData = NULL;
|
||||
m_dataBytes = 0;
|
||||
DLCGameRulesFile::DLCGameRulesFile(const std::wstring& path)
|
||||
: DLCGameRules(DLCManager::e_DLCType_GameRules, path) {
|
||||
m_pbData = NULL;
|
||||
m_dataBytes = 0;
|
||||
}
|
||||
|
||||
void DLCGameRulesFile::addData(std::uint8_t *pbData, std::uint32_t dataBytes)
|
||||
{
|
||||
m_pbData = pbData;
|
||||
m_dataBytes = dataBytes;
|
||||
void DLCGameRulesFile::addData(std::uint8_t* pbData, std::uint32_t dataBytes) {
|
||||
m_pbData = pbData;
|
||||
m_dataBytes = dataBytes;
|
||||
}
|
||||
|
||||
std::uint8_t *DLCGameRulesFile::getData(std::uint32_t &dataBytes)
|
||||
{
|
||||
dataBytes = m_dataBytes;
|
||||
return m_pbData;
|
||||
std::uint8_t* DLCGameRulesFile::getData(std::uint32_t& dataBytes) {
|
||||
dataBytes = m_dataBytes;
|
||||
return m_pbData;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user