Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/awdng/triebwerk
/ functions
Functions
139 in github.com/awdng/triebwerk
⨍
Functions
139
◇
Types & classes
28
Method
GetServerState
GetServerState ...
infra/master_server.go:34
Method
Identifier
Identifier of the connection
transport/websocket.go:98
Method
Init
Init ...
infra/master_server.go:28
Method
Init
Init ...
transport/websocket.go:61
Function
NewTransport
NewTransport creates the websocket context
transport/websocket.go:26
Method
Ping
Ping sends a ping message to the client
transport/websocket.go:156
Method
PrepareRead
PrepareRead prepares the websocket connection for reading
transport/websocket.go:116
Method
PrepareWrite
PrepareWrite prepares the websocket connection for writing
transport/websocket.go:135
Method
Read
Read from the network connection
transport/websocket.go:123
Method
RegisterNewConnHandler
(register func(conn model.Connection))
game/network_manager.go:49
Method
RegisterPlayer
RegisterPlayer registers a networked Player
game/controller.go:56
Method
Run
Run ...
transport/websocket.go:74
Method
SendHeartbeat
SendHeartbeat ...
infra/master_server.go:60
Method
Start
Start ...
model/game.go:42
Function
TestPlayerMovement
(t *testing.T)
model/player_test.go:9
Function
TestPolygonCollision
(t *testing.T)
model/rect_collider_test.go:9
Function
TestProjectileEnvironmentCollision
(t *testing.T)
model/projectile_test.go:24
Function
TestProjectilePlayerCollision
(t *testing.T)
model/projectile_test.go:9
Method
Unregister
Unregister callback
transport/websocket.go:56
Method
UnregisterConnHandler
(unregister func(conn model.Connection))
game/network_manager.go:50
Method
UnregisterPlayer
UnregisterPlayer of a networked game
game/controller.go:71
Method
Write
Write to the network connection
transport/websocket.go:140
Function
applyInput
(this js.Value, args []js.Value)
cmd/wasm/tanks.go:29
Function
checkProjectileCollision
(this js.Value, args []js.Value)
cmd/wasm/tanks.go:65
Function
createLocalPlayer
(this js.Value, args []js.Value)
cmd/wasm/tanks.go:136
Function
createNetworkPlayer
(this js.Value, args []js.Value)
cmd/wasm/tanks.go:152
Function
decodePlayerAuth
(data []byte, message *model.NetworkMessage)
protocol/binary.go:155
Function
decodePlayerInput
(data []byte, message *model.NetworkMessage)
protocol/binary.go:116
Function
decodePlayerTime
(data []byte, message *model.NetworkMessage)
protocol/binary.go:151
Function
encodePlayerRegister
(message *model.NetworkMessage)
protocol/binary.go:100
Function
encodePlayerState
(message *model.NetworkMessage)
protocol/binary.go:64
Function
encodePlayerTime
(message *model.NetworkMessage)
protocol/binary.go:105
Function
getLocalPlayerPosition
(this js.Value, args []js.Value)
cmd/wasm/tanks.go:132
Function
getPlayerState
(this js.Value, args []js.Value)
cmd/wasm/tanks.go:90
Function
main
()
cmd/wasm/tanks.go:213
Function
main
()
cmd/server/main.go:23
Function
removePlayer
(this js.Value, args []js.Value)
cmd/wasm/tanks.go:182
Function
setInput
(this js.Value, args []js.Value)
cmd/wasm/tanks.go:18
Function
updateNetworkPlayer
(this js.Value, args []js.Value)
cmd/wasm/tanks.go:163
← previous
101–139 of 139, ranked by callers