ff7tk  0.02
Toolkit for making FF7 Tools
FF7FieldItemList Class Reference

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

#include <FF7FieldItemList.h>

Public Member Functions

 FF7FieldItemList ()
 
QList< quint16 > offset (int index)
 offset list for an entry (offset[x] bit[x] are pairs needed to read/write correctly More...
 
QList< quint8 > bit (int index)
 bit list for an entry (one per offset) More...
 
QStringList maps (int index)
 map list for an entry. More...
 
QString text (int index)
 item or desc of item More...
 
int count ()
 total entries in FILIST More...
 

Detailed Description

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

Definition at line 37 of file FF7FieldItemList.h.

Constructor & Destructor Documentation

FF7FieldItemList::FF7FieldItemList ( )

Definition at line 20 of file FF7FieldItemList.cpp.

Member Function Documentation

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

Definition at line 22 of file FF7FieldItemList.cpp.

References FieldItemList::Bit, and FILIST.

Referenced by LocationViewer::init_fieldItems().

int FF7FieldItemList::count ( )

total entries in FILIST

Returns
number of entries in FILIST

Definition at line 25 of file FF7FieldItemList.cpp.

References FILIST.

Referenced by LocationViewer::init_fieldItems(), and LocationViewer::searchItem().

QStringList FF7FieldItemList::maps ( int  index)

map list for an entry.

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

Definition at line 23 of file FF7FieldItemList.cpp.

References FILIST, and FieldItemList::Maps.

Referenced by LocationViewer::init_fieldItems(), and LocationViewer::searchItem().

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

Definition at line 21 of file FF7FieldItemList.cpp.

References FILIST, and FieldItemList::Offset.

Referenced by LocationViewer::init_fieldItems().

QString FF7FieldItemList::text ( int  index)

item or desc of item

Parameters
indexindex in list
Returns
text for item

Definition at line 24 of file FF7FieldItemList.cpp.

References FILIST.

Referenced by LocationViewer::init_fieldItems(), and LocationViewer::searchItem().


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