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
↓ 2 callers
Method
SetAvatarIdList
(avatarIdList []uint32)
gs/model/db_team.go:25
↓ 2 callers
Method
SetDSCP
(int)
gate/kcp/session.go:121
↓ 2 callers
Method
SetExceptControllerAllow
SetExceptControllerAllow 设置除了指定的操控者以外的是否允许操作
gs/game/game_gcg_manager.go:456
↓ 2 callers
Method
SetMoveState
(moveState uint16)
gs/game/game_world_scene.go:577
↓ 2 callers
Method
SetPlayerStamina
SetPlayerStamina 设置玩家耐力
gs/game/player_stamina.go:393
↓ 2 callers
Method
SetReadBuffer
(bytes int)
gate/kcp/session.go:113
↓ 2 callers
Method
SetRedisPlayer
SetRedisPlayer 写入玩家数据
gs/dao/player_redis.go:72
↓ 2 callers
Method
SetRemoteUserOnlineState
(userId uint32, isOnline bool, appId string)
gs/game/game_user_manager.go:268
↓ 2 callers
Method
SetWriteBuffer
(bytes int)
gate/kcp/session.go:117
↓ 2 callers
Method
SetWriteDelay
SetWriteDelay delays write for bulk transfer until the next update interval
gate/kcp/session.go:405
↓ 2 callers
Method
UnlockPoint
(pointId uint32)
gs/model/db_world.go:61
↓ 2 callers
Method
UpdateVehicleStamina
UpdateVehicleStamina 更新载具耐力
gs/game/player_stamina.go:235
↓ 2 callers
Method
UpdateWorldPlayerInfo
(hostWorld *World, excludePlayer *model.Player)
gs/game/player_multiplayer.go:430
↓ 2 callers
Method
UpdateWorldScenePlayerInfo
(player *model.Player, world *World)
gs/game/player_multiplayer.go:466
↓ 2 callers
Method
UserApplyEnterWorld
(player *model.Player, targetUid uint32)
gs/game/player_multiplayer.go:179
↓ 2 callers
Method
UserWorldAddPlayer
(world *World, player *model.Player)
gs/game/player_multiplayer.go:370
↓ 2 callers
Method
UserWorldRemovePlayer
(world *World, player *model.Player)
gs/game/player_multiplayer.go:385
↓ 2 callers
Method
WearReliquary
(avatarId uint32, reliquary *Reliquary)
gs/model/db_avatar.go:192
↓ 2 callers
Method
WearUserAvatarWeapon
WearUserAvatarWeapon 玩家角色装备武器
gs/game/player_equip.go:201
↓ 2 callers
Method
WriteBatch
(ms []ipv4.Message, flags int)
gate/kcp/session.go:64
↓ 2 callers
Function
_imax_
(a, b uint32)
gate/kcp/kcp.go:98
↓ 2 callers
Function
c
(t)
cmd/dispatch/static/geetest/static/js/gct.e7810b5b525994e2fb1f89135f8df14a.js:1
↓ 2 callers
Function
convLuaValueToGo
(lv lua.LValue)
gdconf/game_data_config.go:417
↓ 2 callers
Method
defaultSendEnetNotifyToPeer
(enet *Enet)
gate/kcp/udp_socket.go:137
↓ 2 callers
Method
doRandDropFullTimes
(dropDataConfig *gdconf.DropData, times int)
gs/game/player_world.go:428
↓ 2 callers
Function
emailOnly
(full string)
pkg/email/pool.go:329
↓ 2 callers
Method
forceCloseKcpConn
强制关闭指定连接
gate/net/kcp_connect_manager.go:380
↓ 2 callers
Function
g
(t)
cmd/dispatch/static/geetest/static/js/slide.7.8.6.js:1
↓ 2 callers
Method
gateTcpMqConn
(gateServerConnAddrMap map[string]bool)
common/mq/nats.go:338
↓ 2 callers
Method
gateTcpMqRecvHandle
(inst *GateTcpMqInst)
common/mq/nats.go:382
↓ 2 callers
Method
getMinLoadServerInstance
(instMap *sync.Map)
node/service/discovery.go:312
↓ 2 callers
Function
headerToBytes
headerToBytes renders "header" to "buff". If there are multiple values for a field, multiple "Field: value\r\n" lines will be emitted.
pkg/email/email.go:756
↓ 2 callers
Function
ikcp_decode8u
* decode 8 bits unsigned int */
gate/kcp/kcp.go:50
↓ 2 callers
Function
ikcp_encode8u
* encode 8 bits unsigned int */
gate/kcp/kcp.go:44
↓ 2 callers
Method
init
()
pkg/random/hk4e_ec2b.go:50
↓ 2 callers
Method
loadAll
()
gdconf/game_data_config.go:96
↓ 2 callers
Method
makeOne
()
pkg/email/pool.go:170
↓ 2 callers
Function
newSnmp
()
gate/kcp/snmp.go:30
↓ 2 callers
Method
notifyReadError
(err error)
gate/kcp/session.go:607
↓ 2 callers
Method
notifyReadError
(err error)
gate/kcp/session.go:716
↓ 2 callers
Method
notifyWriteError
(err error)
gate/kcp/session.go:614
↓ 2 callers
Function
o
(t)
cmd/dispatch/static/geetest/static/js/gct.e7810b5b525994e2fb1f89135f8df14a.js:1
↓ 2 callers
Method
packetInput
packet input stage
gate/kcp/session.go:622
↓ 2 callers
Method
packetInput
packet input stage
gate/kcp/session.go:678
↓ 2 callers
Function
q
(t,e,n)
cmd/dispatch/static/geetest/static/js/slide.7.8.6.js:1
↓ 2 callers
Method
redisInc
(keyName string)
dispatch/dao/account_redis.go:24
↓ 2 callers
Method
replace
(c *client)
pkg/email/pool.go:140
↓ 2 callers
Function
serveConn
(conn net.PacketConn, ownConn bool)
gate/kcp/session.go:873
↓ 2 callers
Method
setDefaultHeaders
()
pkg/email/email.go:709
↓ 2 callers
Function
shiftRowsInv
(key []byte)
pkg/random/hk4e_ec2b.go:146
↓ 2 callers
Function
splitStringArray
CSV相关
gdconf/game_data_config.go:177
↓ 2 callers
Function
subBytesInv
(key []byte)
pkg/random/hk4e_ec2b.go:132
↓ 2 callers
Method
syncGlobalGsOnlineMap
()
gate/net/kcp_connect_manager.go:475
↓ 2 callers
Method
syncRemotePlayerMap
()
gs/game/game_user_manager.go:225
↓ 2 callers
Method
tx
(txqueue []ipv4.Message)
gate/kcp/udp_socket_linux.go:192
↓ 2 callers
Method
writeLogFile
(logStr string)
pkg/logger/logger.go:128
↓ 2 callers
Function
writeMessage
(buff io.Writer, msg []byte, multipart bool, mediaType string, w *multipart.Writer)
pkg/email/email.go:348
↓ 1 callers
Function
$_BBF
()
cmd/dispatch/static/geetest/static/js/slide.7.8.6.js:1
↓ 1 callers
Function
$_IZ
()
cmd/dispatch/static/geetest/static/js/slide.7.8.6.js:1
↓ 1 callers
Method
Accept
Accept implements the Accept method in the Listener interface; it waits for the next call and returns a generic Conn.
gate/kcp/session.go:773
↓ 1 callers
Function
AccountLogin
(url string, account string, password string)
robot/login/http_login.go:118
↓ 1 callers
Method
AddAI
AddAI GCG游戏添加AI
gs/game/game_gcg_manager.go:327
↓ 1 callers
Method
AddChat
世界聊天
gs/game/game_world_manager.go:715
↓ 1 callers
Method
AddGroupSuiteMonster
(groupId uint32, suiteId uint8, monsterConfigId uint32)
gs/game/game_world_scene.go:307
↓ 1 callers
Method
AddItem
(player *Player, itemId uint32, count uint32)
gs/model/db_item.go:50
↓ 1 callers
Method
AddMultiplayerTeam
TODO 为了实现大世界无限人数写的 现在看来把世界里所有人放进队伍里发给客户端超过8个客户端会崩溃 看来还是不能简单的走通用逻辑 需要对大世界场景队伍做特殊处理 欺骗客户端其他玩家仅仅以场景角色实体的形式出现
gs/game/game_world_manager.go:665
↓ 1 callers
Method
AddObject
AddObject 向格子中添加一个对象
pkg/alg/aoi.go:248
↓ 1 callers
Method
AddObjectToGrid
AddObjectToGrid 添加一个object到一个格子中
pkg/alg/aoi.go:190
↓ 1 callers
Method
AddObjectToGridByPos
AddObjectToGridByPos 通过坐标添加一个object到一个格子中
pkg/alg/aoi.go:208
↓ 1 callers
Method
AddPlayer
AddPlayer GCG游戏添加玩家
gs/game/game_gcg_manager.go:314
↓ 1 callers
Method
AddPlayerAcCtx
(userId uint32)
anticheat/handle/handle.go:114
↓ 1 callers
Method
AddQuestProgress
AddQuestProgress 添加一个任务的进度
gs/model/db_quest.go:97
↓ 1 callers
Method
AddReliquary
(player *Player, itemId uint32, reliquaryId uint64, mainPropId uint32)
gs/model/db_reliquary.go:74
↓ 1 callers
Method
AddSceneEntityNotifyBroadcast
AddSceneEntityNotifyBroadcast 添加的场景实体广播
gs/game/player_scene.go:338
↓ 1 callers
Method
AddSceneEntityNotifyToPlayer
AddSceneEntityNotifyToPlayer 添加的场景实体同步给玩家
gs/game/player_scene.go:327
↓ 1 callers
Method
AddSceneGroupMonster
(player *model.Player, groupId uint32, monsterConfigId uint32)
gs/game/player_scene.go:675
↓ 1 callers
Method
AddSceneGroupSuite
TODO Group和Suite的初始化和加载卸载逻辑还没完全理清 所以现在这里写得略答辩
gs/game/player_scene.go:644
↓ 1 callers
Method
AddUser
AddUser 向内存玩家数据里添加一个玩家
gs/game/game_user_manager.go:80
↓ 1 callers
Method
AddUserCostume
AddUserCostume 给予玩家时装
gs/game/player_avatar.go:517
↓ 1 callers
Method
AddUserFlycloak
AddUserFlycloak 给予玩家风之翼
gs/game/player_avatar.go:495
↓ 1 callers
Method
AddUserReliquary
(userId uint32, itemId uint32)
gs/game/player_reliquary.go:47
↓ 1 callers
Method
AddWaitPlayer
(uid uint32)
gs/game/game_world_manager.go:743
↓ 1 callers
Function
AesCBCDecrypt
(encData []byte, key []byte, iv []byte)
pkg/endec/endec.go:138
↓ 1 callers
Function
AesCBCEncrypt
(rawData []byte, key []byte, iv []byte)
pkg/endec/endec.go:121
↓ 1 callers
Function
AesCFBDecrypt
(encData []byte, key []byte, iv []byte)
pkg/endec/endec.go:107
↓ 1 callers
Function
AesCFBEncrypt
(rawData []byte, key []byte, iv []byte)
pkg/endec/endec.go:93
↓ 1 callers
Function
AnticheatCmd
()
cmd/hk4e/anticheat.go:11
↓ 1 callers
Method
AoiPlayerMove
(player *model.Player, oldPos *model.Vector, newPos *model.Vector)
gs/game/player_fight_sync.go:252
↓ 1 callers
Method
AppendReliquaryProp
AppendReliquaryProp 圣遗物追加属性
gs/game/player_reliquary.go:119
↓ 1 callers
Method
AttachFile
AttachFile is used to attach content to the email. It attempts to open the file referenced by filename and, if successful, creates an Attachment. This
pkg/email/email.go:283
↓ 1 callers
Method
BroadcastReceiver
()
node/service/service.go:42
↓ 1 callers
Method
Bytes
()
pkg/random/hk4e_ec2b.go:57
↓ 1 callers
Function
CalcColorLight
()
gs/game/audio_video.go:172
↓ 1 callers
Method
CallGMCmd
(funcName string, paramList []string)
gs/game/game_command_manager.go:136
↓ 1 callers
Method
ChangeGameTime
(time uint32)
gs/game/game_world_scene.go:62
↓ 1 callers
Method
CheckAllInitFinish
CheckAllInitFinish 检查所有玩家是否加载完成
gs/game/game_gcg_manager.go:678
↓ 1 callers
Function
CheckJsonLoop
(path string, errorJsonFileList *[]string, totalJsonFileCount *int)
gdconf/game_data_config_test.go:31
↓ 1 callers
Method
Clear
Clear 清除组合形状
pkg/alg/shape.go:106
↓ 1 callers
Method
ClientRttNotify
(userId uint32, clientRtt uint32)
gs/game/player_common.go:40
↓ 1 callers
Method
ClientTimeNotify
(userId uint32, clientTime uint32)
gs/game/player_common.go:50
← previous
next →
501–600 of 1,514, ranked by callers