handler

package
v1.2.0-beta Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Overview

Package handler 事件处理函数

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddServerAdminHandler added in v1.0.2

func AddServerAdminHandler(zctx *zero.Ctx)

AddServerAdminHandler 添加服务器管理员

func AddServerHandler added in v1.0.2

func AddServerHandler(zctx *zero.Ctx)

AddServerHandler 添加服务器处理函数

func BF1ExchangeHandler

func BF1ExchangeHandler(zctx *zero.Ctx)

BF1ExchangeHandler 获取战地一本期交换处理函数

func BF1OpreationPackHandler

func BF1OpreationPackHandler(zctx *zero.Ctx)

BF1OpreationPackHandler 获取战地一本期行动包处理函数

func BanPlayerAtAllServerHandler added in v1.1.0

func BanPlayerAtAllServerHandler(zctx *zero.Ctx)

BanPlayerAtAllServerHandler 已绑定服务器封禁玩家

func BanPlayerHandler added in v1.1.0

func BanPlayerHandler(zctx *zero.Ctx)

BanPlayerHandler 单服务器封禁玩家处理

func BindAccountHandler

func BindAccountHandler(zctx *zero.Ctx)

BindAccountHandler 绑定账号处理函数

func ChangeMapHandler added in v1.1.0

func ChangeMapHandler(zctx *zero.Ctx)

ChangeMapHandler 切换地图处理

func ChangeOwnerHandler added in v1.0.2

func ChangeOwnerHandler(zctx *zero.Ctx)

ChangeOwnerHandler 更换服务器群组所有人处理函数

func CreateGroupHandler added in v1.0.2

func CreateGroupHandler(zctx *zero.Ctx)

CreateGroupHandler 创建服务器群组处理函数

func DeleteAdminHandler added in v1.0.2

func DeleteAdminHandler(zctx *zero.Ctx)

DeleteAdminHandler 删除群组服务器管理员

func DeleteGroupHandler added in v1.0.2

func DeleteGroupHandler(zctx *zero.Ctx)

DeleteGroupHandler 所在群删除服务器群组处理函数

func DeleteServerHandler added in v1.0.2

func DeleteServerHandler(zctx *zero.Ctx)

DeleteServerHandler 删除服务器处理函数

func GenericHandler added in v1.2.0

func GenericHandler(zctx *zero.Ctx, serviceMethod func(context.Context, *service.Service) error)

GenericHandler 通用处理封装

func KickPlayerHandler added in v1.1.0

func KickPlayerHandler(zctx *zero.Ctx)

KickPlayerHandler 踢出玩家处理

func PlayerBanInfoHandler added in v1.0.2

func PlayerBanInfoHandler(zctx *zero.Ctx)

PlayerBanInfoHandler 获取玩家联ban信息

func PlayerRecentHandler

func PlayerRecentHandler(zctx *zero.Ctx)

PlayerRecentHandler 最近战绩查询处理函数

func PlayerStatsHandler

func PlayerStatsHandler(zctx *zero.Ctx)

PlayerStatsHandler 玩家战绩查询处理函数

func PlayerVehicleHandler

func PlayerVehicleHandler(zctx *zero.Ctx)

PlayerVehicleHandler 玩家载具查询处理函数

func PlayerWeaponHandler

func PlayerWeaponHandler(zctx *zero.Ctx)

PlayerWeaponHandler 玩家武器查询处理函数

func ReadMapsHandler added in v1.1.0

func ReadMapsHandler(zctx *zero.Ctx)

ReadMapsHandler 查看地图池处理函数

func SetServerAliasHandler added in v1.0.2

func SetServerAliasHandler(zctx *zero.Ctx)

SetServerAliasHandler 设置服务器别名

func UnbanPlayerAtAllServerHandler added in v1.1.0

func UnbanPlayerAtAllServerHandler(zctx *zero.Ctx)

UnbanPlayerAtAllServerHandler 已绑定服务器解封玩家

func UnbanPlayerHandler added in v1.1.0

func UnbanPlayerHandler(zctx *zero.Ctx)

UnbanPlayerHandler 单服务器解封玩家处理

Types

This section is empty.

Jump to

Keyboard shortcuts

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