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.
Click to show internal directories.
Click to hide internal directories.