space_resolve

package
v0.51.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 7, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package resolve provides utilities for resolving resource paths to world engines.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ResolvedSpace

type ResolvedSpace struct {
	// Engine is the resolved world engine.
	Engine world.Engine
	// EngineID is the world engine identifier.
	EngineID string
	// Ref is the shared object reference.
	Ref *sobject.SharedObjectRef
}

ResolvedSpace holds the result of resolving a session + shared object to a world engine.

func ResolveSpace

func ResolveSpace(
	ctx context.Context,
	b bus.Bus,
	sessionIdx uint32,
	sharedObjectID string,
) (*ResolvedSpace, func(), error)

ResolveSpace resolves a session index and shared object ID to a world engine. Mounts the full chain on-demand: session controller, session, provider account, shared object list lookup, world engine lookup by computed engine ID. Returns the resolved space and a cleanup function that releases all directive references.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL