#include <conversation.h>
Public Member Functions | |
DynamicResponse (Response *(*generator)(const DynamicResponse *), const Common::String ¶m="") | |
const Std::vector< ResponsePart > & | getParts () const override |
const Common::String & | getParam () const |
Public Member Functions inherited from Ultima::Ultima4::Response | |
Response (const Common::String &response) | |
void | add (const ResponsePart &part) |
operator Common::String () const | |
Response * | addref () |
void | release () |
A dynamically generated response. This class allows the response to be generated dynamically at the time of the conversation instead of when the conversation data is loaded.