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
SendToWorldH
SendToWorldH 给世界房主发消息
gs/game/game.go:388
↓ 1 callers
Method
ServerAddFriendNotify
跨服添加好友通知
gs/game/player_social.go:460
↓ 1 callers
Method
ServerAppidBindNotify
(userId uint32, anticheatAppId string)
gs/game/player_common.go:120
↓ 1 callers
Method
ServerChatMsgNotify
跨服玩家聊天通知
gs/game/player_chat.go:311
↓ 1 callers
Method
ServerUserMpReq
跨服玩家多人世界相关请求
gs/game/player_multiplayer.go:521
↓ 1 callers
Method
ServerUserMpRsp
(userMpInfo *mq.UserMpInfo)
gs/game/player_multiplayer.go:623
↓ 1 callers
Method
SetAbilityList
(abilityList []*proto.AbilityAppliedAbility)
gs/game/game_world_manager.go:433
↓ 1 callers
Method
SetCurStamina
(curStamina float32)
gs/game/game_world_scene.go:779
↓ 1 callers
Method
SetCurrEnergy
(avatar *Avatar, value float64, max bool)
gs/model/db_avatar.go:161
↓ 1 callers
Method
SetGadgetState
(state uint32)
gs/game/game_world_scene.go:688
↓ 1 callers
Method
SetLastMoveReliableSeq
(lastMoveReliableSeq uint32)
gs/game/game_world_scene.go:593
↓ 1 callers
Method
SetLastMoveSceneTimeMs
(lastMoveSceneTimeMs uint32)
gs/game/game_world_scene.go:585
↓ 1 callers
Method
SetMeeoIndex
(meeoIndex uint32)
gs/game/game_world_scene.go:58
↓ 1 callers
Method
SetModifierList
(modifierList []*proto.AbilityAppliedModifier)
gs/game/game_world_manager.go:441
↓ 1 callers
Method
SetPlayerBornDataReq
(player *model.Player, payloadMsg pb.Message)
gs/game/player_login.go:25
↓ 1 callers
Method
SetRedisPlayerList
SetRedisPlayerList 批量写入玩家数据
gs/dao/player_redis.go:114
↓ 1 callers
Method
SetSession
(session *Session, convId uint64, userId uint32)
gate/net/kcp_connect_manager.go:453
↓ 1 callers
Method
SetStaminaCost
SetStaminaCost 设置动作需要消耗的耐力
gs/model/stamina.go:23
↓ 1 callers
Method
SetSystem
SetSystem 设置GM指令聊天消息机器人
gs/game/game_command_manager.go:66
↓ 1 callers
Method
SetUpAvatarTeamReq
(player *model.Player, payloadMsg pb.Message)
gs/game/player_team.go:78
↓ 1 callers
Method
SetVehicleStamina
SetVehicleStamina 设置载具耐力
gs/game/player_stamina.go:380
↓ 1 callers
Method
SkillStartStamina
SkillStartStamina 处理技能开始时的即时耐力消耗
gs/game/player_stamina.go:154
↓ 1 callers
Method
StartGame
StartGame 开始GCG游戏
gs/game/game_gcg_manager.go:663
↓ 1 callers
Method
StartQuest
StartQuest 开始一个任务
gs/game/player_quest.go:158
↓ 1 callers
Method
SustainStaminaHandler
SustainStaminaHandler 处理持续耐力消耗
gs/game/player_stamina.go:192
↓ 1 callers
Method
ToTheMoonEnterSceneReq
(userId uint32, gateAppId string, payloadMsg pb.Message)
anticheat/handle/handle.go:208
↓ 1 callers
Function
UpdateFrame
(rgb bool)
gs/game/audio_video.go:300
↓ 1 callers
Method
UpdatePlayer
(player *model.Player)
gs/dao/player_mongo.go:122
↓ 1 callers
Method
UpdatePlayerList
(playerList []*model.Player)
gs/dao/player_mongo.go:148
↓ 1 callers
Method
UpgradePlayerAvatar
UpgradePlayerAvatar 玩家角色升级
gs/game/player_avatar.go:539
↓ 1 callers
Function
Vector3DotProd
Vector3DotProd 三维向量点乘
pkg/alg/vector.go:56
↓ 1 callers
Method
VehicleDestroyMotion
VehicleDestroyMotion 载具销毁动作
gs/game/player_vehicle.go:15
↓ 1 callers
Method
VehicleRestoreStaminaHandler
VehicleRestoreStaminaHandler 处理载具持续回复耐力
gs/game/player_stamina.go:161
↓ 1 callers
Method
WearUserAvatarReliquary
WearUserAvatarReliquary 玩家角色装备圣遗物
gs/game/player_equip.go:142
↓ 1 callers
Method
WndSize
WndSize sets maximum window size: sndwnd=32, rcvwnd=32 by default
gate/kcp/kcp.go:1053
↓ 1 callers
Method
WorldPlayerLocationNotify
WorldPlayerLocationNotify 多人世界其他玩家的坐标位置广播
gs/game/player_common.go:143
↓ 1 callers
Method
WorldPlayerRTTNotify
WorldPlayerRTTNotify 世界里所有玩家的网络延迟广播
gs/game/player_common.go:131
↓ 1 callers
Method
WriteBuffers
WriteBuffers write a vector of byte slices to the underlying connection
gate/kcp/session.go:256
↓ 1 callers
Function
_ibound_
(lower, middle, upper uint32)
gate/kcp/kcp.go:105
↓ 1 callers
Function
a
(e,t)
cmd/dispatch/static/geetest/static/js/gct.e7810b5b525994e2fb1f89135f8df14a.js:1
↓ 1 callers
Method
acceptHandle
接收并创建新连接处理函数
gate/net/kcp_connect_manager.go:137
↓ 1 callers
Method
ack_push
ack append
gate/kcp/kcp.go:475
↓ 1 callers
Function
addAuth
(c *client, auth smtp.Auth)
pkg/email/pool.go:195
↓ 1 callers
Function
addressLists
(lists ...[]string)
pkg/email/pool.go:337
↓ 1 callers
Method
authorize
()
gm/controller/controller.go:25
↓ 1 callers
Method
authorize
()
dispatch/controller/controller.go:49
↓ 1 callers
Method
autoSyncGlobalGsOnlineMap
()
gate/net/kcp_connect_manager.go:467
↓ 1 callers
Method
autoSyncRemotePlayerMap
远程玩家相关操作
gs/game/game_user_manager.go:217
↓ 1 callers
Method
build
()
pkg/email/pool.go:207
↓ 1 callers
Method
categorizeAttachments
()
pkg/email/email.go:367
↓ 1 callers
Method
chestDrop
(player *model.Player, entity *Entity)
gs/game/player_world.go:404
↓ 1 callers
Method
closeSession
closeSession notify the listener that a session has closed
gate/kcp/session.go:832
↓ 1 callers
Method
defaultSendEnetNotifyToPeer
(enet *Enet)
gate/kcp/udp_socket.go:149
↓ 1 callers
Method
doGachaKlee
扣1给可莉刷烧烤酱
gs/game/player_gacha.go:315
↓ 1 callers
Method
doGachaRandDropOnce
进行单次随机掉落 轮盘赌选择法RWS
gs/game/player_gacha.go:588
↓ 1 callers
Method
doLog
()
pkg/logger/logger.go:88
↓ 1 callers
Method
doRandDropFull
(dropDataConfig *gdconf.DropData)
gs/game/player_world.go:442
↓ 1 callers
Method
doRandDropOnce
(dropDataConfig *gdconf.DropData)
gs/game/player_world.go:469
↓ 1 callers
Method
doRoute
(cmdId uint16, userId uint32, clientSeq uint32, payloadMsg pb.Message)
gs/game/game_route_manager.go:34
↓ 1 callers
Method
enetHandle
连接事件处理函数
gate/net/kcp_connect_manager.go:181
↓ 1 callers
Method
eventHandle
()
gate/net/kcp_event.go:34
↓ 1 callers
Method
failedToGet
(startTime time.Time)
pkg/email/pool.go:263
↓ 1 callers
Method
gameMainLoop
()
gs/game/game.go:165
↓ 1 callers
Method
gameMainLoopD
()
gs/game/game.go:157
↓ 1 callers
Method
gateNetInfo
()
gate/net/kcp_connect_manager.go:120
↓ 1 callers
Method
gateTcpMqHandshake
(conn net.Conn)
common/mq/nats.go:276
↓ 1 callers
Method
gateTcpMqRecvHandleLoop
(data []byte, dataBuf *[]byte)
common/mq/nats.go:401
↓ 1 callers
Function
generateMessageID
generateMessageID generates and returns a string suitable for an RFC 2822 compliant Message-ID, e.g.: <1444789264909237300.3464.1819418242800517193@DE
pkg/email/email.go:795
↓ 1 callers
Method
get
(timeout time.Duration)
pkg/email/pool.go:80
↓ 1 callers
Method
getClientVersionByName
(versionName string)
dispatch/controller/dispatch_controller.go:39
↓ 1 callers
Method
getLevelInt
(level string)
pkg/logger/logger.go:232
↓ 1 callers
Method
getModeInt
(mode string)
pkg/logger/logger.go:264
↓ 1 callers
Method
getPlayerToken
(req *proto.GetPlayerTokenReq, session *Session)
gate/net/session.go:331
↓ 1 callers
Method
getRandomServerInstance
(instMap *sync.Map)
node/service/discovery.go:300
↓ 1 callers
Function
getSeed
(key, data []byte)
pkg/random/hk4e_ec2b.go:169
↓ 1 callers
Function
getTempFightPropMap
TODO 临时写死
gs/game/game_world_scene.go:455
↓ 1 callers
Function
idDupCheck
(genIdFunc func() T)
pkg/alg/snowflake_test.go:13
↓ 1 callers
Function
ikcp_decode16u
* decode 16 bits unsigned int (lsb) */
gate/kcp/kcp.go:62
↓ 1 callers
Function
ikcp_decode64u
* decode 64 bits unsigned int (lsb) */
gate/kcp/kcp.go:86
↓ 1 callers
Function
ikcp_encode16u
* encode 16 bits unsigned int (lsb) */
gate/kcp/kcp.go:56
↓ 1 callers
Function
ikcp_encode64u
* encode 64 bits unsigned int (lsb) */
gate/kcp/kcp.go:74
↓ 1 callers
Function
inTriangle
(a *Vector2, b *Vector2, c *Vector2, p *Vector2)
pkg/alg/shape.go:234
↓ 1 callers
Method
inc
()
pkg/email/pool.go:144
↓ 1 callers
Function
initLuaState
(luaState *lua.LState)
gdconf/game_data_config.go:285
↓ 1 callers
Method
initRoute
()
gs/game/game_route_manager.go:56
↓ 1 callers
Function
interruptWaitMilliSecond
(delay uint32)
gs/game/audio_video.go:86
↓ 1 callers
Function
keyScramble
(key []byte)
pkg/random/hk4e_ec2b.go:95
↓ 1 callers
Method
load
()
gdconf/game_data_config.go:140
↓ 1 callers
Method
loadAvatarCostumeData
()
gdconf/avatar_costume_data.go:13
↓ 1 callers
Method
loadAvatarData
()
gdconf/avatar_data.go:43
↓ 1 callers
Method
loadAvatarFlycloakData
()
gdconf/avatar_flycloak_data.go:13
↓ 1 callers
Method
loadAvatarLevelData
()
gdconf/avatar_level_data.go:13
↓ 1 callers
Method
loadAvatarPromoteData
()
gdconf/avatar_promote_data.go:26
↓ 1 callers
Method
loadAvatarSkillData
()
gdconf/avatar_skill_data.go:16
↓ 1 callers
Method
loadAvatarSkillDepotData
()
gdconf/avatar_skill_depot_data.go:43
↓ 1 callers
Method
loadChestDropData
()
gdconf/chest_drop_data.go:15
↓ 1 callers
Method
loadConfigFile
加载配置文件
common/config/config.go:69
↓ 1 callers
Method
loadDropData
()
gdconf/drop_data.go:67
↓ 1 callers
Method
loadDungeonData
()
gdconf/dungeon_data.go:13
↓ 1 callers
Method
loadFetterData
()
gdconf/fetter_data.go:13
← previous
next →
901–1,000 of 1,514, ranked by callers