ScummVM API documentation
Stark::Resources::Dialog::Topic Class Reference

#include <dialog.h>

Public Member Functions

int32 getNextReplyIndex () const
 
Common::String getCaption () const
 
ReplystartReply (uint32 index)
 
ReplygetReply (uint32 index)
 

Public Attributes

Common::Array< Reply_replies
 
bool _removeOnceDepleted
 
int32 _currentReplyIndex
 

Detailed Description

A dialog topic

Member Function Documentation

◆ getNextReplyIndex()

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

Compute the next possible reply index after the currently selected reply

◆ getCaption()

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

Obtain the caption for the topic

◆ startReply()

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

Select a reply from its index

◆ getReply()

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

Get the reply with the specified index


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