19 CharacterId _characterId;
22 std::string _condition;
25 AIUpdateNodeMessage(int32_t nodeId, CharacterId characterId,
const std::string& name,
const std::string& type,
26 const std::string& condition) :
27 IProtocolMessage(PROTO_UPDATENODE), _nodeId(nodeId), _characterId(characterId), _name(name), _type(type), _condition(condition) {
32 _nodeId = readInt(in);
33 _characterId = readInt(in);
34 _name = readString(in);
35 _type = readString(in);
36 _condition = readString(in);
39 void serialize(streamContainer& out)
const override {
42 addInt(out, _characterId);
43 addString(out, _name);
44 addString(out, _type);
45 addString(out, _condition);
48 inline const std::string& getName()
const {
52 inline const std::string& getType()
const {
56 inline const std::string& getCondition()
const {
60 inline uint32_t getNodeId()
const {
64 inline CharacterId getCharacterId()
const {
A protocol message is used for the serialization of the ai states for remote debugging.
Definition: IProtocolMessage.h:60
Message for the remote debugging interface.
Definition: AIUpdateNodeMessage.h:16