internal

package
v0.0.0-...-af80039 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2019 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ChanRPC = skeleton.ChanRPCServer
)

Functions

This section is empty.

Types

type AgentInfo

type AgentInfo struct {
	// contains filtered or unexported fields
}

type Module

type Module struct {
	*module.Skeleton
}

func (*Module) OnDestroy

func (m *Module) OnDestroy()

func (*Module) OnInit

func (m *Module) OnInit()

type User

type User struct {
	// 每个玩家维护 1 Agent, 省去了从 map 里面查 agent 的消耗
	gate.Agent
	*g.LinearContext
	// contains filtered or unexported fields
}

type UserData

type UserData struct {
	UserID int "_id"
	AccID  string
}

Jump to

Keyboard shortcuts

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