Makes some stuff work
This commit is contained in:
parent
43e16ce945
commit
e5a3717e64
24 changed files with 2048 additions and 1 deletions
59
src/nbt/EndTag.cpp
Normal file
59
src/nbt/EndTag.cpp
Normal file
|
@ -0,0 +1,59 @@
|
|||
#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)
|
||||
{
|
||||
// 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
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue