ScummVM API documentation
Ultima::Ultima4::DynamicResponse Class Reference

#include <conversation.h>

Inheritance diagram for Ultima::Ultima4::DynamicResponse:
Ultima::Ultima4::Response

Public Member Functions

 DynamicResponse (Response *(*generator)(const DynamicResponse *), const Common::String &param="")
 
const Common::Array< 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)
 
virtual const Common::Array< ResponsePart > & getParts () const
 
 operator Common::String () const
 
Response * addref ()
 
void release ()
 

Detailed Description

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.

Member Function Documentation

◆ getParts()

const Common::Array< ResponsePart > & Ultima::Ultima4::DynamicResponse::getParts ( ) const
overridevirtual

Reimplemented from Ultima::Ultima4::Response.


The documentation for this class was generated from the following file: