MCPcopy Create free account

hub / github.com/awdng/triebwerk / functions

Functions139 in github.com/awdng/triebwerk

MethodGetServerState
GetServerState ...
infra/master_server.go:34
MethodIdentifier
Identifier of the connection
transport/websocket.go:98
MethodInit
Init ...
infra/master_server.go:28
MethodInit
Init ...
transport/websocket.go:61
FunctionNewTransport
NewTransport creates the websocket context
transport/websocket.go:26
MethodPing
Ping sends a ping message to the client
transport/websocket.go:156
MethodPrepareRead
PrepareRead prepares the websocket connection for reading
transport/websocket.go:116
MethodPrepareWrite
PrepareWrite prepares the websocket connection for writing
transport/websocket.go:135
MethodRead
Read from the network connection
transport/websocket.go:123
MethodRegisterNewConnHandler
(register func(conn model.Connection))
game/network_manager.go:49
MethodRegisterPlayer
RegisterPlayer registers a networked Player
game/controller.go:56
MethodRun
Run ...
transport/websocket.go:74
MethodSendHeartbeat
SendHeartbeat ...
infra/master_server.go:60
MethodStart
Start ...
model/game.go:42
FunctionTestPlayerMovement
(t *testing.T)
model/player_test.go:9
FunctionTestPolygonCollision
(t *testing.T)
model/rect_collider_test.go:9
FunctionTestProjectileEnvironmentCollision
(t *testing.T)
model/projectile_test.go:24
FunctionTestProjectilePlayerCollision
(t *testing.T)
model/projectile_test.go:9
MethodUnregister
Unregister callback
transport/websocket.go:56
MethodUnregisterConnHandler
(unregister func(conn model.Connection))
game/network_manager.go:50
MethodUnregisterPlayer
UnregisterPlayer of a networked game
game/controller.go:71
MethodWrite
Write to the network connection
transport/websocket.go:140
FunctionapplyInput
(this js.Value, args []js.Value)
cmd/wasm/tanks.go:29
FunctioncheckProjectileCollision
(this js.Value, args []js.Value)
cmd/wasm/tanks.go:65
FunctioncreateLocalPlayer
(this js.Value, args []js.Value)
cmd/wasm/tanks.go:136
FunctioncreateNetworkPlayer
(this js.Value, args []js.Value)
cmd/wasm/tanks.go:152
FunctiondecodePlayerAuth
(data []byte, message *model.NetworkMessage)
protocol/binary.go:155
FunctiondecodePlayerInput
(data []byte, message *model.NetworkMessage)
protocol/binary.go:116
FunctiondecodePlayerTime
(data []byte, message *model.NetworkMessage)
protocol/binary.go:151
FunctionencodePlayerRegister
(message *model.NetworkMessage)
protocol/binary.go:100
FunctionencodePlayerState
(message *model.NetworkMessage)
protocol/binary.go:64
FunctionencodePlayerTime
(message *model.NetworkMessage)
protocol/binary.go:105
FunctiongetLocalPlayerPosition
(this js.Value, args []js.Value)
cmd/wasm/tanks.go:132
FunctiongetPlayerState
(this js.Value, args []js.Value)
cmd/wasm/tanks.go:90
Functionmain
()
cmd/wasm/tanks.go:213
Functionmain
()
cmd/server/main.go:23
FunctionremovePlayer
(this js.Value, args []js.Value)
cmd/wasm/tanks.go:182
FunctionsetInput
(this js.Value, args []js.Value)
cmd/wasm/tanks.go:18
FunctionupdateNetworkPlayer
(this js.Value, args []js.Value)
cmd/wasm/tanks.go:163
← previous101–139 of 139, ranked by callers