ff7tk 0.80.25
Work with Final Fantasy 7 game data
Public Member Functions | Properties | List of all members
FF7FieldItemList Class Reference

Data Class to allow the tracking and changing of items being picked up on the field. More...

#include <FF7FieldItemList.h>

Inheritance diagram for FF7FieldItemList:
Inheritance graph
[legend]
Collaboration diagram for FF7FieldItemList:
Collaboration graph
[legend]

Public Member Functions

 FF7FieldItemList ()=default
 data structure to hold field item changes More...
 
 ~FF7FieldItemList ()=default
 
Q_INVOKABLE const QList< quint16 > & offset (int index)
 offset list for an entry (offset[x] bit[x] are pairs needed to read/write correctly More...
 
Q_INVOKABLE const QList< quint8 > & bit (int index)
 bit list for an entry (one per offset) More...
 
Q_INVOKABLE const QStringList & maps (int index)
 map list for an entry. More...
 
Q_INVOKABLE QString text (int index)
 item or desc of item More...
 
int size () const
 total entries in FILIST More...
 
const QList< FieldItem > & fieldItemList () const
 Reference to a fieldItem. More...
 

Properties

int size
 

Detailed Description

Data Class to allow the tracking and changing of items being picked up on the field.

Todo:
add more field items

Constructor & Destructor Documentation

◆ FF7FieldItemList()

FF7FieldItemList::FF7FieldItemList ( )
default

data structure to hold field item changes

◆ ~FF7FieldItemList()

FF7FieldItemList::~FF7FieldItemList ( )
default

Member Function Documentation

◆ bit()

const QList< quint8 > & FF7FieldItemList::bit ( int  index)

bit list for an entry (one per offset)

Parameters
indexindex in list
Returns
List of bits that control the item being shown

◆ fieldItemList()

const QList< FieldItem > & FF7FieldItemList::fieldItemList ( ) const

Reference to a fieldItem.

Parameters
indexof item
Returns
info for one field item

◆ maps()

const QStringList & FF7FieldItemList::maps ( int  index)

map list for an entry.

Parameters
indexindex in list
Returns
List of maps that item is shown on

◆ offset()

const QList< quint16 > & FF7FieldItemList::offset ( int  index)

offset list for an entry (offset[x] bit[x] are pairs needed to read/write correctly

Parameters
indexindex in list
Returns
List of Offsets where that control the item being shown

◆ size()

int FF7FieldItemList::size ( ) const
inline

total entries in FILIST

Returns
number of entries in FILIST

◆ text()

QString FF7FieldItemList::text ( int  index)

item or desc of item

Parameters
indexindex in list
Returns
text for item

Property Documentation

◆ size

int FF7FieldItemList::size
read

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