Botcraft 26.3
Loading...
Searching...
No Matches
AbstractChestedHorseEntity.hpp
Go to the documentation of this file.
1#pragma once
2
4
5namespace Botcraft
6{
8 {
9 private:
10 static constexpr std::array metadata_names{
11 std::string_view("data_id_chest"),
12 };
13 protected:
14 static constexpr int metadata_count = static_cast<int>(metadata_names.size());
16
17 public:
20
21 virtual bool IsAbstractChestedHorse() const override;
22
23 virtual ProtocolCraft::Json::Value Serialize() const override;
24
25 // Metadata stuff
26 bool GetDataIdChest() const;
27
28 void SetDataIdChest(const bool data_id_chest);
29
30 };
31}
virtual ProtocolCraft::Json::Value Serialize() const override
virtual bool IsAbstractChestedHorse() const override
static constexpr int hierarchy_metadata_count
Main class, basically a JsonVariant with extra utility functions it doesn't inherit JsonVariant direc...
Definition Json.hpp:45