refactor print_replay to improve unprocessable packet test creation

This commit is contained in:
adman
2026-05-10 17:29:52 +02:00
parent c483bf9553
commit c56898e787
5 changed files with 77 additions and 24 deletions
+17
View File
@@ -42,6 +42,23 @@ const (
Play
)
func (s State) String() string {
switch s {
case Handshaking:
return "Handshaking"
case Status:
return "Status"
case Login:
return "Login"
case Configuration:
return "Configuration"
case Play:
return "Play"
default:
return "Unknown"
}
}
type Actor int
const (