NBT: Add CompoundTag::GetCompound

This commit is contained in:
DankParrot 2020-08-12 18:17:47 -07:00
parent 017fa39adc
commit a46ad28499
1 changed files with 2 additions and 0 deletions

View File

@ -143,6 +143,8 @@ namespace NBT
template <typename T>
const T Get(const char* name) const;
inline const CompoundTag GetCompound(const char* name) const { return Get<CompoundTag>(name); }
const Tag operator[](const char* name) const;
};