feat: a player's construction can leave out its position and world transition

For the one construction a client gets of its own player after a seamless instance move. The client applies a
construction's frame to its player at once (LWOBasePhysComponent::Deserialize, 0x00bf5a10), and world transition
state 0 makes it fade the screen in from white (LWOCharacterComponent::PostCharacterLoaded, 0x00c71660). State 3 is
read but nothing acts on it. Nothing sets either flag yet.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
Aaron Kimbrell
2026-11-10 15:15:16 -06:00
parent 7695445c4c
commit f081dafb94
5 changed files with 124 additions and 8 deletions

View File

@@ -71,6 +71,13 @@ public:
void SetLastCustomBuild(const std::u16string& tokenizedLOTList) { m_LastRocketConfig = tokenizedLOTList; }
bool GetIsLanding() const { return m_IsLanding; }
/**
* Constructions written while this is set tell the client there is no world transition to show (state 3 instead
* of 0 or the rocket landing). For the one construction a client gets of its own player after a seamless instance
* move (docs/SeamlessTransfer.md).
*/
void SetKeepClientScene(const bool value) { m_KeepClientScene = value; }
/**
* Find a player's rocket
* @param player the entity that triggered the event
@@ -418,6 +425,11 @@ private:
*/
bool m_IsLanding;
/**
* Whether constructions say there is no world transition to show (SetKeepClientScene)
*/
bool m_KeepClientScene = false;
/**
* The configuration of the last used rocket, essentially a string of LOTs separated by commas
*/