MCPcopy Create free account

hub / github.com/Ayin-a/hk4e / functions

Functions1,514 in github.com/Ayin-a/hk4e

↓ 629 callersFunctionError
(msg string, param ...any)
pkg/logger/logger.go:217
↓ 300 callersMethodregMsg
(cmdId uint16, protoObjNewFunc func() any)
protocol/cmd/cmd_id_proto_obj_map.go:369
↓ 204 callersMethodSendMsg
SendMsg 发送消息给客户端
gs/game/game.go:306
↓ 117 callersFunctionn
(t,e)
cmd/dispatch/static/geetest/static/js/slide.7.8.6.js:1
↓ 115 callersMethodSendError
SendError 通用返回错误码
gs/game/game.go:338
↓ 114 callersFunctionInfo
(msg string, param ...any)
pkg/logger/logger.go:187
↓ 99 callersFunctionDebug
(msg string, param ...any)
pkg/logger/logger.go:172
↓ 96 callersMethodregisterRouter
(cmdId uint16, handlerFunc HandlerFunc)
gs/game/game_route_manager.go:30
↓ 79 callersFunctione
(t)
cmd/dispatch/static/geetest/static/js/slide.7.8.6.js:1
↓ 67 callersFunctiont
()
cmd/dispatch/static/geetest/static/js/slide.7.8.6.js:1
↓ 65 callersMethodGetWorldByID
(worldId uint32)
gs/game/game_world_manager.go:41
↓ 55 callersMethodGetOnlineUser
GetOnlineUser 获取在线玩家对象
gs/game/game_user_manager.go:54
↓ 46 callersMethodGetId
()
gs/game/game_world_scene.go:26
↓ 42 callersFunctionr
(t,e,n,r,i,o,s)
cmd/dispatch/static/geetest/static/js/slide.7.8.6.js:1
↓ 41 callersMethodGetSceneById
(sceneId uint32)
gs/game/game_world_manager.go:774
↓ 40 callersFunctionv
(t,e)
cmd/dispatch/static/geetest/static/js/slide.7.8.6.js:1
↓ 37 callersFunctionGetConfig
()
common/config/config.go:64
↓ 36 callersMethodSendMessage
SendMessage 发送消息
gs/game/game_command_manager.go:340
↓ 34 callersMethodPush
(x interface{})
gate/kcp/timedsched.go:24
↓ 31 callersFunctionc
(t,e,n)
cmd/dispatch/static/geetest/static/js/slide.7.8.6.js:1
↓ 28 callersMethodGetAllPlayer
()
gs/game/game_world_scene.go:34
↓ 28 callersMethodGetDbAvatar
()
gs/model/db_avatar.go:16
↓ 28 callersFunctionWarn
(msg string, param ...any)
pkg/logger/logger.go:202
↓ 28 callersFunction_itimediff
(later, earlier uint32)
gate/kcp/kcp.go:109
↓ 27 callersFunctioni
(n,r)
cmd/dispatch/static/geetest/static/js/slide.7.8.6.js:1
↓ 26 callersFunctionGetItemDataById
(itemId int32)
gdconf/item_data.go:55
↓ 25 callersMethodClose
()
gs/game/game.go:249
↓ 25 callersMethodGetMultiplayer
()
gs/game/game_world_manager.go:272
↓ 25 callersMethodHeader
Header returns all field names
gate/kcp/snmp.go:35
↓ 23 callersMethodBytes
Bytes converts the Email object to a []byte representation, including all needed MIMEHeaders, boundaries, etc.
pkg/email/email.go:379
↓ 22 callersMethodGetEntity
(entityId uint32)
gs/game/game_world_scene.go:303
↓ 20 callersMethodGetGadgetVehicleEntity
()
gs/game/game_world_scene.go:700
↓ 20 callersMethodWrite
Write implements net.Conn
gate/kcp/session.go:244
↓ 19 callersFunction$_BCa
(t)
cmd/dispatch/static/geetest/static/js/slide.7.8.6.js:1
↓ 19 callersMethodAddUserItem
AddUserItem 玩家添加物品
gs/game/player_item.go:50
↓ 19 callersMethodEnQueue
(value any)
pkg/alg/queue.go:28
↓ 19 callersFunctionHk4eAbilityHashCode
(ability string)
pkg/endec/endec.go:180
↓ 18 callersFunction_
(n)
cmd/dispatch/static/geetest/static/js/slide.7.8.6.js:1
↓ 17 callersMethodClose
Close immediately changes the pool's state so no new connections will be created, then gets and closes the existing ones as they become available.
pkg/email/pool.go:359
↓ 17 callersMethodGetConv
GetConv gets conversation id of a session
gate/kcp/session.go:570
↓ 16 callersMethodGetOwner
()
gs/game/game_world_manager.go:225
↓ 16 callersMethodSendToWorldA
SendToWorldA 给世界内所有玩家发消息
gs/game/game.go:371
↓ 15 callersMethodGetGadgetEntity
()
gs/game/game_world_scene.go:621
↓ 14 callersMethodGetAvatarId
()
gs/game/game_world_scene.go:642
↓ 14 callersFunctionGetRandomInt32
(min int32, max int32)
pkg/random/random.go:39
↓ 14 callersMethodSendToGs
(appId string, netMsg *NetMsg)
common/mq/topic.go:28
↓ 13 callersMethodAddAllMsgPack
AddAllMsgPack 添加GCG消息包至每位游戏玩家的待发送区
gs/game/game_gcg_manager.go:696
↓ 13 callersMethodGetPlayerActiveAvatarId
GetPlayerActiveAvatarId 获取玩家当前活跃角色id
gs/game/game_world_manager.go:549
↓ 13 callersMethodGetPos
()
gs/game/game_world_scene.go:565
↓ 13 callersMethodGetRot
()
gs/game/game_world_scene.go:569
↓ 12 callersMethodGetEntityType
()
gs/game/game_world_scene.go:605
↓ 12 callersMethodUint64
()
pkg/random/hk4e_mt19937.go:37
↓ 11 callersFunctionCloseLogger
()
pkg/logger/logger.go:78
↓ 11 callersMethodGetWorldPlayerNum
GetWorldPlayerNum 获取世界中玩家的数量
gs/game/game_world_manager.go:322
↓ 11 callersFunctionInitConfig
(filePath string)
common/config/config.go:59
↓ 11 callersFunctionInitLogger
(appName string)
pkg/logger/logger.go:65
↓ 11 callersFunctionRegScriptLibFunc
(fnName string, fn lua.LGFunction)
gdconf/game_data_config.go:278
↓ 11 callersMethodUpdatePlayerStamina
UpdatePlayerStamina 更新玩家耐力
gs/game/player_stamina.go:276
↓ 11 callersFunctionz
(n)
cmd/dispatch/static/geetest/static/js/slide.7.8.6.js:1
↓ 10 callersFunctionGetAvatarDataById
(avatarId int32)
gdconf/avatar_data.go:80
↓ 10 callersMethodGetDbQuest
()
gs/model/db_quest.go:25
↓ 10 callersMethodGetDbTeam
()
gs/model/db_team.go:43
↓ 10 callersMethodGetPlayerItemCount
(userId uint32, itemId uint32)
gs/game/player_item.go:32
↓ 10 callersMethodGetPlayerWorldAvatarEntityId
GetPlayerWorldAvatarEntityId 获取某玩家在世界队伍中的某角色的实体id
gs/game/game_world_manager.go:518
↓ 10 callersFunctionGetQuestDataById
(questId int32)
gdconf/quest_data.go:388
↓ 10 callersFunctionGetSceneGroup
(groupId int32)
gdconf/scene_lua_config.go:402
↓ 10 callersMethodcopyLocalTeamToWorld
(start int, end int, peerId uint32)
gs/game/game_world_manager.go:640
↓ 10 callersFunctionw
()
cmd/dispatch/static/geetest/static/js/slide.7.8.6.js:1
↓ 9 callersMethodAddSceneEntityNotify
AddSceneEntityNotify 添加的场景实体同步 封装接口
gs/game/player_scene.go:378
↓ 9 callersMethodAttach
Attach is used to attach content from an io.Reader to the email. Required parameters include an io.Reader, the desired filename for the attachment, an
pkg/email/email.go:264
↓ 9 callersMethodCostUserItem
(userId uint32, itemList []*ChangeItem)
gs/game/player_item.go:125
↓ 9 callersMethodGetPlayerPeerId
GetPlayerPeerId 获取当前玩家世界内编号
gs/game/game_world_manager.go:301
↓ 9 callersFunctiongetSceneLuaConfigTable
(luaState *lua.LState, tableName string, object T)
gdconf/game_data_config.go:358
↓ 8 callersFunction$
(t,e,n)
cmd/dispatch/static/geetest/static/js/slide.7.8.6.js:1
↓ 8 callersFunction$_EH
(t)
cmd/dispatch/static/geetest/static/js/slide.7.8.6.js:1
↓ 8 callersFunctionCallLuaFunc
CallLuaFunc 调用LUA方法
gs/game/lua_func.go:37
↓ 8 callersMethodDestroyEntity
(entityId uint32)
gs/game/game_world_scene.go:295
↓ 8 callersFunctionGetContextPlayer
GetContextPlayer 获取上下文中的玩家对象
gs/game/lua_func.go:77
↓ 8 callersMethodGetLuaState
()
gdconf/scene_lua_config.go:448
↓ 8 callersMethodGetNextWorldEntityId
(entityType uint8)
gs/game/game_world_manager.go:280
↓ 8 callersMethodGetQuestById
GetQuestById 获取一个任务
gs/model/db_quest.go:40
↓ 8 callersMethodGetRemoteUserOnlineState
(userId uint32)
gs/game/game_user_manager.go:246
↓ 8 callersMethodRemoteAddr
RemoteAddr returns the remote network address. The Addr returned is shared by all invocations of RemoteAddr, so do not modify it.
gate/kcp/session.go:373
↓ 8 callersMethodSendMsg
(cmdId uint16, msg pb.Message)
robot/net/session.go:54
↓ 8 callersMethodUpdateAccountFieldByFieldName
(fieldName string, fieldValue any, fieldUpdateName string, fieldUpdateValue any)
dispatch/dao/account_mongo.go:28
↓ 8 callersMethodUpdateUserAvatarFightProp
(userId uint32, avatarId uint32)
gs/game/player_avatar.go:582
↓ 8 callersFunctionj
(t,e)
cmd/dispatch/static/geetest/static/js/slide.7.8.6.js:1
↓ 7 callersFunction$_BGE
(t,e,n)
cmd/dispatch/static/geetest/static/js/slide.7.8.6.js:1
↓ 7 callersFunctionB
(r,t,e,n,i,o,s)
cmd/dispatch/static/geetest/static/js/slide.7.8.6.js:1
↓ 7 callersMethodChangePhase
ChangePhase 游戏更改阶段
gs/game/game_gcg_manager.go:399
↓ 7 callersMethodClose
()
common/mq/nats.go:80
↓ 7 callersFunctionConvClientPbDataToServerCore
(protoObjName string, serverProtoObj pb.Message, clientProtoData *[]byte, clientCmdProtoMap *client_proto.Clie
gate/net/proto_endecode.go:321
↓ 7 callersFunctionConvServerPbDataToClientCore
(protoObjName string, serverProtoObj pb.Message, serverProtoData *[]byte, clientCmdProtoMap *client_proto.Clie
gate/net/proto_endecode.go:341
↓ 7 callersMethodCopy
Copy make a copy of current snmp snapshot
gate/kcp/snmp.go:84
↓ 7 callersMethodCreateEntity
(entity *Entity)
gs/game/game_world_scene.go:287
↓ 7 callersMethodDeQueue
()
pkg/alg/queue.go:41
↓ 7 callersMethodForceFinishQuest
ForceFinishQuest 强制完成一个任务
gs/model/db_quest.go:123
↓ 7 callersMethodGetAbilityList
()
gs/game/game_world_manager.go:420
↓ 7 callersMethodGetGadgetId
()
gs/game/game_world_scene.go:680
↓ 7 callersFunctionNewEmailFromReader
NewEmailFromReader reads a stream of bytes from an io.Reader, r, and returns an email struct containing the parsed data. This function expects the dat
pkg/email/email.go:107
next →1–100 of 1,514, ranked by callers