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
↓ 2 callers
Method
getPathToNode
Gets the path leading to the specified end node.
server/game/nav/NavMeshQueryI.go:1221
↓ 2 callers
Method
getPool
ACTOR_TYPE_VIRTUAL,ACTOR_TYPE_POOL
actor/Actor.go:75
↓ 2 callers
Method
getPortalPoints
(from, to DtPolyRef, left, right []float32, fromType, toType *DtPolyTypes)
server/game/nav/NavMeshQueryI.go:2279
↓ 2 callers
Function
getRange
getRange returns the bits indicated by the given expression: number | number "-" number [ "/" number ] or error parsing range.
base/cron/cron.go:305
↓ 2 callers
Function
getSlabCoord
(va []float32, side int)
server/game/nav/NavMeshI.go:1692
↓ 2 callers
Method
growIfFull
growIfFull resizes up if the buffer is full.
base/vector/vector.go:306
↓ 2 callers
Method
handleConn
(tcpConn net.Conn, addr string)
network/ServerSocket.go:212
↓ 2 callers
Function
initCrcNames
统计crc对应string
server/message/Ipacket.go:127
↓ 2 callers
Method
insertCase1
(node *Node[K, V])
base/maps/maps.go:383
↓ 2 callers
Function
link
将结点放入链表
base/timer/Timer.go:107
↓ 2 callers
Method
loadMialById
(mailId int64)
server/game/player/mail.go:7
↓ 2 callers
Method
lookup
(key K)
base/maps/maps.go:306
↓ 2 callers
Method
moveList
移动某个级别的链表内容
base/timer/Timer.go:166
↓ 2 callers
Function
mustParseInt
mustParseInt parses the given expression as an int or returns an error.
base/cron/cron.go:384
↓ 2 callers
Function
overlapRange
(amin, amax, bmin, bmax, eps float32)
server/game/nav/NavCommon.go:777
↓ 2 callers
Function
parse
(packet rpc.Packet)
rpc/rpc_test.go:148
↓ 2 callers
Function
parseIntOrName
parseIntOrName returns the (possibly-named) integer contained in expr.
base/cron/cron.go:374
↓ 2 callers
Method
resize
resize resizes the Vector to fit exactly twice its current contents. This is used to grow the queue when it is full, and also to shrink it when it is
base/vector/vector.go:330
↓ 2 callers
Method
shrinkIfExcess
shrinkIfExcess resize down if the buffer 1/4 full.
base/vector/vector.go:321
↓ 2 callers
Method
unconnectLinks
Removes external links at specified side.
server/game/nav/NavMeshI.go:304
↓ 2 callers
Function
withPool
(pPool IActorPool)
actor/ActorMgr.go:65
↓ 2 callers
Method
withinRange
(index int)
base/vector/vector.go:157
↓ 1 callers
Method
Add
Add inserts a string element in the consistent hash.
base/hashRing.go:83
↓ 1 callers
Method
AddAccount
(accountId int64)
server/gm/login/AccountMgr.go:58
↓ 1 callers
Method
AddActor
获取actor
actor/ActorPool.go:73
↓ 1 callers
Method
AddChild
(string, IBaseNode)
base/betree/BehaviorTree.go:19
↓ 1 callers
Method
AddClinet
(tcpConn *websocket.Conn, addr string, connectType int)
network/WebSocket.go:78
↓ 1 callers
Method
AddClinet
(conn net.Conn, addr string, connectType int)
network/ServerSocket.go:104
↓ 1 callers
Method
AddCluster
(info *rpc.ClusterInfo)
base/cluster/Cluster.go:170
↓ 1 callers
Method
AddCluster
(info *rpc.ClusterInfo)
base/cluster/rpc/Cluster.go:118
↓ 1 callers
Method
AddCluster
(info *common.ClusterInfo)
base/cluster/rpc/ClusterServer.go:74
↓ 1 callers
Method
AddFile
(string, FileRead)
server/cm/FileMonitor.go:34
↓ 1 callers
Method
AddMap
()
server/game/player/PlayerMap.go:12
↓ 1 callers
Method
AddPlayer
(layerId int64, channelId int64, playerName string, gateClusterId uint32)
server/gm/chat/channelmgr.go:18
↓ 1 callers
Method
AddPlayer
(playerId int64, playername string, gateClusterId uint32)
server/gm/chat/channel.go:17
↓ 1 callers
Method
AddPlayerMap
(socketId uint32, mailbox rpc.MailBox)
server/gate/PlayerMgr.go:60
↓ 1 callers
Method
AssignClientId
()
network/WebSocket.go:63
↓ 1 callers
Method
AssignClientId
()
network/ServerSocket.go:89
↓ 1 callers
Method
Begin
Begin resets the iterator to its initial state (one-before-first) Call Next() to fetch the first element if any.
base/vector/iterator.go:55
↓ 1 callers
Method
BuildPacketStream
(buffer []byte, writeSize int)
base/bitStream.go:67
↓ 1 callers
Function
BytesToFloat32
(data []byte)
base/common.go:133
↓ 1 callers
Function
BytesToFloat64
(data []byte)
base/common.go:148
↓ 1 callers
Function
BytesToInt64
(data []byte)
base/common.go:118
↓ 1 callers
Method
CallMsg
(interface{}, rpc.RpcHead, string, ...interface{})
base/cluster/Cluster.go:63
↓ 1 callers
Method
CanReach
(pos lmath.Point3F)
server/game/tile/tile.go:158
↓ 1 callers
Function
ChechErr
(err error)
base/common.go:176
↓ 1 callers
Method
CheckClientEx
(sockId uint32, packetName string, head rpc.RpcHead)
server/gate/UserProcess.go:33
↓ 1 callers
Function
Clamp
(val, low, high T)
base/common.go:60
↓ 1 callers
Method
Clear
()
network/Isocket.go:171
↓ 1 callers
Method
Clear
()
base/maps/maps.go:38
↓ 1 callers
Method
Clear
Clear removes all nodes from the tree.
base/maps/maps.go:260
↓ 1 callers
Method
Clear
()
server/cm/BaseData.go:22
↓ 1 callers
Method
Close
()
network/WebSocketClient.go:103
↓ 1 callers
Method
Close
()
network/ServerSocketClient.go:124
↓ 1 callers
Method
CollideLineff
(start *Point3F, end *Point3F, t *float32, n *Point3F)
server/cm/lmath/box.go:218
↓ 1 callers
Method
Connect
()
network/Isocket.go:67
↓ 1 callers
Method
Connect
()
network/ClientSocket.go:76
↓ 1 callers
Method
Count
(stubType rpc.STUB)
base/cluster/et/stubmailbox.go:100
↓ 1 callers
Method
Count
()
server/gate/StatsProcess.go:38
↓ 1 callers
Method
Create
(info *rpc.MailBox)
base/cluster/etv3/mailbox.go:55
↓ 1 callers
Method
Cross
(p Point3F)
server/cm/lmath/point3f.go:190
↓ 1 callers
Function
DecryptName2
(strName string)
base/MessageCode.go:52
↓ 1 callers
Method
DelActor
添加actor
actor/ActorPool.go:74
↓ 1 callers
Method
DelCluster
(info *rpc.ClusterInfo)
base/cluster/Cluster.go:178
↓ 1 callers
Method
DelCluster
(info *common.ClusterInfo)
base/cluster/rpc/ClusterServer.go:87
↓ 1 callers
Method
Delete
(Id int64)
base/cluster/etv3/mailbox.go:78
↓ 1 callers
Method
DeleteAll
()
base/cluster/etv3/mailbox.go:84
↓ 1 callers
Method
Descriptor
()
server/message/message.pb.go:73
↓ 1 callers
Method
Descriptor
()
rpc/rpc3.pb.go:73
↓ 1 callers
Method
Descriptor
()
rpc/rpc3.pb.go:179
↓ 1 callers
Method
Descriptor
()
rpc/rpc3.pb.go:223
↓ 1 callers
Function
Dial
goroutine safe
orm/mongodb/mongodb.go:57
↓ 1 callers
Function
DialWithTimeout
goroutine safe
orm/mongodb/mongodb.go:63
↓ 1 callers
Function
DtAllocNavMesh
@} Allocates a navigation mesh object using the Detour allocator. @return A navigation mesh that is ready for initialization, or null on failure. @ing
server/game/nav/NavMesh.go:303
↓ 1 callers
Function
DtAllocNavMeshQuery
Allocates a query object using the Detour allocator. @return An allocated query object, or null on failure. @ingroup detour
server/game/nav/NavMeshQuery.go:92
↓ 1 callers
Function
DtAllocNodeQueue
(n int)
server/game/nav/NavNode.go:147
↓ 1 callers
Function
DtIntersectSegSeg2D
(ap, aq, bp, bq []float32, s, t *float32)
server/game/nav/NavCommon.go:676
↓ 1 callers
Function
DtMinInt32
(a, b int32)
server/game/nav/NavCommon.go:72
↓ 1 callers
Function
DtMinUInt32
(a, b uint32)
server/game/nav/NavCommon.go:65
↓ 1 callers
Function
DtOverlapPolyPoly2D
Determines if the two convex polygons overlap on the xz-plane. @param[in] polya Polygon A vertices. [(x, y, z) * @p npolya] @param[in] npolya The
server/game/nav/NavCommon.go:787
↓ 1 callers
Function
DtPointInPolygon
Determines if the specified point is inside the convex polygon on the xz-plane. @param[in] pt The point to check. [(x, y, z)] @param[in] verts The
server/game/nav/NavCommon.go:697
↓ 1 callers
Function
DtStatusDetail
Returns true if specific detail is set.
server/game/nav/NavStatus.go:58
↓ 1 callers
Function
DtStatusInProgress
Returns true of status is in progress.
server/game/nav/NavStatus.go:53
↓ 1 callers
Function
DtVmad
Performs a scaled vector addition. (@p v1 + (@p v2 * @p s)) @param[out] dest The result vector. [(x, y, z)] @param[in] v1 The base vector. [(x, y, z
server/game/nav/NavCommon.go:270
↓ 1 callers
Function
DtVscale
Scales the vector by the specified value. (@p v * @p t) @param[out] dest The result vector. [(x, y, z)] @param[in] v The vector to scale. [(x, y, z)
server/game/nav/NavCommon.go:311
↓ 1 callers
Function
DtVset
Sets the vector elements to the specified values. @param[out] dest The result vector. [(x, y, z)] @param[in] x The x-value of the vector. @param[in]
server/game/nav/NavCommon.go:340
↓ 1 callers
Method
Empty
Empty returns true if tree does not contain any nodes
base/maps/maps.go:150
↓ 1 callers
Method
End
End moves the iterator past the last element (one-past-the-end). Call Prev() to fetch the last element if any.
base/vector/iterator.go:61
↓ 1 callers
Method
EnsureCounter
goroutine safe
orm/mongodb/mongodb.go:131
↓ 1 callers
Method
EnsureIndex
goroutine safe
orm/mongodb/mongodb.go:163
↓ 1 callers
Method
EnsureUniqueIndex
goroutine safe
orm/mongodb/mongodb.go:175
↓ 1 callers
Function
Every
Every returns a crontab Schedule that activates once every duration. Delays of less than a second are not supported (will round up to 1 second). Any f
base/cron/constantdelay.go:14
↓ 1 callers
Method
ExchangePubk
生成公钥
base/dh.go:21
↓ 1 callers
Method
ExchangePubk
(key int64)
base/dh.go:44
↓ 1 callers
Function
ExitMgr
程序退出后执行
server/ServerInit.go:30
↓ 1 callers
Method
FindPath
加载mesh
server/game/nav/nav.go:30
↓ 1 callers
Method
FindPath
(start, end lmath.Point3F, path *vector.Vector[lmath.Point3F])
server/game/nav/nav.go:93
↓ 1 callers
Method
FindRandomPoint
Returns random location on navmesh. Polygons are chosen weighted by area. The search runs in linear related to number of polygon. @param[in] filter
server/game/nav/NavMeshQueryI.go:237
↓ 1 callers
Method
FindStraightPath
Finds the straight path from the start to the end position within the polygon corridor. @param[in] startPos Path start position. [(x, y, z)] @param
server/game/nav/NavMeshQueryI.go:1834
↓ 1 callers
Method
Float32
(datacol string)
base/datafile.go:234
← previous
next →
501–600 of 2,429, ranked by callers