MCPcopy Create free account

hub / github.com/Ayin-a/hk4e / functions

Functions1,514 in github.com/Ayin-a/hk4e

↓ 2 callersMethodGMAddUserWeapon
GMAddUserWeapon 给予玩家武器
gs/game/game_command_gm.go:67
↓ 2 callersMethodGMTeleportPlayer
玩家通用GM指令 GMTeleportPlayer 传送玩家
gs/game/game_command_gm.go:22
↓ 2 callersMethodGetActiveTeamId
()
gs/model/db_team.go:98
↓ 2 callersMethodGetAllGroup
()
gs/game/game_world_scene.go:46
↓ 2 callersMethodGetAllReliquaryDataConfig
()
gs/game/player_reliquary.go:13
↓ 2 callersMethodGetAllScene
()
gs/game/game_world_manager.go:233
↓ 2 callersFunctionGetAvatarDataMap
()
gdconf/avatar_data.go:84
↓ 2 callersFunctionGetAvatarEnergySkillConfig
(avatarId uint32)
gdconf/avatar_skill_depot_data.go:129
↓ 2 callersMethodGetAvatarEntityId
()
gs/game/game_world_manager.go:408
↓ 2 callersMethodGetBaseAttackByLevel
(level uint8)
gdconf/avatar_data.go:94
↓ 2 callersMethodGetBaseDefenseByLevel
(level uint8)
gdconf/avatar_data.go:98
↓ 2 callersMethodGetChangeStamina
GetChangeStamina 获取变更的耐力 当前耐力值 + 消耗的耐力值
gs/game/player_stamina.go:222
↓ 2 callersMethodGetCharCardByGuid
GetCharCardByGuid 通过卡牌的Guid获取角色牌
gs/game/game_gcg_manager.go:121
↓ 2 callersMethodGetClientCmdNameByCmdId
(cmdId uint16)
gate/client_proto/client_proto.go:25
↓ 2 callersMethodGetCmdIdByCmdName
(cmdName string)
protocol/cmd/cmd_id_proto_obj_map.go:448
↓ 2 callersFunctionGetColorRGB
(c string)
gs/game/audio_video.go:190
↓ 2 callersMethodGetCommandTextInput
()
gs/game/game_command_manager.go:61
↓ 2 callersMethodGetCurStamina
()
gs/game/game_world_scene.go:775
↓ 2 callersMethodGetEntityByConfigId
(configId uint32)
gs/game/game_world_scene.go:502
↓ 2 callersMethodGetGadgetState
()
gs/game/game_world_scene.go:684
↓ 2 callersMethodGetGlobalGsOnlineMap
GetGlobalGsOnlineMap 获取全服玩家GS在线列表
node/service/discovery.go:288
↓ 2 callersMethodGetItemCount
(itemId uint32)
gs/model/db_item.go:38
↓ 2 callersMethodGetMeeoIndex
()
gs/game/game_world_scene.go:54
↓ 2 callersMethodGetMultiplayerWorldNum
()
gs/game/game_world_manager.go:190
↓ 2 callersMethodGetObjectList
GetObjectList 获取格子中所有对象
pkg/alg/aoi.go:258
↓ 2 callersMethodGetOtherController
GetOtherController 获取除了这个操控者之外的操控者 游戏目前仅支持两个玩家对战 不用考虑三个人及以上的问题
gs/game/game_gcg_manager.go:1149
↓ 2 callersMethodGetOwnerEntityId
()
gs/game/game_world_scene.go:743
↓ 2 callersMethodGetPlayerAcCtx
(userId uint32)
anticheat/handle/handle.go:122
↓ 2 callersMethodGetProtoObjCacheByCmdId
性能优化专用方法 若不满足使用条件 请老老实实的用下面的反射方法 GetProtoObjCacheByCmdId 从缓存池获取一个对象 请务必确保能容忍获取到的对象含有使用过的脏数据 否则会产生不可预料的后果
protocol/cmd/cmd_id_proto_obj_map.go:397
↓ 2 callersFunctionGetQuestDataMapByParentQuestId
(parentQuestId int32)
gdconf/quest_data.go:396
↓ 2 callersFunctionGetRaw
(url string, authToken ...string)
pkg/httpclient/http_client.go:56
↓ 2 callersMethodGetRegionEc2B
GetRegionEc2B 获取区服密钥信息
node/service/discovery.go:195
↓ 2 callersMethodGetSRTT
GetSRTT gets current srtt of the session
gate/kcp/session.go:580
↓ 2 callersMethodGetSceneBlockAoiMap
()
gs/game/game_world_manager.go:108
↓ 2 callersMethodGetSceneCreateTime
()
gs/game/game_world_scene.go:66
↓ 2 callersFunctionGetSceneLuaConfigById
(sceneId int32)
gdconf/scene_lua_config.go:394
↓ 2 callersMethodGetSceneTime
()
gs/game/game_world_scene.go:70
↓ 2 callersMethodGetSessionByConvId
(convId uint64)
gate/net/kcp_connect_manager.go:439
↓ 2 callersMethodGetSurrGridListByGid
GetSurrGridListByGid 根据格子的gid得到当前周边的格子信息
pkg/alg/aoi.go:96
↓ 2 callersFunctionGetTimeRand
()
pkg/random/random.go:13
↓ 2 callersMethodGetUnlockPointList
()
gs/model/db_world.go:53
↓ 2 callersMethodGetWeaponEntityId
()
gs/game/game_world_manager.go:412
↓ 2 callersFunctionGetWeaponLevelDataByLevel
(level int32)
gdconf/weapon_level_data.go:36
↓ 2 callersFunctionGetWorldAreaDataMap
()
gdconf/world_area_data.go:29
↓ 2 callersMethodGetWorldLevel
()
gs/game/game_world_manager.go:268
↓ 2 callersMethodHandleAbilityStamina
HandleAbilityStamina 处理来自ability的耐力消耗
gs/game/player_stamina.go:61
↓ 2 callersMethodHandlePlayerExpAdd
HandlePlayerExpAdd 玩家冒险阅历增加处理
gs/game/player_base.go:12
↓ 2 callersMethodHostLen
()
gs/model/player.go:155
↓ 2 callersMethodImmediateStamina
ImmediateStamina 处理即时耐力消耗
gs/game/player_stamina.go:121
↓ 2 callersMethodInit3DRectAoiManager
Init3DRectAoiManager 初始化3D矩形aoi区域
pkg/alg/aoi.go:35
↓ 2 callersMethodInitAvatar
(player *Player, avatar *Avatar)
gs/model/db_avatar.go:58
↓ 2 callersMethodInitAvatarFightProp
InitAvatarFightProp 初始化角色面板
gs/model/db_avatar.go:71
↓ 2 callersMethodInitReliquary
(player *Player, reliquary *Reliquary)
gs/model/db_reliquary.go:44
↓ 2 callersMethodInitWeapon
(player *Player, weapon *Weapon)
gs/model/db_weapon.go:44
↓ 2 callersMethodIsPlayerFirstEnter
IsPlayerFirstEnter 获取玩家是否首次加入本世界
gs/game/game_world_manager.go:730
↓ 2 callersFunctionIsUtf8String
(value string)
pkg/object/object.go:155
↓ 2 callersMethodKickPlayer
(userId uint32, gateAppId string)
anticheat/handle/handle.go:231
↓ 2 callersFunctionListenWithOptions
ListenWithOptions listens for incoming KCP packets addressed to the local address laddr on the network "udp" with packet encryption. 'block' is the b
gate/kcp/session.go:855
↓ 2 callersMethodLoadSceneBlockAoiMap
()
gs/game/game_world_manager.go:112
↓ 2 callersMethodLoadUserFromDbSync
(userId uint32)
gs/game/game_user_manager.go:465
↓ 2 callersFunctionMd5Str
(inputStr string)
pkg/endec/endec.go:164
↓ 2 callersFunctionNewAoiManager
()
pkg/alg/aoi.go:18
↓ 2 callersFunctionNewClientCmdProtoMap
()
gate/client_proto/client_proto.go:15
↓ 2 callersMethodNewCubic
NewCubic 新建立方体
pkg/alg/shape.go:33
↓ 2 callersMethodNewCylinder
NewCylinder 新建圆柱体
pkg/alg/shape.go:70
↓ 2 callersFunctionNewLLQueue
()
pkg/alg/queue.go:16
↓ 2 callersFunctionNewLoginResult
()
dispatch/api/login_result.go:40
↓ 2 callersFunctionNewShape
NewShape 新建形状对象
pkg/alg/shape.go:16
↓ 2 callersFunctionNewSnowflakeWorker
(workerId int64)
pkg/alg/snowflake.go:42
↓ 2 callersFunctionNewSource64
()
pkg/random/hk4e_mt19937.go:24
↓ 2 callersMethodNewSphere
NewSphere 新建球体
pkg/alg/shape.go:51
↓ 2 callersFunctionO
(t,e,n,r)
cmd/dispatch/static/geetest/static/js/slide.7.8.6.js:1
↓ 2 callersMethodOnLogin
(userId uint32, clientSeq uint32, gateAppId string, player *model.Player, joinHostUserId uint32)
gs/game/player_login.go:78
↓ 2 callersMethodPacketAvatarEquipChangeNotifyByWeapon
(avatar *model.Avatar, weapon *model.Weapon, entityId uint32)
gs/game/player_equip.go:300
↓ 2 callersMethodPacketAvatarPropNotify
PacketAvatarPropNotify 角色属性表更新通知
gs/game/player_avatar.go:424
↓ 2 callersMethodPacketDelTeamEntityNotify
(scene *Scene, player *model.Player)
gs/game/player_scene.go:1250
↓ 2 callersMethodPacketPlayerEnterSceneNotifyCore
( player *model.Player, targetPlayer *model.Player, enterType proto.EnterType, enterReason proto.EnterReas
gs/game/player_scene.go:785
↓ 2 callersMethodPacketPlayerEnterSceneNotifyLogin
(player *model.Player, enterType proto.EnterType)
gs/game/player_scene.go:725
↓ 2 callersMethodPacketPlayerEnterSceneNotifyMp
( player *model.Player, targetPlayer *model.Player, enterType proto.EnterType, enterReason proto.EnterReas
gs/game/player_scene.go:774
↓ 2 callersMethodPacketStoreItemChangeNotifyByReliquary
(reliquary *model.Reliquary)
gs/game/player_reliquary.go:180
↓ 2 callersFunctionParseLuaTableToObject
(table *lua.LTable, object T)
gdconf/game_data_config.go:399
↓ 2 callersMethodPop
()
gate/kcp/timedsched.go:25
↓ 2 callersFunctionQ
(t)
cmd/dispatch/static/geetest/static/js/slide.7.8.6.js:1
↓ 2 callersMethodReadBatch
(ms []ipv4.Message, flags int)
gate/kcp/session.go:65
↓ 2 callersMethodRecv
Receive data from kcp state machine Return number of bytes read. Return -1 when there is no readable data. Return -2 if len(buffer) is smaller than
gate/kcp/kcp.go:261
↓ 2 callersMethodRemovePlayer
(player *model.Player)
gs/game/game_world_scene.go:80
↓ 2 callersMethodRemoveSceneGroup
RemoveSceneGroup 卸载场景组
gs/game/player_scene.go:626
↓ 2 callersFunctionRsaSign
(rawData []byte, privKey *rsa.PrivateKey)
pkg/endec/endec.go:65
↓ 2 callersFunctionRun
(ctx context.Context, configFile string)
anticheat/app/app.go:22
↓ 2 callersFunctionRun
(ctx context.Context, configFile string)
gm/app/app.go:15
↓ 2 callersFunctionRun
(ctx context.Context, configFile string)
dispatch/app/app.go:17
↓ 2 callersFunctionRun
(ctx context.Context, configFile string)
pathfinding/app/app.go:21
↓ 2 callersFunctionRun
(ctx context.Context, configFile string)
gs/app/app.go:28
↓ 2 callersFunctionRun
(ctx context.Context, configFile string)
gate/app/app.go:23
↓ 2 callersFunctionRun
(ctx context.Context, configFile string)
node/app/app.go:19
↓ 2 callersMethodSaveTempOfflineUser
SaveTempOfflineUser 保存临时离线玩家 如果调用LoadTempOfflineUser获取了离线玩家数据 则必须在逻辑完成后立即调用此函数回写并解锁
gs/game/game_user_manager.go:379
↓ 2 callersMethodSaveUserToDbSync
(player *model.Player)
gs/game/game_user_manager.go:474
↓ 2 callersMethodSendMsg
SendMsg 发送消息给客户端
pathfinding/handle/handle.go:52
↓ 2 callersMethodSetACKNoDelay
SetACKNoDelay changes ack flush option, set true to flush ack immediately,
gate/kcp/session.go:442
↓ 2 callersMethodSetAoiRange
SetAoiRange 设置aoi区域边界坐标
pkg/alg/aoi.go:25
← previousnext →401–500 of 1,514, ranked by callers