MCPcopy Create free account

hub / github.com/bobohume/gonet / functions

Functions2,429 in github.com/bobohume/gonet

↓ 3 callersMethodRaycast
Casts a 'walkability' ray along the surface of the navigation mesh from the start position toward the end position. @note A wrapper around raycast(...
server/game/nav/NavMeshQueryI.go:2441
↓ 3 callersMethodReadDataFile
(fileName string)
base/datafile.go:84
↓ 3 callersMethodRegisterTimer
(duration time.Duration, fun func(), opts ...timer.OpOption)
actor/Actor.go:186
↓ 3 callersMethodSaveEquipData
()
server/game/player/PlayerData.go:47
↓ 3 callersMethodSaveItemData
()
server/game/player/PlayerData.go:35
↓ 3 callersMethodSaveMailData
()
server/game/player/PlayerData.go:59
↓ 3 callersMethodSendActor
(funcName string, head rpc.RpcHead, packet rpc.Packet)
actor/ActorMgr.go:105
↓ 3 callersFunctionSendToClient
发送到客户端
server/gm/GMServer.go:109
↓ 3 callersMethodSetConnectType
(int)
network/Isocket.go:84
↓ 3 callersMethodSetGateClusterId
(clusterId uint32)
server/game/player/Player.go:60
↓ 3 callersMethodSetMax
(Point3F)
server/cm/lmath/point3f.go:24
↓ 3 callersMethodSetMaxPacketLen
(int)
network/Isocket.go:81
↓ 3 callersMethodSetState
(int32)
network/Isocket.go:78
↓ 3 callersMethodShareKey
公钥
base/dh.go:23
↓ 3 callersMethodStart
()
base/timer/SimpleTimer.go:18
↓ 3 callersMethodStop
()
network/Isocket.go:64
↓ 3 callersMethodSwtichSendToGM
(socketId uint32, packetName string, head rpc.RpcHead, packet rpc.Packet)
server/gate/UserProcess.go:64
↓ 3 callersFunctionToHash
tcp粘包特殊结束标志 *func SetTcpEnd(buff []byte) []byte{ buff = append(buff, []byte(TCP_END)...) return buff }*/
base/common.go:235
↓ 3 callersFunctionWithCount
(count int)
base/timer/Timer.go:82
↓ 3 callersFunctionWithOutWhere
()
orm/db.go:133
↓ 3 callersMethodaddNode
添加一个定时器结点
base/timer/Timer.go:132
↓ 3 callersFunctionblanceavl
(tree *AvlBitTree, root **AvlBitTree, data int)
base/Sort.go:341
↓ 3 callersMethodbubbleUp
(i int, node *DtNode)
server/game/nav/NavNodeI.go:148
↓ 3 callersFunctionconsoleError
(command string)
server/cm/console.go:18
↓ 3 callersFunctionfile_message_proto_init
()
server/message/message.pb.go:380
↓ 3 callersFunctiongetBits
getBits sets all bits in the range [min, max], modulo the given step size.
base/cron/cron.go:397
↓ 3 callersMethodgetEdgeMidPoint2
(from DtPolyRef, fromPoly *DtPoly, fromTile *DtMeshTile, to DtPolyRef, toPoly *DtPoly, toTile *DtMeshTile, m
server/game/nav/NavMeshQueryI.go:2376
↓ 3 callersFunctioninsertInterval
(ints []dtSegInterval, nints *int, maxInts int, tmin, tmax int16, ref DtPolyRef)
server/game/nav/NavMeshQueryI.go:3324
↓ 3 callersFunctionisEnoughStub
(rpc.STUB)
base/cluster/Stub_test.go:52
↓ 3 callersFunctionisMaxStubCount
()
base/cluster/Stub_test.go:48
↓ 3 callersFunctionloadSimple
(row orm.IRow, s *model.SimplePlayerData)
server/gm/PlayerSimpleMgr.go:34
↓ 3 callersFunctionmidnight
(loc *time.Location)
base/cron/cron_test.go:369
↓ 3 callersMethodnext
next returns the next buffer position wrapping around buffer.
base/vector/vector.go:301
↓ 3 callersFunctionnodeToMailBox
(val []byte)
base/cluster/et/mailbox.go:144
↓ 3 callersFunctionnodeToMailBox
(val []byte)
base/cluster/etv3/mailbox.go:144
↓ 3 callersFunctionnodeToStubMailBox
(val []byte)
base/cluster/et/stubmailbox.go:142
↓ 3 callersFunctionnodeToStubMailBox
(val []byte)
base/cluster/etv3/stubmailbox.go:141
↓ 3 callersFunctionnormalizeFields
normalizeFields takes a subset set of the time fields and returns the full set with defaults (zeroes) populated for unset fields. As part of performi
base/cron/cron.go:213
↓ 3 callersFunctionoutOfRangeText
(i, len int)
base/vector/vector.go:366
↓ 3 callersFunctionparseLoadarray
(classVal reflect.Value, classType string, row IRow)
orm/loadObjSql.go:165
↓ 3 callersFunctionparsesqlarray
(sqlData *SqlData, p *Properties, op *Op, classVal reflect.Value)
orm/parseSql.go:43
↓ 3 callersMethodregister
(IActor, Op)
actor/Actor.go:72
↓ 3 callersMethodreplaceNode
(old *Node[K, V], new *Node[K, V])
base/maps/maps.go:368
↓ 3 callersFunctionsubStubCount
()
base/cluster/Stub_test.go:44
↓ 3 callersFunctionup
(h Interface[T], j int)
base/heap/heap.go:89
↓ 3 callersFunctionvperpXZ
(a, b []float32)
server/game/nav/NavCommon.go:672
↓ 2 callersMethodAdd
(Point3F)
server/cm/lmath/point3f.go:39
↓ 2 callersMethodAddData
(int, interface{})
server/cm/BaseData.go:12
↓ 2 callersMethodAddTile
Adds a tile to the navigation mesh. @param[in] data Data for the new tile mesh. (See: #dtCreateNavMeshData) @param[in] dataSize Data size of the ne
server/game/nav/NavMeshI.go:805
↓ 2 callersFunctionAssignActorId
()
actor/Actor.go:117
↓ 2 callersFunctionBytesToInt
字节转换成整形
base/common.go:87
↓ 2 callersMethodCalcTileLoc
Calculates the tile grid location for the specified world position. @param[in] pos The world position for the query. [(x, y, z)] @param[out] tx The
server/game/nav/NavMeshI.go:1136
↓ 2 callersMethodCheckClient
(sockId uint32, packetName string, head rpc.RpcHead)
server/gate/UserProcess.go:46
↓ 2 callersMethodClear
()
network/Isocket.go:70
↓ 2 callersMethodClose
()
server/cm/BaseData.go:9
↓ 2 callersMethodClosestPointOnPoly
Finds the closest point on the specified polygon. @param[in] ref The reference id of the polygon. @param[in] pos The position to check. [(x, y,
server/game/nav/NavMeshQueryI.go:526
↓ 2 callersMethodCmpAndSwap
(old, new uint64)
base/mpmc/deque.go:46
↓ 2 callersMethodCreateItem
创建物品
server/game/player/Item.go:18
↓ 2 callersFunctionCrossFFF
(a []float32, b []float32, c []float32)
server/cm/lmath/point3f.go:198
↓ 2 callersFunctionDBERROR
*const( NONE_ERROR =iota, )*/
base/LogicErr.go:7
↓ 2 callersFunctionDecode
(buff []byte)
server/message/Ipacket.go:81
↓ 2 callersMethodDecodePolyIdPoly
Extracts the polygon's index (within its tile) from the specified polygon reference. @note This function is generally meant for internal use only. @pa
server/game/nav/NavMeshI.go:109
↓ 2 callersFunctionDecryptName1
(strName string)
base/MessageCode.go:38
↓ 2 callersFunctionDefault_matF_x_matF_C
(a []float32, b []float32, result []float32)
server/cm/lmath/cmath.go:383
↓ 2 callersMethodDelCluster
(info *rpc.ClusterInfo)
base/cluster/rpc/Cluster.go:135
↓ 2 callersMethodDelete
(Id int64)
base/cluster/et/mailbox.go:72
↓ 2 callersFunctionDeleteSqlStr
--- struct to sql
orm/deleteSql.go:18
↓ 2 callersMethodDescriptor
()
server/message/message.pb.go:125
↓ 2 callersMethodDoSend
(buff []byte)
network/WebSocketClient.go:73
↓ 2 callersMethodDoSend
(buff []byte)
network/ServerSocketClient.go:86
↓ 2 callersFunctionDtAllocNodePool
(maxNodes, hashSize uint32)
server/game/nav/NavNode.go:94
↓ 2 callersFunctionDtFreeNodeQueue
(queue *DtNodeQueue)
server/game/nav/NavNode.go:153
↓ 2 callersFunctionDtIlog2
(v uint32)
server/game/nav/NavCommon.go:830
↓ 2 callersFunctionDtIntersectSegmentPoly2D
(p0, p1, verts []float32, nverts int, tmin, tmax *float32, segMin, segMax *int)
server/game/nav/NavCommon.go:621
↓ 2 callersFunctionDtOverlapBounds
Determines if two axis-aligned bounding boxes overlap. @param[in] amin Minimum bounds of box A. [(x, y, z)] @param[in] amax Maximum bounds of box A.
server/game/nav/NavCommon.go:491
↓ 2 callersFunctionDtOverlapQuantBounds
Determines if two axis-aligned bounding boxes overlap. @param[in] amin Minimum bounds of box A. [(x, y, z)] @param[in] amax Maximum bounds of box A.
server/game/nav/NavCommon.go:480
↓ 2 callersFunctionDtRandomPointInConvexPoly
Returns a random point in a convex polygon. Adapted from Graphics Gems article.
server/game/nav/NavCommon.go:922
↓ 2 callersFunctionDtVdist2D
Derives the distance between the specified points on the xz-plane. @param[in] v1 A point. [(x, y, z)] @param[in] v2 A point. [(x, y, z)] @return The
server/game/nav/NavCommon.go:397
↓ 2 callersFunctionDtVdistSqr
Returns the square of the distance between two points. @param[in] v1 A point. [(x, y, z)] @param[in] v2 A point. [(x, y, z)] @return The square of t
server/game/nav/NavCommon.go:384
↓ 2 callersFunctionDtVlenSqr
Derives the square of the scalar length of the vector. (len * len) @param[in] v The vector. [(x, y, z)] @return The square of the scalar length of th
server/game/nav/NavCommon.go:365
↓ 2 callersFunctionDtVmax
Selects the maximum value of each element from the specified vectors. @param[in,out] mx A vector. (Will be updated with the result.) [(x, y, z)] @par
server/game/nav/NavCommon.go:329
↓ 2 callersFunctionDtVmin
Selects the minimum value of each element from the specified vectors. @param[in,out] mn A vector. (Will be updated with the result.) [(x, y, z)] @par
server/game/nav/NavCommon.go:320
↓ 2 callersFunctionDtVnormalize
Normalizes the vector. @param[in,out] v The vector to normalize. [(x, y, z)]
server/game/nav/NavCommon.go:415
↓ 2 callersFunctionDtVperp2D
Derives the xz-plane 2D perp product of the two vectors. (uz*vx - ux*vz) @param[in] u The LHV vector [(x, y, z)] @param[in] v The RHV vector [(x,
server/game/nav/NavCommon.go:452
↓ 2 callersMethodEmpty
()
base/ring/ring.go:66
↓ 2 callersMethodEncodePolyId
-------------------------------------------------------------- /// DtNavMesh --------------------------------------------------------------- /// @{
server/game/nav/NavMeshI.go:67
↓ 2 callersMethodEnum
(datacol string)
base/datafile.go:214
↓ 2 callersMethodFatalln
(...interface{})
base/log.go:40
↓ 2 callersMethodGet
At returns the element at index i in the queue without removing the element from the queue. This method accepts only non-negative index values. At(0)
base/vector/vector.go:182
↓ 2 callersMethodGetAccountName
()
server/message/client.pb.go:80
↓ 2 callersMethodGetAreaWidth
()
server/game/tile/tile.go:99
↓ 2 callersMethodGetChild
()
base/betree/Decorator.go:12
↓ 2 callersFunctionGetDBTimeString
---获取datetime时间
orm/db.go:192
↓ 2 callersMethodGetError
()
server/message/client.pb.go:158
↓ 2 callersMethodGetGridId
*func GetGridId(x, y int) int{ return ((x & 0x0000ffff) << 16) + y & 0x0000ffff }*/
server/game/tile/tile.go:84
↓ 2 callersMethodGetMaxPacketLen
()
network/Isocket.go:82
↓ 2 callersMethodGetMessage
()
server/message/client.pb.go:445
↓ 2 callersFunctionGetMessageName
(packet proto.Message)
server/message/Ipacket.go:65
↓ 2 callersMethodGetNeighbourTilesAt
Returns neighbour tile based on side.
server/game/nav/NavMeshI.go:1021
↓ 2 callersFunctionGetPakcetRoute
(packetId uint32)
server/message/Ipacket.go:103
← previousnext →301–400 of 2,429, ranked by callers