NBT: Add CompoundTag::GetCompound
This commit is contained in:
parent
017fa39adc
commit
a46ad28499
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue