ff7tk 0.80.25
Work with Final Fantasy 7 game data
Classes | Static Public Member Functions | List of all members
FF7Location Class Reference

Info about field locations. More...

#include <FF7Location.h>

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

Static Public Member Functions

static FF7Locationinstance ()
 Get the FF7Location Instance. More...
 
static QObject * qmlSingletonRegister (QQmlEngine *engine, QJSEngine *scriptEngine)
 Register The FF7Location Singleton for QML. More...
 
static Q_INVOKABLE const QString & fileName (int index)
 get filename for location (flevel file) More...
 
static Q_INVOKABLE const QString & fileName (int MapID, int LocID)
 get filename for location (flevel file) More...
 
static Q_INVOKABLE QString rawLocationString (int index)
 locations String showing menu More...
 
static Q_INVOKABLE QString rawLocationString (const QString &fileName)
 locations String showing menu More...
 
static Q_INVOKABLE QString locationString (int index)
 locations String showing menu More...
 
static Q_INVOKABLE QString locationString (const QString &fileName)
 locations String showing menu More...
 
static Q_INVOKABLE const QString & mapID (int index)
 get map id number More...
 
static Q_INVOKABLE const QString & mapID (const QString &fileName)
 get map id number More...
 
static Q_INVOKABLE const QString & locationID (int index)
 get location id number More...
 
static Q_INVOKABLE const QString & locationID (const QString &fileName)
 get location id number More...
 
static Q_INVOKABLE const QString & x (int index)
 x coord of save or valid placement More...
 
static Q_INVOKABLE const QString & x (const QString &fileName)
 x coord of save or valid placement More...
 
static Q_INVOKABLE const QString & y (int index)
 y coord of save or valid placement More...
 
static Q_INVOKABLE const QString & y (const QString &fileName)
 y coord of save or valid placement More...
 
static Q_INVOKABLE const QString & t (int index)
 triangle of save or valid placement More...
 
static Q_INVOKABLE const QString & t (const QString &fileName)
 triangle of save or valid placement More...
 
static Q_INVOKABLE const QString & d (int index)
 direction your facing More...
 
static Q_INVOKABLE const QString & d (const QString &fileName)
 direction your facing More...
 
static Q_INVOKABLE int size ()
 how many items on the location list do we have More...
 

Detailed Description

Info about field locations.

Member Function Documentation

◆ d() [1/2]

const QString & FF7Location::d ( const QString &  fileName)
static

direction your facing

Parameters
fileNamefileName of location
Returns
d as QString
See also
d(int)

◆ d() [2/2]

const QString & FF7Location::d ( int  index)
static

direction your facing

Parameters
indexNumber on the locations list
Returns
d as QString
See also
d(QString)

◆ fileName() [1/2]

const QString & FF7Location::fileName ( int  index)
static

get filename for location (flevel file)

Parameters
indexNumber on the location list
Returns
filename of the location
See also
fileName(int,int)

◆ fileName() [2/2]

const QString & FF7Location::fileName ( int  MapID,
int  LocID 
)
static

get filename for location (flevel file)

Parameters
MapIDMap Number location is on
LocIDLocation Id for location
Returns
filename of the location
See also
fileName(int)

◆ instance()

FF7Location * FF7Location::instance ( )
static

Get the FF7Location Instance.

See also
qmlSingletonRegister()

◆ locationID() [1/2]

const QString & FF7Location::locationID ( const QString &  fileName)
static

get location id number

Parameters
fileNamefileName of location
Returns
locationID as QString
See also
locationID(int)

◆ locationID() [2/2]

const QString & FF7Location::locationID ( int  index)
static

get location id number

Parameters
indexNumber on the locations list
Returns
location id as QString
See also
locationID(QString)

◆ locationString() [1/2]

QString FF7Location::locationString ( const QString &  fileName)
static

locations String showing menu

Parameters
fileNamefileName of location
Returns
Translated location string (as shown in menu/save preview)
See also
locationString(int)

◆ locationString() [2/2]

QString FF7Location::locationString ( int  index)
static

locations String showing menu

Parameters
indexNumber on the locations list
Returns
Translated location string (as shown in menu/save preview)
See also
locationString(QString)

◆ mapID() [1/2]

const QString & FF7Location::mapID ( const QString &  fileName)
static

get map id number

Parameters
fileNamefileName of location
Returns
MapID as QString
See also
mapID(int)

◆ mapID() [2/2]

const QString & FF7Location::mapID ( int  index)
static

get map id number

Parameters
indexNumber on the locations list
Returns
MapID as QString
See also
mapID(QString)

◆ qmlSingletonRegister()

QObject * FF7Location::qmlSingletonRegister ( QQmlEngine *  engine,
QJSEngine *  scriptEngine 
)
static

Register The FF7Location Singleton for QML.

◆ rawLocationString() [1/2]

QString FF7Location::rawLocationString ( const QString &  fileName)
static

locations String showing menu

Parameters
fileNamefileName of location
Returns
UnTranslated location string (as shown in menu/save preview)
See also
locationString(int)

◆ rawLocationString() [2/2]

QString FF7Location::rawLocationString ( int  index)
static

locations String showing menu

Parameters
indexNumber on the locations list
Returns
UnTranslated location string (as shown in menu/save preview)
See also
locationString(QString)

◆ size()

int FF7Location::size ( )
static

how many items on the location list do we have

Returns
length of Locations

◆ t() [1/2]

const QString & FF7Location::t ( const QString &  fileName)
static

triangle of save or valid placement

Parameters
fileNamefileName of location
Returns
t as QString
See also
t(int)

◆ t() [2/2]

const QString & FF7Location::t ( int  index)
static

triangle of save or valid placement

Parameters
indexNumber on the locations list
Returns
triangle as QString
See also
t(QString)

◆ x() [1/2]

const QString & FF7Location::x ( const QString &  fileName)
static

x coord of save or valid placement

Parameters
fileNamefileName of location
Returns
x as QString
See also
x(int)

◆ x() [2/2]

const QString & FF7Location::x ( int  index)
static

x coord of save or valid placement

Parameters
indexNumber on the locations list
Returns
x as QString
See also
x(QString)

◆ y() [1/2]

const QString & FF7Location::y ( const QString &  fileName)
static

y coord of save or valid placement

Parameters
fileNamefileName of location
Returns
y as QString
See also
y(int)

◆ y() [2/2]

const QString & FF7Location::y ( int  index)
static

y coord of save or valid placement

Parameters
indexNumber on the locations list
Returns
y as QString
See also
y(QString)

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