LibAC-cpp/src/nbt/EndTag.cpp
2024-07-30 22:59:35 -07:00

59 lines
No EOL
1.2 KiB
C++

#include "EndTag.h"
#include "Tag.h" // Ensure you include the Tag class header
#include <iostream>
#include <iomanip> // For std::setw if needed
namespace nbt
{
EndTag::EndTag() : Tag()
{
// Constructor implementation if needed
}
EndTag::~EndTag(){
}
void EndTag::readValue(ByteLayer &data)
{
// Implementation here
}
void EndTag::writeValue(ByteLayer &data) const
{
// Implementation here
}
TagType EndTag::getTagType() const
{
return TagType::End;
}
void EndTag::setValue(const dynamic &val)
{
// Implementation here
}
dynamic EndTag::getValue() const
{
// Implementation here
return new dynamic(new string("")); // Return appropriate value
}
void EndTag::prettyPrint(int indent, bool recurse) const
{
std::cout << std::setw(indent) << std::setfill('\t') << "" << Tag::getCanonicalName(getTagType());
}
void EndTag::writeStringifiedValue(StringBuilder &builder, int indent, bool isList) const
{
// Implementation here
}
void EndTag::readStringifiedValue(StringReader &reader)
{
// Implementation here
}
}