|
Botcraft 26.3
|
#include <PlayerEntity.hpp>
Public Member Functions | |
| PlayerEntity () | |
| virtual | ~PlayerEntity () |
| virtual std::string | GetName () const override |
| Get the name of this entity TYPE as a string. For player name see NetworkManager::GetMyName() | |
| virtual EntityType | GetType () const override |
| AABB | GetCollider (const Pose pose) const |
| double | GetHeight (const Pose pose) const |
| double | GetWidth (const Pose pose) const |
| double | GetEyeHeight () const |
| virtual ProtocolCraft::Json::Value | Serialize () const override |
| float | GetDataPlayerAbsorptionId () const |
| int | GetDataScoreId () const |
| std::optional< int > | GetDataShoulderParrotLeft () const |
| std::optional< int > | GetDataShoulderParrotRight () const |
| void | SetDataPlayerAbsorptionId (const float data_player_absorption_id) |
| void | SetDataScoreId (const int data_score_id) |
| void | SetDataShoulderParrotLeft (const std::optional< int > &data_shoulder_parrot_left) |
| void | SetDataShoulderParrotRight (const std::optional< int > &data_shoulder_parrot_right) |
| virtual bool | IsRemotePlayer () const override |
| double | GetAttributeAttackDamageValue () const |
| double | GetAttributeAttackSpeedValue () const |
| double | GetAttributeLuckValue () const |
| double | GetAttributePlayerBlockInteractionRangeValue () const |
| double | GetAttributePlayerBlockBreakSpeedValue () const |
| double | GetAttributePlayerSubmergedMiningSpeedValue () const |
| double | GetAttributePlayerSneakingSpeedValue () const |
| double | GetAttributePlayerMiningEfficiencyValue () const |
| double | GetAttributePlayerSweepingDamageRatioValue () const |
| double | GetAttributeWaypointReceiveRangeValue () const |
| AABB | GetCollider () const |
| double | GetHeight () const |
| double | GetWidth () const |
Public Member Functions inherited from Botcraft::AvatarEntity | |
| AvatarEntity () | |
| virtual | ~AvatarEntity () |
| virtual bool | IsAvatar () const override |
| int | GetDataPlayerMainHand () const |
| char | GetDataPlayerModeCustomisation () const |
| void | SetDataPlayerMainHand (const int data_player_main_hand) |
| void | SetDataPlayerModeCustomisation (const char data_player_mode_customisation) |
Public Member Functions inherited from Botcraft::LivingEntity | |
| LivingEntity () | |
| virtual | ~LivingEntity () |
| virtual bool | IsLivingEntity () const override |
| char | GetDataLivingEntityFlags () const |
| float | GetDataHealthId () const |
| std::vector< ProtocolCraft::Particle > | GetDataEffectParticles () const |
| bool | GetDataEffectAmbienceId () const |
| int | GetDataArrowCountId () const |
| int | GetDataStingerCountId () const |
| std::optional< Position > | GetSleepingPosId () const |
| void | SetDataLivingEntityFlags (const char data_living_entity_flags) |
| void | SetDataHealthId (const float data_health_id) |
| void | SetDataEffectParticles (const std::vector< ProtocolCraft::Particle > &data_effect_particles) |
| void | SetDataEffectAmbienceId (const bool data_effect_ambience_id) |
| void | SetDataArrowCountId (const int data_arrow_count_id) |
| void | SetDataStingerCountId (const int data_stinger_count_id) |
| void | SetSleepingPosId (const std::optional< Position > &sleeping_pos_id) |
| std::optional< EntityAttribute > | GetAttribute (const EntityAttribute::Type type) const |
| void | SetAttributeBaseValue (const EntityAttribute::Type type, const double value) |
| void | RemoveAttributeModifier (const EntityAttribute::Type type, const EntityAttribute::ModifierKey &key) |
| void | SetAttributeModifier (const EntityAttribute::Type type, const EntityAttribute::ModifierKey &key, const EntityAttribute::Modifier &modifier) |
| void | ClearModifiers (const EntityAttribute::Type type) |
| void | AddAttribute (const EntityAttribute &attribute) |
| double | GetAttributeMaxHealthValue () const |
| double | GetAttributeKnockbackResistanceValue () const |
| double | GetAttributeMovementSpeedValue () const |
| double | GetAttributeArmorValue () const |
| double | GetAttributeArmorToughnessValue () const |
| double | GetAttributeMaxAbsorptionValue () const |
| double | GetAttributeStepHeightValue () const |
| double | GetAttributeScaleValue () const |
| double | GetAttributeGravityValue () const |
| double | GetAttributeSafeFallDistanceValue () const |
| double | GetAttributeFallDamageMultiplierValue () const |
| double | GetAttributeJumpStrengthValue () const |
| double | GetAttributeOxygenBonusValue () const |
| double | GetAttributeBurningTimeValue () const |
| double | GetAttributeExplosionKnockbackResistanceValue () const |
| double | GetAttributeWaterMovementEfficiencyValue () const |
| double | GetAttributeMovementEfficiencyValue () const |
| double | GetAttributeAttackKnockbackValue () const |
| double | GetAttributeCameraDistanceValue () const |
| double | GetAttributeWaypointTransmitRangeValue () const |
| double | GetAttributeEntityInteractionRangeValue () const |
| double | GetAttributeBouncinessValue () const |
| double | GetAttributeAirDragModifierValue () const |
| double | GetAttributeFrictionModifierValue () const |
| double | GetAttributeNameTagDistanceValue () const |
| double | GetAttributeBelowNameDistanceValue () const |
Public Member Functions inherited from Botcraft::Entity | |
| Entity () | |
| virtual | ~Entity () |
| AABB | GetCollider () const |
| double | GetWidth () const |
| double | GetHeight () const |
| void | LoadMetadataFromRawArray (const std::vector< unsigned char > &data) |
| char | GetDataSharedFlagsId () const |
| bool | GetDataSharedFlagsId (const EntitySharedFlagsId id) const |
| int | GetDataAirSupplyId () const |
| std::optional< ProtocolCraft::Chat > | GetDataCustomName () const |
| bool | GetDataCustomNameVisible () const |
| bool | GetDataSilent () const |
| bool | GetDataNoGravity () const |
| Pose | GetDataPose () const |
| int | GetDataTicksFrozen () const |
| void | SetDataSharedFlagsId (const char data_shared_flags_id) |
| void | SetDataSharedFlagsId (const EntitySharedFlagsId id, const bool b) |
| void | SetDataAirSupplyId (const int data_air_supply_id) |
| void | SetDataCustomName (const std::optional< ProtocolCraft::Chat > &data_custom_name) |
| void | SetDataCustomNameVisible (const bool data_custom_name_visible) |
| void | SetDataSilent (const bool data_silent) |
| void | SetDataNoGravity (const bool data_no_gravity) |
| void | SetDataPose (const Pose data_pose) |
| void | SetDataTicksFrozen (const int data_ticks_frozen) |
| int | GetEntityID () const |
| ProtocolCraft::UUID | GetUUID () const |
| Vector3< double > | GetPosition () const |
| double | GetX () const |
| double | GetY () const |
| double | GetZ () const |
| float | GetYaw () const |
| float | GetPitch () const |
| Vector3< double > | GetSpeed () const |
| double | GetSpeedX () const |
| double | GetSpeedY () const |
| double | GetSpeedZ () const |
| bool | GetOnGround () const |
| std::map< EquipmentSlot, ProtocolCraft::Slot > | GetEquipments () const |
| ProtocolCraft::Slot | GetEquipment (const EquipmentSlot slot) const |
| std::vector< EntityEffect > | GetEffects () const |
| std::vector< Renderer::Face > | GetFaces (const bool reset_uptodate_status) |
| bool | GetAreRenderedFacesUpToDate () const |
| void | SetEntityID (const int entity_id_) |
| void | SetUUID (const ProtocolCraft::UUID &uuid_) |
| virtual void | SetPosition (const Vector3< double > &position_) |
| virtual void | SetX (const double x_) |
| virtual void | SetY (const double y_) |
| virtual void | SetZ (const double z_) |
| virtual void | SetYaw (const float yaw_) |
| virtual void | SetPitch (const float pitch_) |
| void | AddSpeed (const Vector3< double > &delta) |
| void | SetSpeed (const Vector3< double > &speed_) |
| void | SetSpeedX (const double speed_x_) |
| void | SetSpeedY (const double speed_y_) |
| void | SetSpeedZ (const double speed_z_) |
| void | SetOnGround (const bool on_ground_) |
| void | SetEquipment (const EquipmentSlot slot, const ProtocolCraft::Slot &item) |
| void | SetEffects (const std::vector< EntityEffect > &effects_) |
| void | AddEffect (const EntityEffect &effect) |
| void | RemoveEffect (const EntityEffectType type) |
| void | SetAreRenderedFacesUpToDate (const bool are_rendered_faces_up_to_date_) |
| virtual bool | IsLocalPlayer () const |
| virtual bool | IsAbstractArrow () const |
| virtual bool | IsAnimal () const |
| virtual bool | IsAmbientCreature () const |
| virtual bool | IsMonster () const |
| virtual bool | IsDisplay () const |
| virtual bool | IsVehicle () const |
| virtual bool | IsTamableAnimal () const |
| virtual bool | IsAbstractSchoolingFish () const |
| virtual bool | IsWaterAnimal () const |
| virtual bool | IsAbstractChestedHorse () const |
| virtual bool | IsAbstractHurtingProjectile () const |
| virtual bool | IsMob () const |
| virtual bool | IsSpellcasterIllager () const |
| virtual bool | IsProjectile () const |
| virtual bool | IsAbstractHorse () const |
| virtual bool | IsAbstractGolem () const |
| virtual bool | IsHangingEntity () const |
| virtual bool | IsFireball () const |
| virtual bool | IsAbstractMinecart () const |
| virtual bool | IsAbstractCow () const |
| virtual bool | IsAbstractMinecartContainer () const |
| virtual bool | IsShoulderRidingEntity () const |
| virtual bool | IsAbstractPiglin () const |
| virtual bool | IsAbstractIllager () const |
| virtual bool | IsAbstractThrownPotion () const |
| virtual bool | IsAbstractFish () const |
| virtual bool | IsRaider () const |
| virtual bool | IsAbstractSkeleton () const |
| virtual bool | IsThrowableItemProjectile () const |
| virtual bool | IsAbstractVillager () const |
| virtual bool | IsAgeableMob () const |
| virtual bool | IsPathfinderMob () const |
| virtual bool | IsPatrollingMonster () const |
| virtual bool | IsThrowableProjectile () const |
| virtual bool | IsAbstractWindCharge () const |
| virtual bool | IsBlockAttachedEntity () const |
| virtual bool | IsAbstractBoat () const |
| virtual bool | IsAbstractChestBoat () const |
| virtual bool | IsAgeableWaterCreature () const |
| virtual bool | IsBoat () const |
| virtual bool | IsChestBoat () const |
| virtual bool | IsChestRaft () const |
| virtual bool | IsRaft () const |
| virtual bool | IsAbstractNautilus () const |
| virtual bool | IsAbstractCubeMob () const |
Static Public Member Functions | |
| static std::string | GetClassName () |
| static EntityType | GetClassType () |
Static Public Member Functions inherited from Botcraft::Entity | |
| static std::shared_ptr< Entity > | CreateEntity (const EntityType type) |
Static Protected Attributes | |
| static constexpr int | metadata_count = static_cast<int>(metadata_names.size()) |
| static constexpr int | hierarchy_metadata_count = AvatarEntity::metadata_count + AvatarEntity::hierarchy_metadata_count |
Static Protected Attributes inherited from Botcraft::AvatarEntity | |
| static constexpr int | metadata_count = static_cast<int>(metadata_names.size()) |
| static constexpr int | hierarchy_metadata_count = LivingEntity::metadata_count + LivingEntity::hierarchy_metadata_count |
Static Protected Attributes inherited from Botcraft::LivingEntity | |
| static constexpr int | metadata_count = static_cast<int>(metadata_names.size()) |
| static constexpr int | hierarchy_metadata_count = Entity::metadata_count + Entity::hierarchy_metadata_count |
Static Protected Attributes inherited from Botcraft::Entity | |
| static constexpr int | metadata_count = static_cast<int>(metadata_names.size()) |
| static constexpr int | hierarchy_metadata_count = 0 |
Static Private Attributes | |
| static constexpr std::array | metadata_names |
Additional Inherited Members | |
Static Public Attributes inherited from Botcraft::LivingEntity | |
| static const std::string | speed_modifier_powder_snow_key = "minecraft:powder_snow" |
| static const std::string | speed_modifier_sprinting_key = "minecraft:sprinting" |
Static Protected Member Functions inherited from Botcraft::Entity | |
| template<size_t N> | |
| static constexpr int | FindMetadataIndex (const std::array< std::string_view, N > &names, const std::string_view name) |
Protected Attributes inherited from Botcraft::LivingEntity | |
| std::map< EntityAttribute::Type, EntityAttribute > | attributes |
Protected Attributes inherited from Botcraft::Entity | |
| std::shared_mutex | entity_mutex |
| int | entity_id |
| ProtocolCraft::UUID | uuid |
| Vector3< double > | position |
| float | yaw |
| float | pitch |
| Vector3< double > | speed |
| bool | on_ground |
| std::map< EquipmentSlot, ProtocolCraft::Slot > | equipments |
| Items on this entity. | |
| std::vector< EntityEffect > | effects |
| std::vector< std::any > | metadata |
| std::vector< FaceDescriptor > | face_descriptors |
| std::vector< Renderer::Face > | faces |
| bool | are_rendered_faces_up_to_date |
Definition at line 15 of file PlayerEntity.hpp.
| Botcraft::PlayerEntity::PlayerEntity | ( | ) |
Definition at line 5 of file PlayerEntity.cpp.
References Botcraft::EntityAttribute::AttackDamage, Botcraft::EntityAttribute::AttackSpeed, Botcraft::LivingEntity::attributes, Botcraft::EntityAttribute::EntityInteractionRange, hierarchy_metadata_count, Botcraft::EntityAttribute::Luck, Botcraft::Entity::metadata, metadata_count, Botcraft::EntityAttribute::MovementSpeed, Botcraft::EntityAttribute::PlayerBlockBreakSpeed, Botcraft::EntityAttribute::PlayerBlockInteractionRange, Botcraft::EntityAttribute::PlayerMiningEfficiency, Botcraft::EntityAttribute::PlayerSneakingSpeed, Botcraft::EntityAttribute::PlayerSubmergedMiningSpeed, Botcraft::EntityAttribute::PlayerSweepingDamageRatio, SetDataPlayerAbsorptionId(), Botcraft::AvatarEntity::SetDataPlayerMainHand(), Botcraft::AvatarEntity::SetDataPlayerModeCustomisation(), SetDataScoreId(), SetDataShoulderParrotLeft(), SetDataShoulderParrotRight(), Botcraft::EntityAttribute::WaypointReceiveRange, and Botcraft::EntityAttribute::WaypointTransmitRange.
|
virtual |
Definition at line 45 of file PlayerEntity.cpp.
| double Botcraft::PlayerEntity::GetAttributeAttackDamageValue | ( | ) | const |
Definition at line 250 of file PlayerEntity.cpp.
References Botcraft::EntityAttribute::AttackDamage, Botcraft::LivingEntity::attributes, and Botcraft::Entity::entity_mutex.
Referenced by Serialize().
| double Botcraft::PlayerEntity::GetAttributeAttackSpeedValue | ( | ) | const |
Definition at line 256 of file PlayerEntity.cpp.
References Botcraft::EntityAttribute::AttackSpeed, Botcraft::LivingEntity::attributes, and Botcraft::Entity::entity_mutex.
Referenced by Serialize().
| double Botcraft::PlayerEntity::GetAttributeLuckValue | ( | ) | const |
Definition at line 262 of file PlayerEntity.cpp.
References Botcraft::LivingEntity::attributes, Botcraft::Entity::entity_mutex, and Botcraft::EntityAttribute::Luck.
Referenced by Serialize().
| double Botcraft::PlayerEntity::GetAttributePlayerBlockBreakSpeedValue | ( | ) | const |
Definition at line 283 of file PlayerEntity.cpp.
References Botcraft::LivingEntity::attributes, Botcraft::Entity::entity_mutex, and Botcraft::EntityAttribute::PlayerBlockBreakSpeed.
Referenced by Serialize().
| double Botcraft::PlayerEntity::GetAttributePlayerBlockInteractionRangeValue | ( | ) | const |
Definition at line 269 of file PlayerEntity.cpp.
References Botcraft::LivingEntity::attributes, Botcraft::Entity::entity_mutex, and Botcraft::EntityAttribute::PlayerBlockInteractionRange.
Referenced by Serialize().
| double Botcraft::PlayerEntity::GetAttributePlayerMiningEfficiencyValue | ( | ) | const |
Definition at line 308 of file PlayerEntity.cpp.
References Botcraft::LivingEntity::attributes, Botcraft::Entity::entity_mutex, and Botcraft::EntityAttribute::PlayerMiningEfficiency.
Referenced by Serialize().
| double Botcraft::PlayerEntity::GetAttributePlayerSneakingSpeedValue | ( | ) | const |
Definition at line 297 of file PlayerEntity.cpp.
References Botcraft::Entity::entity_mutex, and GetAttributePlayerSneakingSpeedValueImpl().
Referenced by Serialize().
|
protected |
Definition at line 303 of file PlayerEntity.cpp.
References Botcraft::LivingEntity::attributes, and Botcraft::EntityAttribute::PlayerSneakingSpeed.
Referenced by GetAttributePlayerSneakingSpeedValue().
| double Botcraft::PlayerEntity::GetAttributePlayerSubmergedMiningSpeedValue | ( | ) | const |
Definition at line 291 of file PlayerEntity.cpp.
References Botcraft::LivingEntity::attributes, Botcraft::Entity::entity_mutex, and Botcraft::EntityAttribute::PlayerSubmergedMiningSpeed.
Referenced by Serialize().
| double Botcraft::PlayerEntity::GetAttributePlayerSweepingDamageRatioValue | ( | ) | const |
Definition at line 314 of file PlayerEntity.cpp.
References Botcraft::LivingEntity::attributes, Botcraft::Entity::entity_mutex, and Botcraft::EntityAttribute::PlayerSweepingDamageRatio.
Referenced by Serialize().
| double Botcraft::PlayerEntity::GetAttributeWaypointReceiveRangeValue | ( | ) | const |
Definition at line 322 of file PlayerEntity.cpp.
References Botcraft::LivingEntity::attributes, Botcraft::Entity::entity_mutex, and Botcraft::EntityAttribute::WaypointReceiveRange.
Referenced by Serialize().
|
static |
Definition at line 106 of file PlayerEntity.cpp.
|
static |
Definition at line 111 of file PlayerEntity.cpp.
References Botcraft::Player.
| AABB Botcraft::Entity::GetCollider | ( | ) | const |
Definition at line 82 of file Entity.cpp.
Definition at line 62 of file PlayerEntity.cpp.
References Botcraft::Entity::entity_mutex, and GetColliderImpl().
|
protected |
Definition at line 315 of file Entity.cpp.
Referenced by GetCollider().
Definition at line 368 of file PlayerEntity.cpp.
References GetHeight(), GetWidth(), Botcraft::Entity::position, Botcraft::Vector3< T >::x, Botcraft::Vector3< T >::y, and Botcraft::Vector3< T >::z.
| float Botcraft::PlayerEntity::GetDataPlayerAbsorptionId | ( | ) | const |
Definition at line 159 of file PlayerEntity.cpp.
References BOTCRAFT_ENTITY_METADATA_INDEX.
Referenced by Serialize().
| int Botcraft::PlayerEntity::GetDataScoreId | ( | ) | const |
Definition at line 164 of file PlayerEntity.cpp.
References BOTCRAFT_ENTITY_METADATA_INDEX.
Referenced by Serialize().
| std::optional< int > Botcraft::PlayerEntity::GetDataShoulderParrotLeft | ( | ) | const |
Definition at line 190 of file PlayerEntity.cpp.
References BOTCRAFT_ENTITY_METADATA_INDEX.
Referenced by Serialize().
| std::optional< int > Botcraft::PlayerEntity::GetDataShoulderParrotRight | ( | ) | const |
Definition at line 195 of file PlayerEntity.cpp.
References BOTCRAFT_ENTITY_METADATA_INDEX.
Referenced by Serialize().
| double Botcraft::PlayerEntity::GetEyeHeight | ( | ) | const |
Definition at line 99 of file PlayerEntity.cpp.
References Botcraft::Entity::entity_mutex, and GetEyeHeightImpl().
|
protectedvirtual |
Definition at line 330 of file PlayerEntity.cpp.
References Botcraft::Crouching, Botcraft::FallFlying, Botcraft::Entity::GetDataPoseImpl(), Botcraft::SpinAttack, and Botcraft::Swimming.
Referenced by GetEyeHeight(), and Botcraft::LocalPlayer::LookAt().
| double Botcraft::Entity::GetHeight | ( | ) | const |
Definition at line 84 of file Entity.cpp.
Referenced by GetColliderImpl(), and GetHeightImpl().
| double Botcraft::PlayerEntity::GetHeight | ( | const Pose | pose | ) | const |
Definition at line 68 of file PlayerEntity.cpp.
References Botcraft::Crouching, Botcraft::Dying, Botcraft::FallFlying, Botcraft::Sleeping, Botcraft::SpinAttack, and Botcraft::Swimming.
|
overrideprotectedvirtual |
Reimplemented from Botcraft::Entity.
Definition at line 358 of file PlayerEntity.cpp.
References Botcraft::Entity::GetDataPoseImpl(), and GetHeight().
|
overridevirtual |
Get the name of this entity TYPE as a string. For player name see NetworkManager::GetMyName()
Implements Botcraft::Entity.
Definition at line 51 of file PlayerEntity.cpp.
|
overridevirtual |
Implements Botcraft::Entity.
Definition at line 56 of file PlayerEntity.cpp.
References Botcraft::Player.
| double Botcraft::Entity::GetWidth | ( | ) | const |
Definition at line 83 of file Entity.cpp.
Referenced by GetColliderImpl(), and GetWidthImpl().
| double Botcraft::PlayerEntity::GetWidth | ( | const Pose | pose | ) | const |
Definition at line 86 of file PlayerEntity.cpp.
References Botcraft::Dying, and Botcraft::Sleeping.
|
overrideprotectedvirtual |
Reimplemented from Botcraft::Entity.
Definition at line 349 of file PlayerEntity.cpp.
References Botcraft::Entity::GetDataPoseImpl(), and GetWidth().
|
overridevirtual |
Reimplemented from Botcraft::Entity.
Reimplemented in Botcraft::LocalPlayer.
Definition at line 244 of file PlayerEntity.cpp.
|
overridevirtual |
Reimplemented from Botcraft::AvatarEntity.
Definition at line 117 of file PlayerEntity.cpp.
References GetAttributeAttackDamageValue(), GetAttributeAttackSpeedValue(), Botcraft::LivingEntity::GetAttributeEntityInteractionRangeValue(), GetAttributeLuckValue(), GetAttributePlayerBlockBreakSpeedValue(), GetAttributePlayerBlockInteractionRangeValue(), GetAttributePlayerMiningEfficiencyValue(), GetAttributePlayerSneakingSpeedValue(), GetAttributePlayerSubmergedMiningSpeedValue(), GetAttributePlayerSweepingDamageRatioValue(), GetAttributeWaypointReceiveRangeValue(), GetDataPlayerAbsorptionId(), Botcraft::AvatarEntity::GetDataPlayerMainHand(), Botcraft::AvatarEntity::GetDataPlayerModeCustomisation(), GetDataScoreId(), GetDataShoulderParrotLeft(), GetDataShoulderParrotRight(), and Botcraft::LivingEntity::Serialize().
| void Botcraft::PlayerEntity::SetDataPlayerAbsorptionId | ( | const float | data_player_absorption_id | ) |
Definition at line 202 of file PlayerEntity.cpp.
References BOTCRAFT_ENTITY_METADATA_INDEX, and Botcraft::Entity::SetMetadata().
Referenced by PlayerEntity().
| void Botcraft::PlayerEntity::SetDataScoreId | ( | const int | data_score_id | ) |
Definition at line 207 of file PlayerEntity.cpp.
References BOTCRAFT_ENTITY_METADATA_INDEX, and Botcraft::Entity::SetMetadata().
Referenced by PlayerEntity().
| void Botcraft::PlayerEntity::SetDataShoulderParrotLeft | ( | const std::optional< int > & | data_shoulder_parrot_left | ) |
Definition at line 233 of file PlayerEntity.cpp.
References BOTCRAFT_ENTITY_METADATA_INDEX, and Botcraft::Entity::SetMetadata().
Referenced by PlayerEntity().
| void Botcraft::PlayerEntity::SetDataShoulderParrotRight | ( | const std::optional< int > & | data_shoulder_parrot_right | ) |
Definition at line 238 of file PlayerEntity.cpp.
References BOTCRAFT_ENTITY_METADATA_INDEX, and Botcraft::Entity::SetMetadata().
Referenced by PlayerEntity().
|
staticconstexprprotected |
Definition at line 37 of file PlayerEntity.hpp.
Referenced by PlayerEntity().
|
staticconstexprprotected |
Definition at line 33 of file PlayerEntity.hpp.
Referenced by PlayerEntity().
|
staticconstexprprivate |
Definition at line 19 of file PlayerEntity.hpp.