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

Game message service. More...

#include <gamemessage.h>

Collaboration diagram for Stark::GameMessage:

List of all members.

Public Types

enum  TextKey {
  kOverwriteSave = 10, kEndAndLoad = 13, kInventory = 353, kOptions = 354,
  kQuit = 355, kQuitGamePrompt = 356, kQuitPrompt = 357, kYes = 358,
  kNo = 359
}

Public Member Functions

 GameMessage ()
 ~GameMessage ()
Common::String getTextByKey (TextKey key)
 Acquire a message text by a given key.

Private Member Functions

Common::String getDefaultText (TextKey key)

Private Attributes

Common::HashMap< uint,
Common::String
_texts

Detailed Description

Game message service.

Provide message texts and dialogs used in various points

Definition at line 36 of file gamemessage.h.


Member Enumeration Documentation

Enumerator:
kOverwriteSave 
kEndAndLoad 
kInventory 
kOptions 
kQuit 
kQuitGamePrompt 
kQuitPrompt 
kYes 
kNo 

Definition at line 41 of file gamemessage.h.


Constructor & Destructor Documentation

Stark::GameMessage::GameMessage (  ) 

Definition at line 32 of file gamemessage.cpp.

Stark::GameMessage::~GameMessage (  )  [inline]

Definition at line 39 of file gamemessage.h.


Member Function Documentation

Common::String Stark::GameMessage::getDefaultText ( TextKey  key  )  [private]

Definition at line 75 of file gamemessage.cpp.

Common::String Stark::GameMessage::getTextByKey ( TextKey  key  )  [inline]

Acquire a message text by a given key.

Definition at line 54 of file gamemessage.h.


Member Data Documentation


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


Generated on Sat Nov 16 2019 05:03:35 for ResidualVM by doxygen 1.7.1
curved edge   curved edge