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

#include <FF7Materia.h>

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

Public Types

enum  MateriaType {
  Unknown , Magic , Summon , Independent ,
  Support , Command
}
 
enum  MateriaNames {
  MpPlus = 0x00 , HpPlus = 0x01 , SpeedPlus = 0x02 , MagicPlus = 0x03 ,
  LuckPlus = 0x04 , ExpPlus = 0x05 , GilPlus = 0x06 , EnemyAway = 0x07 ,
  EnemyLure = 0x08 , ChocoboLure = 0x09 , PreEmptive = 0x0A , LongRange = 0x0B ,
  MegaAll = 0x0C , CounterAttack = 0x0D , SlashAll = 0x0E , DoubleCut = 0x0F ,
  Cover = 0x10 , Underwater = 0x11 , HPMP = 0x12 , WMagic = 0x13 ,
  WSummon = 0x14 , WItem = 0x15 , All = 0x17 , Counter = 0x18 ,
  MagicCounter = 0x19 , MpTurbo = 0x1A , MpAbsorb = 0x1B , HpAbsorb = 0x1C ,
  Elemental = 0x1D , AddedEffect = 0x1E , SneakAttack = 0x1F , FinalAttack = 0x20 ,
  AddedCut = 0x21 , StealAsWell = 0x22 , QuadraMagic = 0x23 , Steal = 0x24 ,
  Sense = 0x25 , Throw = 0x27 , Morph = 0x28 , Deathblow = 0x29 ,
  Manipulate = 0x2A , Mime = 0x2B , EnemySkill = 0x2C , MasterCommand = 0x30 ,
  Fire = 0x31 , Ice = 0x32 , Earth = 0x33 , Lightning = 0x34 ,
  Restore = 0x35 , Heal = 0x36 , Revive = 0x37 , Seal = 0x38 ,
  Mystify = 0x39 , Transform = 0x3A , Exit = 0x3B , Poison = 0x3C ,
  Demi = 0x3D , Barrier = 0x3E , Comet = 0x40 , Time = 0x41 ,
  Destruct = 0x44 , Contain = 0x45 , FullCure = 0x46 , Shield = 0x47 ,
  Ultima = 0x48 , MasterMagic = 0x49 , ChocoMog = 0x4A , Shiva = 0x4B ,
  Ifrit = 0x4C , Ramuh = 0x4D , Titan = 0x4E , Odin = 0x4F ,
  Leviathan = 0x50 , Bahamut = 0x51 , Kujata = 0x52 , Alexander = 0x53 ,
  Phoenix = 0x54 , NeoBahamut = 0x55 , Hades = 0x56 , Typhoon = 0x57 ,
  BahamutZERO = 0x58 , KOTR = 0x59 , MasterSummon = 0x5A , EmptyId = 0xFF ,
  MaxMateriaAp = 0xFFFFFF
}
 

Public Member Functions

 FF7Materia ()=default
 
 ~FF7Materia ()=default
 
Q_INVOKABLE QString name (int id)
 
Q_INVOKABLE QString statString (int id)
 
Q_INVOKABLE QString enemySkill (int id)
 
Q_INVOKABLE QString masterCommandSkill (int id)
 
Q_INVOKABLE QString masterSummonSkill (int id)
 
Q_INVOKABLE QString masterMagicSkill (int id)
 
Q_INVOKABLE QString element (int id)
 
Q_INVOKABLE QStringList skills (int id)
 
Q_INVOKABLE QStringList status (int id)
 
Q_INVOKABLE qint32 ap (int id, int lvl)
 
Q_INVOKABLE qint8 statSTR (int id)
 
Q_INVOKABLE qint8 statVIT (int id)
 
Q_INVOKABLE qint8 statMAG (int id)
 
Q_INVOKABLE qint8 statSPI (int id)
 
Q_INVOKABLE qint8 statDEX (int id)
 
Q_INVOKABLE qint8 statLCK (int id)
 
Q_INVOKABLE qint8 statHP (int id)
 
Q_INVOKABLE qint8 statMP (int id)
 
Q_INVOKABLE qint8 levels (int id)
 
Q_INVOKABLE qint8 type (int id)
 
Q_INVOKABLE qint32 ap2num (quint8 ap[3])
 
Q_INVOKABLE const QString & imageAllResource () const
 
Q_INVOKABLE QString iconResource (int id)
 
Q_INVOKABLE QString fullStarResource (int id)
 
Q_INVOKABLE QString emptyStartResource (int id)
 
QIcon icon (int id)
 
QPixmap pixmap (int id)
 
QImage image (int id)
 
QPixmap pixmapEmptyStar (int id)
 
QImage imageEmptyStar (int id)
 
QPixmap pixmapFullStar (int id)
 
QImage imageFullStar (int id)
 
QIcon iconAllMateria () const
 
QImage imageAllMateria () const
 

Member Enumeration Documentation

◆ MateriaNames

Enumerator
MpPlus 

0x00

HpPlus 

0x01

SpeedPlus 

0x02

MagicPlus 

0x03

LuckPlus 

0x04

ExpPlus 

0x05

GilPlus 

0x06

EnemyAway 

0x07

EnemyLure 

0x08

ChocoboLure 

0x09

PreEmptive 

0x0A

LongRange 

0x0B

MegaAll 

0x0C

CounterAttack 

0x0D

SlashAll 

0x0E

DoubleCut 

0x0F

Cover 

0x10

Underwater 

0x11

HPMP 

0x12

WMagic 

0x13

WSummon 

0x14

WItem 

0x15

All 

0x17

Counter 

0x18

MagicCounter 

0x19

MpTurbo 

0x1A

MpAbsorb 

0x1B

HpAbsorb 

0x1C

Elemental 

0x1D

AddedEffect 

0x1E

SneakAttack 

0x1F

FinalAttack 

0x20

AddedCut 

0x21

StealAsWell 

0x22

QuadraMagic 

0x23

Steal 

0x24

Sense 

0x25

Throw 

0x27

Morph 

0x28

Deathblow 

0x29

Manipulate 

0x2A

Mime 

0x2B

EnemySkill 

0x2C

MasterCommand 

0x30

Fire 

0x31

Ice 

0x32

Earth 

0x33

Lightning 

0x34

Restore 

0x35

Heal 

0x36

Revive 

0x37

Seal 

0x38

Mystify 

0x39

Transform 

0x3A

Exit 

0x3B

Poison 

0x3C

Demi 

0x3D

Barrier 

0x3E

Comet 

0x40

Time 

0x41

Destruct 

0x44

Contain 

0x45

FullCure 

0x46

Shield 

0x47

Ultima 

0x48

MasterMagic 

0x49

ChocoMog 

0x4A

Shiva 

0x4B

Ifrit 

0x4C

Ramuh 

0x4D

Titan 

0x4E

Odin 

0x4F

Leviathan 

0x50

Bahamut 

0x51

Kujata 

0x52

Alexander 

0x53

Phoenix 

0x54

NeoBahamut 

0x55

Hades 

0x56

Typhoon 

0x57

BahamutZERO 

0x58

KOTR 

0x59

MasterSummon 

0x5A

EmptyId 

0xFF

MaxMateriaAp 

0xFFFFFF

◆ MateriaType

Enumerator
Unknown 

0

Magic 

1

Summon 

2

Independent 

3

Support 

4

Command 

5

Constructor & Destructor Documentation

◆ FF7Materia()

FF7Materia::FF7Materia ( )
default

◆ ~FF7Materia()

FF7Materia::~FF7Materia ( )
default

Member Function Documentation

◆ ap()

qint32 FF7Materia::ap ( int  id,
int  lvl 
)

◆ ap2num()

Q_INVOKABLE qint32 FF7Materia::ap2num ( quint8  ap[3])
inline

◆ element()

QString FF7Materia::element ( int  id)

◆ emptyStartResource()

QString FF7Materia::emptyStartResource ( int  id)

◆ enemySkill()

QString FF7Materia::enemySkill ( int  id)

◆ fullStarResource()

QString FF7Materia::fullStarResource ( int  id)

◆ icon()

QIcon FF7Materia::icon ( int  id)
inline

◆ iconAllMateria()

QIcon FF7Materia::iconAllMateria ( ) const
inline

◆ iconResource()

QString FF7Materia::iconResource ( int  id)

◆ image()

QImage FF7Materia::image ( int  id)
inline

◆ imageAllMateria()

QImage FF7Materia::imageAllMateria ( ) const
inline

◆ imageAllResource()

Q_INVOKABLE const QString & FF7Materia::imageAllResource ( ) const
inline

◆ imageEmptyStar()

QImage FF7Materia::imageEmptyStar ( int  id)
inline

◆ imageFullStar()

QImage FF7Materia::imageFullStar ( int  id)
inline

◆ levels()

Q_INVOKABLE qint8 FF7Materia::levels ( int  id)
inline

◆ masterCommandSkill()

QString FF7Materia::masterCommandSkill ( int  id)

◆ masterMagicSkill()

QString FF7Materia::masterMagicSkill ( int  id)

◆ masterSummonSkill()

QString FF7Materia::masterSummonSkill ( int  id)

◆ name()

QString FF7Materia::name ( int  id)

◆ pixmap()

QPixmap FF7Materia::pixmap ( int  id)
inline

◆ pixmapEmptyStar()

QPixmap FF7Materia::pixmapEmptyStar ( int  id)
inline

◆ pixmapFullStar()

QPixmap FF7Materia::pixmapFullStar ( int  id)
inline

◆ skills()

QStringList FF7Materia::skills ( int  id)

◆ statDEX()

Q_INVOKABLE qint8 FF7Materia::statDEX ( int  id)
inline

◆ statHP()

Q_INVOKABLE qint8 FF7Materia::statHP ( int  id)
inline

◆ statLCK()

Q_INVOKABLE qint8 FF7Materia::statLCK ( int  id)
inline

◆ statMAG()

Q_INVOKABLE qint8 FF7Materia::statMAG ( int  id)
inline

◆ statMP()

Q_INVOKABLE qint8 FF7Materia::statMP ( int  id)
inline

◆ statSPI()

Q_INVOKABLE qint8 FF7Materia::statSPI ( int  id)
inline

◆ statSTR()

Q_INVOKABLE qint8 FF7Materia::statSTR ( int  id)
inline

◆ statString()

QString FF7Materia::statString ( int  id)

◆ status()

QStringList FF7Materia::status ( int  id)

◆ statVIT()

Q_INVOKABLE qint8 FF7Materia::statVIT ( int  id)
inline

◆ type()

Q_INVOKABLE qint8 FF7Materia::type ( int  id)
inline

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