Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Ayin-a/hk4e
/ functions
Functions
1,514 in github.com/Ayin-a/hk4e
⨍
Functions
1,514
◇
Types & classes
263
↓ 1 callers
Function
NewDbWorld
()
gs/model/db_world.go:23
↓ 1 callers
Function
NewDiscoveryService
()
node/service/discovery.go:60
↓ 1 callers
Function
NewGCGInfo
()
gs/model/gcg.go:62
↓ 1 callers
Function
NewGCGManager
()
gs/game/game_gcg_manager.go:160
↓ 1 callers
Function
NewGameManager
(dao *dao.Dao, messageQueue *mq.MessageQueue, gsId uint32, gsAppid string, mainGsAppid string, discovery *rpc.
gs/game/game.go:58
↓ 1 callers
Function
NewGrid
NewGrid 初始化格子
pkg/alg/aoi.go:234
↓ 1 callers
Function
NewHandle
(messageQueue *mq.MessageQueue)
anticheat/handle/handle.go:126
↓ 1 callers
Function
NewHandle
(messageQueue *mq.MessageQueue)
pathfinding/handle/handle.go:18
↓ 1 callers
Function
NewKCP
NewKCP create a new kcp state machine 'conv' must be equal in the connection peers, or else data will be silently rejected. 'output' function will b
gate/kcp/kcp.go:183
↓ 1 callers
Function
NewKcpConnectManager
(messageQueue *mq.MessageQueue, discovery *rpc.DiscoveryClient)
gate/net/kcp_connect_manager.go:62
↓ 1 callers
Function
NewLocalEventManager
()
gs/game/game_local_event_manager.go:40
↓ 1 callers
Function
NewRand
()
pkg/random/hk4e_mt19937.go:21
↓ 1 callers
Function
NewRand64
()
pkg/random/hk4e_mt19937.go:22
↓ 1 callers
Function
NewRegionEc2b
()
common/region/region.go:40
↓ 1 callers
Function
NewRouteManager
()
gs/game/game_route_manager.go:23
↓ 1 callers
Function
NewScene
(sceneId uint32)
gs/model/db_world.go:30
↓ 1 callers
Function
NewService
(conn *nats.Conn)
gs/service/service.go:13
↓ 1 callers
Function
NewService
(conn *nats.Conn, messageQueue *mq.MessageQueue)
node/service/service.go:17
↓ 1 callers
Function
NewSession
(gateAddr string, dispatchKey []byte, localPort int)
robot/net/session.go:28
↓ 1 callers
Function
NewStaminaInfo
()
gs/model/stamina.go:18
↓ 1 callers
Function
NewTickManager
()
gs/game/game_tick_manager.go:39
↓ 1 callers
Function
NewTimedSched
NewTimedSched creates a parallel-scheduler with given parallelization
gate/kcp/timedsched.go:49
↓ 1 callers
Function
NewUserManager
(dao *dao.Dao)
gs/game/game_user_manager.go:29
↓ 1 callers
Function
NewVehicleInfo
()
gs/model/vehicle.go:10
↓ 1 callers
Function
NewWorldManager
(snowflake *alg.SnowflakeWorker)
gs/game/game_world_manager.go:32
↓ 1 callers
Function
NewWorldStatic
()
pathfinding/world/world_static.go:17
↓ 1 callers
Method
NoDelay
NoDelay options fastest: ikcp_nodelay(kcp, 1, 20, 2, 1) nodelay: 0:disable(default), 1:enable interval: internal update timer interval in millisec, de
gate/kcp/kcp.go:1026
↓ 1 callers
Function
NodeCmd
()
cmd/hk4e/node.go:11
↓ 1 callers
Method
ObstacleModifyNotify
(userId uint32, gateAppId string, payloadMsg pb.Message)
pathfinding/handle/query_path.go:71
↓ 1 callers
Method
OfflineUser
OfflineUser 玩家离线
gs/game/game_user_manager.go:151
↓ 1 callers
Method
OnGameServerTick
服务器全局tick
gs/game/game_tick_manager.go:131
↓ 1 callers
Method
OnlineUser
OnlineUser 玩家上线
gs/game/game_user_manager.go:101
↓ 1 callers
Method
PacketAvatarDataNotify
(player *model.Player)
gs/game/player_login.go:390
↓ 1 callers
Method
PacketFinishedParentQuestNotify
PacketFinishedParentQuestNotify 打包已完成父任务列表通知
gs/game/player_quest.go:393
↓ 1 callers
Method
PacketGCGGameBriefDataNotify
PacketGCGGameBriefDataNotify GCG游戏简要数据通知
gs/game/player_gcg.go:483
↓ 1 callers
Method
PacketGCGSkillPreviewNotify
PacketGCGSkillPreviewNotify GCG游戏技能预览通知
gs/game/player_gcg.go:371
↓ 1 callers
Method
PacketOpenStateUpdateNotify
()
gs/game/player_login.go:419
↓ 1 callers
Method
PacketPlayerDataNotify
(player *model.Player)
gs/game/player_login.go:258
↓ 1 callers
Method
PacketPlayerEnterSceneNotifyTp
( player *model.Player, enterType proto.EnterType, enterReason proto.EnterReason, prevSceneId uint32, pre
gs/game/player_scene.go:762
↓ 1 callers
Method
PacketPlayerStoreNotify
(player *model.Player)
gs/game/player_login.go:290
↓ 1 callers
Method
PacketQuestListNotify
PacketQuestListNotify 打包任务列表通知
gs/game/player_quest.go:377
↓ 1 callers
Method
PacketSceneEntityInfoGadget
(player *model.Player, scene *Scene, entityId uint32)
gs/game/player_scene.go:1043
↓ 1 callers
Method
PacketSceneEntityInfoMonster
(scene *Scene, entityId uint32)
gs/game/player_scene.go:947
↓ 1 callers
Method
PacketSceneEntityInfoNpc
(scene *Scene, entityId uint32)
gs/game/player_scene.go:995
↓ 1 callers
Method
PacketSceneGadgetInfoClient
(gadgetClientEntity *GadgetClientEntity)
gs/game/player_scene.go:1215
↓ 1 callers
Method
PacketSceneGadgetInfoNormal
(player *model.Player, entity *Entity)
gs/game/player_scene.go:1175
↓ 1 callers
Method
PacketSceneGadgetInfoVehicle
(gadgetVehicleEntity *GadgetVehicleEntity)
gs/game/player_scene.go:1234
↓ 1 callers
Method
PacketSceneMonsterInfo
(entity *Entity)
gs/game/player_scene.go:1153
↓ 1 callers
Method
PacketSceneNpcInfo
(entity *NpcEntity)
gs/game/player_scene.go:1165
↓ 1 callers
Method
PacketStoreWeightLimitNotify
()
gs/game/player_login.go:277
↓ 1 callers
Method
Pathfinding
(startPos alg.MeshVector, endPos alg.MeshVector)
pathfinding/world/world_static.go:73
↓ 1 callers
Method
Pathfinding
()
pkg/alg/bfs_pathfinding.go:166
↓ 1 callers
Function
PathfindingCmd
()
cmd/hk4e/pathfinding.go:11
↓ 1 callers
Function
PlayAudio
()
gs/game/audio_video.go:33
↓ 1 callers
Method
PlayerEnter
(uid uint32)
gs/game/game_world_manager.go:739
↓ 1 callers
Method
PlayerInputCommand
PlayerInputCommand 玩家输入要处理的命令
gs/game/game_command_manager.go:116
↓ 1 callers
Method
PlayerLoginReq
(userId uint32, clientSeq uint32, gateAppId string, payloadMsg pb.Message)
gs/game/player_login.go:18
↓ 1 callers
Method
PlayerPropNotify
(player *model.Player, playerPropId uint16)
gs/game/player_stamina.go:401
↓ 1 callers
Method
PlayerTimeNotify
(world *World)
gs/game/player_common.go:238
↓ 1 callers
Function
ProtoDecode
(kcpMsg *KcpMsg, serverCmdProtoMap *cmd.CmdProtoMap, clientCmdProtoMap *client_proto.ClientCmdProtoMap)
gate/net/proto_endecode.go:28
↓ 1 callers
Function
ProtoDecodePayloadLoop
(cmdId uint16, protoData []byte, protoMessageList *[]*ProtoMessage, serverCmdProtoMap *cmd.CmdProtoMap, clien
gate/net/proto_endecode.go:128
↓ 1 callers
Function
ProtoEncode
(protoMsg *ProtoMsg, serverCmdProtoMap *cmd.CmdProtoMap, clientCmdProtoMap *client_proto.ClientCmdProtoMap)
gate/net/proto_endecode.go:198
↓ 1 callers
Method
PutProtoObjCache
PutProtoObjCache 将使用结束的对象放回缓存池 请务必确保对象的生命周期真的已经结束了 否则会产生不可预料的后果
protocol/cmd/cmd_id_proto_obj_map.go:408
↓ 1 callers
Method
QueryChatMsgListByUid
(uid uint32)
gs/dao/player_mongo.go:252
↓ 1 callers
Method
QueryPath
(userId uint32, gateAppId string, payloadMsg pb.Message)
pathfinding/handle/query_path.go:44
↓ 1 callers
Method
QueryPlayerByID
(playerID uint32)
gs/dao/player_mongo.go:182
↓ 1 callers
Method
QuestExec
QuestExec 任务开始执行触发操作
gs/game/player_quest.go:179
↓ 1 callers
Method
QuestStartTriggerCheck
QuestStartTriggerCheck 任务开始触发器检测
gs/game/lua_trigger.go:147
↓ 1 callers
Method
ReLoginPlayer
(userId uint32, isQuitMp bool)
gs/game/game.go:392
↓ 1 callers
Method
ReadAndUpdateChatMsgByUid
(uid uint32, targetUid uint32)
gs/dao/player_mongo.go:275
↓ 1 callers
Method
ReadAndUpdateUserChatMsgToDbSync
(uid uint32, targetUid uint32)
gs/game/game_user_manager.go:549
↓ 1 callers
Function
ReadJpgFile
(fileName string)
gs/game/audio_video.go:212
↓ 1 callers
Method
ReceiveGCGMessagePackNotify
ReceiveGCGMessagePackNotify 接收GCG消息包通知
gs/game/game_gcg_manager.go:1179
↓ 1 callers
Function
RegLuaScriptLibFunc
RegLuaScriptLibFunc 注册LUA侧ScriptLib调用的Golang方法
gs/game/lua_func.go:105
↓ 1 callers
Method
ReleaseTX
Release all cached outgoing segments
gate/kcp/kcp.go:1081
↓ 1 callers
Function
ReloadGameDataConfig
()
gdconf/game_data_config.go:83
↓ 1 callers
Method
RemoveGroupSuite
(groupId uint32, suiteId uint8)
gs/game/game_world_scene.go:383
↓ 1 callers
Method
RemoveMultiplayerTeam
(player *model.Player)
gs/game/game_world_manager.go:673
↓ 1 callers
Method
RemoveObject
RemoveObject 从格子中删除一个对象
pkg/alg/aoi.go:253
↓ 1 callers
Method
RemoveObjectFromGrid
RemoveObjectFromGrid 移除一个格子中的object
pkg/alg/aoi.go:199
↓ 1 callers
Method
RemovePlayer
(player *model.Player)
gs/game/game_world_manager.go:367
↓ 1 callers
Method
RemoveWaitPlayer
(uid uint32)
gs/game/game_world_manager.go:755
↓ 1 callers
Function
ReplaceGameDataConfig
()
gdconf/game_data_config.go:92
↓ 1 callers
Method
ReserveBytes
ReserveBytes keeps n bytes untouched from the beginning of the buffer, the output_callback function should be aware of this. Return false if n >= mss
gate/kcp/kcp.go:220
↓ 1 callers
Method
RevivePlayerAvatar
RevivePlayerAvatar 复活玩家活跃角色实体
gs/game/player_scene.go:478
↓ 1 callers
Method
RouteHandle
(netMsg *mq.NetMsg)
gs/game/game_route_manager.go:155
↓ 1 callers
Function
RsaVerify
(rawData []byte, signData []byte, pubKey *rsa.PublicKey)
pkg/endec/endec.go:79
↓ 1 callers
Function
SHfu
(t)
cmd/dispatch/static/geetest/static/js/gct.e7810b5b525994e2fb1f89135f8df14a.js:1
↓ 1 callers
Method
SaveUserChatMsgToDbSync
(chatMsg *model.ChatMsg)
gs/game/game_user_manager.go:541
↓ 1 callers
Method
SaveUserListToDbSync
(insertPlayerList []*model.Player, updatePlayerList []*model.Player)
gs/game/game_user_manager.go:492
↓ 1 callers
Method
SaveUserListToRedisSync
(setPlayerList []*model.Player)
gs/game/game_user_manager.go:566
↓ 1 callers
Method
ScenePlayerLocationNotify
(world *World)
gs/game/player_common.go:169
↓ 1 callers
Method
SceneRegionTriggerCheck
SceneRegionTriggerCheck 场景区域触发器检测
gs/game/lua_trigger.go:12
↓ 1 callers
Method
SceneTimeNotify
(world *World)
gs/game/player_common.go:226
↓ 1 callers
Method
Send
Send an email using the given host and SMTP auth (optional), returns any error thrown by smtp.SendMail This function merges the To, Cc, and Bcc fields
pkg/email/email.go:509
↓ 1 callers
Method
Send
Send is user/upper level send, returns below zero for error
gate/kcp/kcp.go:320
↓ 1 callers
Method
SendGCGMessagePackNotify
SendGCGMessagePackNotify 发送GCG游戏消息包通知
gs/game/player_gcg.go:460
↓ 1 callers
Method
SendMsgPack
SendMsgPack 发送待发送区的所有消息包
gs/game/game_gcg_manager.go:719
↓ 1 callers
Method
SendToAnticheat
(appId string, netMsg *NetMsg)
common/mq/topic.go:38
↓ 1 callers
Method
SendToPathfinding
(appId string, netMsg *NetMsg)
common/mq/topic.go:48
← previous
next →
801–900 of 1,514, ranked by callers