base

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package base 服务器子网基础

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SubnetHook

type SubnetHook interface {
	// 当一个服务器成功加入网络时调用
	OnServerJoinSubnet(server *connect.Server)
	// 收到子网消息
	OnRecvSubnetMsg(server *connect.Server, msgbin *msg.MessageBinary)
}

SubnetHook 服务器子网管理器需要实现的接口

Jump to

Keyboard shortcuts

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