MCPcopy Create free account

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

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

↓ 1 callersMethodGetMainGameServerAppId
GetMainGameServerAppId 获取主游戏服务器的appid
node/service/discovery.go:260
↓ 1 callersMethodGetMaxPayloadLen
()
gate/kcp/session.go:251
↓ 1 callersMethodGetMaxStamina
()
gs/game/game_world_scene.go:771
↓ 1 callersFunctionGetMonsterDropDataByDropTagAndLevel
(dropTag string, level int32)
gdconf/monster_drop_data.go:29
↓ 1 callersMethodGetMonsterEntity
()
gs/game/game_world_scene.go:613
↓ 1 callersMethodGetMonsterId
()
gs/game/game_world_scene.go:650
↓ 1 callersMethodGetMoveSpeed
()
anticheat/handle/handle.go:82
↓ 1 callersMethodGetMpLevelEntityId
()
gs/game/game_world_manager.go:276
↓ 1 callersMethodGetNeighbor
(node *PathNode)
pkg/alg/bfs_pathfinding.go:93
↓ 1 callersMethodGetNextAccountId
()
dispatch/dao/account_redis.go:16
↓ 1 callersMethodGetNextYuanShenUid
()
dispatch/dao/account_redis.go:20
↓ 1 callersMethodGetNpcEntity
()
gs/game/game_world_scene.go:617
↓ 1 callersMethodGetObjectListByPos
GetObjectListByPos 通过坐标得到周边格子内的全部object
pkg/alg/aoi.go:164
↓ 1 callersMethodGetPath
()
pkg/alg/bfs_pathfinding.go:147
↓ 1 callersMethodGetPlayerAvatarIndex
GetPlayerAvatarIndex 获取某玩家当前角色索引
gs/game/game_world_manager.go:536
↓ 1 callersMethodGetPlayerByPeerId
GetPlayerByPeerId 通过世界内编号获取玩家
gs/game/game_world_manager.go:313
↓ 1 callersFunctionGetPlayerLevelDataById
(level int32)
gdconf/player_level_data.go:23
↓ 1 callersMethodGetPropOwnerEntityId
()
gs/game/game_world_scene.go:751
↓ 1 callersFunctionGetQuestDataMap
()
gdconf/quest_data.go:392
↓ 1 callersMethodGetRTO
GetRTO gets current rto of the session
gate/kcp/session.go:573
↓ 1 callersFunctionGetRandomByteHexStr
(len int)
pkg/random/random.go:35
↓ 1 callersMethodGetRedisPlayer
GetRedisPlayer 获取玩家数据
gs/dao/player_redis.go:31
↓ 1 callersFunctionGetRegionCurr
(kcpAddr string, kcpPort int32, ec2b *random.Ec2b)
common/region/region.go:76
↓ 1 callersFunctionGetRegionCurrBase64
(kcpAddr string, kcpPort int32, ec2b *random.Ec2b)
common/region/region.go:98
↓ 1 callersFunctionGetRegionList
(ec2b *random.Ec2b)
common/region/region.go:44
↓ 1 callersFunctionGetRegionListBase64
(ec2b *random.Ec2b)
common/region/region.go:88
↓ 1 callersMethodGetReliquary
(reliquaryId uint64)
gs/model/db_reliquary.go:70
↓ 1 callersFunctionGetReliquaryAffixDataByDepotIdAndPropId
(appendPropDepotId int32, appendPropId int32)
gdconf/reliquary_affix_data.go:30
↓ 1 callersFunctionGetReliquaryAffixDataMap
()
gdconf/reliquary_affix_data.go:38
↓ 1 callersMethodGetReliquaryAffixDataRandomByDepotId
(appendPropDepotId int32, excludeTypeList ...uint32)
gs/game/player_reliquary.go:84
↓ 1 callersFunctionGetReliquaryMainDataByDepotIdAndPropId
(mainPropDepotId int32, mainPropId int32)
gdconf/reliquary_main_data.go:30
↓ 1 callersFunctionGetReliquaryMainDataMap
()
gdconf/reliquary_main_data.go:38
↓ 1 callersMethodGetReliquaryMainDataRandomByDepotId
(mainPropDepotId int32)
gs/game/player_reliquary.go:24
↓ 1 callersMethodGetReliquaryMapLen
()
gs/model/db_reliquary.go:34
↓ 1 callersMethodGetRemoteOnlineUserList
GetRemoteOnlineUserList 获取指定数量的远程在线玩家 玩家数据只读禁止修改
gs/game/game_user_manager.go:280
↓ 1 callersFunctionGetRewardDataById
(rewardID int32)
gdconf/reward_data.go:60
↓ 1 callersMethodGetSRTTVar
GetRTTVar gets current rtt variance of the session
gate/kcp/session.go:587
↓ 1 callersMethodGetSaveUserChan
db和redis相关操作
gs/game/game_user_manager.go:408
↓ 1 callersFunctionGetSceneDataById
(sceneId int32)
gdconf/scene_data.go:23
↓ 1 callersFunctionGetSceneLuaConfigMap
()
gdconf/scene_lua_config.go:398
↓ 1 callersMethodGetSessionByUserId
(userId uint32)
gate/net/kcp_connect_manager.go:446
↓ 1 callersFunctionGetSkillStaminaDataByAbilityHashCode
(abilityHashCode int32)
gdconf/skill_stamina_data.go:26
↓ 1 callersFunctionGetStructFieldValue
(structPointer any, fieldName string)
pkg/reflection/struct.go:29
↓ 1 callersMethodGetSuiteById
(suiteId uint8)
gs/game/game_world_scene.go:484
↓ 1 callersMethodGetTargetEntityId
()
gs/game/game_world_scene.go:747
↓ 1 callersFunctionGetTriggerDataMap
()
gdconf/trigger_data.go:29
↓ 1 callersMethodGetUserOnlineState
在线玩家相关操作 GetUserOnlineState 获取玩家在线状态
gs/game/game_user_manager.go:44
↓ 1 callersMethodGetWeapon
(weaponId uint64)
gs/model/db_weapon.go:64
↓ 1 callersMethodGetWeaponMapLen
()
gs/model/db_weapon.go:34
↓ 1 callersMethodGetWeaponUpgradeReturnMaterial
GetWeaponUpgradeReturnMaterial 获取武器强化返回的材料
gs/game/player_weapon.go:365
↓ 1 callersMethodHandleCommand
HandleCommand 处理命令 主协程接收到命令消息后执行
gs/game/game_command_manager.go:241
↓ 1 callersMethodHandleDrown
HandleDrown 处理玩家溺水
gs/game/player_stamina.go:364
↓ 1 callersMethodHostEnterMpWorld
(hostPlayer *model.Player)
gs/game/player_multiplayer.go:320
↓ 1 callersMethodInitAiWorld
InitAiWorld 初始化Ai世界
gs/game/game_world_manager.go:91
↓ 1 callersMethodInitAllAvatar
(player *Player)
gs/model/db_avatar.go:52
↓ 1 callersMethodInitAllItem
(player *Player)
gs/model/db_item.go:22
↓ 1 callersMethodInitAllReliquary
(player *Player)
gs/model/db_reliquary.go:38
↓ 1 callersMethodInitAllWeapon
(player *Player)
gs/model/db_weapon.go:38
↓ 1 callersMethodInitDeckCard
InitDeckCard 初始化操控者的卡组
gs/game/game_gcg_manager.go:343
↓ 1 callersMethodInitGame
InitGame 初始化GCG游戏
gs/game/game_gcg_manager.go:641
↓ 1 callersMethodInitInvokeHandler
()
gs/model/player.go:121
↓ 1 callersMethodInitMap
(terrain map[MeshVector]bool, start MeshVector, end MeshVector, extR int16)
pkg/alg/bfs_pathfinding.go:32
↓ 1 callersMethodInitOnlineData
()
gs/model/player.go:91
↓ 1 callersMethodInitPlayerTeamEntityId
InitPlayerTeamEntityId 初始化某玩家的本地队伍实体id
gs/game/game_world_manager.go:513
↓ 1 callersMethodInitRouter
InitRouter 初始化命令路由
gs/game/game_command_manager.go:71
↓ 1 callersMethodInitTerrain
()
pathfinding/world/world_static.go:23
↓ 1 callersMethodInput
Input a packet into kcp state machine. 'regular' indicates it's a real data packet from remote, and it means it's not generated from ReedSolomon code
gate/kcp/kcp.go:542
↓ 1 callersMethodInputCommand
InputCommand 输入要处理的命令
gs/game/game_command_manager.go:128
↓ 1 callersMethodInsertAccount
(account *model.Account)
dispatch/dao/account_mongo.go:13
↓ 1 callersMethodInsertChatMsg
(chatMsg *model.ChatMsg)
gs/dao/player_mongo.go:27
↓ 1 callersMethodInsertClientLog
(clientLog *model.ClientLog)
dispatch/dao/client_log_mongo.go:12
↓ 1 callersMethodInsertPlayer
(player *model.Player)
gs/dao/player_mongo.go:18
↓ 1 callersMethodInsertPlayerList
(playerList []*model.Player)
gs/dao/player_mongo.go:36
↓ 1 callersMethodIsAiWorld
(world *World)
gs/game/game_world_manager.go:96
↓ 1 callersMethodIsCommand
IsCommand 命令是否已被注册
gs/game/game_command_manager.go:105
↓ 1 callersFunctionK
(t)
cmd/dispatch/static/geetest/static/js/slide.7.8.6.js:1
↓ 1 callersMethodKillPlayerAvatar
KillPlayerAvatar 杀死玩家活跃角色实体
gs/game/player_scene.go:446
↓ 1 callersMethodLen
()
pkg/alg/queue.go:62
↓ 1 callersMethodLen
()
pkg/alg/queue.go:99
↓ 1 callersMethodLen
()
gate/kcp/timedsched.go:21
↓ 1 callersFunctionLoadFrameFile
()
gs/game/audio_video.go:243
↓ 1 callersMethodLoadUserChatMsgFromDbSync
(userId uint32)
gs/game/game_user_manager.go:506
↓ 1 callersMethodLoadUserFromRedisSync
(userId uint32)
gs/game/game_user_manager.go:557
↓ 1 callersMethodLocalEventHandle
(localEvent *LocalEvent)
gs/game/game_local_event_manager.go:64
↓ 1 callersMethodLogoutPlayer
(userId uint32)
gs/game/game.go:402
↓ 1 callersFunctionLuaStateLruRemove
()
gdconf/scene_lua_config.go:429
↓ 1 callersMethodMonsterDieTriggerCheck
MonsterDieTriggerCheck 怪物死亡触发器检测
gs/game/lua_trigger.go:111
↓ 1 callersMethodMove
(pos *proto.Vector)
anticheat/handle/handle.go:36
↓ 1 callersFunctionNewAnticheatContext
()
anticheat/handle/handle.go:101
↓ 1 callersFunctionNewBFS
()
pkg/alg/bfs_pathfinding.go:27
↓ 1 callersFunctionNewComboTokenRsp
()
dispatch/api/combo_token_rsp.go:19
↓ 1 callersFunctionNewCommandManager
NewCommandManager 新建命令管理器
gs/game/game_command_manager.go:51
↓ 1 callersFunctionNewConn2
NewConn2 establishes a session and talks KCP protocol over a packet connection.
gate/kcp/session.go:952
↓ 1 callersFunctionNewConn3
NewConn3 establishes a session and talks KCP protocol over a packet connection.
gate/kcp/session.go:947
↓ 1 callersFunctionNewController
(gm *rpc.GMClient)
gm/controller/controller.go:18
↓ 1 callersFunctionNewController
(dao *dao.Dao, discovery *rpc.DiscoveryClient)
dispatch/controller/controller.go:29
↓ 1 callersFunctionNewDao
()
dispatch/dao/dao.go:23
↓ 1 callersFunctionNewDao
()
gs/dao/dao.go:23
↓ 1 callersFunctionNewDbGacha
()
gs/model/db_gacha.go:22
↓ 1 callersFunctionNewDbTeam
()
gs/model/db_team.go:50
← previousnext →701–800 of 1,514, ranked by callers