Remove proto_base.Void

This commit is contained in:
adman
2026-07-23 22:11:29 +02:00
parent b90830881f
commit 45151add64
3 changed files with 8 additions and 12 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ func GeneratePacketInfoFile(versions []string, packetInfos []PacketInfo) (err er
typeName := p.TName
var typeExpr ast.Expr
if p.PacketDef == "void" {
typeExpr = Selector("proto_base", "Void")
typeExpr = NewStruct()
} else {
typeExpr = Selector(vUnderscore, typeName)
}