diff options
Diffstat (limited to 'tosrvcmds.go')
-rw-r--r-- | tosrvcmds.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tosrvcmds.go b/tosrvcmds.go index 4f60600..4915204 100644 --- a/tosrvcmds.go +++ b/tosrvcmds.go @@ -1,5 +1,3 @@ -//go:generate ./cmdno.sh tosrvcmds ToSrv toSrv uint16 Cmd newToSrvCmd - package mt type ToSrvCmd interface { @@ -7,6 +5,8 @@ type ToSrvCmd interface { toSrvCmdNo() uint16 } +//go:generate ./cmdno.sh tosrvcmds ToSrv toSrv uint16 Cmd newToSrvCmd + // ToSrvNil is the first packet sent in a connection. type ToSrvNil struct{} @@ -109,6 +109,8 @@ const ( Activate // Right click air. ) +//go:generate stringer -type Interaction + // ToSrvRemovedSounds tells the server that the client has finished playing // the sounds with the given IDs. type ToSrvRemovedSounds struct { |