23 if (!_server.
updateNode(msg.getCharacterId(), msg.getNodeId(), msg.getName(), msg.getType(), msg.getCondition())) {
24 ai_log_error(
"Failed to update the node %u", msg.getNodeId());
#define ai_log_error(...)
Logging macro to provide your own loggers.
Definition: Types.h:23
A protocol message is used for the serialization of the ai states for remote debugging.
Definition: IProtocolMessage.h:60
Definition: UpdateNodeHandler.h:14
bool updateNode(const CharacterId &characterId, int32_t nodeId, const std::string &name, const std::string &type, const std::string &condition)
Update the specified node with the given values for the specified ICharacter and all the other charac...
Definition: ServerImpl.h:317
Interface for the execution of assigned IProtocolMessage.
Definition: IProtocolHandler.h:19
Message for the remote debugging interface.
Definition: AIUpdateNodeMessage.h:16
The server can serialize the state of the AI and broadcast it to all connected clients.
Definition: Server.h:50