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<4, 8, ::Vec2> mLastHmdRot;
165 ::ll::TypedStorage<4, 8, ::Vec2> mHmdAngleDelta;
166 ::ll::TypedStorage<1, 1, bool> mHmdRotRecorded;
167 ::ll::TypedStorage<1, 1, bool> mEnablePortalEffect;
168 ::ll::TypedStorage<8, 152, ::ItemStack> mSentOffhandItem;
169 ::ll::TypedStorage<8, 152, ::ItemStack> mSentInventoryItem;
170 ::ll::TypedStorage<4, 4, int> mSentSelectedSlot;
171 ::ll::TypedStorage<1, 2, ::LocalPlayer::ContainerCloseInfo> mContainerCloseInfo;
172 ::ll::TypedStorage<8, 8, uint64> mSessionTickCount;
173 ::ll::TypedStorage<8, 24, ::std::vector<::LocalPlayer::RegionListener*>> mRegionListeners;
174 ::ll::TypedStorage<1, 1, bool> mDamagedByMobThisFrame;
175 ::ll::TypedStorage<1, 1, bool> mLeavingLevel;
176 ::ll::TypedStorage<1, 1, bool> mIsTeacher;
177 ::ll::TypedStorage<1, 1, bool> mHasBeenInitialized;
178 ::ll::TypedStorage<1, 1, bool> mPrevTransitionBlocking;
179 ::ll::TypedStorage<8, 32, ::std::string> mInventorySearchString;
180 ::ll::TypedStorage<8, 64, ::std::unordered_set<::mce::UUID>> mAllSentEmotePieceIds;
181 ::ll::TypedStorage<8, 48, ::HashedString> mCurrentStructureFeature;
182 ::ll::TypedStorage<8, 152, ::ItemStack> mItemActivationItem;
183 ::ll::TypedStorage<4, 4, int> mItemActivationTicks;
184 ::ll::TypedStorage<4, 4, float> mItemActivationOffsetX;
185 ::ll::TypedStorage<4, 4, float> mItemActivationOffsetY;
186 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::PlayerAutomationObserver>> mAutomationObserver;
187 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::SubChunkRequestSubscriber>> mSubChunkSubscriber;
188 ::ll::TypedStorage<4, 4, uint> mTickingAreaChunkIndexToCheckForRequests;
189 ::ll::TypedStorage<8, 32, ::NetworkChunkSubscriber> mChunkSubscriberView;
190 ::ll::TypedStorage<1, 1, ::PlayerRespawnState> mClientRespawnState;
191 ::ll::TypedStorage<4, 12, ::Vec3> mClientRespawnPotentialPosition;
192 ::ll::TypedStorage<4, 4, int> mResetHMDAfterSleepTickDelay;
193 ::ll::TypedStorage<4, 4, int> mRenderChunkRadiusLowMemoryWatermark;
194 ::ll::TypedStorage<8, 32, ::std::string> mLastDeathInfo;
195 ::ll::TypedStorage<8, 120, ::OreUI::GameplayRouteHandler> mGameplayRouteHandler;
196 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::Editor::IEditorPlayer>> mEditorClientPlayer;
197 ::ll::TypedStorage<4, 4, float> mCurrentExpCache;
198 ::ll::TypedStorage<4, 4, int> mCurrentLevelCache;
199 ::ll::TypedStorage<8, 8, ::std::chrono::steady_clock::time_point> mLastLevelChangedTimePoint;
200 ::ll::TypedStorage<1, 1, bool> mPreparedMainChunkSource;
216 virtual void reloadHardcodedClient(::ActorInitializationMethod) ;
222 virtual void suspendRegion() ;
225 virtual void destroyRegion() ;
228 virtual void tickWorld(
::Tick const&) ;
234 virtual ::std::vector<::ChunkPos>
const& getTickingOffsets() const ;
237 virtual
void normalTick() ;
240 virtual
bool startRiding(::
Actor& vehicle,
bool forceRiding) ;
243 virtual
void aiStep() ;
246 virtual
void addAdditionalSaveData(::
CompoundTag& tag) const ;
252 virtual
void deleteContainerManager() ;
255 virtual
void openPortfolio() ;
258 virtual
void openBook(
int,
bool,
int, ::
BlockActor*) ;
270 virtual
void openInventory() ;
283 virtual
bool isLoading() const ;
286 virtual
void stopLoading() ;
289 virtual
void respawn() ;
292 virtual
void displayClientMessage(
293 ::
std::
string const& message,
294 ::
std::optional<::
std::
string> const filteredMessage
298 virtual
void displayTextObjectMessage(
300 ::
std::
string const& fromXuid,
301 ::
std::
string const& fromPlatformId
305 virtual
void displayWhisperMessage(
306 ::
std::
string const& author,
307 ::
std::
string const& message,
308 ::
std::optional<::
std::
string> const filteredMessage,
309 ::
std::
string const& xuid,
310 ::
std::
string const& platformId
314 virtual ::BedSleepingResult startSleepInBed(::
BlockPos const& bedBlockPos) ;
317 virtual
void stopSleepInBed(
bool forcefulWakeUp,
bool updateLevelList) ;
320 virtual
bool canStartSleepInBed() ;
323 virtual
void handleInsidePortal(::
BlockPos const& portalPos) ;
326 virtual
void swing() ;
329 virtual
void setSneaking(
bool value) ;
332 virtual
void setSprinting(
bool shouldSprint) ;
335 virtual
void playEmote(::
std::
string const&,
bool const) ;
338 virtual
void resetRot() ;
341 virtual
void resetUserPos(::ActorResetRule) ;
344 virtual
void teleportTo(::
Vec3 const&,
bool,
int,
int,
bool) ;
353 virtual
void setPlayerGameType(::GameType) ;
359 virtual
void _fireDimensionChanged() ;
362 virtual
bool isAutoJumpEnabled() const ;
365 virtual
bool setItemSlot(::SharedTypes::Legacy::EquipmentSlot slot, ::
ItemStack const& item) ;
368 virtual
void setOffhandSlot(::
ItemStack const& item) ;
371 virtual
void setArmor(::SharedTypes::Legacy::ArmorSlot slot, ::
ItemStack const& item) ;
377 virtual uint getUserId() const ;
380 virtual
bool isInTrialMode() ;
392 virtual
void addExperience(
int xp) ;
395 virtual
void addLevels(
int levels) ;
398 virtual
bool isActorRelevant(::
Actor const&) ;
401 virtual
void handleEntityEvent(::ActorEvent eventId,
int data) ;
404 virtual
void checkMovementStats(::
Vec3 const&) ;
407 virtual ::
HashedString getCurrentStructureFeature() const ;
410 virtual
bool isTeacher() const ;
419 virtual
void sendNetworkPacket(::
Packet& packet) const ;
425 virtual
void applySnapshot(
427 ::MovementDataExtractionUtility::SnapshotAccessor const& originalSnapshotEntity
431 virtual
void destroyEditorPlayer() ;
434 virtual ::Bedrock::NonOwnerPointer<::Editor::IEditorPlayer> getEditorPlayer() const ;
437 virtual
void requestMissingSubChunk(::
SubChunkPos const&) ;
440 virtual uchar getMaxChunkBuildRadius() const ;
443 virtual
void _crit(::
Actor& actor) ;