Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
LadderPreferences Class Reference

#include <LadderPreferences.h>

Inherits UserPreferences.

Public Member Functions

 LadderPreferences ()
 
virtual ~LadderPreferences ()
 
Bool loadProfile (Int profileID)
 
virtual bool write (void)
 
const LadderPrefMapgetRecentLadders (void)
 
void addRecentLadder (LadderPref ladder)
 
- Public Member Functions inherited from UserPreferences
 UserPreferences ()
 
virtual ~UserPreferences ()
 
virtual Bool load (AsciiString fname)
 
Bool getBool (AsciiString key, Bool defaultValue) const
 
Real getReal (AsciiString key, Real defaultValue) const
 
Int getInt (AsciiString key, Int defaultValue) const
 
AsciiString getAsciiString (AsciiString key, AsciiString defaultValue) const
 
void setBool (AsciiString key, Bool val)
 
void setReal (AsciiString key, Real val)
 
void setInt (AsciiString key, Int val)
 
void setAsciiString (AsciiString key, AsciiString val)
 

Additional Inherited Members

- Protected Attributes inherited from UserPreferences
AsciiString m_filename
 

Detailed Description

Definition at line 64 of file LadderPreferences.h.

Constructor & Destructor Documentation

◆ LadderPreferences()

LadderPreferences::LadderPreferences ( )

Definition at line 874 of file UserPreferences.cpp.

◆ ~LadderPreferences()

LadderPreferences::~LadderPreferences ( )
virtual

Definition at line 878 of file UserPreferences.cpp.

Member Function Documentation

◆ addRecentLadder()

void LadderPreferences::addRecentLadder ( LadderPref ladder)

Definition at line 956 of file UserPreferences.cpp.

◆ getRecentLadders()

const LadderPrefMap & LadderPreferences::getRecentLadders ( void )

Definition at line 951 of file UserPreferences.cpp.

◆ loadProfile()

Bool LadderPreferences::loadProfile ( Int profileID)

Definition at line 882 of file UserPreferences.cpp.

◆ write()

bool LadderPreferences::write ( void )
virtual

Reimplemented from UserPreferences.

Definition at line 931 of file UserPreferences.cpp.


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