handle_event

package
v0.0.0-...-2692626 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2023 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GBattleGatewayPbFunMgr xrpb.Mgr
View Source
var GWorldPbFunMgr xrpb.Mgr

Functions

func BattleGatewayGetRoomListMsgRes

func BattleGatewayGetRoomListMsgRes(ctx context.Context, protoHead xrpb.IHeader, protoMessage proto.Message, obj interface{}) *xrerror.Error

func BattleGatewayKCPHeartBeatMsgRes

func BattleGatewayKCPHeartBeatMsgRes(ctx context.Context, protoHead xrpb.IHeader, protoMessage proto.Message, obj interface{}) *xrerror.Error

func BattleGatewayKCPVerifyTokenMsgRes

func BattleGatewayKCPVerifyTokenMsgRes(ctx context.Context, protoHead xrpb.IHeader, protoMessage proto.Message, obj interface{}) *xrerror.Error

func BattleGatewayTCPHeartBeatMsgRes

func BattleGatewayTCPHeartBeatMsgRes(ctx context.Context, protoHead xrpb.IHeader, protoMessage proto.Message, obj interface{}) *xrerror.Error

func BattleGatewayTCPVerifyTokenMsgRes

func BattleGatewayTCPVerifyTokenMsgRes(ctx context.Context, protoHead xrpb.IHeader, protoMessage proto.Message, obj interface{}) *xrerror.Error

func BattleGatewayTestMsgRes

func BattleGatewayTestMsgRes(ctx context.Context, protoHead xrpb.IHeader, protoMessage proto.Message, obj interface{}) *xrerror.Error

func OnEventDisConnClient

func OnEventDisConnClient(remote *xrtcp.Remote) error

func OnEventDisConnClientBattleGatewayTCP

func OnEventDisConnClientBattleGatewayTCP(remote *xrtcp.Remote) error

func OnEventPacketClientBattleGatewayTCP

func OnEventPacketClientBattleGatewayTCP(parsePacket *xrtcp.Packet) error

func OnEventPacketClientWorld

func OnEventPacketClientWorld(parsePacket *xrtcp.Packet) error

func OnParsePacketFromBattleGateway

func OnParsePacketFromBattleGateway(remote *xrtcp.Remote, data []byte) (parsePacket *xrtcp.Packet, err error)

func OnParsePacketFromWorld

func OnParsePacketFromWorld(remote *xrtcp.Remote, data []byte) (parsePacket *xrtcp.Packet, err error)

func RoomBattleStartMsgRes

func RoomBattleStartMsgRes(ctx context.Context, protoHead xrpb.IHeader, protoMessage proto.Message, obj interface{}) *xrerror.Error

func RoomChooseLevelMsgRes

func RoomChooseLevelMsgRes(ctx context.Context, protoHead xrpb.IHeader, protoMessage proto.Message, obj interface{}) *xrerror.Error

func RoomCreateRoomMsgRes

func RoomCreateRoomMsgRes(ctx context.Context, protoHead xrpb.IHeader, protoMessage proto.Message, obj interface{}) *xrerror.Error

func RoomExitRoomMsgRes

func RoomExitRoomMsgRes(ctx context.Context, protoHead xrpb.IHeader, protoMessage proto.Message, obj interface{}) *xrerror.Error

func RoomFrameDataMsgRes

func RoomFrameDataMsgRes(ctx context.Context, protoHead xrpb.IHeader, protoMessage proto.Message, obj interface{}) *xrerror.Error

func RoomGetFrameDataMsgRes

func RoomGetFrameDataMsgRes(ctx context.Context, protoHead xrpb.IHeader, protoMessage proto.Message, obj interface{}) *xrerror.Error

func RoomGetRoomUserDetailInformationMsgRes

func RoomGetRoomUserDetailInformationMsgRes(ctx context.Context, protoHead xrpb.IHeader, protoMessage proto.Message, obj interface{}) *xrerror.Error

func RoomJoinBattleRoomMsgRes

func RoomJoinBattleRoomMsgRes(ctx context.Context, protoHead xrpb.IHeader, protoMessage proto.Message, obj interface{}) *xrerror.Error

func RoomJoinRoomMsgRes

func RoomJoinRoomMsgRes(ctx context.Context, protoHead xrpb.IHeader, protoMessage proto.Message, obj interface{}) *xrerror.Error

func RoomKickUserMsgRes

func RoomKickUserMsgRes(ctx context.Context, protoHead xrpb.IHeader, protoMessage proto.Message, obj interface{}) *xrerror.Error

