MCPcopy Create free account

hub / github.com/Alex-Rachel/TGameServer / functions

Functions162 in github.com/Alex-Rachel/TGameServer

↓ 6 callersFunctioncheckErr
(err error)
app/tserver/server.go:129
↓ 5 callersMethodAddFunction
(funcName string, inter interface{})
app/tserver/controller.go:19
↓ 5 callersFunctionCheckLogin
(mainpack *GameProto.MainPack)
app/controllers/usercontroller.go:42
↓ 5 callersMethodString
()
Gameproto/SocketGameProtocol.pb.go:461
↓ 3 callersMethodBroadcast
(mainPack *GameProto.MainPack)
app/tserver/room.go:63
↓ 3 callersMethodCall
(name string, params ...interface{})
app/tserver/controller.go:30
↓ 3 callersMethodStop
(uniid uint32)
app/tserver/tconn.go:169
↓ 3 callersFunctioncheckNetErr
(err error, conn net.Conn)
app/tserver/server.go:136
↓ 2 callersFunctionAddClient
(client *Client)
app/tserver/server.go:90
↓ 2 callersMethodHandleMsg
(data []byte, uniid uint32)
app/tserver/tconn.go:142
↓ 2 callersFunctionInstanceClient
(conn net.Conn, uniid uint32)
app/tserver/client.go:23
↓ 2 callersFunctionNewTask
(uniid uint32, msg []byte)
app/tserver/tconn.go:31
↓ 2 callersFunctionRemoveClient
(client *Client)
app/tserver/server.go:120
↓ 2 callersMethodSendTCP
(mainpack *GameProto.MainPack)
app/tserver/client.go:32
↓ 2 callersFunctionhandBuffer
(client *Client, buf []byte)
app/tserver/protomessage.go:46
↓ 2 callersFunctionsendBuffer
(client *Client, mainpack *GameProto.MainPack)
app/tserver/protomessage.go:67
↓ 1 callersFunctionAdd
(values []interface{}, val interface{}, index int)
app/tserver/list.go:22
↓ 1 callersFunctionBroadcastStr
(line string)
app/tserver/cmd.go:47
↓ 1 callersMethodBroadcastTCP
(client *Client, mainPack *GameProto.MainPack)
app/tserver/room.go:69
↓ 1 callersMethodBroadcastUDP
(client *Client, mainPack *GameProto.MainPack)
app/tserver/room.go:85
↓ 1 callersFunctionBuildProto
(reqCode GameProto.RequestCode, action GameProto.ActionCode, retCode GameProto.ReturnCode)
app/tserver/protomessage.go:175
↓ 1 callersFunctionCreateRooms
()
app/tserver/room.go:19
↓ 1 callersMethodDo
()
manager/workPool.go:7
↓ 1 callersFunctionGetClient
(clientName string)
app/tserver/server.go:100
↓ 1 callersFunctionHandleClientUdp
(conn *net.UDPConn)
app/tserver/udpserver.go:29
↓ 1 callersFunctionInitControllers
All Controllers Will Init On Here
main.go:20
↓ 1 callersFunctionInitGameController
()
app/controllers/gamecontroller.go:9
↓ 1 callersFunctionInitRoomController
()
app/controllers/roomcontroller.go:13
↓ 1 callersFunctionInitUserController
()
app/controllers/usercontroller.go:9
↓ 1 callersFunctionInstanceRoom
(roomPack *GameProto.RoomPack)
app/tserver/room.go:14
↓ 1 callersMethodJoin
(client *Client)
app/tserver/room.go:32
↓ 1 callersFunctionNewWorker
()
manager/workPool.go:15
↓ 1 callersFunctionPlot
挂起进程,防止销毁
manager/utils.go:10
↓ 1 callersFunctionRemoveC
(values []*Client, val *Client)
app/tserver/list.go:49
↓ 1 callersMethodRun
(wq chan chan Job)
manager/workPool.go:18
↓ 1 callersMethodSendMsgToWorker
(data []byte, uniid uint32)
app/tserver/tconn.go:146
↓ 1 callersMethodSendUDP
(mainpack *GameProto.MainPack)
app/tserver/client.go:64
↓ 1 callersFunctionSetLogger
()
manager/utils.go:15
↓ 1 callersFunctionStart
(server Server)
app/tserver/server.go:31
↓ 1 callersMethodStartOneWorker
(workerId int, queue chan *Task)
app/tserver/tconn.go:158
↓ 1 callersMethodStartRead
(client *Client)
app/tserver/tconn.go:94
↓ 1 callersMethodStartWorkerPool
()
app/tserver/tconn.go:152
↓ 1 callersMethodStartWrite
(client *Client)
app/tserver/tconn.go:119
↓ 1 callersFunctionTestlog
()
manager/utils.go:20
↓ 1 callersMethodUpPos
(mainpack *GameProto.MainPack)
app/tserver/client.go:83
↓ 1 callersFunctionhandBufferUdp
(conn *net.UDPConn, remoteAddr *net.UDPAddr, buf []byte)
app/tserver/udpserver.go:45
↓ 1 callersFunctionhandleClient
(conn net.Conn, uniid uint32)
app/tserver/server.go:68
↓ 1 callersFunctionhandleReq
(client *Client, mainpack *GameProto.MainPack, isUdp bool)
app/tserver/controller.go:77
↓ 1 callersFunctionhandleReqUdp
(client *Client, mainpack *GameProto.MainPack, isUdp bool)
app/tserver/controller.go:117
↓ 1 callersFunctionsendBufferUdp
(client *Client, mainpack *GameProto.MainPack)
app/tserver/protomessage.go:107
↓ 1 callersMethodstarting
(client *Client)
app/tserver/room.go:38
FunctionCallEvent
(eventKey string, param interface{})
app/tserver/eventcenter.go:15
FunctionChat
(client *server.Client, mainpack *GameProto.MainPack, isUdp bool)
app/controllers/roomcontroller.go:21
FunctionCreateRoom
(client *server.Client, mainpack *GameProto.MainPack, isUdp bool)
app/controllers/roomcontroller.go:38
FunctionDelete
(values []interface{}, index int)
app/tserver/list.go:84
MethodDescriptor
()
Gameproto/SocketGameProtocol.pb.go:179
MethodDescriptor
()
Gameproto/SocketGameProtocol.pb.go:267
MethodDescriptor
()
Gameproto/SocketGameProtocol.pb.go:315
MethodDescriptor
()
Gameproto/SocketGameProtocol.pb.go:379
MethodDescriptor
()
Gameproto/SocketGameProtocol.pb.go:463
MethodEnumDescriptor
()
Gameproto/SocketGameProtocol.pb.go:51
MethodEnumDescriptor
()
Gameproto/SocketGameProtocol.pb.go:127
MethodEnumDescriptor
()
Gameproto/SocketGameProtocol.pb.go:158
MethodGetActioncode
()
Gameproto/SocketGameProtocol.pb.go:207
MethodGetAnimation
()
Gameproto/SocketGameProtocol.pb.go:533
MethodGetCurnum
()
Gameproto/SocketGameProtocol.pb.go:350
MethodGetDirt
()
Gameproto/SocketGameProtocol.pb.go:540
MethodGetGunRotZ
()
Gameproto/SocketGameProtocol.pb.go:526
MethodGetHp
()
Gameproto/SocketGameProtocol.pb.go:414
MethodGetLoginPack
()
Gameproto/SocketGameProtocol.pb.go:221
MethodGetMaxnum
()
Gameproto/SocketGameProtocol.pb.go:343
MethodGetMoveX
()
Gameproto/SocketGameProtocol.pb.go:547
MethodGetMoveY
()
Gameproto/SocketGameProtocol.pb.go:554
MethodGetMoveZ
()
Gameproto/SocketGameProtocol.pb.go:561
MethodGetPassword
()
Gameproto/SocketGameProtocol.pb.go:295
MethodGetPlayerAppearance
()
Gameproto/SocketGameProtocol.pb.go:435
MethodGetPlayerID
()
Gameproto/SocketGameProtocol.pb.go:407
MethodGetPlayerJob
()
Gameproto/SocketGameProtocol.pb.go:428
MethodGetPlayername
()
Gameproto/SocketGameProtocol.pb.go:400
MethodGetPlayerpack
()
Gameproto/SocketGameProtocol.pb.go:242
MethodGetPosPack
()
Gameproto/SocketGameProtocol.pb.go:421
MethodGetPosX
()
Gameproto/SocketGameProtocol.pb.go:484
MethodGetPosY
()
Gameproto/SocketGameProtocol.pb.go:491
MethodGetPosZ
()
Gameproto/SocketGameProtocol.pb.go:498
MethodGetRequestcode
()
Gameproto/SocketGameProtocol.pb.go:200
MethodGetReturncode
()
Gameproto/SocketGameProtocol.pb.go:214
MethodGetRoomname
()
Gameproto/SocketGameProtocol.pb.go:336
MethodGetRoompack
()
Gameproto/SocketGameProtocol.pb.go:235
MethodGetRotaX
()
Gameproto/SocketGameProtocol.pb.go:505
MethodGetRotaY
()
Gameproto/SocketGameProtocol.pb.go:512
MethodGetRotaZ
()
Gameproto/SocketGameProtocol.pb.go:519
MethodGetState
()
Gameproto/SocketGameProtocol.pb.go:357
MethodGetStr
()
Gameproto/SocketGameProtocol.pb.go:228
MethodGetUser
()
Gameproto/SocketGameProtocol.pb.go:249
MethodGetUsername
()
Gameproto/SocketGameProtocol.pb.go:288
FunctionInstanceController
(name string, code GameProto.RequestCode)
app/tserver/controller.go:56
FunctionJoinRoom
(client *server.Client, mainpack *GameProto.MainPack, isUdp bool)
app/controllers/roomcontroller.go:47
FunctionListenCMD
()
app/tserver/cmd.go:13
FunctionLogin
(client *server.Client, mainpack *GameProto.MainPack, isUdp bool)
app/controllers/usercontroller.go:17
FunctionNewConn
(IP string, Port uint32, WorkerPoolSize uint32)
app/tserver/tconn.go:40
next →1–100 of 162, ranked by callers