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
Method
GetMainGameServerAppId
GetMainGameServerAppId 获取主游戏服务器的appid
node/service/discovery.go:260
↓ 1 callers
Method
GetMaxPayloadLen
()
gate/kcp/session.go:251
↓ 1 callers
Method
GetMaxStamina
()
gs/game/game_world_scene.go:771
↓ 1 callers
Function
GetMonsterDropDataByDropTagAndLevel
(dropTag string, level int32)
gdconf/monster_drop_data.go:29
↓ 1 callers
Method
GetMonsterEntity
()
gs/game/game_world_scene.go:613
↓ 1 callers
Method
GetMonsterId
()
gs/game/game_world_scene.go:650
↓ 1 callers
Method
GetMoveSpeed
()
anticheat/handle/handle.go:82
↓ 1 callers
Method
GetMpLevelEntityId
()
gs/game/game_world_manager.go:276
↓ 1 callers
Method
GetNeighbor
(node *PathNode)
pkg/alg/bfs_pathfinding.go:93
↓ 1 callers
Method
GetNextAccountId
()
dispatch/dao/account_redis.go:16
↓ 1 callers
Method
GetNextYuanShenUid
()
dispatch/dao/account_redis.go:20
↓ 1 callers
Method
GetNpcEntity
()
gs/game/game_world_scene.go:617
↓ 1 callers
Method
GetObjectListByPos
GetObjectListByPos 通过坐标得到周边格子内的全部object
pkg/alg/aoi.go:164
↓ 1 callers
Method
GetPath
()
pkg/alg/bfs_pathfinding.go:147
↓ 1 callers
Method
GetPlayerAvatarIndex
GetPlayerAvatarIndex 获取某玩家当前角色索引
gs/game/game_world_manager.go:536
↓ 1 callers
Method
GetPlayerByPeerId
GetPlayerByPeerId 通过世界内编号获取玩家
gs/game/game_world_manager.go:313
↓ 1 callers
Function
GetPlayerLevelDataById
(level int32)
gdconf/player_level_data.go:23
↓ 1 callers
Method
GetPropOwnerEntityId
()
gs/game/game_world_scene.go:751
↓ 1 callers
Function
GetQuestDataMap
()
gdconf/quest_data.go:392
↓ 1 callers
Method
GetRTO
GetRTO gets current rto of the session
gate/kcp/session.go:573
↓ 1 callers
Function
GetRandomByteHexStr
(len int)
pkg/random/random.go:35
↓ 1 callers
Method
GetRedisPlayer
GetRedisPlayer 获取玩家数据
gs/dao/player_redis.go:31
↓ 1 callers
Function
GetRegionCurr
(kcpAddr string, kcpPort int32, ec2b *random.Ec2b)
common/region/region.go:76
↓ 1 callers
Function
GetRegionCurrBase64
(kcpAddr string, kcpPort int32, ec2b *random.Ec2b)
common/region/region.go:98
↓ 1 callers
Function
GetRegionList
(ec2b *random.Ec2b)
common/region/region.go:44
↓ 1 callers
Function
GetRegionListBase64
(ec2b *random.Ec2b)
common/region/region.go:88
↓ 1 callers
Method
GetReliquary
(reliquaryId uint64)
gs/model/db_reliquary.go:70
↓ 1 callers
Function
GetReliquaryAffixDataByDepotIdAndPropId
(appendPropDepotId int32, appendPropId int32)
gdconf/reliquary_affix_data.go:30
↓ 1 callers
Function
GetReliquaryAffixDataMap
()
gdconf/reliquary_affix_data.go:38
↓ 1 callers
Method
GetReliquaryAffixDataRandomByDepotId
(appendPropDepotId int32, excludeTypeList ...uint32)
gs/game/player_reliquary.go:84
↓ 1 callers
Function
GetReliquaryMainDataByDepotIdAndPropId
(mainPropDepotId int32, mainPropId int32)
gdconf/reliquary_main_data.go:30
↓ 1 callers
Function
GetReliquaryMainDataMap
()
gdconf/reliquary_main_data.go:38
↓ 1 callers
Method
GetReliquaryMainDataRandomByDepotId
(mainPropDepotId int32)
gs/game/player_reliquary.go:24
↓ 1 callers
Method
GetReliquaryMapLen
()
gs/model/db_reliquary.go:34
↓ 1 callers
Method
GetRemoteOnlineUserList
GetRemoteOnlineUserList 获取指定数量的远程在线玩家 玩家数据只读禁止修改
gs/game/game_user_manager.go:280
↓ 1 callers
Function
GetRewardDataById
(rewardID int32)
gdconf/reward_data.go:60
↓ 1 callers
Method
GetSRTTVar
GetRTTVar gets current rtt variance of the session
gate/kcp/session.go:587
↓ 1 callers
Method
GetSaveUserChan
db和redis相关操作
gs/game/game_user_manager.go:408
↓ 1 callers
Function
GetSceneDataById
(sceneId int32)
gdconf/scene_data.go:23
↓ 1 callers
Function
GetSceneLuaConfigMap
()
gdconf/scene_lua_config.go:398
↓ 1 callers
Method
GetSessionByUserId
(userId uint32)
gate/net/kcp_connect_manager.go:446
↓ 1 callers
Function
GetSkillStaminaDataByAbilityHashCode
(abilityHashCode int32)
gdconf/skill_stamina_data.go:26
↓ 1 callers
Function
GetStructFieldValue
(structPointer any, fieldName string)
pkg/reflection/struct.go:29
↓ 1 callers
Method
GetSuiteById
(suiteId uint8)
gs/game/game_world_scene.go:484
↓ 1 callers
Method
GetTargetEntityId
()
gs/game/game_world_scene.go:747
↓ 1 callers
Function
GetTriggerDataMap
()
gdconf/trigger_data.go:29
↓ 1 callers
Method
GetUserOnlineState
在线玩家相关操作 GetUserOnlineState 获取玩家在线状态
gs/game/game_user_manager.go:44
↓ 1 callers
Method
GetWeapon
(weaponId uint64)
gs/model/db_weapon.go:64
↓ 1 callers
Method
GetWeaponMapLen
()
gs/model/db_weapon.go:34
↓ 1 callers
Method
GetWeaponUpgradeReturnMaterial
GetWeaponUpgradeReturnMaterial 获取武器强化返回的材料
gs/game/player_weapon.go:365
↓ 1 callers
Method
HandleCommand
HandleCommand 处理命令 主协程接收到命令消息后执行
gs/game/game_command_manager.go:241
↓ 1 callers
Method
HandleDrown
HandleDrown 处理玩家溺水
gs/game/player_stamina.go:364
↓ 1 callers
Method
HostEnterMpWorld
(hostPlayer *model.Player)
gs/game/player_multiplayer.go:320
↓ 1 callers
Method
InitAiWorld
InitAiWorld 初始化Ai世界
gs/game/game_world_manager.go:91
↓ 1 callers
Method
InitAllAvatar
(player *Player)
gs/model/db_avatar.go:52
↓ 1 callers
Method
InitAllItem
(player *Player)
gs/model/db_item.go:22
↓ 1 callers
Method
InitAllReliquary
(player *Player)
gs/model/db_reliquary.go:38
↓ 1 callers
Method
InitAllWeapon
(player *Player)
gs/model/db_weapon.go:38
↓ 1 callers
Method
InitDeckCard
InitDeckCard 初始化操控者的卡组
gs/game/game_gcg_manager.go:343
↓ 1 callers
Method
InitGame
InitGame 初始化GCG游戏
gs/game/game_gcg_manager.go:641
↓ 1 callers
Method
InitInvokeHandler
()
gs/model/player.go:121
↓ 1 callers
Method
InitMap
(terrain map[MeshVector]bool, start MeshVector, end MeshVector, extR int16)
pkg/alg/bfs_pathfinding.go:32
↓ 1 callers
Method
InitOnlineData
()
gs/model/player.go:91
↓ 1 callers
Method
InitPlayerTeamEntityId
InitPlayerTeamEntityId 初始化某玩家的本地队伍实体id
gs/game/game_world_manager.go:513
↓ 1 callers
Method
InitRouter
InitRouter 初始化命令路由
gs/game/game_command_manager.go:71
↓ 1 callers
Method
InitTerrain
()
pathfinding/world/world_static.go:23
↓ 1 callers
Method
Input
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 callers
Method
InputCommand
InputCommand 输入要处理的命令
gs/game/game_command_manager.go:128
↓ 1 callers
Method
InsertAccount
(account *model.Account)
dispatch/dao/account_mongo.go:13
↓ 1 callers
Method
InsertChatMsg
(chatMsg *model.ChatMsg)
gs/dao/player_mongo.go:27
↓ 1 callers
Method
InsertClientLog
(clientLog *model.ClientLog)
dispatch/dao/client_log_mongo.go:12
↓ 1 callers
Method
InsertPlayer
(player *model.Player)
gs/dao/player_mongo.go:18
↓ 1 callers
Method
InsertPlayerList
(playerList []*model.Player)
gs/dao/player_mongo.go:36
↓ 1 callers
Method
IsAiWorld
(world *World)
gs/game/game_world_manager.go:96
↓ 1 callers
Method
IsCommand
IsCommand 命令是否已被注册
gs/game/game_command_manager.go:105
↓ 1 callers
Function
K
(t)
cmd/dispatch/static/geetest/static/js/slide.7.8.6.js:1
↓ 1 callers
Method
KillPlayerAvatar
KillPlayerAvatar 杀死玩家活跃角色实体
gs/game/player_scene.go:446
↓ 1 callers
Method
Len
()
pkg/alg/queue.go:62
↓ 1 callers
Method
Len
()
pkg/alg/queue.go:99
↓ 1 callers
Method
Len
()
gate/kcp/timedsched.go:21
↓ 1 callers
Function
LoadFrameFile
()
gs/game/audio_video.go:243
↓ 1 callers
Method
LoadUserChatMsgFromDbSync
(userId uint32)
gs/game/game_user_manager.go:506
↓ 1 callers
Method
LoadUserFromRedisSync
(userId uint32)
gs/game/game_user_manager.go:557
↓ 1 callers
Method
LocalEventHandle
(localEvent *LocalEvent)
gs/game/game_local_event_manager.go:64
↓ 1 callers
Method
LogoutPlayer
(userId uint32)
gs/game/game.go:402
↓ 1 callers
Function
LuaStateLruRemove
()
gdconf/scene_lua_config.go:429
↓ 1 callers
Method
MonsterDieTriggerCheck
MonsterDieTriggerCheck 怪物死亡触发器检测
gs/game/lua_trigger.go:111
↓ 1 callers
Method
Move
(pos *proto.Vector)
anticheat/handle/handle.go:36
↓ 1 callers
Function
NewAnticheatContext
()
anticheat/handle/handle.go:101
↓ 1 callers
Function
NewBFS
()
pkg/alg/bfs_pathfinding.go:27
↓ 1 callers
Function
NewComboTokenRsp
()
dispatch/api/combo_token_rsp.go:19
↓ 1 callers
Function
NewCommandManager
NewCommandManager 新建命令管理器
gs/game/game_command_manager.go:51
↓ 1 callers
Function
NewConn2
NewConn2 establishes a session and talks KCP protocol over a packet connection.
gate/kcp/session.go:952
↓ 1 callers
Function
NewConn3
NewConn3 establishes a session and talks KCP protocol over a packet connection.
gate/kcp/session.go:947
↓ 1 callers
Function
NewController
(gm *rpc.GMClient)
gm/controller/controller.go:18
↓ 1 callers
Function
NewController
(dao *dao.Dao, discovery *rpc.DiscoveryClient)
dispatch/controller/controller.go:29
↓ 1 callers
Function
NewDao
()
dispatch/dao/dao.go:23
↓ 1 callers
Function
NewDao
()
gs/dao/dao.go:23
↓ 1 callers
Function
NewDbGacha
()
gs/model/db_gacha.go:22
↓ 1 callers
Function
NewDbTeam
()
gs/model/db_team.go:50
← previous
next →
701–800 of 1,514, ranked by callers