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
↓ 7 callers
Method
Put
Put a function 'f' awaiting to be executed at 'deadline'
gate/kcp/timedsched.go:134
↓ 7 callers
Method
Read
Read trims off any unicode whitespace from the originating reader
pkg/email/email.go:75
↓ 7 callers
Function
Serve
Serve 性能检测 原生pprof /debug/pprof 可视化图表 /debug/statsviz
pkg/statsviz_serve/statsviz_serve.go:12
↓ 7 callers
Function
Stack
()
pkg/logger/logger.go:306
↓ 7 callers
Method
TeleportPlayer
TeleportPlayer 传送玩家至地图上的某个位置
gs/game/player_world.go:496
↓ 7 callers
Method
closeKcpConn
关闭指定连接
gate/net/kcp_connect_manager.go:391
↓ 7 callers
Function
prepareEmail
()
pkg/email/email_test.go:19
↓ 6 callers
Function
$_BEp
(t,e)
cmd/dispatch/static/geetest/static/js/slide.7.8.6.js:1
↓ 6 callers
Function
$_HP
()
cmd/dispatch/static/geetest/static/js/slide.7.8.6.js:1
↓ 6 callers
Method
AddMsgPack
AddMsgPack 添加GCG消息包至待发送区
gs/game/game_gcg_manager.go:704
↓ 6 callers
Method
GetAllOnlineUserList
GetAllOnlineUserList 获取全部在线玩家
gs/game/game_user_manager.go:68
↓ 6 callers
Method
GetAvatarIdList
()
gs/model/db_team.go:14
↓ 6 callers
Method
GetDbItem
()
gs/model/db_item.go:7
↓ 6 callers
Method
GetDbWeapon
()
gs/model/db_weapon.go:12
↓ 6 callers
Method
GetLocalEventChan
()
gs/game/game_local_event_manager.go:46
↓ 6 callers
Method
GetMemberMap
()
gs/game/game_world_scene.go:783
↓ 6 callers
Method
GetPlayerWorldAvatar
GetPlayerWorldAvatar 获取某玩家在世界队伍中的某角色
gs/game/game_world_manager.go:458
↓ 6 callers
Method
GetRedisPlayerLockKey
GetRedisPlayerLockKey 获取玩家分布式锁key
gs/dao/player_redis.go:26
↓ 6 callers
Method
GetRemoteUserGsAppId
(userId uint32)
gs/game/game_user_manager.go:257
↓ 6 callers
Function
NewClient
NewClient 构造
common/rpc/client.go:20
↓ 6 callers
Method
PacketQuest
PacketQuest 打包一个任务
gs/game/player_quest.go:352
↓ 6 callers
Method
Read
Read implements net.Conn
gate/kcp/session.go:178
↓ 6 callers
Method
RemoveSceneEntityNotifyBroadcast
RemoveSceneEntityNotifyBroadcast 移除的场景实体广播
gs/game/player_scene.go:365
↓ 6 callers
Function
RsaParsePrivKey
(privKeyPem []byte)
pkg/endec/endec.go:45
↓ 6 callers
Method
Seed
()
pkg/random/hk4e_ec2b.go:77
↓ 6 callers
Method
SendToGate
(appId string, netMsg *NetMsg)
common/mq/topic.go:18
↓ 6 callers
Method
SetControllerAllow
SetControllerAllow 设置操控者是否允许操作
gs/game/game_gcg_manager.go:483
↓ 6 callers
Method
SetPlayerAvatarIndex
SetPlayerAvatarIndex 设置某玩家当前角色索引
gs/game/game_world_manager.go:541
↓ 6 callers
Function
SetStructFieldValue
(structPointer any, fieldName string, value any)
pkg/reflection/struct.go:47
↓ 6 callers
Method
TriggerQuest
TriggerQuest 触发任务
gs/game/player_quest.go:222
↓ 6 callers
Function
currentMs
currentMs returns current elapsed monotonic milliseconds since program startup
gate/kcp/kcp.go:38
↓ 6 callers
Method
flush
flush pending data
gate/kcp/kcp.go:687
↓ 6 callers
Function
o
()
cmd/dispatch/static/geetest/static/js/slide.7.8.6.js:1
↓ 5 callers
Function
BuildEnet
(connType uint8, enetType uint32, conv uint64)
gate/kcp/enet.go:61
↓ 5 callers
Method
ChangeGadgetState
ChangeGadgetState 改变物件实体状态
gs/game/player_scene.go:547
↓ 5 callers
Method
Contain
Contain 检测一个点是否在组合区域内
pkg/alg/shape.go:111
↓ 5 callers
Function
CopyProtoBufSameField
(dst, src pb.Message)
pkg/object/object.go:45
↓ 5 callers
Method
CreateEntityGadgetNormal
(pos, rot *model.Vector, gadgetId, gadgetState uint32, gadgetNormalEntity *GadgetNormalEntity, configId, group
gs/game/game_world_scene.go:193
↓ 5 callers
Method
GetActiveAvatarId
()
gs/model/db_team.go:117
↓ 5 callers
Method
GetAllEntity
()
gs/game/game_world_scene.go:38
↓ 5 callers
Method
GetAllWorld
()
gs/game/game_world_manager.go:45
↓ 5 callers
Function
GetClientProtoObjByName
网关客户端协议代理相关反射方法
gate/net/proto_endecode.go:305
↓ 5 callers
Method
GetConfigId
()
gs/game/game_world_scene.go:625
↓ 5 callers
Method
GetDbReliquary
()
gs/model/db_reliquary.go:12
↓ 5 callers
Method
GetFightProp
()
gs/game/game_world_scene.go:597
↓ 5 callers
Method
GetGidByPos
GetGidByPos 通过坐标获取对应的格子id
pkg/alg/aoi.go:77
↓ 5 callers
Method
GetGroupId
()
gs/game/game_world_scene.go:629
↓ 5 callers
Method
GetItemId
()
gs/game/game_world_scene.go:714
↓ 5 callers
Method
GetNetMsg
()
common/mq/nats.go:91
↓ 5 callers
Method
GetNextGameObjectGuid
()
gs/model/player.go:86
↓ 5 callers
Method
GetPlayerLocalTeam
(player *model.Player)
gs/game/game_world_manager.go:586
↓ 5 callers
Method
GetQuestMap
GetQuestMap 获取全部任务
gs/model/db_quest.go:35
↓ 5 callers
Function
GetRandomFloat64
(min float64, max float64)
pkg/random/random.go:55
↓ 5 callers
Function
GetScenePointBySceneIdAndPointId
(sceneId int32, pointId int32)
gdconf/scene_point.go:132
↓ 5 callers
Method
GetSelectedCharCard
GetSelectedCharCard 获取操控者当前选择的角色卡牌
gs/game/game_gcg_manager.go:116
↓ 5 callers
Method
GetWorld
()
gs/game/game_world_scene.go:30
↓ 5 callers
Method
GetWorldAvatarList
GetWorldAvatarList 获取世界队伍的全部角色列表
gs/game/game_world_manager.go:446
↓ 5 callers
Method
KillEntity
KillEntity 杀死实体
gs/game/player_scene.go:512
↓ 5 callers
Method
Len
()
pkg/alg/queue.go:24
↓ 5 callers
Method
LoadTempOfflineUser
离线玩家相关操作 LoadTempOfflineUser 加载临时离线玩家 正常情况速度较快可以同步阻塞调用
gs/game/game_user_manager.go:337
↓ 5 callers
Function
NewMessageQueue
(serverType string, appId string, rpcClient *rpc.Client)
common/mq/nats.go:42
↓ 5 callers
Method
PacketStoreItemChangeNotifyByWeapon
(weapon *model.Weapon)
gs/game/player_weapon.go:72
↓ 5 callers
Function
ParseEnet
(data []byte)
gate/kcp/enet.go:93
↓ 5 callers
Method
Reset
Reset values to zero
gate/kcp/snmp.go:108
↓ 5 callers
Function
RsaDecrypt
(encData []byte, privKey *rsa.PrivateKey)
pkg/endec/endec.go:61
↓ 5 callers
Method
SetPlayerLocalTeam
(player *model.Player, avatarIdList []uint32)
gs/game/game_world_manager.go:590
↓ 5 callers
Method
UpdateMultiplayerTeam
UpdateMultiplayerTeam 整合所有玩家的本地队伍计算出世界队伍
gs/game/game_world_manager.go:685
↓ 5 callers
Function
Vector3Sub
Vector3Sub 三维向量减
pkg/alg/vector.go:47
↓ 5 callers
Method
XorKey
()
pkg/random/hk4e_ec2b.go:91
↓ 5 callers
Function
Z
(t)
cmd/dispatch/static/geetest/static/js/slide.7.8.6.js:1
↓ 5 callers
Function
a
(t)
cmd/dispatch/static/geetest/static/js/slide.7.8.6.js:1
↓ 5 callers
Function
basicTests
(t *testing.T, e *Email)
pkg/email/email_test.go:29
↓ 5 callers
Method
getOriginServer
()
common/mq/topic.go:7
↓ 5 callers
Method
getServerInstanceMapLen
(instMap *sync.Map)
node/service/discovery.go:331
↓ 5 callers
Method
getTopic
(serverType string, appId string)
common/mq/topic.go:13
↓ 5 callers
Function
matchParamEqual
通用参数匹配
gs/game/player_quest.go:209
↓ 5 callers
Method
remove_front
remove front n elements from queue if the number of elements to remove is more than half of the size. just shift the rear elements to front, otherwise
gate/kcp/kcp.go:1072
↓ 5 callers
Function
s
(t)
cmd/dispatch/static/geetest/static/js/slide.7.8.6.js:1
↓ 4 callers
Function
$_BDM
(t,e)
cmd/dispatch/static/geetest/static/js/slide.7.8.6.js:1
↓ 4 callers
Function
$_FB
()
cmd/dispatch/static/geetest/static/js/slide.7.8.6.js:1
↓ 4 callers
Method
AcceptQuest
AcceptQuest 接取当前条件下能接取到的全部任务
gs/game/player_quest.go:70
↓ 4 callers
Method
AddEntry
(forward proto.ForwardType, entry *T)
gs/model/player.go:128
↓ 4 callers
Method
AddPlayer
(player *model.Player)
gs/game/game_world_scene.go:75
↓ 4 callers
Method
CancelServer
CancelServer 服务器关闭取消注册
node/service/discovery.go:139
↓ 4 callers
Method
Close
()
gate/net/kcp_connect_manager.go:116
↓ 4 callers
Function
ConvBoolToInt64
(v bool)
pkg/object/object.go:115
↓ 4 callers
Method
ConvChatMsgToChatInfo
(chatMsg *model.ChatMsg)
gs/game/player_chat.go:286
↓ 4 callers
Method
DeleteUser
DeleteUser 从内存玩家数据里删除一个玩家
gs/game/game_user_manager.go:88
↓ 4 callers
Function
DoForward
(player *model.Player, invokeHandler *model.InvokeHandler[IET], cmdId uint16, newNtf pb.Message, forwardField
gs/game/player_fight_sync.go:19
↓ 4 callers
Method
GenId
()
pkg/alg/snowflake.go:55
↓ 4 callers
Method
GetActiveTeam
()
gs/model/db_team.go:113
↓ 4 callers
Method
GetAllAvatarDataConfig
()
gs/game/player_avatar.go:443
↓ 4 callers
Method
GetAllSuite
()
gs/game/game_world_scene.go:488
↓ 4 callers
Method
GetAllWeaponDataConfig
()
gs/game/player_weapon.go:17
↓ 4 callers
Function
GetAvatarPromoteDataByIdAndLevel
(promoteId int32, promoteLevel int32)
gdconf/avatar_promote_data.go:53
↓ 4 callers
Method
GetDbWorld
()
gs/model/db_world.go:16
↓ 4 callers
Function
GetGachaDropGroupDataByDropId
(dropId int32)
gdconf/gacha_drop_group_data.go:44
↓ 4 callers
Method
GetGroupById
(groupId uint32)
gs/game/game_world_scene.go:42
↓ 4 callers
Method
GetItemGuid
(itemId uint32)
gs/model/db_item.go:30
↓ 4 callers
Method
GetLevel
()
gs/game/game_world_scene.go:601
← previous
next →
101–200 of 1,514, ranked by callers