ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Stark::Resources::Dialog::Topic Class Reference

A dialog topic. More...

#include <dialog.h>

Collaboration diagram for Stark::Resources::Dialog::Topic:

List of all members.

Public Member Functions

 Topic ()
int32 getNextReplyIndex () const
 Compute the next possible reply index after the currently selected reply.
Common::String getCaption () const
 Obtain the caption for the topic.
ReplystartReply (uint32 index)
 Select a reply from its index.
ReplygetReply (uint32 index)
 Get the reply with the specified index.

Private Attributes

Common::Array< Reply_replies
bool _removeOnceDepleted
int32 _currentReplyIndex

Friends

class Dialog

Detailed Description

A dialog topic.

Definition at line 113 of file dialog.h.


Constructor & Destructor Documentation

Stark::Resources::Dialog::Topic::Topic (  ) 

Definition at line 140 of file dialog.cpp.


Member Function Documentation

Common::String Stark::Resources::Dialog::Topic::getCaption (  )  const

Obtain the caption for the topic.

Definition at line 199 of file dialog.cpp.

int32 Stark::Resources::Dialog::Topic::getNextReplyIndex (  )  const

Compute the next possible reply index after the currently selected reply.

Definition at line 145 of file dialog.cpp.

Dialog::Reply * Stark::Resources::Dialog::Topic::getReply ( uint32  index  ) 

Get the reply with the specified index.

Definition at line 195 of file dialog.cpp.

Dialog::Reply * Stark::Resources::Dialog::Topic::startReply ( uint32  index  ) 

Select a reply from its index.

Definition at line 186 of file dialog.cpp.


Friends And Related Function Documentation

friend class Dialog [friend]

Definition at line 135 of file dialog.h.


Member Data Documentation

Definition at line 132 of file dialog.h.


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


Generated on Sat Nov 9 2019 05:02:29 for ResidualVM by doxygen 1.7.1
curved edge   curved edge