91 virtual void onRegionDestroyed() = 0;
105 ::ll::TypedStorage<8, 8, int64> mEmoteButtonDownStartTime;
106 ::ll::TypedStorage<1, 1, bool> mIsExpediateSelectionActive;
113 enum class FallState : uchar {
115 TickCheckAliveTicks = 1,
123 ::ll::TypedStorage<1, 1, ::LocalPlayer::FellFromWorldHeightAchievementTracker::FallState> mState;
124 ::ll::TypedStorage<4, 4, int> mCheckAliveTicks;
125 ::ll::TypedStorage<1, 1, bool> mHasSentAchievement;
133 ::ll::TypedStorage<1, 1, bool> mIsUndergroundCurrentTick;
134 ::ll::TypedStorage<1, 1, bool> mWasUndergroundPreviousTick;
135 ::ll::TypedStorage<1, 1, bool> mForceInitialEventingPropertyUpdate;
136 ::ll::TypedStorage<4, 12, ::BlockPos> mPreviousBlockPos;
137 ::ll::TypedStorage<1, 1, ::Brightness> mPreviousNaturalLightLevel;
145 ::ll::TypedStorage<1, 1, ::SharedTypes::Legacy::ContainerType> mContainerTypeToClose;
146 ::ll::TypedStorage<1, 1, bool> mShouldCloseContainerScreen;
153 ::ll::TypedStorage<8, 112, ::InventoryMenu> mInventoryMenu;
154 ::ll::TypedStorage<4, 4, float> mPortalEffectTime;
155 ::ll::TypedStorage<4, 4, float> mOPortalEffectTime;
156 ::ll::TypedStorage<8, 16, ::LocalPlayer::EmoteExpediateData> mEmoteExpediateData;
157 ::ll::TypedStorage<4, 20, ::LocalPlayer::UndergroundTelemetryHeuristic> mUndergroundTelemetryHeuristic;
158 ::ll::TypedStorage<4, 12, ::LocalPlayer::FellFromWorldHeightAchievementTracker>
159 mFellFromWorldHeightAchievementTracker;
160 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mLowMemorySubscription;
161 ::ll::TypedStorage<8, 8, ::IClientInstance&> mClient;
162 ::ll::TypedStorage<4, 4, int> mCanCloseScreenOnHurtAfterTime;
163 ::ll::TypedStorage<4, 12, ::Vec3> mlastFrameDelta;
164 ::ll::TypedStorage<1, 1, bool> mEnablePortalEffect;
165 ::ll::TypedStorage<8, 152, ::ItemStack> mSentOffhandItem;
166 ::ll::TypedStorage<8, 152, ::ItemStack> mSentInventoryItem;
167 ::ll::TypedStorage<4, 4, int> mSentSelectedSlot;
168 ::ll::TypedStorage<1, 2, ::LocalPlayer::ContainerCloseInfo> mContainerCloseInfo;
169 ::ll::TypedStorage<8, 8, uint64> mSessionTickCount;
170 ::ll::TypedStorage<8, 24, ::std::vector<::LocalPlayer::RegionListener*>> mRegionListeners;
171 ::ll::TypedStorage<1, 1, bool> mDamagedByMobThisFrame;
172 ::ll::TypedStorage<1, 1, bool> mIsTeacher;
173 ::ll::TypedStorage<1, 1, bool> mHasBeenInitialized;
174 ::ll::TypedStorage<1, 1, bool> mPrevTransitionBlocking;
175 ::ll::TypedStorage<8, 32, ::std::string> mInventorySearchString;
176 ::ll::TypedStorage<8, 64, ::std::unordered_set<::mce::UUID>> mAllSentEmotePieceIds;
177 ::ll::TypedStorage<8, 48, ::HashedString> mCurrentStructureFeature;
178 ::ll::TypedStorage<8, 152, ::ItemStack> mItemActivationItem;
179 ::ll::TypedStorage<4, 4, int> mItemActivationTicks;
180 ::ll::TypedStorage<4, 4, float> mItemActivationOffsetX;
181 ::ll::TypedStorage<4, 4, float> mItemActivationOffsetY;
182 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::PlayerAutomationObserver>> mAutomationObserver;
183 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::SubChunkRequestSubscriber>> mSubChunkSubscriber;
184 ::ll::TypedStorage<4, 4, uint> mTickingAreaChunkIndexToCheckForRequests;
185 ::ll::TypedStorage<8, 32, ::NetworkChunkSubscriber> mChunkSubscriberView;
186 ::ll::TypedStorage<1, 1, ::PlayerRespawnState> mClientRespawnState;
187 ::ll::TypedStorage<4, 12, ::Vec3> mClientRespawnPotentialPosition;
188 ::ll::TypedStorage<4, 4, int> mRenderChunkRadiusLowMemoryWatermark;
189 ::ll::TypedStorage<8, 32, ::std::string> mLastDeathInfo;
190 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::Editor::IEditorPlayer>> mEditorClientPlayer;
191 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::Bedrock::DDUI::DataStoreSyncClient>> mDataStoreSync;
192 ::ll::TypedStorage<4, 4, float> mCurrentExpCache;
193 ::ll::TypedStorage<4, 4, int> mCurrentLevelCache;
194 ::ll::TypedStorage<8, 8, ::std::chrono::steady_clock::time_point> mLastLevelChangedTimePoint;
195 ::ll::TypedStorage<8, 8, ::std::chrono::steady_clock::time_point> mLastXPContainerClosedTimePoint;
196 ::ll::TypedStorage<1, 1, bool> mPreparedMainChunkSource;
197 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mVisibleTouchJoystickLockSubscription;
213 virtual void reloadHardcodedClient(::ActorInitializationMethod) ;
219 virtual void suspendRegion() ;
222 virtual void destroyRegion() ;
225 virtual void tickWorld(
::Tick const&) ;
231 virtual ::std::vector<::ChunkPos>
const& getTickingOffsets() const ;
234 virtual
void normalTick() ;
237 virtual
bool startRiding(::
Actor& vehicle,
bool forceRiding) ;
240 virtual
void aiStep() ;
243 virtual
void addAdditionalSaveData(::
CompoundTag& tag) const ;
249 virtual
void deleteContainerManager() ;
252 virtual
void openPortfolio() ;
255 virtual
void openBook(
int,
bool,
int, ::
BlockActor*) ;
267 virtual
void openInventory() ;
280 virtual
bool isLoading() const ;
283 virtual
void stopLoading() ;
286 virtual
void respawn() ;
289 virtual
void displayClientMessage(
290 ::
std::
string const& message,
291 ::
std::optional<::
std::
string> const filteredMessage
295 virtual
void displayTextObjectMessage(
297 ::
std::
string const& fromXuid,
298 ::
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
311 virtual ::BedSleepingResult startSleepInBed(::
BlockPos const& bedBlockPos) ;
314 virtual
void stopSleepInBed(
bool forcefulWakeUp,
bool updateLevelList) ;
317 virtual
bool canStartSleepInBed() ;
320 virtual
void handleInsidePortal(::
BlockPos const& portalPos) ;
323 virtual
bool swing() ;
326 virtual
void setSneaking(
bool value) ;
329 virtual
void setSprinting(
bool shouldSprint) ;
332 virtual
void playEmote(::
std::
string const&,
bool const) ;
335 virtual
void resetRot() ;
338 virtual
void resetUserPos(::ActorResetRule) ;
341 virtual
void teleportTo(::
Vec3 const&,
bool,
int,
int,
bool) ;
350 virtual
void setPlayerGameType(::GameType gameType) ;
356 virtual
void _fireDimensionChanged() ;
359 virtual
bool isAutoJumpEnabled() const ;
362 virtual
bool setItemSlot(::SharedTypes::Legacy::EquipmentSlot slot, ::
ItemStack const& item) ;
365 virtual
void setOffhandSlot(::
ItemStack const& item) ;
368 virtual
void setArmor(::SharedTypes::Legacy::ArmorSlot slot, ::
ItemStack const& item) ;
374 virtual uint getUserId() const ;
377 virtual
bool isInTrialMode() ;
389 virtual
void addExperience(
int xp) ;
392 virtual
void addLevels(
int levels) ;
395 virtual
bool isActorRelevant(::
Actor const&) ;
398 virtual
void handleEntityEvent(::ActorEvent eventId,
int data) ;
401 virtual
void checkMovementStats(::
Vec3 const&) ;
404 virtual ::
HashedString getCurrentStructureFeature() const ;
407 virtual
bool isTeacher() const ;
416 virtual
void sendNetworkPacket(::
Packet& packet) const ;
422 virtual
void applySnapshot(
424 ::MovementDataExtractionUtility::SnapshotAccessor const& originalSnapshotEntity
428 virtual
void destroyEditorPlayer() ;
431 virtual ::Bedrock::NonOwnerPointer<::Editor::IEditorPlayer> getEditorPlayer() const ;
434 virtual
void requestMissingSubChunk(::
SubChunkPos const&) ;
437 virtual uchar getMaxChunkBuildRadius() const ;
440 virtual
void setBehaviorCommandStatus(::
std::
string const&, ::BehaviorStatus) ;
443 virtual
void _emitCriticalHitParticles(::
Actor& actor) ;