diff --git a/src/protocol/protocol.hjson b/src/protocol/protocol.hjson index 5e2fdcd..1b71dd1 100644 --- a/src/protocol/protocol.hjson +++ b/src/protocol/protocol.hjson @@ -20,7 +20,9 @@ } string: { - type: std::string_view + type: std::string + clientbound: {type: 'const std::string&'} + method: String // requires count: e.g. string[256] // generated C type will not be an array