3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/certificates/identity/PlayerAuthenticationType.h"
7#include "mc/client/world/actor/player/ClientLocatorBar.h"
8#include "mc/common/Brightness.h"
9#include "mc/common/SubClientId.h"
10#include "mc/deps/core/math/Vec3.h"
11#include "mc/deps/core/string/HashedString.h"
12#include "mc/deps/core/utility/CrashDumpLogStringID.h"
13#include "mc/deps/core/utility/NonOwnerPointer.h"
14#include "mc/deps/core/utility/pub_sub/Publisher.h"
15#include "mc/deps/core/utility/pub_sub/Subscription.h"
16#include "mc/deps/shared_types/legacy/ContainerType.h"
17#include "mc/deps/shared_types/legacy/EquipmentSlot.h"
18#include "mc/deps/shared_types/legacy/Side.h"
19#include "mc/deps/shared_types/legacy/actor/ArmorSlot.h"
20#include "mc/events/OpenCodeMethod.h"
21#include "mc/network/packet/PlayerRespawnState.h"
22#include "mc/platform/UUID.h"
23#include "mc/world/actor/ActorEvent.h"
24#include "mc/world/actor/ActorInitializationMethod.h"
25#include "mc/world/actor/ActorResetRule.h"
26#include "mc/world/actor/ActorSwingSource.h"
27#include "mc/world/actor/bhave/BehaviorStatus.h"
28#include "mc/world/actor/player/BedSleepingResult.h"
29#include "mc/world/actor/player/Player.h"
30#include "mc/world/inventory/InventoryMenu.h"
31#include "mc/world/inventory/network/TypedClientNetId.h"
32#include "mc/world/item/HandSlot.h"
33#include "mc/world/item/ItemStack.h"
34#include "mc/world/level/BlockPos.h"
35#include "mc/world/level/GameType.h"
36#include "mc/world/level/chunk/NetworkChunkSubscriber.h"
90 LLAPI
void closeContainerScreen(::SharedTypes::Legacy::ContainerType containerType);
107 virtual ~RegionListener() =
default;
109 virtual void onRegionDestroyed() = 0;
117 ::ll::TypedStorage<8, 8, int64> mEmoteButtonDownStartTime;
118 ::ll::TypedStorage<1, 1, bool> mIsExpediateSelectionActive;
125 enum class FallState : uchar {
127 TickCheckAliveTicks = 1,
135 ::ll::TypedStorage<1, 1, ::LocalPlayer::FellFromWorldHeightAchievementTracker::FallState> mState;
136 ::ll::TypedStorage<4, 4, int> mCheckAliveTicks;
137 ::ll::TypedStorage<1, 1, bool> mHasSentAchievement;
145 ::ll::TypedStorage<1, 1, bool> mIsUndergroundCurrentTick;
146 ::ll::TypedStorage<1, 1, bool> mWasUndergroundPreviousTick;
147 ::ll::TypedStorage<1, 1, bool> mForceInitialEventingPropertyUpdate;
148 ::ll::TypedStorage<4, 12, ::BlockPos> mPreviousBlockPos;
149 ::ll::TypedStorage<1, 1, ::Brightness> mPreviousNaturalLightLevel;
157 ::ll::TypedStorage<1, 1, ::SharedTypes::Legacy::ContainerType> mContainerTypeToClose;
158 ::ll::TypedStorage<1, 1, bool> mShouldCloseContainerScreen;
165 ::ll::TypedStorage<8, 112, ::InventoryMenu> mInventoryMenu;
166 ::ll::TypedStorage<4, 4, float> mPortalEffectTime;
167 ::ll::TypedStorage<4, 4, float> mOPortalEffectTime;
168 ::ll::TypedStorage<8, 16, ::LocalPlayer::EmoteExpediateData> mEmoteExpediateData;
169 ::ll::TypedStorage<4, 20, ::LocalPlayer::UndergroundTelemetryHeuristic> mUndergroundTelemetryHeuristic;
170 ::ll::TypedStorage<4, 12, ::LocalPlayer::FellFromWorldHeightAchievementTracker>
171 mFellFromWorldHeightAchievementTracker;
172 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mLowMemorySubscription;
173 ::ll::TypedStorage<8, 8, ::IClientInstance&> mClient;
174 ::ll::TypedStorage<4, 4, int> mCanCloseScreenOnHurtAfterTime;
175 ::ll::TypedStorage<4, 12, ::Vec3> mlastFrameDelta;
176 ::ll::TypedStorage<1, 1, bool> mEnablePortalEffect;
177 ::ll::TypedStorage<8, 152, ::ItemStack> mSentOffhandItem;
178 ::ll::TypedStorage<8, 152, ::ItemStack> mSentInventoryItem;
179 ::ll::TypedStorage<4, 4, int> mSentSelectedSlot;
180 ::ll::TypedStorage<1, 2, ::LocalPlayer::ContainerCloseInfo> mContainerCloseInfo;
181 ::ll::TypedStorage<8, 72, ::ClientLocatorBar> mClientLocatorBar;
182 ::ll::TypedStorage<8, 8, uint64> mSessionTickCount;
183 ::ll::TypedStorage<8, 24, ::std::vector<::LocalPlayer::RegionListener*>> mRegionListeners;
184 ::ll::TypedStorage<1, 1, bool> mDamagedByMobThisFrame;
185 ::ll::TypedStorage<1, 1, bool> mIsTeacher;
186 ::ll::TypedStorage<1, 1, bool> mIsExternalCommunicationAllowed;
187 ::ll::TypedStorage<1, 1, bool> mHasBeenInitialized;
188 ::ll::TypedStorage<1, 1, bool> mPrevTransitionBlocking;
189 ::ll::TypedStorage<8, 32, ::std::string> mInventorySearchString;
190 ::ll::TypedStorage<8, 32, ::std::string> mFurnaceSearchString;
191 ::ll::TypedStorage<8, 32, ::std::string> mBlastFurnaceSearchString;
192 ::ll::TypedStorage<8, 32, ::std::string> mSmokerSearchString;
193 ::ll::TypedStorage<8, 64, ::std::unordered_set<::mce::UUID>> mAllSentEmotePieceIds;
194 ::ll::TypedStorage<8, 48, ::HashedString> mCurrentStructureFeature;
195 ::ll::TypedStorage<8, 152, ::ItemStack> mItemActivationItem;
196 ::ll::TypedStorage<4, 4, int> mItemActivationTicks;
197 ::ll::TypedStorage<4, 4, float> mItemActivationOffsetX;
198 ::ll::TypedStorage<4, 4, float> mItemActivationOffsetY;
199 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::PlayerAutomationObserver>> mAutomationObserver;
200 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::SubChunkRequestSubscriber>> mSubChunkSubscriber;
201 ::ll::TypedStorage<4, 4, uint> mTickingAreaChunkIndexToCheckForRequests;
202 ::ll::TypedStorage<8, 32, ::NetworkChunkSubscriber> mChunkSubscriberView;
203 ::ll::TypedStorage<1, 1, ::PlayerRespawnState> mClientRespawnState;
204 ::ll::TypedStorage<4, 12, ::Vec3> mClientRespawnPotentialPosition;
205 ::ll::TypedStorage<4, 4, int> mRenderChunkRadiusLowMemoryWatermark;
206 ::ll::TypedStorage<8, 32, ::std::string> mLastDeathInfo;
207 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::Editor::IEditorPlayer>> mEditorClientPlayer;
208 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::Bedrock::DDUI::DataStoreSyncClient>> mDataStoreSync;
209 ::ll::TypedStorage<4, 4, float> mCurrentExpCache;
210 ::ll::TypedStorage<4, 4, int> mCurrentLevelCache;
211 ::ll::TypedStorage<8, 8, ::std::chrono::steady_clock::time_point> mLastLevelChangedTimePoint;
212 ::ll::TypedStorage<8, 8, ::std::chrono::steady_clock::time_point> mLastXPContainerClosedTimePoint;
213 ::ll::TypedStorage<1, 1, bool> mPreparedMainChunkSource;
214 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mVisibleTouchJoystickLockSubscription;
215 ::ll::TypedStorage<8, 48, ::Bedrock::PubSub::Publisher<void(), ::Bedrock::PubSub::ThreadModel::SingleThreaded, 0>>
216 mClientPlayerGameTypePublisher;
217 ::ll::TypedStorage<8, 48, ::Bedrock::PubSub::Publisher<void(), ::Bedrock::PubSub::ThreadModel::SingleThreaded, 0>>
218 mLocalPlayerDeathPublisher;
219 ::ll::TypedStorage<8, 48, ::Bedrock::PubSub::Publisher<void(), ::Bedrock::PubSub::ThreadModel::SingleThreaded, 0>>
220 mLocalPlayerRespawnPublisher;
225 LocalPlayer& operator=(LocalPlayer
const&);
226 LocalPlayer(LocalPlayer
const&);
232 virtual ~LocalPlayer() =
default;
234 virtual void reloadHardcodedClient(::ActorInitializationMethod method) ;
236 virtual void prepareRegion(::ChunkSource& mainChunkSource) ;
238 virtual void suspendRegion() ;
240 virtual void destroyRegion() ;
242 virtual void tickWorld(::Tick
const& currentTick) ;
244 virtual void frameUpdate(::FrameUpdateContextBase& frameUpdateContextBase) ;
246 virtual ::std::vector<::ChunkPos>
const& getTickingOffsets() const ;
248 virtual
void normalTick() ;
250 virtual
bool startRiding(::Actor& vehicle,
bool forceRiding) ;
252 virtual
void aiStep() ;
254 virtual
void addAdditionalSaveData(::CompoundTag& entityTag) const ;
256 virtual
void readAdditionalSaveData(::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper) ;
258 virtual
void deleteContainerManager() ;
260 virtual
void openPortfolio() ;
262 virtual
void openBook(
int bookSlot,
bool editable,
int page, ::BlockActor* lectern) ;
264 virtual
void openChalkboard(::ChalkboardBlockActor& chalkboard,
bool showLockToggle) ;
266 virtual
void openNpcInteractScreen(::std::shared_ptr<::INpcDialogueData> data) ;
268 virtual
void openTrading(::ActorUniqueID const& uniqueID,
bool useNewScreen) ;
270 virtual
void openInventory() ;
272 virtual
void setContainerData(::IContainerManager& menu,
int id,
int value) ;
274 virtual
void slotChanged(
275 ::IContainerManager& menu,
276 ::Container& container,
278 ::ItemStack const& oldItem,
279 ::ItemStack const& newItem,
283 virtual
void refreshContainer(::IContainerManager& menu) ;
285 virtual
bool isLoading() const ;
287 virtual
void stopLoading() ;
289 virtual
void respawn() ;
291 virtual
void displayClientMessage(
292 ::std::
string const& message,
293 ::std::optional<::std::
string> const filteredMessage
296 virtual
void displayTextObjectMessage(
297 ::TextObjectRoot const& textObject,
298 ::std::
string const& fromXuid,
299 ::std::
string const& fromPlatformId
302 virtual
void displayWhisperMessage(
303 ::std::
string const& author,
304 ::std::
string const& message,
305 ::std::optional<::std::
string> const filteredMessage,
306 ::std::
string const& xuid,
307 ::std::
string const& platformId
310 virtual ::BedSleepingResult
311 startSleepInBed(::BlockPos const& pos,
bool setsRespawn,
float sleepOffset) ;
313 virtual
void stopSleepInBed(
bool forcefulWakeUp,
bool updateLevelList) ;
315 virtual
bool canStartSleepInBed() ;
317 virtual
void handleInsidePortal(::BlockPos const& portalPos) ;
319 virtual
bool swing(::ActorSwingSource swingSource, ::HandSlot handSlot) ;
321 virtual
void setSneaking(
bool _isSneaking) ;
323 virtual
void setSprinting(
bool _isSprinting) ;
325 virtual
void playEmote(::std::
string const& pieceId,
bool const playChatMessage) ;
327 virtual
void resetRot() ;
329 virtual
void resetUserPos(::ActorResetRule resetRule) ;
331 virtual
void teleportTo(
333 bool shouldStopRiding,
335 int sourceEntityType,
339 virtual
void changeDimension(::DimensionType toId) ;
341 virtual
void changeDimension(::ChangeDimensionPacket const& packet) ;
343 virtual
void setPlayerGameType(::GameType gameType) ;
345 virtual ::ActorUniqueID getControllingPlayer() const ;
347 virtual
void _fireDimensionChanged() ;
349 virtual
bool isAutoJumpEnabled() const ;
351 virtual
bool setItemSlot(::SharedTypes::Legacy::EquipmentSlot slot, ::ItemStack const& item) ;
353 virtual
void setOffhandSlot(::ItemStack const& item) ;
355 virtual
void setArmor(::SharedTypes::Legacy::ArmorSlot slot, ::ItemStack const& item) ;
357 virtual ::IMinecraftEventing* getEventing() const ;
359 virtual uint getUserId() const ;
361 virtual
bool isInTrialMode() ;
363 virtual
void setAbilities(::LayeredAbilities const& newAbilities) ;
365 virtual
void die(::ActorDamageSource const& source) ;
367 virtual
void onEffectRemoved(::MobEffectInstance& effect) ;
369 virtual
void addExperience(
int xp) ;
371 virtual
void addLevels(
int levels) ;
373 virtual
bool isActorRelevant(::Actor const& actor) ;
375 virtual
void handleEntityEvent(::ActorEvent
id,
int data) ;
377 virtual
void checkMovementStats(::Vec3 const& d) ;
379 virtual ::HashedString getCurrentStructureFeature() const ;
381 virtual
bool isTeacher() const ;
383 virtual
bool isExternalCommunicationAllowed() const ;
385 virtual
void sendInventoryTransaction(::InventoryTransaction const& transaction) const ;
387 virtual
void sendComplexInventoryTransaction(::std::unique_ptr<::ComplexInventoryTransaction> transaction) const
390 virtual
void sendNetworkPacket(::Packet& packet) const ;
392 virtual ::PlayerEventCoordinator& getPlayerEventCoordinator() ;
394 virtual
void applySnapshot(
395 ::EntityContext const& snapshotEntity,
396 ::MovementDataExtractionUtility::SnapshotAccessor const& originalSnapshotEntity
399 virtual
void destroyEditorPlayer() ;
401 virtual ::Bedrock::NonOwnerPointer<::Editor::IEditorPlayer> getEditorPlayer() const ;
403 virtual
void requestMissingSubChunk(::SubChunkPos const& scp) ;
405 virtual uchar getMaxChunkBuildRadius() const ;
407 virtual
void setBehaviorCommandStatus(::std::
string const& name, ::BehaviorStatus status) ;
409 virtual ::std::unique_ptr<::ISparseContainerSetListener> createSparseContainerListener() ;
411 virtual
void emitCriticalHitParticles(::Actor const& target,
int particleCount) ;
413 virtual ::ActorHurtResult
414 _hurt(::ActorDamageSource const& source,
float damage, ::HurtParameters const& hurtParameters) ;
421 ::IClientInstance& client,
423 ::std::
string const& playerName,
424 ::GameType playerGameType,
425 bool isHostingPlayer,
426 ::NetworkIdentifier const& owner,
429 ::std::
string const& deviceId,
430 ::PlayerAuthenticationType authType,
431 ::PlayerAuthenticationInfo const& authInfo,
432 ::EntityContext& entityContext
435 MCAPI
void _applyTurnDelta(::Vec2 const& turnOffset);
437 MCAPI
void _forceCameraCut();
439 MCAPI ::CrashDumpLogStringID _getCrashDumpLogCategory();
441 MCAPI
void _logCDEvent(
442 ::CrashDumpLogStringID option1,
443 ::CrashDumpLogStringID option2,
444 ::CrashDumpLogStringID option3,
445 ::CrashDumpLogStringID option4
448 MCAPI
void _prepareMainChunkSource(::ChunkPos const& center);
450 MCAPI
float checkSecondsSinceLevelChanged();
452 MCAPI
void closeNpcInteractScreen(::ActorUniqueID const& npcId);
454 MCAPI
void createEditorPlayer(::Bedrock::NonOwnerPointer<::Editor::IEditorManager> editorManager);
456 MCAPI
void describeBlock();
458 MCAPI
float getFieldOfViewModifier() const;
460 MCAPI
float getPickRange() const;
462 MCAPI
void handleArmorDamage(::ArmorSlotAndDamagePair const& armorSlotAndDamage);
464 MCAPI
void hurtTo(
int newHealth);
466 MCAPI
void localPlayerTurn(::Vec2 const& deltaRot);
468 MCAPI
void missedSwing();
470 MCAPI
void openCodeScreen(::OpenCodeMethod openMethod);
472 MCAPI
void pickBlock(::HitResult const& hitResult,
bool withData);
474 MCAPI
void playEmoteSlot(
int slotIndex,
bool playChatMessage);
476 MCAPI
void pushChangeDimensionLoadingScreen(::DimensionType toId);
478 MCAPI
void requestChunkRadius(uint chunkRadius);
480 MCAPI
void sendInput();
482 MCAPI
void setAllEmotePlayedTelemetryData(::std::
string const& emoteProductId,
int emoteSlotNumber);
484 MCAPI
void setCurrentStructureFeature(::HashedString structureFeature);
486 MCAPI
void startPaddling(::SharedTypes::Side side);
488 MCAPI
void stopPaddling(::SharedTypes::Side side);
494 MCAPI static
void _populateLegacyTransactionRequest(
495 ::ItemStackLegacyRequestId& legacyRequestId,
496 ::std::vector<::LegacySetSlot>& legacySetItemSlots,
497 ::ItemStackNetManagerClient const& itemStackNetManager
500 MCAPI static ::LocalPlayer* tryGetFromEntity(::EntityContext& entity,
bool includeRemoved);
507 ::IClientInstance& client,
509 ::std::
string const& playerName,
510 ::GameType playerGameType,
511 bool isHostingPlayer,
512 ::NetworkIdentifier const& owner,
515 ::std::
string const& deviceId,
516 ::PlayerAuthenticationType authType,
517 ::PlayerAuthenticationInfo const& authInfo,
518 ::EntityContext& entityContext
525 MCAPI
void $reloadHardcodedClient(::ActorInitializationMethod method);
527 MCAPI
void $prepareRegion(::ChunkSource& mainChunkSource);
529 MCAPI
void $suspendRegion();
531 MCAPI
void $destroyRegion();
533 MCAPI
void $tickWorld(::Tick const& currentTick);
535 MCFOLD
void $frameUpdate(::FrameUpdateContextBase& frameUpdateContextBase);
537 MCAPI ::std::vector<::ChunkPos> const& $getTickingOffsets() const;
539 MCAPI
void $normalTick();
541 MCAPI
bool $startRiding(::Actor& vehicle,
bool forceRiding);
543 MCAPI
void $aiStep();
545 MCAPI
void $addAdditionalSaveData(::CompoundTag& entityTag) const;
547 MCAPI
void $readAdditionalSaveData(::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper);
549 MCAPI
void $deleteContainerManager();
551 MCAPI
void $openPortfolio();
553 MCAPI
void $openBook(
int bookSlot,
bool editable,
int page, ::BlockActor* lectern);
555 MCAPI
void $openChalkboard(::ChalkboardBlockActor& chalkboard,
bool showLockToggle);
557 MCAPI
void $openNpcInteractScreen(::std::shared_ptr<::INpcDialogueData> data);
559 MCAPI
void $openTrading(::ActorUniqueID const& uniqueID,
bool useNewScreen);
561 MCAPI
void $openInventory();
563 MCFOLD
void $setContainerData(::IContainerManager& menu,
int id,
int value);
565 MCAPI
void $slotChanged(
566 ::IContainerManager& menu,
567 ::Container& container,
569 ::ItemStack const& oldItem,
570 ::ItemStack const& newItem,
574 MCFOLD
void $refreshContainer(::IContainerManager& menu);
576 MCAPI
bool $isLoading() const;
578 MCAPI
void $stopLoading();
580 MCAPI
void $respawn();
583 $displayClientMessage(::std::
string const& message, ::std::optional<::std::
string> const filteredMessage);
585 MCAPI
void $displayTextObjectMessage(
586 ::TextObjectRoot const& textObject,
587 ::std::
string const& fromXuid,
588 ::std::
string const& fromPlatformId
591 MCAPI
void $displayWhisperMessage(
592 ::std::
string const& author,
593 ::std::
string const& message,
594 ::std::optional<::std::
string> const filteredMessage,
595 ::std::
string const& xuid,
596 ::std::
string const& platformId
599 MCAPI ::BedSleepingResult $startSleepInBed(::BlockPos const& pos,
bool setsRespawn,
float sleepOffset);
601 MCAPI
void $stopSleepInBed(
bool forcefulWakeUp,
bool updateLevelList);
603 MCAPI
bool $canStartSleepInBed();
605 MCAPI
void $handleInsidePortal(::BlockPos const& portalPos);
607 MCAPI
bool $swing(::ActorSwingSource swingSource, ::HandSlot handSlot);
609 MCAPI
void $setSneaking(
bool _isSneaking);
611 MCAPI
void $setSprinting(
bool _isSprinting);
613 MCAPI
void $playEmote(::std::
string const& pieceId,
bool const playChatMessage);
615 MCAPI
void $resetRot();
617 MCAPI
void $resetUserPos(::ActorResetRule resetRule);
620 $teleportTo(::Vec3 const& pos,
bool shouldStopRiding,
int cause,
int sourceEntityType,
bool keepVelocity);
622 MCFOLD
void $changeDimension(::DimensionType toId);
624 MCAPI
void $changeDimension(::ChangeDimensionPacket const& packet);
626 MCAPI
void $setPlayerGameType(::GameType gameType);
628 MCFOLD ::ActorUniqueID $getControllingPlayer() const;
630 MCAPI
void $_fireDimensionChanged();
632 MCAPI
bool $isAutoJumpEnabled() const;
634 MCAPI
bool $setItemSlot(::SharedTypes::Legacy::EquipmentSlot slot, ::ItemStack const& item);
636 MCAPI
void $setOffhandSlot(::ItemStack const& item);
638 MCAPI
void $setArmor(::SharedTypes::Legacy::ArmorSlot slot, ::ItemStack const& item);
640 MCAPI ::IMinecraftEventing* $getEventing() const;
642 MCAPI uint $getUserId() const;
644 MCAPI
bool $isInTrialMode();
646 MCAPI
void $setAbilities(::LayeredAbilities const& newAbilities);
648 MCAPI
void $die(::ActorDamageSource const& source);
650 MCAPI
void $onEffectRemoved(::MobEffectInstance& effect);
652 MCFOLD
void $addExperience(
int xp);
654 MCFOLD
void $addLevels(
int levels);
656 MCFOLD
bool $isActorRelevant(::Actor const& actor);
658 MCAPI
void $handleEntityEvent(::ActorEvent
id,
int data);
660 MCAPI
void $checkMovementStats(::Vec3 const& d);
662 MCAPI ::HashedString $getCurrentStructureFeature() const;
664 MCAPI
bool $isTeacher() const;
666 MCAPI
bool $isExternalCommunicationAllowed() const;
668 MCAPI
void $sendInventoryTransaction(::InventoryTransaction const& transaction) const;
670 MCAPI
void $sendComplexInventoryTransaction(::std::unique_ptr<::ComplexInventoryTransaction> transaction) const;
672 MCAPI
void $sendNetworkPacket(::Packet& packet) const;
674 MCAPI ::PlayerEventCoordinator& $getPlayerEventCoordinator();
676 MCAPI
void $applySnapshot(
677 ::EntityContext const& snapshotEntity,
678 ::MovementDataExtractionUtility::SnapshotAccessor const& originalSnapshotEntity
681 MCAPI
void $destroyEditorPlayer();
683 MCAPI ::Bedrock::NonOwnerPointer<::Editor::IEditorPlayer> $getEditorPlayer() const;
685 MCAPI
void $requestMissingSubChunk(::SubChunkPos const& scp);
687 MCAPI uchar $getMaxChunkBuildRadius() const;
689 MCAPI
void $setBehaviorCommandStatus(::std::
string const& name, ::BehaviorStatus status);
691 MCAPI ::std::unique_ptr<::ISparseContainerSetListener> $createSparseContainerListener();
693 MCAPI
void $emitCriticalHitParticles(::Actor const& target,
int particleCount);
695 MCAPI ::ActorHurtResult
696 $_hurt(::ActorDamageSource const& source,
float damage, ::HurtParameters const& hurtParameters);
Definition ActorDamageSource.h:18
Definition ActorHurtResult.h:5
Definition DataStoreSyncClient.h:7
Definition BlockActor.h:29
Definition ChalkboardBlockActor.h:25
Definition ChangeDimensionPacket.h:19
Definition ChunkSource.h:36
Definition ComplexInventoryTransaction.h:20
Definition CompoundTag.h:18
Definition Container.h:35
Definition DataLoadHelper.h:20
Definition IEditorManager.h:25
Definition IEditorPlayer.h:17
Definition EntityContext.h:15
Definition FrameUpdateContextBase.h:5
Definition HitResult.h:18
Definition IClientInstance.h:5
Definition IContainerManager.h:16
Definition IMinecraftEventing.h:147
Definition ISparseContainerSetListener.h:11
Definition InventoryTransaction.h:18
Definition ItemStackNetManagerClient.h:37
Definition LayeredAbilities.h:20
Definition LocalPlayer.h:19
Definition LocalPlayer.h:21
Definition LocalPlayer.h:17
Definition LocalPlayer.h:27
Definition LocalPlayer.h:5
Definition MobEffectInstance.h:16
Definition NetworkIdentifier.h:10
Definition PlayerAutomationObserver.h:5
Definition PlayerEventCoordinator.h:20
Definition SubChunkPos.h:5
Definition SubChunkRequestSubscriber.h:13
Definition TextObjectRoot.h:14
Definition ActorUniqueID.h:5
Definition ArmorSlotAndDamagePair.h:8
Definition SingleThreaded.h:7
Definition DimensionType.h:5
Definition HurtParameters.h:8
Definition INpcDialogueData.h:12
Definition ItemStackLegacyRequestIdTag.h:5
Definition LegacySetSlot.h:8
Definition LocalPlayer.h:29
Definition PlayerAuthenticationInfo.h:9