90 virtual void onRegionDestroyed() = 0;
104 ::ll::TypedStorage<8, 8, int64> mEmoteButtonDownStartTime;
105 ::ll::TypedStorage<1, 1, bool> mIsExpediateSelectionActive;
112 enum class FallState : uchar {
114 TickCheckAliveTicks = 1,
122 ::ll::TypedStorage<1, 1, ::LocalPlayer::FellFromWorldHeightAchievementTracker::FallState> mState;
123 ::ll::TypedStorage<4, 4, int> mCheckAliveTicks;
124 ::ll::TypedStorage<1, 1, bool> mHasSentAchievement;
132 ::ll::TypedStorage<1, 1, bool> mIsUndergroundCurrentTick;
133 ::ll::TypedStorage<1, 1, bool> mWasUndergroundPreviousTick;
134 ::ll::TypedStorage<1, 1, bool> mForceInitialEventingPropertyUpdate;
135 ::ll::TypedStorage<4, 12, ::BlockPos> mPreviousBlockPos;
136 ::ll::TypedStorage<1, 1, ::Brightness> mPreviousNaturalLightLevel;
144 ::ll::TypedStorage<1, 1, ::SharedTypes::Legacy::ContainerType> mContainerTypeToClose;
145 ::ll::TypedStorage<1, 1, bool> mShouldCloseContainerScreen;
152 ::ll::TypedStorage<8, 112, ::InventoryMenu> mInventoryMenu;
153 ::ll::TypedStorage<4, 4, float> mPortalEffectTime;
154 ::ll::TypedStorage<4, 4, float> mOPortalEffectTime;
155 ::ll::TypedStorage<8, 16, ::LocalPlayer::EmoteExpediateData> mEmoteExpediateData;
156 ::ll::TypedStorage<4, 20, ::LocalPlayer::UndergroundTelemetryHeuristic> mUndergroundTelemetryHeuristic;
157 ::ll::TypedStorage<4, 12, ::LocalPlayer::FellFromWorldHeightAchievementTracker>
158 mFellFromWorldHeightAchievementTracker;
159 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mLowMemorySubscription;
160 ::ll::TypedStorage<8, 8, ::IClientInstance&> mClient;
161 ::ll::TypedStorage<4, 4, int> mCanCloseScreenOnHurtAfterTime;
162 ::ll::TypedStorage<4, 12, ::Vec3> mlastFrameDelta;
163 ::ll::TypedStorage<1, 1, bool> mEnablePortalEffect;
164 ::ll::TypedStorage<8, 152, ::ItemStack> mSentOffhandItem;
165 ::ll::TypedStorage<8, 152, ::ItemStack> mSentInventoryItem;
166 ::ll::TypedStorage<4, 4, int> mSentSelectedSlot;
167 ::ll::TypedStorage<1, 2, ::LocalPlayer::ContainerCloseInfo> mContainerCloseInfo;
168 ::ll::TypedStorage<8, 8, uint64> mSessionTickCount;
169 ::ll::TypedStorage<8, 24, ::std::vector<::LocalPlayer::RegionListener*>> mRegionListeners;
170 ::ll::TypedStorage<1, 1, bool> mDamagedByMobThisFrame;
171 ::ll::TypedStorage<1, 1, bool> mLeavingLevel;
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<4, 4, float> mCurrentExpCache;
192 ::ll::TypedStorage<4, 4, int> mCurrentLevelCache;
193 ::ll::TypedStorage<8, 8, ::std::chrono::steady_clock::time_point> mLastLevelChangedTimePoint;
194 ::ll::TypedStorage<8, 8, ::std::chrono::steady_clock::time_point> mLastXPContainerClosedTimePoint;
195 ::ll::TypedStorage<1, 1, bool> mPreparedMainChunkSource;
196 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mVisibleTouchJoystickLockSubscription;
212 virtual void reloadHardcodedClient(::ActorInitializationMethod) ;
218 virtual void suspendRegion() ;
221 virtual void destroyRegion() ;
224 virtual void tickWorld(
::Tick const&) ;
230 virtual ::std::vector<::ChunkPos>
const& getTickingOffsets() const ;
233 virtual
void normalTick() ;
236 virtual
bool startRiding(::
Actor& vehicle,
bool forceRiding) ;
239 virtual
void aiStep() ;
242 virtual
void addAdditionalSaveData(::
CompoundTag& tag) const ;
248 virtual
void deleteContainerManager() ;
251 virtual
void openPortfolio() ;
254 virtual
void openBook(
int,
bool,
int, ::
BlockActor*) ;
266 virtual
void openInventory() ;
279 virtual
bool isLoading() const ;
282 virtual
void stopLoading() ;
285 virtual
void respawn() ;
288 virtual
void displayClientMessage(
289 ::
std::
string const& message,
290 ::
std::optional<::
std::
string> const filteredMessage
294 virtual
void displayTextObjectMessage(
296 ::
std::
string const& fromXuid,
297 ::
std::
string const& fromPlatformId
301 virtual
void displayWhisperMessage(
302 ::
std::
string const& author,
303 ::
std::
string const& message,
304 ::
std::optional<::
std::
string> const filteredMessage,
305 ::
std::
string const& xuid,
306 ::
std::
string const& platformId
310 virtual ::BedSleepingResult startSleepInBed(::
BlockPos const& bedBlockPos) ;
313 virtual
void stopSleepInBed(
bool forcefulWakeUp,
bool updateLevelList) ;
316 virtual
bool canStartSleepInBed() ;
319 virtual
void handleInsidePortal(::
BlockPos const& portalPos) ;
322 virtual
bool swing() ;
325 virtual
void setSneaking(
bool value) ;
328 virtual
void setSprinting(
bool shouldSprint) ;
331 virtual
void playEmote(::
std::
string const&,
bool const) ;
334 virtual
void resetRot() ;
337 virtual
void resetUserPos(::ActorResetRule) ;
340 virtual
void teleportTo(::
Vec3 const&,
bool,
int,
int,
bool) ;
349 virtual
void setPlayerGameType(::GameType gameType) ;
355 virtual
void _fireDimensionChanged() ;
358 virtual
bool isAutoJumpEnabled() const ;
361 virtual
bool setItemSlot(::SharedTypes::Legacy::EquipmentSlot slot, ::
ItemStack const& item) ;
364 virtual
void setOffhandSlot(::
ItemStack const& item) ;
367 virtual
void setArmor(::SharedTypes::Legacy::ArmorSlot slot, ::
ItemStack const& item) ;
373 virtual uint getUserId() const ;
376 virtual
bool isInTrialMode() ;
388 virtual
void addExperience(
int xp) ;
391 virtual
void addLevels(
int levels) ;
394 virtual
bool isActorRelevant(::
Actor const&) ;
397 virtual
void handleEntityEvent(::ActorEvent eventId,
int data) ;
400 virtual
void checkMovementStats(::
Vec3 const&) ;
403 virtual ::
HashedString getCurrentStructureFeature() const ;
406 virtual
bool isTeacher() const ;
415 virtual
void sendNetworkPacket(::
Packet& packet) const ;
421 virtual
void applySnapshot(
423 ::MovementDataExtractionUtility::SnapshotAccessor const& originalSnapshotEntity
427 virtual
void destroyEditorPlayer() ;
430 virtual ::Bedrock::NonOwnerPointer<::Editor::IEditorPlayer> getEditorPlayer() const ;
433 virtual
void requestMissingSubChunk(::
SubChunkPos const&) ;
436 virtual uchar getMaxChunkBuildRadius() const ;
439 virtual
void setBehaviorCommandStatus(::
std::
string const&, ::BehaviorStatus) ;
442 virtual
void _crit(::
Actor& actor) ;