func RoomModifyRoomTypeMsgRes

func RoomModifyRoomTypeMsgRes(ctx context.Context, protoHead xrpb.IHeader, protoMessage proto.Message, obj interface{}) *xrerror.Error

func RoomSetBTLHeroMsgRes

func RoomSetBTLHeroMsgRes(ctx context.Context, protoHead xrpb.IHeader, protoMessage proto.Message, obj interface{}) *xrerror.Error

func RoomSetPrimaryWeaponMsgRes

func RoomSetPrimaryWeaponMsgRes(ctx context.Context, protoHead xrpb.IHeader, protoMessage proto.Message, obj interface{}) *xrerror.Error

func RoomStartMsgRes

func RoomStartMsgRes(ctx context.Context, protoHead xrpb.IHeader, protoMessage proto.Message, obj interface{}) *xrerror.Error

func RoomSyncUserDataMsgRes

func RoomSyncUserDataMsgRes(ctx context.Context, protoHead xrpb.IHeader, protoMessage proto.Message, obj interface{}) *xrerror.Error

func RoomTimeMsgRes

func RoomTimeMsgRes(ctx context.Context, protoHead xrpb.IHeader, protoMessage proto.Message, obj interface{}) *xrerror.Error

func RoomUserReadyMsgRes

func RoomUserReadyMsgRes(ctx context.Context, protoHead xrpb.IHeader, protoMessage proto.Message, obj interface{}) *xrerror.Error

func RoomVerifyHashMsgRes

func RoomVerifyHashMsgRes(ctx context.Context, protoHead xrpb.IHeader, protoMessage proto.Message, obj interface{}) *xrerror.Error

func WorldCreatUserMsgRes

func WorldCreatUserMsgRes(ctx context.Context, protoHead xrpb.IHeader, protoMessage proto.Message, obj interface{}) *xrerror.Error

func WorldEnterBattleGatewayMsgRes

func WorldEnterBattleGatewayMsgRes(ctx context.Context, protoHead xrpb.IHeader, protoMessage proto.Message, obj interface{}) *xrerror.Error

func WorldGetUserMsgRes

func WorldGetUserMsgRes(ctx context.Context, protoHead xrpb.IHeader, protoMessage proto.Message, obj interface{}) *xrerror.Error

func WorldGetZoneRegionAreaUserCntMsgRes

func WorldGetZoneRegionAreaUserCntMsgRes(ctx context.Context, protoHead xrpb.IHeader, protoMessage proto.Message, obj interface{}) *xrerror.Error

func WorldNoticeMsgRes

func WorldNoticeMsgRes(ctx context.Context, protoHead xrpb.IHeader, protoMessage proto.Message, obj interface{}) *xrerror.Error

func WorldRoomEndMsgRes

func WorldRoomEndMsgRes(ctx context.Context, protoHead xrpb.IHeader, protoMessage proto.Message, obj interface{}) *xrerror.Error

func WorldSetSecondaryWeaponMsgRes

func WorldSetSecondaryWeaponMsgRes(ctx context.Context, protoHead xrpb.IHeader, protoMessage proto.Message, obj interface{}) *xrerror.Error

func WorldStageCreateRegionMsgRes

func WorldStageCreateRegionMsgRes(ctx context.Context, protoHead xrpb.IHeader, protoMessage proto.Message, obj interface{}) *xrerror.Error

func WorldStatRoomEndMsg

func WorldStatRoomEndMsg(ctx context.Context, protoHead xrpb.IHeader, protoMessage proto.Message, obj interface{}) *xrerror.Error

func WorldTaskCompleteMsgRes

func WorldTaskCompleteMsgRes(ctx context.Context, protoHead xrpb.IHeader, protoMessage proto.Message, obj interface{}) *xrerror.Error

func WorldUpdateRegionAreaLevelMsgRes

func WorldUpdateRegionAreaLevelMsgRes(ctx context.Context, protoHead xrpb.IHeader, protoMessage proto.Message, obj interface{}) *xrerror.Error

func WorldUserChatMsg

func WorldUserChatMsg(ctx context.Context, protoHead xrpb.IHeader, protoMessage proto.Message, obj interface{}) *xrerror.Error

func WorldVerifyTokenMsgRes

func WorldVerifyTokenMsgRes(ctx context.Context, protoHead xrpb.IHeader, protoMessage proto.Message, obj interface{}) *xrerror.Error

Types

This section is empty.

Jump to

Keyboard shortcuts

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