Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bobohume/gonet
/ functions
Functions
2,429 in github.com/bobohume/gonet
⨍
Functions
2,429
◇
Types & classes
400
↓ 9 callers
Method
IpString
()
rpc/type.go:55
↓ 9 callers
Method
SendMsg
(rpc.RpcHead, string, ...interface{})
base/cluster/rpc/ClusterServer.go:37
↓ 8 callers
Function
BuildPacketHead
(id int64, destservertype rpc.SERVICE)
server/message/Ipacket.go:55
↓ 8 callers
Function
DtSwapByte
(a, b *uint8)
server/game/nav/NavCommon.go:875
↓ 8 callers
Function
FILENAME
(filename, sheetname, ext string)
tool/data/database.go:36
↓ 8 callers
Method
Get
(key string)
base/ini/config.go:71
↓ 8 callers
Method
Get
(key string)
orm/db.go:251
↓ 8 callers
Method
IsPrimary
主键 `sql:"primary"`
orm/db.go:146
↓ 8 callers
Method
IsTable
tablename `sql:"table"`
orm/db.go:171
↓ 8 callers
Method
Len
Len returns the number of elements currently stored in the queue. If q is nil, v.Len() is zero.
base/vector/vector.go:80
↓ 8 callers
Method
Less
(int)
base/Sort.go:148
↓ 8 callers
Function
LoadObjSql
--- struct to sql
orm/loadObjSql.go:192
↓ 8 callers
Method
Print
(...interface{})
base/log.go:38
↓ 8 callers
Method
ServiceName
()
rpc/type.go:53
↓ 8 callers
Method
Time
(key string)
orm/db.go:50
↓ 8 callers
Function
WithWhere
(obj interface{})
orm/db.go:114
↓ 8 callers
Method
WriteString
(value string)
base/bitStream.go:291
↓ 8 callers
Function
file_client_proto_rawDescGZIP
()
server/message/client.pb.go:682
↓ 8 callers
Function
handleError
(err error)
network/ServerSocketClient.go:34
↓ 8 callers
Function
hash
(key string)
base/hashRing.go:47
↓ 7 callers
Function
Comparator
*type OrderKey interface { ~int //~这里所有以int为基础类型的都能被约束到 }*/ IntComparator provides a basic comparison on int
base/maps/maps.go:23
↓ 7 callers
Function
DtMaxFloat32
Returns the maximum of two values. @param[in] a Value A @param[in] b Value B @return The maximum of the two values.
server/game/nav/NavCommon.go:98
↓ 7 callers
Function
DtTriArea2D
@} @name Computational geometry helper functions. @{ Derives the signed xz-plane area of the triangle ABC, or the relationship of line AB to point C.
server/game/nav/NavCommon.go:465
↓ 7 callers
Function
DtVdot2D
Derives the dot product of two vectors on the xz-plane. (@p u . @p v) @param[in] u A vector [(x, y, z)] @param[in] v A vector [(x, y, z)] @return
server/game/nav/NavCommon.go:442
↓ 7 callers
Method
FindNearestPoly
Finds the polygon nearest to the specified center point. @param[in] center The center of the search box. [(x, y, z)] @param[in] halfExtents The se
server/game/nav/NavMeshQueryI.go:784
↓ 7 callers
Function
Float32
(str string)
base/common.go:255
↓ 7 callers
Function
Float64
(str string)
base/common.go:260
↓ 7 callers
Method
GetPlayer
(Id int64)
server/db/PlayerMgr.go:68
↓ 7 callers
Method
Init
(string, int, ...OpOption)
network/Isocket.go:62
↓ 7 callers
Method
Init
()
server/cm/BaseData.go:11
↓ 7 callers
Function
Int64
(str string)
base/common.go:245
↓ 7 callers
Method
IsBlob
二进制 `sql:"blob"`
orm/db.go:156
↓ 7 callers
Method
IsIgnore
ignore `sql:"-"`
orm/db.go:166
↓ 7 callers
Method
IsJson
json `sql:"json"`
orm/db.go:161
↓ 7 callers
Method
Prev
Prev moves the iterator to the previous element and returns true if there was a previous element in the container. If Prev() returns true, then previo
base/maps/iterator.go:67
↓ 7 callers
Method
ReadString
()
base/bitStream.go:282
↓ 7 callers
Method
SendToZone
(funcName string, params ...interface{})
server/game/player/PlayerMap.go:8
↓ 7 callers
Function
every5min
(loc *time.Location)
base/cron/cron_test.go:361
↓ 7 callers
Method
getPortalPoints2
Returns portal points between two polygons.
server/game/nav/NavMeshQueryI.go:2301
↓ 6 callers
Method
Ceiling
Ceiling finds ceiling node of the input key, return the ceiling node or nil if no ceiling is found. Second return parameter is true if ceiling was fou
base/maps/maps.go:238
↓ 6 callers
Function
DotPP
(p1 Point3F, p2 Point3F)
server/cm/lmath/point3f.go:206
↓ 6 callers
Function
DtAllocDtQueryFilter
()
server/game/nav/NavMeshQuery.go:108
↓ 6 callers
Function
DtMathSqrtf
(x float32)
server/game/nav/NavMath.go:12
↓ 6 callers
Function
DtMinFloat32
Returns the minimum of two values. @param[in] a Value A @param[in] b Value B @return The minimum of the two values.
server/game/nav/NavCommon.go:58
↓ 6 callers
Function
DtVdot
Derives the dot product of two vectors. (@p v1 . @p v2) @param[in] v1 A Vector [(x, y, z)] @param[in] v2 A vector [(x, y, z)] @return The dot produc
server/game/nav/NavCommon.go:261
↓ 6 callers
Method
GetId
()
server/gm/chat/channel.go:13
↓ 6 callers
Function
GetMessageCode1
(strName string)
base/MessageCode.go:78
↓ 6 callers
Method
GetName
()
base/betree/BaseNode.go:29
↓ 6 callers
Method
LenSquared
()
server/cm/lmath/point3f.go:91
↓ 6 callers
Method
Modify
(node *DtNode)
server/game/nav/NavNode.go:129
↓ 6 callers
Method
OnExec
(tick int64)
base/betree/BaseNode.go:25
↓ 6 callers
Method
Read
(string)
base/ini/config.go:44
↓ 6 callers
Method
ReadBits
(bitCount int)
base/bitStream.go:179
↓ 6 callers
Function
ReadConf
(path string, data interface{})
base/config.go:10
↓ 6 callers
Method
Ref
goroutine safe
orm/mongodb/mongodb.go:102
↓ 6 callers
Method
RegisterTimer
(duration time.Duration, fun func(), opts ...timer.OpOption)
actor/Actor.go:62
↓ 6 callers
Method
Run
()
network/Isocket.go:65
↓ 6 callers
Function
SaveSql
(obj interface{}, params ...OpOption)
orm/saveSql.go:37
↓ 6 callers
Method
Send
发送给集群特定服务器
base/cluster/rpc/ClusterServer.go:38
↓ 6 callers
Method
SetPosition
(pos int)
base/bitStream.go:116
↓ 6 callers
Method
UUID
()
base/uuid.go:45
↓ 6 callers
Method
UnRef
goroutine safe
orm/mongodb/mongodb.go:116
↓ 6 callers
Method
Write
(nType LG_TYPE)
base/log.go:67
↓ 6 callers
Method
WriteBits
(bitPtr []byte, bitCount int)
base/bitStream.go:147
↓ 6 callers
Method
WriteFlag
(value bool)
base/bitStream.go:252
↓ 6 callers
Function
allocLink
(tile *DtMeshTile)
server/game/nav/NavMeshI.go:1736
↓ 6 callers
Method
appendVertex
Appends vertex to a straight path
server/game/nav/NavMeshQueryI.go:1721
↓ 6 callers
Method
applyOpts
(opts []OpOption)
orm/db.go:108
↓ 6 callers
Function
getTableName
(obj interface{}, sqlData *SqlData)
orm/db.go:421
↓ 6 callers
Method
sibling
()
base/maps/maps.go:336
↓ 6 callers
Function
swap
-----------heap sort-----------//
base/Sort.go:87
↓ 5 callers
Method
DecodePolyIdTile
Extracts the tile's index from the specified polygon reference. @note This function is generally meant for internal use only. @param[in] ref The poly
server/game/nav/NavMeshI.go:100
↓ 5 callers
Function
DtNextPow2
@} @name Miscellanious functions. @{
server/game/nav/NavCommon.go:819
↓ 5 callers
Method
Equal
(int)
base/Sort.go:149
↓ 5 callers
Method
Get
设置位
base/bitMap.go:11
↓ 5 callers
Method
Get64
(val int64)
base/hashRing.go:33
↓ 5 callers
Method
GetArea
Gets the user defined area id.
server/game/nav/NavMeshI.go:46
↓ 5 callers
Method
GetChannelManager
()
server/gm/chat/chat.go:84
↓ 5 callers
Method
GetData
(*Data)
base/datafile.go:72
↓ 5 callers
Method
GetKey
()
server/message/client.pb.go:293
↓ 5 callers
Method
GetTileRef
Gets the tile reference for the specified tile. @param[in] tile The tile. @return The tile reference of the tile.
server/game/nav/NavMeshI.go:1311
↓ 5 callers
Method
Int
(datacol string)
base/datafile.go:229
↓ 5 callers
Method
Load
(path string)
server/game/nav/nav.go:29
↓ 5 callers
Function
New
(initialSize int64)
base/ring/ring.go:21
↓ 5 callers
Method
Parse
Parse returns a new crontab schedule representing the given spec. It returns a descriptive error if the spec is not valid. It accepts crontab specs an
base/cron/cron.go:141
↓ 5 callers
Function
PosToGrid
位置转网格
server/game/tile/tile.go:67
↓ 5 callers
Function
Query
(query string, args ...any)
orm/db.go:361
↓ 5 callers
Method
ReadString
()
base/bitStream.go:56
↓ 5 callers
Method
SendPacket
(packet proto.Message)
server/client/EventProcess.go:52
↓ 5 callers
Method
Set
(Point3F)
server/cm/lmath/matrix.go:11
↓ 5 callers
Method
Type
()
rpc/rpc3.pb.go:127
↓ 5 callers
Function
Unmarshal
(buff []byte)
rpc/decode.go:19
↓ 5 callers
Method
Values
()
base/maps/maps.go:39
↓ 5 callers
Function
computeTileHash
(x, y, mask int32)
server/game/nav/NavMeshI.go:1729
↓ 5 callers
Method
connectExtOffMeshLinks
Builds external polygon links for a tile.
server/game/nav/NavMeshI.go:400
↓ 5 callers
Method
destructor
()
server/game/nav/NavMeshI.go:147
↓ 5 callers
Function
file_message_proto_rawDescGZIP
()
server/message/message.pb.go:354
↓ 5 callers
Method
getChannel
(channelid int64)
server/gm/chat/channelmgr.go:99
↓ 5 callers
Function
parseLoadObjSql
(obj interface{}, row IRow)
orm/loadObjSql.go:173
↓ 5 callers
Method
rotateLeft
(node *Node[K, V])
base/maps/maps.go:346
← previous
next →
101–200 of 2,429, ranked by callers