17 std::vector<std::string> _names;
18 const std::vector<std::string>* _namesPtr;
27 const int size = readInt(in);
28 for (
int i = 0; i < size; ++i) {
29 _names.push_back(readString(in));
33 void serialize(streamContainer& out)
const override {
35 const std::size_t size = _namesPtr->size();
36 addInt(out, static_cast<int>(size));
37 for (std::size_t i = 0U; i < size; ++i) {
38 addString(out, (*_namesPtr)[i]);
42 inline const std::vector<std::string>& getNames()
const {
Message for the remote debugging interface.
Definition: AINamesMessage.h:15
A protocol message is used for the serialization of the ai states for remote debugging.
Definition: IProtocolMessage.h:60