update protocol codecs: refine type definitions, fix inconsistent naming, and enhance component handling

This commit is contained in:
2025-08-23 18:55:44 +08:00
parent fae3236486
commit 680d399c2d
8 changed files with 311 additions and 299 deletions

View File

@ -18,7 +18,7 @@ type Recipe struct {
CategoryID int32 `mc:"VarInt"`
HasIngredients bool
//opt:optional:HasIngredients
Ingredients RecipeIngredients
Ingredients []pk.IDSet
Flags int8
}