gate

package
v0.0.0-...-7b43bce Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// All services in master server
	Services = &component.Components{}
)

Functions

func Startup

func Startup()

Startup 初始化gate服务器

Types

type GateService

type GateService struct {
	component.Base
	// contains filtered or unexported fields
}

func (*GateService) RecordScene

func (ts *GateService) RecordScene(s *session.Session, msg *protocol.UserSceneId) error

在进入场景的时候需要记录session和对应的sceneId, 在调用SceneManager时需要查找对应的node服务器

Jump to

Keyboard shortcuts

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