Go to the documentation of this file.
13 #ifndef CREMESSAGEITEMMODEL_H
14 #define CREMESSAGEITEMMODEL_H
19 #include <QAbstractItemModel>
38 virtual QModelIndex
index(
int row,
int column,
const QModelIndex&
parent)
const override;
39 virtual QModelIndex
parent(
const QModelIndex&
index)
const override;
41 virtual QVariant
data(
const QModelIndex&
index,
int role)
const override;
42 virtual QVariant
headerData(
int section, Qt::Orientation orientation,
int role)
const override;
43 virtual Qt::ItemFlags
flags(
const QModelIndex&
index)
const override;
44 virtual bool setData(
const QModelIndex&
index,
const QVariant&
value,
int role = Qt::EditRole)
override;
CREMessageItemModel(QObject *parent)
virtual ~CREMessageItemModel()
virtual QVariant headerData(int section, Qt::Orientation orientation, int role) const override
void setSelectedRule(const QModelIndex &index)
void moveUpDown(int row, bool up)
virtual int columnCount(const QModelIndex &parent) const override
virtual Qt::ItemFlags flags(const QModelIndex &index) const override
void setMessage(MessageFile *message)
TIPS on SURVIVING Crossfire is populated with a wealth of different monsters These monsters can have varying immunities and attack types In some of them can be quite a bit smarter than others It will be important for new players to learn the abilities of different monsters and learn just how much it will take to kill them This section discusses how monsters can interact with players Most monsters in the game are out to mindlessly kill and destroy the players These monsters will help boost a player s after he kills them When fighting a large amount of monsters in a single attempt to find a narrower hallway so that you are not being attacked from all sides Charging into a room full of Beholders for instance would not be open the door and fight them one at a time For there are several maps designed for them Find these areas and clear them out All throughout these a player can find signs and books which they can read by stepping onto them and hitting A to apply the book sign These messages will help the player to learn the system One more always keep an eye on your food If your food drops to your character will soon so BE CAREFUL ! NPCs Non Player Character are special monsters which have intelligence Players may be able to interact with these monsters to help solve puzzles and find items of interest To speak with a monster you suspect to be a simply move to an adjacent square to them and push the double ie Enter your message
virtual bool removeRows(int row, int count, const QModelIndex &parent=QModelIndex()) override
virtual QModelIndex parent(const QModelIndex &index) const override
virtual bool insertRows(int row, int count, const QModelIndex &parent=QModelIndex()) override
virtual bool setData(const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) override
void duplicateRow(int row)
virtual QVariant data(const QModelIndex &index, int role) const override
virtual int rowCount(const QModelIndex &parent) const override
virtual QModelIndex index(int row, int column, const QModelIndex &parent) const override