ScummVM API documentation
Ultima::Ultima1::Quests Class Reference

#include <quests.h>

Inheritance diagram for Ultima::Ultima1::Quests:
Common::Array< QuestFlag >

Public Member Functions

 Quests (Ultima1Game *game)
 
void synchronize (Common::Serializer &s)
 
- Public Member Functions inherited from Common::Array< QuestFlag >
 Array (size_type count)
 
 Array (size_type count, const QuestFlag &value)
 
 Array (const Array< QuestFlag > &array)
 
 Array (Array< QuestFlag > &&old)
 
 Array (std::initializer_list< QuestFlag > list)
 
 Array (const T2 *array, size_type n)
 
void emplace (const_iterator pos, TArgs &&... args)
 
void emplace_back (TArgs &&...args)
 
void push_back (const QuestFlag &element)
 
void push_back (QuestFlag &&element)
 
void push_back (const Array< QuestFlag > &array)
 
void pop_back ()
 
const QuestFlag * data () const
 
QuestFlag * data ()
 
QuestFlag & front ()
 
const QuestFlag & front () const
 
QuestFlag & back ()
 
const QuestFlag & back () const
 
void insert_at (size_type idx, const QuestFlag &element)
 
void insert_at (size_type idx, const Array< QuestFlag > &array)
 
void insert (iterator pos, const QuestFlag &element)
 
QuestFlag remove_at (size_type idx)
 
QuestFlag & operator[] (size_type idx)
 
const QuestFlag & operator[] (size_type idx) const
 
Array< QuestFlag > & operator= (const Array< QuestFlag > &array)
 
Arrayoperator= (Array< QuestFlag > &&old)
 
size_type size () const
 
void clear ()
 
iterator erase (iterator pos)
 
iterator erase (iterator first, iterator last)
 
bool empty () const
 
bool operator== (const Array< QuestFlag > &other) const
 
bool operator!= (const Array< QuestFlag > &other) const
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
void reserve (size_type newCapacity)
 
void resize (size_type newSize)
 
void resize (size_type newSize, const QuestFlag value)
 
void assign (const_iterator first, const_iterator last)
 
void swap (Array &arr)
 

Additional Inherited Members

- Public Types inherited from Common::Array< QuestFlag >
typedef QuestFlag * iterator
 
typedef const QuestFlag * const_iterator
 
typedef QuestFlag value_type
 
typedef uint size_type
 
- Protected Member Functions inherited from Common::Array< QuestFlag >
void allocCapacity (size_type capacity)
 
void freeStorage (QuestFlag *storage, const size_type elements)
 
iterator insert_aux (iterator pos, const_iterator first, const_iterator last)
 
- Static Protected Member Functions inherited from Common::Array< QuestFlag >
static size_type roundUpCapacity (size_type capacity)
 
- Protected Attributes inherited from Common::Array< QuestFlag >
size_type _capacity
 
size_type _size
 
QuestFlag * _storage
 

Detailed Description

Manages the list of quest flags

Constructor & Destructor Documentation

◆ Quests()

Ultima::Ultima1::Quests::Quests ( Ultima1Game game)

Constructor

Member Function Documentation

◆ synchronize()

void Ultima::Ultima1::Quests::synchronize ( Common::Serializer s)

Synchronize the data for a single flag


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