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
↓ 4 callers
Method
GetModifierList
()
gs/game/game_world_manager.go:437
↓ 4 callers
Method
GetMoveState
()
gs/game/game_world_scene.go:573
↓ 4 callers
Method
GetNeighborGroup
GetNeighborGroup 获取某位置附近的场景组
gs/game/player_scene.go:587
↓ 4 callers
Function
GetRandomStr
(strLen int)
pkg/random/random.go:17
↓ 4 callers
Method
GetRedisPlayerKey
GetRedisPlayerKey 获取玩家数据key
gs/dao/player_redis.go:21
↓ 4 callers
Method
GetUid
()
gs/game/game_world_scene.go:638
↓ 4 callers
Method
GetVisionEntity
GetVisionEntity 获取某位置视野内的全部实体
gs/game/player_scene.go:574
↓ 4 callers
Function
GetWeaponPromoteDataByIdAndLevel
(promoteId int32, promoteLevel int32)
gdconf/weapon_promote_data.go:50
↓ 4 callers
Method
GetWorldAvatarByEntityId
GetWorldAvatarByEntityId 通过场景实体id获取世界队伍中的角色
gs/game/game_world_manager.go:479
↓ 4 callers
Method
GiveCharCard
GiveCharCard 给予操控者角色卡牌
gs/game/game_gcg_manager.go:358
↓ 4 callers
Function
H
(t,e)
cmd/dispatch/static/geetest/static/js/slide.7.8.6.js:1
↓ 4 callers
Function
InitGameDataConfig
()
gdconf/game_data_config.go:74
↓ 4 callers
Method
InitPlayerWorldAvatar
InitPlayerWorldAvatar 初始化某玩家在世界队伍中的所有角色
gs/game/game_world_manager.go:489
↓ 4 callers
Method
IsBigWorld
(world *World)
gs/game/game_world_manager.go:104
↓ 4 callers
Method
IsPlayerInVehicle
IsPlayerInVehicle 判断玩家是否在载具中
gs/game/player_vehicle.go:82
↓ 4 callers
Method
KeepaliveServer
KeepaliveServer 服务器在线心跳保持
node/service/discovery.go:155
↓ 4 callers
Method
LoadGlobalPlayer
LoadGlobalPlayer 加载并返回一个全服玩家及其在线状态 玩家数据只读禁止修改 参见LoadTempOfflineUser说明
gs/game/game_user_manager.go:308
↓ 4 callers
Function
LoadRsaKey
()
common/region/region.go:16
↓ 4 callers
Method
LocalAddr
LocalAddr returns the local network address. The Addr returned is shared by all invocations of LocalAddr, so do not modify it.
gate/kcp/session.go:370
↓ 4 callers
Function
NewCmdProtoMap
()
protocol/cmd/cmd_id_proto_obj_map.go:22
↓ 4 callers
Function
NewEc2b
()
pkg/random/hk4e_ec2b.go:39
↓ 4 callers
Function
NewEmail
NewEmail creates an Email, and returns the pointer to it.
pkg/email/email.go:63
↓ 4 callers
Function
NewInvokeHandler
()
gs/model/player.go:115
↓ 4 callers
Method
PacketFightPropMapToPbFightPropList
(fightPropMap map[uint32]float32)
gs/game/player_scene.go:835
↓ 4 callers
Method
PacketSceneEntityInfoAvatar
(scene *Scene, player *model.Player, avatarId uint32)
gs/game/player_scene.go:851
↓ 4 callers
Method
PacketSceneTeamUpdateNotify
(world *World)
gs/game/player_team.go:229
↓ 4 callers
Function
Pfch
(t,e,n)
cmd/dispatch/static/geetest/static/js/gct.e7810b5b525994e2fb1f89135f8df14a.js:1
↓ 4 callers
Method
QueryAccountByField
(fieldName string, fieldValue any)
dispatch/dao/account_mongo.go:48
↓ 4 callers
Method
RegisterRouter
RegisterRouter 注册命令路由
gs/game/game_command_manager.go:89
↓ 4 callers
Method
RegisterServer
RegisterServer 服务器启动注册获取appid
node/service/discovery.go:76
↓ 4 callers
Method
RemoveSceneEntityNotifyToPlayer
RemoveSceneEntityNotifyToPlayer 移除的场景实体同步给玩家
gs/game/player_scene.go:354
↓ 4 callers
Method
SaveUserToRedisSync
(player *model.Player)
gs/game/game_user_manager.go:562
↓ 4 callers
Method
SendSucc
SendSucc 通用返回成功
gs/game/game.go:359
↓ 4 callers
Method
SendToAll
(netMsg *NetMsg)
common/mq/topic.go:58
↓ 4 callers
Method
SendToWorldAEC
SendToWorldAEC 给世界内除某玩家(一般是自己)以外的所有玩家发消息
gs/game/game.go:378
↓ 4 callers
Method
SetWriteDeadline
SetWriteDeadline implements the Conn SetWriteDeadline method.
gate/kcp/session.go:810
↓ 4 callers
Method
TakeOffReliquary
(avatarId uint32, reliquary *Reliquary)
gs/model/db_avatar.go:204
↓ 4 callers
Method
UserDealEnterWorld
(hostPlayer *model.Player, otherUid uint32, agree bool)
gs/game/player_multiplayer.go:261
↓ 4 callers
Method
UserLeaveWorld
(player *model.Player)
gs/game/player_multiplayer.go:356
↓ 4 callers
Method
WaitSnd
WaitSnd gets how many packet is waiting to be sent
gate/kcp/kcp.go:1064
↓ 4 callers
Function
base64Wrap
base64Wrap encodes the attachment content, and wraps it according to RFC 2045 standards (every 76 chars) The output is then written to the specified i
pkg/email/email.go:733
↓ 4 callers
Method
createConfigEntity
创建配置表里的实体
gs/game/game_world_scene.go:401
↓ 4 callers
Method
defaultTx
(txqueue []ipv4.Message)
gate/kcp/udp_socket.go:121
↓ 4 callers
Method
encode
encode a segment into buffer
gate/kcp/kcp.go:131
↓ 4 callers
Method
getGoroutineId
()
pkg/logger/logger.go:280
↓ 4 callers
Method
getLevelStr
(level int)
pkg/logger/logger.go:248
↓ 4 callers
Method
getLineFunc
()
pkg/logger/logger.go:289
↓ 4 callers
Method
getThreadId
()
pkg/logger/logger_linux.go:12
↓ 4 callers
Function
handleAddressList
(v []string)
pkg/email/email.go:88
↓ 4 callers
Function
ikcp_decode32u
* decode 32 bits unsigned int (lsb) */
gate/kcp/kcp.go:80
↓ 4 callers
Function
ikcp_encode32u
* encode 32 bits unsigned int (lsb) */
gate/kcp/kcp.go:68
↓ 4 callers
Function
mixColInv
(key []byte)
pkg/random/hk4e_ec2b.go:154
↓ 4 callers
Function
newLuaState
(luaStr string)
gdconf/game_data_config.go:334
↓ 4 callers
Method
notifyWriteEvent
()
gate/kcp/session.go:600
↓ 4 callers
Method
parseSender
Select and parse an SMTP envelope sender address. Choose Email.Sender if set, or fallback to Email.From.
pkg/email/email.go:536
↓ 4 callers
Function
u
(t)
cmd/dispatch/static/geetest/static/js/gct.e7810b5b525994e2fb1f89135f8df14a.js:1
↓ 4 callers
Method
uncork
uncork sends data in txqueue if there is any
gate/kcp/session.go:325
↓ 3 callers
Function
$_BAv
(t)
cmd/dispatch/static/geetest/static/js/slide.7.8.6.js:1
↓ 3 callers
Function
$_BFf
(t)
cmd/dispatch/static/geetest/static/js/slide.7.8.6.js:1
↓ 3 callers
Method
AddUserAvatar
(userId uint32, avatarId uint32)
gs/game/player_avatar.go:459
↓ 3 callers
Method
AddUserWeapon
(userId uint32, itemId uint32)
gs/game/player_weapon.go:28
↓ 3 callers
Method
ChangeUserDbState
ChangeUserDbState 玩家存档状态机 主要用于玩家定时保存时进行分类处理
gs/game/game_user_manager.go:182
↓ 3 callers
Method
ConvPbVecToMeshVec
(pbVec *proto.Vector)
pathfinding/handle/query_path.go:12
↓ 3 callers
Method
CreateDropGadget
CreateDropGadget 创建掉落物的物件实体
gs/game/player_scene.go:698
↓ 3 callers
Method
DistUnlock
DistUnlock 解锁
gs/dao/player_redis.go:180
↓ 3 callers
Method
EntityFightPropUpdateNotifyBroadcast
EntityFightPropUpdateNotifyBroadcast 场景实体战斗属性变更通知广播
gs/game/player_scene.go:437
↓ 3 callers
Function
F
(t,e,n)
cmd/dispatch/static/geetest/static/js/slide.7.8.6.js:1
↓ 3 callers
Method
GCGMsgPhaseContinue
GCGMsgPhaseContinue GCG消息阶段跳过
gs/game/game_gcg_manager.go:769
↓ 3 callers
Method
GCGMsgTokenChange
GCGMsgTokenChange GCG消息卡牌Token修改
gs/game/game_gcg_manager.go:1005
↓ 3 callers
Method
GCGMsgUpdateController
GCGMsgUpdateController GCG消息更新操控者
gs/game/game_gcg_manager.go:780
↓ 3 callers
Method
GetAiWorld
GetAiWorld 获取本服务器的Ai世界
gs/game/game_world_manager.go:86
↓ 3 callers
Method
GetAllItemDataConfig
()
gs/game/player_item.go:16
↓ 3 callers
Method
GetAvatarEntity
()
gs/game/game_world_scene.go:609
↓ 3 callers
Function
GetAvatarSkillDepotDataById
(avatarSkillDepotId int32)
gdconf/avatar_skill_depot_data.go:121
↓ 3 callers
Method
GetBaseHpByLevel
TODO 成长属性要读表
gdconf/avatar_data.go:90
↓ 3 callers
Function
GetContextGroup
GetContextGroup 获取上下文中的场景组对象
gs/game/lua_func.go:87
↓ 3 callers
Method
GetControllerByUserId
GetControllerByUserId 通过玩家Id获取GCGController对象
gs/game/game_gcg_manager.go:1160
↓ 3 callers
Function
GetDistance
(v1 *proto.Vector, v2 *proto.Vector)
anticheat/handle/handle.go:223
↓ 3 callers
Function
GetDropDataById
(dropId int32)
gdconf/drop_data.go:266
↓ 3 callers
Function
GetGCGSkillDataById
(skillId int32)
gdconf/gcg_skill_data.go:105
↓ 3 callers
Function
GetGadgetDataById
(gadgetId int32)
gdconf/gadget_data.go:42
↓ 3 callers
Method
GetGadgetNormalEntity
()
gs/game/game_world_scene.go:692
↓ 3 callers
Method
GetGameTime
()
gs/game/game_world_scene.go:50
↓ 3 callers
Function
GetItemDataMap
()
gdconf/item_data.go:59
↓ 3 callers
Method
GetLifeState
()
gs/game/game_world_scene.go:561
↓ 3 callers
Method
GetPlayerAvatarIndexByAvatarId
GetPlayerAvatarIndexByAvatarId 获取玩家某角色的索引
gs/game/game_world_manager.go:557
↓ 3 callers
Method
GetPlayerTeamEntityId
GetPlayerTeamEntityId 获取某玩家的本地队伍实体id
gs/game/game_world_manager.go:508
↓ 3 callers
Method
GetPlayerWorldAvatarList
GetPlayerWorldAvatarList 获取某玩家在世界队伍中的所有角色列表
gs/game/game_world_manager.go:468
↓ 3 callers
Method
GetPlayerWorldAvatarWeaponEntityId
GetPlayerWorldAvatarWeaponEntityId 获取某玩家在世界队伍中的某角色的武器的实体id
gs/game/game_world_manager.go:527
↓ 3 callers
Method
GetProtoObjByCmdId
反射方法
protocol/cmd/cmd_id_proto_obj_map.go:419
↓ 3 callers
Function
GetRandomByte
(len int)
pkg/random/random.go:26
↓ 3 callers
Function
GetScenePointMapBySceneId
(sceneId int32)
gdconf/scene_point.go:140
↓ 3 callers
Function
GetSceneTagDataMap
()
gdconf/scene_tag_data.go:27
↓ 3 callers
Method
GetServerAppId
GetServerAppId 获取负载最小的服务器的appid
node/service/discovery.go:173
↓ 3 callers
Method
GetTeamByIndex
(teamIndex uint8)
gs/model/db_team.go:102
↓ 3 callers
Method
GetVehicleId
()
gs/game/game_world_scene.go:763
↓ 3 callers
Method
GridXLen
GridXLen 每个格子在x轴方向的长度
pkg/alg/aoi.go:62
↓ 3 callers
Method
GridYLen
GridYLen 每个格子在y轴方向的长度
pkg/alg/aoi.go:67
↓ 3 callers
Method
GridZLen
GridZLen 每个格子在z轴方向的长度
pkg/alg/aoi.go:72
↓ 3 callers
Method
IsMainGs
()
gs/game/game.go:133
← previous
next →
201–300 of 1,514, ranked by callers