Botcraft
1.21.4
Loading...
Searching...
No Matches
PigZombieEntity.hpp
Go to the documentation of this file.
1
#if PROTOCOL_VERSION < 579
/* < 1.16 */
2
#pragma once
3
4
#include "
botcraft/Game/Entities/entities/monster/ZombieEntity.hpp
"
5
6
namespace
Botcraft
7
{
8
class
PigZombieEntity :
public
ZombieEntity
9
{
10
protected
:
11
static
constexpr
int
metadata_count = 0;
12
static
constexpr
int
hierarchy_metadata_count = ZombieEntity::metadata_count + ZombieEntity::hierarchy_metadata_count;
13
14
public
:
15
PigZombieEntity();
16
virtual
~PigZombieEntity();
17
18
// Object related stuff
19
virtual
std::string GetName()
const override
;
20
virtual
EntityType
GetType()
const override
;
21
22
// Static stuff, for easier comparison
23
static
std::string GetClassName();
24
static
EntityType
GetClassType();
25
26
// Attribute stuff
27
// 49455a49-7ec5-45ba-b886-3b90b23a1718
28
static
constexpr
std::array<unsigned char, 16> speed_modifier_attacking_uuid = { 0x49, 0x45, 0x5A, 0x49, 0x7E, 0xC5, 0x45, 0xBA, 0xB8, 0x86, 0x3B, 0x90, 0xB2, 0x3A, 0x17, 0x18 };
29
30
protected
:
31
virtual
double
GetWidthImpl()
const override
;
32
virtual
double
GetHeightImpl()
const override
;
33
34
};
35
}
36
#endif
ZombieEntity.hpp
Botcraft
Definition
BaseNode.hpp:6
Botcraft::EntityType
EntityType
Definition
Entity.hpp:280
botcraft
include
botcraft
Game
Entities
entities
monster
PigZombieEntity.hpp
Generated by
1.9.8