verse

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SpaceInstance

type SpaceInstance struct {
	utils.Session

	PresetSpace *config.PresetSpace
	Server      *gameServers.GameServer
	// contains filtered or unexported fields
}

func (*SpaceInstance) GetID

func (s *SpaceInstance) GetID() string
func (s *SpaceInstance) GetLinks(ctx context.Context) ([]config.SpaceLink, error)

type SpaceManager

type SpaceManager struct {
	utils.Session
	// contains filtered or unexported fields
}

func NewSpaceManager

func NewSpaceManager(servers *gameServers.ServerManager, maps *assets.AssetFetcher) *SpaceManager

func (*SpaceManager) DoExploreMode

func (s *SpaceManager) DoExploreMode(ctx context.Context, gameServer *gameServers.GameServer, skipRoot string)

func (*SpaceManager) FindInstance

func (s *SpaceManager) FindInstance(server *gameServers.GameServer) *SpaceInstance

func (*SpaceManager) Logger

func (s *SpaceManager) Logger() zerolog.Logger

func (*SpaceManager) StartPresetSpace

func (s *SpaceManager) StartPresetSpace(ctx context.Context, presetSpace config.PresetSpace) (*SpaceInstance, error)

func (*SpaceManager) WatchInstance

func (s *SpaceManager) WatchInstance(ctx context.Context, space *SpaceInstance)

Jump to

Keyboard shortcuts

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