Open77.session

Runs inside the game process. Reads and presentation are local; anything that changes shared state has to go through the server.

client runtime9 functionsMarkdown

Open77.session.characterBootstrap()

Reads the current character-bootstrap state.

Returns the current client-local character bootstrap projection as phase, body family, error and generation. The table is a snapshot; polling it does not advance the transaction.

Returns

  • value
  • reason (when the first is nil)

Registered in ResourceHost.cpp as LuaSessionCharacterBootstrap (line 6727).

Open77.session.failCharacterBootstrap([arg1])

Marks character bootstrap as failed.

Marks the active client-local character bootstrap as failed with an optional bounded diagnostic reason. It requires player.appearance.edit and does not disconnect the network session.

Parameters

  • arg1stringoptional

Registered in ResourceHost.cpp as LuaSessionFailCharacterBootstrap (line 6730).

Open77.session.loadPristine()

Loads the local development world from Open77's bundled pristine save.

No network session is armed by this operation.

Returns

  • true on success, otherwise false
  • reason

Registered in ResourceHost.cpp as LuaSessionLoadPristine (line 6725).

Open77.session.openSettings()

Opens the game's own settings screen without exposing the pause menu.

Requests the client-side Open77 settings interface. It only changes local presentation and does not modify server configuration or another player's settings.

Returns

  • true on success, otherwise false
  • reason

Registered in ResourceHost.cpp as LuaSessionOpenSettings (line 6724).

Open77.session.requestCharacterCreator()

Requests the native character creator.

Requests the native character creator for the active bootstrap transaction. It requires player.appearance.edit and returns a stable failure when the game backend cannot accept the request.

Registered in ResourceHost.cpp as LuaSessionRequestCharacterCreator (line 6728).

Open77.session.resetCharacterBootstrap()

Resets the local character-bootstrap transaction.

Clears the client-local character bootstrap transaction so a fresh bootstrap can begin. It does not delete a server character or change another player's state.

Registered in ResourceHost.cpp as LuaSessionResetCharacterBootstrap (line 6726).

Open77.session.resolveCharacterBootstrap(arg1)

Completes bootstrap with a selected body family.

Completes the active bootstrap with the validated female or male body family. It requires player.appearance.edit and only updates the local bootstrap backend.

Parameters

  • arg1stringrequired

Registered in ResourceHost.cpp as LuaSessionResolveCharacterBootstrap (line 6729).

Open77.session.setMenuReady(ready)

Declares that this resource is able to serve the pause menu.

The escape key is only intercepted while this is true. A resource that fails to start therefore leaves the game's own menu reachable, rather than stranding the player with none.

Parameters

  • readybooleanrequired

Returns

  • boolean

Registered in ResourceHost.cpp as LuaSessionMenuReady (line 6732).

Open77.session.takeCharacterCreatorResult()

Consumes the pending character-creator result.

Consumes the pending native character-creator result once and returns its serialized payload, or nil when no result is ready. It requires player.appearance.edit.

Returns

  • value
  • reason (when the first is nil)

Registered in ResourceHost.cpp as LuaSessionTakeCharacterCreatorResult (line 6731).

For agents and LLMs: this page as Markdown · llms.txt · llms-full.txt