internal

package
v0.3.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHub

func GetHub() *hub

GetHub returns the global WebSocket hub for step types to use.

func NewWebSocketPlugin

func NewWebSocketPlugin() sdk.PluginProvider

Types

type SpectatorMeta added in v0.3.0

type SpectatorMeta struct {
	Mode                string // "anonymous" | "player" | "omniscient"
	PerspectivePlayerID string // only relevant for "player" mode
}

SpectatorMeta holds per-connection spectator configuration.

Jump to

Keyboard shortcuts

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