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
↓ 3 callers
Method
JoinOtherWorld
(player *model.Player, hostPlayer *model.Player)
gs/game/player_multiplayer.go:78
↓ 3 callers
Method
KickPlayer
(userId uint32, reason uint32)
gs/game/game.go:406
↓ 3 callers
Function
LoadEc2bKey
(b []byte)
pkg/random/hk4e_ec2b.go:16
↓ 3 callers
Method
LoginNotify
(userId uint32, clientSeq uint32, player *model.Player)
gs/game/player_login.go:247
↓ 3 callers
Function
NewKeyBlock
(seed uint64, useMagicSeed bool)
pkg/random/hk4e_mt19937.go:71
↓ 3 callers
Method
NewPolygon
NewPolygon 新建空间多边形
pkg/alg/shape.go:90
↓ 3 callers
Method
OnUserOffline
(userId uint32, changeGsInfo *ChangeGsInfo)
gs/game/player_login.go:228
↓ 3 callers
Method
PacketAvatarEquipChangeNotifyByReliquary
(avatar *model.Avatar, slot uint8)
gs/game/player_equip.go:269
↓ 3 callers
Method
PacketAvatarInfo
(avatar *model.Avatar)
gs/game/player_avatar.go:352
↓ 3 callers
Method
PacketOnlinePlayerInfo
(player *model.Player)
gs/game/player_social.go:438
↓ 3 callers
Method
PacketSceneAvatarInfo
(scene *Scene, player *model.Player, avatarId uint32)
gs/game/player_scene.go:1103
↓ 3 callers
Method
PeekSize
PeekSize checks the size of next message in the recv queue
gate/kcp/kcp.go:230
↓ 3 callers
Function
PostJson
(url string, body any, authToken ...string)
pkg/httpclient/http_client.go:78
↓ 3 callers
Function
R
(t,e,n)
cmd/dispatch/static/geetest/static/js/slide.7.8.6.js:1
↓ 3 callers
Function
RmIZ
(t)
cmd/dispatch/static/geetest/static/js/gct.e7810b5b525994e2fb1f89135f8df14a.js:1
↓ 3 callers
Function
RsaEncrypt
(rawData []byte, pubKey *rsa.PublicKey)
pkg/endec/endec.go:57
↓ 3 callers
Function
RsaParsePubKeyByPrivKey
(privKeyPem []byte)
pkg/endec/endec.go:33
↓ 3 callers
Method
Seed
(seed int64)
pkg/random/hk4e_mt19937.go:26
↓ 3 callers
Method
SendAllMsgPack
SendAllMsgPack 发送所有玩家的待发送区的消息包
gs/game/game_gcg_manager.go:747
↓ 3 callers
Method
SendEnetNotifyToPeer
(enet *Enet)
gate/kcp/udp_socket_linux.go:231
↓ 3 callers
Method
SendPrivateChat
SendPrivateChat 发送私聊文本消息给玩家
gs/game/player_chat.go:84
↓ 3 callers
Method
SetAllControllerAllow
SetAllControllerAllow 设置全部操控者是否允许操作
gs/game/game_gcg_manager.go:471
↓ 3 callers
Method
SetReadDeadline
SetReadDeadline implements the Conn SetReadDeadline method.
gate/kcp/session.go:804
↓ 3 callers
Method
SetSeed
(seed uint64)
pkg/random/hk4e_ec2b.go:67
↓ 3 callers
Method
TakeOffWeapon
(avatarId uint32, weapon *Weapon)
gs/model/db_avatar.go:223
↓ 3 callers
Method
ToProto
(controller *GCGController)
gs/game/game_gcg_manager.go:42
↓ 3 callers
Function
U
(t)
cmd/dispatch/static/geetest/static/js/slide.7.8.6.js:1
↓ 3 callers
Function
Vector3CrossProd
Vector3CrossProd 三维向量叉乘
pkg/alg/vector.go:61
↓ 3 callers
Method
WearWeapon
(avatarId uint32, weapon *Weapon)
gs/model/db_avatar.go:216
↓ 3 callers
Function
WriteJpgFile
(fileName string, jpg image.Image)
gs/game/audio_video.go:227
↓ 3 callers
Function
Xor
(data []byte, key []byte)
pkg/endec/endec.go:174
↓ 3 callers
Method
XorKey
()
pkg/random/hk4e_mt19937.go:90
↓ 3 callers
Function
_imin_
(a, b uint32)
gate/kcp/kcp.go:91
↓ 3 callers
Function
b
(t)
cmd/dispatch/static/geetest/static/js/slide.7.8.6.js:1
↓ 3 callers
Method
closeAllKcpConn
关闭所有连接
gate/net/kcp_connect_manager.go:427
↓ 3 callers
Method
dec
()
pkg/email/pool.go:159
↓ 3 callers
Method
defaultMonitor
()
gate/kcp/udp_socket.go:48
↓ 3 callers
Method
defaultReadLoop
()
gate/kcp/udp_socket.go:11
↓ 3 callers
Method
delSegment
delSegment recycles a KCP segment
gate/kcp/kcp.go:209
↓ 3 callers
Method
doGachaOnce
单抽一次
gs/game/player_gacha.go:368
↓ 3 callers
Method
doGachaRandDropFull
走一次完整流程的掉落组
gs/game/player_gacha.go:565
↓ 3 callers
Function
f
(t)
cmd/dispatch/static/geetest/static/js/slide.7.8.6.js:1
↓ 3 callers
Method
getHeadMsg
(clientSeq uint32)
gate/net/session.go:316
↓ 3 callers
Function
hashStr
(h hash.Hash, inputStr string)
pkg/endec/endec.go:169
↓ 3 callers
Method
kcpInput
(data []byte)
gate/kcp/session.go:628
↓ 3 callers
Function
newUDPSession
newUDPSession create a new udp session for client or server
gate/kcp/session.go:126
↓ 3 callers
Method
notifyReadEvent
()
gate/kcp/session.go:593
↓ 3 callers
Method
output
post-processing for sending a packet from kcp core steps: 1. FEC packet generation 2. CRC32 integrity 3. Encryption 4. TxQueue
gate/kcp/session.go:529
↓ 3 callers
Function
parseMIMEParts
parseMIMEParts will recursively walk a MIME entity and return a []mime.Part containing each (flattened) mime.Part found. It is important to note that
pkg/email/email.go:191
↓ 3 callers
Function
toLeft
(a *Vector2, b *Vector2, c *Vector2, p *Vector2)
pkg/alg/shape.go:247
↓ 3 callers
Function
xorRoundKey
(key, roundKey []byte)
pkg/random/hk4e_ec2b.go:120
↓ 3 callers
Function
y
(t)
cmd/dispatch/static/geetest/static/js/slide.7.8.6.js:1
↓ 2 callers
Function
$_BHR
(t)
cmd/dispatch/static/geetest/static/js/slide.7.8.6.js:1
↓ 2 callers
Function
$_GY
()
cmd/dispatch/static/geetest/static/js/slide.7.8.6.js:1
↓ 2 callers
Function
$_JP
(n,t)
cmd/dispatch/static/geetest/static/js/slide.7.8.6.js:1
↓ 2 callers
Method
AcceptKCP
AcceptKCP accepts a KCP connection
gate/kcp/session.go:778
↓ 2 callers
Method
AddAvatar
(player *Player, avatarId uint32)
gs/model/db_avatar.go:97
↓ 2 callers
Method
AddEnterSceneContext
(ctx *EnterSceneContext)
gs/game/game_world_manager.go:245
↓ 2 callers
Method
AddGroupSuite
(groupId uint32, suiteId uint8)
gs/game/game_world_scene.go:334
↓ 2 callers
Method
AddQuest
AddQuest 添加一个任务
gs/model/db_quest.go:45
↓ 2 callers
Method
AddSceneGroup
AddSceneGroup 加载场景组
gs/game/player_scene.go:610
↓ 2 callers
Method
AddWeapon
(player *Player, itemId uint32, weaponId uint64)
gs/model/db_weapon.go:68
↓ 2 callers
Method
AllExceptCurLen
()
gs/model/player.go:151
↓ 2 callers
Method
AllLen
()
gs/model/player.go:147
↓ 2 callers
Method
CalcWeaponUpgrade
CalcWeaponUpgrade 计算使用材料给武器强化后的等级经验以及返回的矿石
gs/game/player_weapon.go:486
↓ 2 callers
Method
CalcWeaponUpgradeExpAndCoin
CalcWeaponUpgradeExpAndCoin 计算使用材料给武器强化后能获得的经验以及摩拉消耗
gs/game/player_weapon.go:414
↓ 2 callers
Method
ChangeToMultiplayer
ChangeToMultiplayer 转换为多人世界
gs/game/game_world_manager.go:724
↓ 2 callers
Method
CheckPointUnlock
(pointId uint32)
gs/model/db_world.go:69
↓ 2 callers
Method
Clear
()
gs/model/player.go:163
↓ 2 callers
Method
Close
go1.1 didn't have this method
pkg/email/pool.go:68
↓ 2 callers
Method
Close
Close closes the connection.
gate/kcp/session.go:338
↓ 2 callers
Method
Close
Close stops listening on the UDP address, and closes the socket
gate/kcp/session.go:813
↓ 2 callers
Method
Close
()
node/service/service.go:39
↓ 2 callers
Method
ControllerSelectChar
ControllerSelectChar 操控者选择角色卡牌
gs/game/game_gcg_manager.go:499
↓ 2 callers
Method
ControllerUseSkill
ControllerUseSkill 操控者使用技能
gs/game/game_gcg_manager.go:546
↓ 2 callers
Function
ConvClientPbDataToServer
在GS侧进行pb.Unmarshal解析二级pb数据前 请先在这里添加相关代码
gate/net/proto_endecode.go:363
↓ 2 callers
Method
CostUserWeapon
(userId uint32, weaponIdList []uint64)
gs/game/player_weapon.go:50
↓ 2 callers
Method
CreateController
CreateController 创建操控者
gs/game/game_gcg_manager.go:293
↓ 2 callers
Method
CreateRobot
(uid uint32, name string, sign string)
gs/game/game.go:143
↓ 2 callers
Method
CreateUserTimer
CreateUserTimer 创建玩家定时任务
gs/game/game_tick_manager.go:70
↓ 2 callers
Method
CreateWorld
(owner *model.Player)
gs/game/game_world_manager.go:49
↓ 2 callers
Function
DeleteAllKeyNameFromStringAnyMap
(src map[string]any, keyName string)
pkg/object/object.go:86
↓ 2 callers
Method
DestroyVehicleEntity
DestroyVehicleEntity 删除载具实体
gs/game/player_vehicle.go:95
↓ 2 callers
Function
DialWithOptions
DialWithOptions connects to the remote address "raddr" on the network "udp" with packet encryption 'block' is the block encryption algorithm to encry
gate/kcp/session.go:897
↓ 2 callers
Method
DistLockSync
DistLockSync 加锁同步阻塞直到成功或超时
gs/dao/player_redis.go:152
↓ 2 callers
Method
ExitVehicle
ExitVehicle 离开载具
gs/game/player_vehicle.go:165
↓ 2 callers
Method
GCGMsgCardUpdate
GCGMsgCardUpdate GCG消息卡牌更新
gs/game/game_gcg_manager.go:1118
↓ 2 callers
Method
GCGMsgDiceRoll
GCGMsgDiceRoll GCG消息摇骰子
gs/game/game_gcg_manager.go:859
↓ 2 callers
Method
GCGMsgUseSkill
GCGMsgUseSkill GCG消息使用技能
gs/game/game_gcg_manager.go:874
↓ 2 callers
Method
GCGMsgUseSkillEnd
GCGMsgUseSkillEnd GCG消息使用技能结束
gs/game/game_gcg_manager.go:903
↓ 2 callers
Method
GMAddUserAllAvatar
GMAddUserAllAvatar 给予玩家所有角色
gs/game/game_command_gm.go:131
↓ 2 callers
Method
GMAddUserAllCostume
GMAddUserAllCostume 给予玩家所有时装
gs/game/game_command_gm.go:138
↓ 2 callers
Method
GMAddUserAllFlycloak
GMAddUserAllFlycloak 给予玩家所有风之翼
gs/game/game_command_gm.go:145
↓ 2 callers
Method
GMAddUserAllItem
GMAddUserAllItem 给予玩家所有物品
gs/game/game_command_gm.go:105
↓ 2 callers
Method
GMAddUserAllReliquary
GMAddUserAllReliquary 给予玩家所有圣遗物
gs/game/game_command_gm.go:124
↓ 2 callers
Method
GMAddUserAllWeapon
GMAddUserAllWeapon 给予玩家所有武器
gs/game/game_command_gm.go:117
↓ 2 callers
Method
GMAddUserAvatar
GMAddUserAvatar 给予玩家角色
gs/game/game_command_gm.go:85
↓ 2 callers
Method
GMAddUserCostume
GMAddUserCostume 给予玩家时装
gs/game/game_command_gm.go:93
↓ 2 callers
Method
GMAddUserFlycloak
GMAddUserFlycloak 给予玩家风之翼
gs/game/game_command_gm.go:99
↓ 2 callers
Method
GMAddUserReliquary
GMAddUserReliquary 给予玩家圣遗物
gs/game/game_command_gm.go:76
← previous
next →
301–400 of 1,514, ranked by callers