ff7tk  0.02
Toolkit for making FF7 Tools
FF7Item Class Reference

Class containg all kinds of info about items in FF7. More...

#include <FF7Item.h>

Public Types

enum  ItemType {
  Unknown, Item, Armor, Accessory,
  WeaponCloud, WeaponBarret, WeaponTifa, WeaponRed,
  WeaponAerith, WeaponCid, WeaponYuffie, WeaponCait,
  WeaponVincent
}
 Item types in Final Fantasy 7. More...
 
enum  ItemEffect {
  Absorb = -3, Nullify =-2, Protect =-2, Halve =-1,
  Remove =-1, NoEffect =0x00, Damage =0x01, Infilict =0x01,
  SelfCast =0x02
}
 Possible Elemental Effects and Status Effects for items. More...
 
enum  ItemId {
  Potion =0x00, HiPotion =0x01, XPotion =0x02, Ether =0x03,
  TurboEther =0x04, Elixir =0x05, Megalixir =0x06, PhoenixDown =0x07,
  Antidote =0x08, Soft =0x09, MaidensKiss =0x0A, Cornucopia =0x0B,
  Echoscreen =0x0C, Hyper =0x0D, Tranquilizer =0x0E, Remedy =0x0F,
  SmokeBomb =0x10, SpeedDrink =0x11, HeroDrink =0x12, Vaccine =0x13,
  Grenade =0x14, Shrapnel =0x15, RightArm =0x16, Hourglass =0x17,
  KissOfDeath =0x18, SpiderWeb =0x19, DreamPowder =0x1A, MuteMask =0x1B,
  WarGong =0x1C, Locoweed =0x1D, FireFang =0x1E, FireVeil =0x1F,
  AntarcticWind =0x20, IceCrystal =0x21, BoltPlume =0x22, SwiftBolt =0x23,
  EarthDrum =0x24, EarthMallet =0x25, DeadlyWaste =0x26, MTentacles =0x27,
  Stardust =0x28, VampireFang =0x29, GhostHand =0x2A, VagyriskClaw =0x2B,
  LightCurtain =0x2C, LunarCurtain =0x2D, Mirror =0x2E, HolyTorch =0x2F,
  BirdWing =0x30, DragonScales =0x31, Impaler =0x32, Shrivel =0x33,
  Eyedrop =0x34, Molotov =0x35, SMine =0x36, EightInchCannon =0x37,
  Graviball =0x38, TSBomb =0x39, Ink =0x3A, Dazers =0x3B,
  DragonFang =0x3C, Cauldron =0x3D, SylkisGreens =0x3E, ReaganGreens =0x3F,
  MimettGreens =0x40, CurielGreens =0x41, PahsanGreens =0x42, TantalGreens =0x43,
  KrakkaGreens =0x44, GysahlGreens =0x45, Tent =0x46, PowerSource =0x47,
  GuardSource =0x48, MagicSource =0x49, MindSource =0x4A, SpeedSource =0x4B,
  LuckSource =0x4C, ZeioNut =0x4D, CarobNut =0x4E, PorovNut =0x4F,
  PramNut =0x50, LasanNut =0x51, SaharaNut =0x52, LuchileNut =0x53,
  PepioNut =0x54, Battery =0x55, Tissue =0x56, Omnislash =0x57,
  Catastrophe =0x58, FinalHeaven =0x59, GreatGospel =0x5A, CosmoMemory =0x5B,
  AllCreation =0x5C, Chaos =0x5D, Highwind =0x5E, _135thSoldier =0x5F,
  SuperSweeper =0x60, MasamuneBlade =0x61, SaveCrystal =0x62, CombatDiary =0x63,
  Autograph =0x64, Gambler =0x65, DesertRose =0x66, EarthHarp =0x67,
  GuideBook =0x68, BusterSword =0x80, MythrilSaber =0x81, Hardedge =0x82,
  BytterflyEdge =0x83, EnhanceSword =0x84, Organics =0x85, CrystalSword =0x86,
  ForceStealer =0x87, RuneBlade =0x88, Murasame =0x89, NailBat =0x8A,
  Yoshiyuki =0x8B, Apocalypse =0x8C, HeavensCloud =0x8D, Ragnarok =0x8E,
  UltimaWeapon =0x8F, LeatherGlove =0x90, MetalKnuckle =0x91, MythrilClaw =0x92,
  GrandGlove =0x93, TigerFang =0x94, DiamondKnuckle =0x95, DragonClaw =0x96,
  CrystalGlove =0x97, MotorDrive =0x98, PlatinumFist =0x99, KaiserKnuckle =0x9A,
  WorkGlove =0x9B, Powersoul =0x9C, MasterFist =0x9D, GodsHand =0x9E,
  PremiumHeart =0x9F, GatlingGun =0xA0, AssaultGun =0xA1, CannonBall =0xA2,
  AtomicScissors =0xA3, HeavyVulcan =0xA4, Chainsaw =0xA5, Microlaser =0xA6,
  AMCannon =0xA7, WMachineGun =0xA8, DrillArm =0xA9, SolidBazooka =0xAA,
  RocketPunch =0xAB, EnemyLauncher =0xAC, PileBanger =0xAD, MaxRay =0xAE,
  MissingScore =0xAF, MythrilClip =0xB0, DiamondPin =0xB1, SilverBarrette =0xB2,
  GoldBarrette =0xB3, AdamanClip =0xB4, CrystalComb =0xB5, MagicComb =0xB6,
  PlusBarrette =0xB7, Centclip =0xB8, Hairpin =0xB9, SeraphComb =0xBA,
  BehemothHorn =0xBB, SpringGunClip =0xBC, LimitedMoon =0xBD, GuardStick =0xBE,
  MythrilRod =0xBF, FullMetalStaff =0xC0, StrikingStaff =0xC1, PrismStaff =0xC2,
  AuroraRod =0xC3, WizardStaff =0xC4, WizerStaff =0xC5, FairyTale =0xC6,
  Umbrella =0xC7, PrincessGuard =0xC8, Spear =0xC9, SlashLance =0xCA,
  Trident =0xCB, MastAx =0xCC, Partisan =0xCD, ViperHalberd =0xCE,
  Javelin =0xCF, GrowLance =0xD0, Mop =0xD1, DragoonLance =0xD2,
  Scimitar =0xD3, Flayer =0xD4, SpiritLance =0xD5, VenusGospel =0xD6,
  FourPointShuriken =0xD7, Boomerang =0xD8, Pinwheel =0xD9, RazorRing =0xDA,
  Hawkeye =0xDB, CrystalCross =0xDC, WindSlash =0xDD, TwinViper =0xDE,
  SpiralShuriken =0xDF, Superball =0xE0, MagicShuriken =0xE1, RisingSun =0xE2,
  Oritsuru =0xE3, Conformer =0xE4, YellowMphone =0xE5, GreenMphone =0xE6,
  BlueMphone =0xE7, RedMphone =0xE8, CrystalMphone =0xE9, WhiteMphone =0xEA,
  BlackMphone =0xEB, SilverMphone =0xEC, TrumpetShell =0xED, GoldMphone =0xEE,
  BattleTrumpet =0xEF, StarlightPhone =0xF0, HpShout =0xF1, Quicksilver =0xF2,
  Shotgun =0xF3, Shortbarrel =0xF4, Lariat =0xF5, Winchester =0xF6,
  Peacemaker =0xF7, Buntline =0xF8, LongBarrelR =0xF9, SilverRifle =0xFA,
  SniperCR =0xFB, SupershotST =0xFC, Outsider =0xFD, DeathPenalty =0xFE,
  Masamune =0xFF, BronzeBangle =0x100, IronBangle =0x101, TitanBangle =0x102,
  MythrilArmlet =0x103, CarbonBangle =0x104, SilverArmlet =0x105, GoldArmlet =0x106,
  DiamondBangle =0x107, CrystalBangle =0x108, PlatinumBangle =0x109, RuneArmlet =0x10A,
  Edincoat =0x10B, WizardBracelet =0x10C, AdamanBangle =0x10D, GigasArmlet =0x10E,
  ImperialGuard =0x10F, AegisArmlet =0x110, FourthBracelet =0x111, WarriorBangle =0x112,
  ShinraBeta =0x113, ShinraAlpha =0x114, FourSlots =0x115, FireArmlet =0x116,
  AuroraArmlet =0x117, BoltArmlet =0x118, DragonArmlet =0x119, MinervaBand =0x11A,
  EscortGuard =0x11B, Mystile =0x11C, Ziedrich =0x11D, PreciousWatch =0x11E,
  Chocobracelet =0x11F, PowerWrist =0x120, ProtectVest =0x121, Earring =0x122,
  Talisman =0x123, ChocoFeather =0x124, Amulet =0x125, ChampionBelt =0x126,
  PoisonRing =0x127, ToughRing =0x128, Circlet =0x129, StarPendant =0x12A,
  SilverGlasses =0x12B, Headband =0x12C, FairyRing =0x12D, JemRing =0x12E,
  WhiteCape =0x12F, SprintShoes =0x130, PeaceRing =0x131, Ribbon =0x132,
  FireRing =0x133, IceRing =0x134, BoltRing =0x135, TetraElemental =0x136,
  SafetyBit =0x137, FuryRing =0x138, CurseRing =0x139, ProtectRing =0x13A,
  CatsBell =0x13B, ReflectRing =0x13C, WaterRing =0x13D, SneakGlove =0x13E,
  HypnoCrown =0x13F, EmptyItem =0x1FF, EmptyItemData =0xFFFF
}
 Item Name to ID. More...
 

Public Member Functions

quint16 itemDecode (quint16 itemraw)
 Decode rawitem to quint16. More...
 
quint16 itemEncode (quint16 id, quint8 qty)
 Encode quint16 in to a rawitem. More...
 
quint16 itemId (quint16 item)
 get item id from item More...
 
quint8 itemQty (quint16 item)
 get item id from item More...
 
QString name (int id)
 get an items name More...
 
QString desc (int id)
 get an items description More...
 
qint8 type (int id)
 get an items type More...
 
QIcon icon (int id)
 get an items picture as qicon More...
 
QImage image (int id)
 get an items picture as qimage More...
 
qint8 materiaSlots (int id)
 total number of materia slots in item More...
 
qint8 linkedSlots (int id)
 total number materia links in item More...
 
qint8 materiaGrowthRate (int id)
 ap multiplier for an item More...
 
qint8 statHP (int id)
 change to HP when equipped More...
 
qint8 statMP (int id)
 change to MP when equipped More...
 
qint8 statSTR (int id)
 change to strength when equipped More...
 
qint8 statVIT (int id)
 change to vitality when equipped More...
 
qint8 statDEX (int id)
 change to dexterity when equipped More...
 
qint8 statLCK (int id)
 change to luck when equipped More...
 
qint8 statMAG (int id)
 change to magic when equipped More...
 
qint8 statSPI (int id)
 change to spirit when equipped More...
 
qint8 elementRestoration (int id)
 restoration elemental effect of an item More...
 
qint8 elementFire (int id)
 fire elemental effect of an item More...
 
qint8 elementCold (int id)
 cold elemental effect of an item More...
 
qint8 elementLightning (int id)
 lightning elemental effect of an item More...
 
qint8 elementEarth (int id)
 earth elemental effect of an item More...
 
qint8 elementWind (int id)
 wind elemental effect of an item More...
 
qint8 elementWater (int id)
 water elemental effect of an item More...
 
qint8 elementGravity (int id)
 gravity elemental effect of an item More...
 
qint8 elementHoly (int id)
 ho;y elemental effect of an item More...
 
qint8 elementPoison (int id)
 poison elemental effect of an item More...
 
qint8 elementCut (int id)
 cut elemental effect of an item More...
 
qint8 elementShoot (int id)
 shoot elemental effect of an item More...
 
qint8 elementPunch (int id)
 punch elemental effect of an item More...
 
qint8 elementHit (int id)
 hit elemental effect of an item More...
 
qint8 statusDeath (int id)
 death status effect of an item More...
 
qint8 statusSlowNumb (int id)
 slow numb status effect of an item More...
 
qint8 statusDeathSentence (int id)
 death sentence status effect of an item More...
 
qint8 statusParalysis (int id)
 paralysis status effect of an item More...
 
qint8 statusPetrify (int id)
 petrify status effect of an item More...
 
qint8 statusSilence (int id)
 silence status effect of an item More...
 
qint8 statusSleep (int id)
 sleep status effect of an item More...
 
qint8 statusConfusion (int id)
 confusion status effect of an item More...
 
qint8 statusBerserk (int id)
 berserk status effect of an item More...
 
qint8 statusFrog (int id)
 frog status effect of an item More...
 
qint8 statusMini (int id)
 mini status effect of an item More...
 
qint8 statusPoison (int id)
 poison status effect of an item More...
 
qint8 statusFury (int id)
 fury status effect of an item More...
 
qint8 statusSadness (int id)
 sadness status effect of an item More...
 
qint8 statusDarkness (int id)
 darkness status effect of an item More...
 
qint8 statusHaste (int id)
 haste status effect of an item More...
 
qint8 statusSlow (int id)
 slow status effect of an item More...
 
qint8 statusStop (int id)
 stop status effect of an item More...
 
qint8 statusBarrier (int id)
 barrier status effect of an item More...
 
qint8 statusMagicBarrier (int id)
 magic barrier status effect of an item More...
 
qint8 statusReflect (int id)
 reflect status effect of an item More...
 
qint8 statusShield (int id)
 shield status effect of an item More...
 
qint8 statusRegen (int id)
 regen status effect of an item More...
 
qint8 statusResist (int id)
 resist status effect of an item More...
 
QImage imageMateriaSlotNoGrowth (void)
 Image of a no growth materia slot. More...
 
QImage imageMateriaSlot (void)
 Image of a normal materia slot. More...
 
QImage imageMateriaLink (void)
 Image of a materia link. More...
 
QString styleMateriaSlotNoGrowth (void)
 QStyle of a no growth materia slot for use on a QPushButton. More...
 
QString styleMateriaSlot (void)
 QStyle of a normal materia slot for use on a QPushButton. More...
 
QString styleMateriaLink (void)
 QStyle of a materia link for use on a QLabel. More...
 

Detailed Description

Class containg all kinds of info about items in FF7.

Definition at line 99 of file FF7Item.h.

Member Enumeration Documentation

Possible Elemental Effects and Status Effects for items.

Enumerator
Absorb 

Absorb Element (value:-3)

Nullify 

Nullify Element (value:-2)

Protect 

Protect from Status (value:-2)

Halve 

Halve Element (value:-1)

Remove 

Remove Status (value:-1)

NoEffect 

Does not affect Element or Status (value:0)

Damage 

Inflict Element1 Dammage (value:1)

Infilict 

Inflict Status On Another (value:1)

SelfCast 

Inflict Status On Self (value:2)

Definition at line 114 of file FF7Item.h.

Item Name to ID.

Enumerator
Potion 

0x00

HiPotion 

0x01

XPotion 

0x02

Ether 

0x03

TurboEther 

0x04

Elixir 

0x05

Megalixir 

0x06

PhoenixDown 

0x07

Antidote 

0x08

Soft 

0x09

MaidensKiss 

0x0A

Cornucopia 

0x0B

Echoscreen 

0x0C

Hyper 

0x0D

Tranquilizer 

0x0E

Remedy 

0x0F

SmokeBomb 

0x10

SpeedDrink 

0x11

HeroDrink 

0x12

Vaccine 

0x13

Grenade 

0x14

Shrapnel 

0x15

RightArm 

0x16

Hourglass 

0x17

KissOfDeath 

0x18

SpiderWeb 

0x19

DreamPowder 

0x1A

MuteMask 

0x1B

WarGong 

0x1C

Locoweed 

0x1D

FireFang 

0x1E

FireVeil 

0x1F

AntarcticWind 

0x20

IceCrystal 

0x21

BoltPlume 

0x22

SwiftBolt 

0x23

EarthDrum 

0x24

EarthMallet 

0x25

DeadlyWaste 

0x26

MTentacles 

0x27

Stardust 

0x28

VampireFang 

0x29

GhostHand 

0x2A

VagyriskClaw 

0x2B

LightCurtain 

0x2C

LunarCurtain 

0x2D

Mirror 

0x2E

HolyTorch 

0x2F

BirdWing 

0x30

DragonScales 

0x31

Impaler 

0x32

Shrivel 

0x33

Eyedrop 

0x34

Molotov 

0x35

SMine 

0x36

EightInchCannon 

0x37

Graviball 

0x38

TSBomb 

0x39

Ink 

0x3A

Dazers 

0x3B

DragonFang 

0x3C

Cauldron 

0x3D

SylkisGreens 

0x3E

ReaganGreens 

0x3F

MimettGreens 

0x40

CurielGreens 

0x41

PahsanGreens 

0x42

TantalGreens 

0x43

KrakkaGreens 

0x44

GysahlGreens 

0x45

Tent 

0x46

PowerSource 

0x47

GuardSource 

0x48

MagicSource 

0x49

MindSource 

0x4A

SpeedSource 

0x4B

LuckSource 

0x4C

ZeioNut 

0x4D

CarobNut 

0x4E

PorovNut 

0x4F

PramNut 

0x50

LasanNut 

0x51

SaharaNut 

0x52

LuchileNut 

0x53

PepioNut 

0x54

Battery 

0x55

Tissue 

0x56

Omnislash 

0x57

Catastrophe 

0x58

FinalHeaven 

0x59

GreatGospel 

0x5A

CosmoMemory 

0x5B

AllCreation 

0x5C

Chaos 

0x5D

Highwind 

0x5E

_135thSoldier 

0x5F

SuperSweeper 

0x60

MasamuneBlade 

0x61

SaveCrystal 

0x62

CombatDiary 

0x63

Autograph 

0x64

Gambler 

0x65

DesertRose 

0x66

EarthHarp 

0x68

GuideBook 

0x68

BusterSword 

0x80

MythrilSaber 

0x81

Hardedge 

0x82

BytterflyEdge 

0x83

EnhanceSword 

0x84

Organics 

0x85

CrystalSword 

0x86

ForceStealer 

0x87

RuneBlade 

0x88

Murasame 

0x89

NailBat 

0x8A

Yoshiyuki 

0x8B

Apocalypse 

0x8C

HeavensCloud 

0x8D

Ragnarok 

0x8E

UltimaWeapon 

0x8F

LeatherGlove 

0x90

MetalKnuckle 

0x91

MythrilClaw 

0x92

GrandGlove 

0x93

TigerFang 

0x94

DiamondKnuckle 

0x95

DragonClaw 

0x96

CrystalGlove 

0x97

MotorDrive 

0x98

PlatinumFist 

0x99

KaiserKnuckle 

0x9A

WorkGlove 

0x9B

Powersoul 

0x9C

MasterFist 

0x9D

GodsHand 

0x9E

PremiumHeart 

0x9F

GatlingGun 

0xA0

AssaultGun 

0xA1

CannonBall 

0xA2

AtomicScissors 

0xA3

HeavyVulcan 

0xA4

Chainsaw 

0xA5

Microlaser 

0xA6

AMCannon 

0xA7

WMachineGun 

0xA8

DrillArm 

0xA9

SolidBazooka 

0xAA

RocketPunch 

0xAB

EnemyLauncher 

0xAC

PileBanger 

0xAD

MaxRay 

0xAE

MissingScore 

0xAF

MythrilClip 

0xB0

DiamondPin 

0xB1

SilverBarrette 

0xB2

GoldBarrette 

0xB3

AdamanClip 

0xB4

CrystalComb 

0xB5

MagicComb 

0xB6

PlusBarrette 

0xB7

Centclip 

0xBB

Hairpin 

0xB9

SeraphComb 

0xBA

BehemothHorn 

0xBB

SpringGunClip 

0x BC

LimitedMoon 

0xBD

GuardStick 

0xBE

MythrilRod 

0xBF

FullMetalStaff 

0xC0

StrikingStaff 

0xC1

PrismStaff 

0xC2

AuroraRod 

0xC.

WizardStaff 

0xC4

WizerStaff 

0xC5

FairyTale 

0xC6

Umbrella 

0xC7

PrincessGuard 

0xC8

Spear 

0xC9

SlashLance 

0xCA

Trident 

0xCB

MastAx 

0xCC

Partisan 

0xCD

ViperHalberd 

0xCE

Javelin 

0xCF

GrowLance 

0xD0

Mop 

0xD1

DragoonLance 

0xD2

Scimitar 

0xD3

Flayer 

0xD4

SpiritLance 

0xD5

VenusGospel 

0xD6

FourPointShuriken 

0xD7

Boomerang 

0xD8

Pinwheel 

0xD9

RazorRing 

0xDA

Hawkeye 

0xDB

CrystalCross 

0xDC

WindSlash 

0xDD

TwinViper 

0xDE

SpiralShuriken 

0xDF

Superball 

0xE0

MagicShuriken 

0xE1

RisingSun 

0xE2

Oritsuru 

0xE3

Conformer 

0xE4

YellowMphone 

0xE5

GreenMphone 

0xE6

BlueMphone 

0xE7

RedMphone 

0xE8

CrystalMphone 

0xE9

WhiteMphone 

0xEA

BlackMphone 

0xEB

SilverMphone 

0xEC

TrumpetShell 

0xED

GoldMphone 

0xEE

BattleTrumpet 

0xEF

StarlightPhone 

0xF0

HpShout 

0xF1

Quicksilver 

0xF2

Shotgun 

0xF3

Shortbarrel 

0xF4

Lariat 

0xF5

Winchester 

0xF6

Peacemaker 

0xF7

Buntline 

0xF8

LongBarrelR 

0xF9

SilverRifle 

0xFA

SniperCR 

0xFB

SupershotST 

0xFC

Outsider 

0xFD

DeathPenalty 

0xFE

Masamune 

0xFF

BronzeBangle 

0x100

IronBangle 

0x101

TitanBangle 

0x102

MythrilArmlet 

0x103

CarbonBangle 

0x104

SilverArmlet 

0x105

GoldArmlet 

0x106

DiamondBangle 

0x107

CrystalBangle 

0x108

PlatinumBangle 

0x109

RuneArmlet 

0x10A

Edincoat 

0x10B

WizardBracelet 

0x10C

AdamanBangle 

0x10D

GigasArmlet 

0x10F

ImperialGuard 

0x10F

AegisArmlet 

0x110

FourthBracelet 

0x111

WarriorBangle 

0x112

ShinraBeta 

0x113

ShinraAlpha 

0x114

FourSlots 

0x115

FireArmlet 

0x116

AuroraArmlet 

0x117

BoltArmlet 

0x118

DragonArmlet 

0x119

MinervaBand 

0x11A

EscortGuard 

0x11B

Mystile 

0x11C

Ziedrich 

0x11D

PreciousWatch 

0x11E

Chocobracelet 

0x11F

PowerWrist 

0x120

ProtectVest 

0x121

Earring 

0x122

Talisman 

0x123

ChocoFeather 

0x124

Amulet 

0x125

ChampionBelt 

0x126

PoisonRing 

0x127

ToughRing 

0x128

Circlet 

0x129

StarPendant 

0x12A

SilverGlasses 

0x12B

Headband 

0x12C

FairyRing 

0x12D

JemRing 

0x12E

WhiteCape 

0x12F

SprintShoes 

0x130

PeaceRing 

0x131

Ribbon 

0x132

FireRing 

0x133

IceRing 

0x134

BoltRing 

0x135

TetraElemental 

0x136

SafetyBit 

0x137

FuryRing 

0x138

CurseRing 

0x139

ProtectRing 

0x13A

CatsBell 

0x13B

ReflectRing 

0x13C

WaterRing 

0x13D

SneakGlove 

0x13E

HypnoCrown 

0x13F

EmptyItem 

0x1FF

EmptyItemData 

0xFFFF

Definition at line 129 of file FF7Item.h.

Item types in Final Fantasy 7.

Enumerator
Unknown 

0

Item 

1

Armor 

2

Accessory 

3

WeaponCloud 

4

WeaponBarret 

5

WeaponTifa 

6

WeaponRed 

7

WeaponAerith 

8

WeaponCid 

9

WeaponYuffie 

10

WeaponCait 

11

WeaponVincent 

12

Definition at line 105 of file FF7Item.h.

Member Function Documentation

QString FF7Item::desc ( int  id)

get an items description

Parameters
idvalid FF7Item::ItemId
Returns
translated item description

Definition at line 20 of file FF7Item.cpp.

References Items.

Referenced by ItemPreview::setItem().

qint8 FF7Item::elementCold ( int  id)

cold elemental effect of an item

Parameters
idvalid FF7Item::ItemId
Returns
Type of Effect for Element Cold
See also
ItemEffect

Definition at line 40 of file FF7Item.cpp.

References ITEM::e_cold, and Items.

Referenced by ItemPreview::elemental_info(), and CharEditor::elemental_info().

qint8 FF7Item::elementCut ( int  id)

cut elemental effect of an item

Parameters
idvalid FF7Item::ItemId
Returns
Type of Effect for Element Cut
See also
ItemEffect

Definition at line 48 of file FF7Item.cpp.

References ITEM::e_cut, and Items.

Referenced by ItemPreview::elemental_info(), and CharEditor::elemental_info().

qint8 FF7Item::elementEarth ( int  id)

earth elemental effect of an item

Parameters
idvalid FF7Item::ItemId
Returns
Type of Effect for Element Earth
See also
ItemEffect

Definition at line 42 of file FF7Item.cpp.

References ITEM::e_earth, and Items.

Referenced by ItemPreview::elemental_info(), and CharEditor::elemental_info().

qint8 FF7Item::elementFire ( int  id)

fire elemental effect of an item

Parameters
idvalid FF7Item::ItemId
Returns
Type of Effect for Element Fire
See also
ItemEffect

Definition at line 39 of file FF7Item.cpp.

References ITEM::e_fire, and Items.

Referenced by ItemPreview::elemental_info(), and CharEditor::elemental_info().

qint8 FF7Item::elementGravity ( int  id)

gravity elemental effect of an item

Parameters
idvalid FF7Item::ItemId
Returns
Type of Effect for Element Gravity
See also
ItemEffect

Definition at line 45 of file FF7Item.cpp.

References ITEM::e_gravity, and Items.

Referenced by ItemPreview::elemental_info(), and CharEditor::elemental_info().

qint8 FF7Item::elementHit ( int  id)

hit elemental effect of an item

Parameters
idvalid FF7Item::ItemId
Returns
Type of Effect for Element Hit
See also
ItemEffect

Definition at line 51 of file FF7Item.cpp.

References ITEM::e_hit, and Items.

Referenced by ItemPreview::elemental_info(), and CharEditor::elemental_info().

qint8 FF7Item::elementHoly ( int  id)

ho;y elemental effect of an item

Parameters
idvalid FF7Item::ItemId
Returns
Type of Effect for Element Holy
See also
ItemEffect

Definition at line 46 of file FF7Item.cpp.

References ITEM::e_holy, and Items.

Referenced by ItemPreview::elemental_info(), and CharEditor::elemental_info().

qint8 FF7Item::elementLightning ( int  id)

lightning elemental effect of an item

Parameters
idvalid FF7Item::ItemId
Returns
Type of Effect for Element Lightning
See also
ItemEffect

Definition at line 41 of file FF7Item.cpp.

References ITEM::e_lightning, and Items.

Referenced by ItemPreview::elemental_info(), and CharEditor::elemental_info().

qint8 FF7Item::elementPoison ( int  id)

poison elemental effect of an item

Parameters
idvalid FF7Item::ItemId
Returns
Type of Effect for Element Poison
See also
ItemEffect

Definition at line 47 of file FF7Item.cpp.

References ITEM::e_poison, and Items.

Referenced by ItemPreview::elemental_info(), and CharEditor::elemental_info().

qint8 FF7Item::elementPunch ( int  id)

punch elemental effect of an item

Parameters
idvalid FF7Item::ItemId
Returns
Type of Effect for Element Punch
See also
ItemEffect

Definition at line 50 of file FF7Item.cpp.

References ITEM::e_punch, and Items.

Referenced by ItemPreview::elemental_info(), and CharEditor::elemental_info().

qint8 FF7Item::elementRestoration ( int  id)

restoration elemental effect of an item

Parameters
idvalid FF7Item::ItemId
Returns
Type of Effect for Element Restoration
See also
ItemType

Definition at line 38 of file FF7Item.cpp.

References ITEM::e_restoration, and Items.

Referenced by ItemPreview::elemental_info(), and CharEditor::elemental_info().

qint8 FF7Item::elementShoot ( int  id)

shoot elemental effect of an item

Parameters
idvalid FF7Item::ItemId
Returns
Type of Effect for Element Shoot
See also
ItemEffect

Definition at line 49 of file FF7Item.cpp.

References ITEM::e_shoot, and Items.

Referenced by ItemPreview::elemental_info(), and CharEditor::elemental_info().

qint8 FF7Item::elementWater ( int  id)

water elemental effect of an item

Parameters
idvalid FF7Item::ItemId
Returns
Type of Effect for Element Water
See also
ItemEffect

Definition at line 44 of file FF7Item.cpp.

References ITEM::e_water, and Items.

Referenced by ItemPreview::elemental_info(), and CharEditor::elemental_info().

qint8 FF7Item::elementWind ( int  id)

wind elemental effect of an item

Parameters
idvalid FF7Item::ItemId
Returns
Type of Effect for Element Wind
See also
ItemEffect

Definition at line 43 of file FF7Item.cpp.

References ITEM::e_wind, and Items.

Referenced by ItemPreview::elemental_info(), and CharEditor::elemental_info().

QIcon FF7Item::icon ( int  id)

get an items picture as qicon

Parameters
idvalid FF7Item::ItemId
Returns
Items icon in qicon form
See also
image()

Definition at line 23 of file FF7Item.cpp.

References image().

Referenced by ItemSelector::init_data(), ItemSelector::setFilter(), and ItemList::updateItem().

QImage FF7Item::image ( int  id)

get an items picture as qimage

Parameters
idvalid FF7Item::ItemId
Returns
Items icon in qimage form
See also
icon()

Definition at line 22 of file FF7Item.cpp.

References Items.

Referenced by icon(), CharEditor::init_display(), CharEditor::setChar(), and ItemPreview::setItem().

QImage FF7Item::imageMateriaLink ( void  )

Image of a materia link.

Returns
QImage of a materia link
See also
styleMateriaLink()

Definition at line 37 of file FF7Item.cpp.

Referenced by ItemPreview::setItem().

QImage FF7Item::imageMateriaSlot ( void  )

Image of a normal materia slot.

Returns
QImage of a normal materia slot
See also
imageMateriaNoGrowthSlot(), styleMateriaSlot()

Definition at line 36 of file FF7Item.cpp.

Referenced by ItemPreview::setItem().

QImage FF7Item::imageMateriaSlotNoGrowth ( void  )

Image of a no growth materia slot.

Returns
QImage of a no growth materia slot
See also
imageMateriaSlot(), styleMateriaSlotNoGrowth()

Definition at line 35 of file FF7Item.cpp.

Referenced by ItemPreview::setItem().

quint16 FF7Item::itemDecode ( quint16  itemraw)

Decode rawitem to quint16.

Parameters
itemrawraw 2byte item from ff7 Save
Returns
quint16 holding an item

Definition at line 90 of file FF7Item.cpp.

Referenced by itemId(), and itemQty().

quint16 FF7Item::itemEncode ( quint16  id,
quint8  qty 
)

Encode quint16 in to a rawitem.

Parameters
iditem id to be stored
qtyhow many of item
Returns
quint16 holding an item

Definition at line 111 of file FF7Item.cpp.

Referenced by ItemSelector::comboItem_changed(), ItemSelector::sb_qty_changed(), ItemSelector::setCurrentItem(), ItemSelector::setFilter(), and ItemList::setMaximumItemQty().

quint16 FF7Item::itemId ( quint16  item)

get item id from item

Parameters
itemitem you want to find the id of. rawitems will be decoded.
Returns
items ID
See also
itemQty()

Definition at line 151 of file FF7Item.cpp.

References itemDecode().

Referenced by ItemSelector::comboItem_changed(), ItemList::eventFilter(), ItemSelector::id(), ItemSelector::sb_qty_changed(), ItemSelector::setCurrentItem(), ItemSelector::setFilter(), ItemList::setMaximumItemQty(), and ItemList::updateItem().

quint8 FF7Item::itemQty ( quint16  item)

get item id from item

Parameters
itemitem you want to find the qty of. rawitems will be decoded.
Returns
items Qty
See also
itemId()

Definition at line 157 of file FF7Item.cpp.

References itemDecode().

Referenced by ItemSelector::comboItem_changed(), ItemSelector::sb_qty_changed(), ItemSelector::setCurrentItem(), ItemSelector::setFilter(), ItemList::setMaximumItemQty(), and ItemList::updateItem().

qint8 FF7Item::linkedSlots ( int  id)

total number materia links in item

Parameters
idvalid FF7Item::ItemId
Returns
number of materia links in an item
See also
materiaSlots()

Definition at line 25 of file FF7Item.cpp.

References Items, and ITEM::linked.

Referenced by ItemPreview::setItem(), and CharEditor::update_materia_slots().

qint8 FF7Item::materiaGrowthRate ( int  id)

ap multiplier for an item

Parameters
idvalid FF7Item::ItemId
Returns
ap muliplier for given item

Definition at line 26 of file FF7Item.cpp.

References Items, and ITEM::mgrowth.

Referenced by CharEditor::calc_stats(), ItemPreview::setItem(), and CharEditor::update_materia_slots().

qint8 FF7Item::materiaSlots ( int  id)

total number of materia slots in item

Parameters
idvalid FF7Item::ItemId
Returns
number of materia slots in an item
See also
linkedSlots() ,ItemId

Definition at line 24 of file FF7Item.cpp.

References Items, and ITEM::mslots.

Referenced by ItemPreview::setItem(), and CharEditor::update_materia_slots().

QString FF7Item::name ( int  id)

get an items name

Parameters
idvalid FF7Item::ItemId
Returns
translated item Name

Definition at line 19 of file FF7Item.cpp.

References Items.

Referenced by ItemSelector::comboItem_changed(), ItemSelector::init_data(), CharEditor::init_display(), CharEditor::setChar(), ItemSelector::setFilter(), ItemPreview::setItem(), and ItemList::updateItem().

qint8 FF7Item::statDEX ( int  id)

change to dexterity when equipped

Parameters
idvalid FF7Item::ItemId
Returns
amount dexterity is changed when item is equipped

Definition at line 31 of file FF7Item.cpp.

References ITEM::dex, and Items.

Referenced by CharEditor::calc_stats().

qint8 FF7Item::statHP ( int  id)

change to HP when equipped

Parameters
idvalid FF7Item::ItemId
Returns
amount HP is changed when item is equipped

Definition at line 27 of file FF7Item.cpp.

References ITEM::hp, and Items.

Referenced by CharEditor::calc_stats().

qint8 FF7Item::statLCK ( int  id)

change to luck when equipped

Parameters
idvalid FF7Item::ItemId
Returns
amount luck is changed when item is equipped

Definition at line 32 of file FF7Item.cpp.

References Items, and ITEM::lck.

Referenced by CharEditor::calc_stats().

qint8 FF7Item::statMAG ( int  id)

change to magic when equipped

Parameters
idvalid FF7Item::ItemId
Returns
amount magic is changed when item is equipped

Definition at line 33 of file FF7Item.cpp.

References Items, and ITEM::mag.

Referenced by CharEditor::calc_stats().

qint8 FF7Item::statMP ( int  id)

change to MP when equipped

Parameters
idvalid FF7Item::ItemId
Returns
amount MP is changed when item is equipped

Definition at line 28 of file FF7Item.cpp.

References Items, and ITEM::mp.

Referenced by CharEditor::calc_stats().

qint8 FF7Item::statSPI ( int  id)

change to spirit when equipped

Parameters
idvalid FF7Item::ItemId
Returns
amount spirit is changed when item is equipped

Definition at line 34 of file FF7Item.cpp.

References Items, and ITEM::spi.

Referenced by CharEditor::calc_stats().

qint8 FF7Item::statSTR ( int  id)

change to strength when equipped

Parameters
idvalid FF7Item::ItemId
Returns
amount strength is changed when item is equipped

Definition at line 29 of file FF7Item.cpp.

References Items, and ITEM::str.

Referenced by CharEditor::calc_stats().

qint8 FF7Item::statusBarrier ( int  id)

barrier status effect of an item

Parameters
idvalid FF7Item::ItemId
Returns
Type of Effect for Status Barrier
See also
ItemEffect

Definition at line 71 of file FF7Item.cpp.

References Items, and ITEM::s_barrier.

Referenced by ItemPreview::status_info(), and CharEditor::status_info().

qint8 FF7Item::statusBerserk ( int  id)

berserk status effect of an item

Parameters
idvalid FF7Item::ItemId
Returns
Type of Effect for Status Berserk
See also
ItemEffect

Definition at line 61 of file FF7Item.cpp.

References Items, and ITEM::s_berserk.

Referenced by ItemPreview::status_info(), and CharEditor::status_info().

qint8 FF7Item::statusConfusion ( int  id)

confusion status effect of an item

Parameters
idvalid FF7Item::ItemId
Returns
Type of Effect for Status Confusion
See also
ItemEffect

Definition at line 60 of file FF7Item.cpp.

References Items, and ITEM::s_confusion.

Referenced by ItemPreview::status_info(), and CharEditor::status_info().

qint8 FF7Item::statusDarkness ( int  id)

darkness status effect of an item

Parameters
idvalid FF7Item::ItemId
Returns
Type of Effect for Status Darkness
See also
ItemEffect

Definition at line 67 of file FF7Item.cpp.

References Items, and ITEM::s_darkness.

Referenced by ItemPreview::status_info(), and CharEditor::status_info().

qint8 FF7Item::statusDeath ( int  id)

death status effect of an item

Parameters
idvalid FF7Item::ItemId
Returns
Type of Effect for Status Death
See also
ItemEffect

Definition at line 53 of file FF7Item.cpp.

References Items, and ITEM::s_death.

Referenced by ItemPreview::status_info(), and CharEditor::status_info().

qint8 FF7Item::statusDeathSentence ( int  id)

death sentence status effect of an item

Parameters
idvalid FF7Item::ItemId
Returns
Type of Effect for Status Death Sentence
See also
ItemEffect

Definition at line 55 of file FF7Item.cpp.

References Items, and ITEM::s_d_sentence.

Referenced by ItemPreview::status_info(), and CharEditor::status_info().

qint8 FF7Item::statusFrog ( int  id)

frog status effect of an item

Parameters
idvalid FF7Item::ItemId
Returns
Type of Effect for Status Frog
See also
ItemEffect

Definition at line 62 of file FF7Item.cpp.

References Items, and ITEM::s_frog.

Referenced by ItemPreview::status_info(), and CharEditor::status_info().

qint8 FF7Item::statusFury ( int  id)

fury status effect of an item

Parameters
idvalid FF7Item::ItemId
Returns
Type of Effect for Status Fury
See also
ItemEffect

Definition at line 65 of file FF7Item.cpp.

References Items, and ITEM::s_fury.

Referenced by ItemPreview::status_info(), and CharEditor::status_info().

qint8 FF7Item::statusHaste ( int  id)

haste status effect of an item

Parameters
idvalid FF7Item::ItemId
Returns
Type of Effect for Status Haste
See also
ItemEffect

Definition at line 68 of file FF7Item.cpp.

References Items, and ITEM::s_haste.

Referenced by ItemPreview::status_info(), and CharEditor::status_info().

qint8 FF7Item::statusMagicBarrier ( int  id)

magic barrier status effect of an item

Parameters
idvalid FF7Item::ItemId
Returns
Type of Effect for Status Magic Barrier
See also
ItemEffect

Definition at line 72 of file FF7Item.cpp.

References Items, and ITEM::s_m_barrier.

Referenced by ItemPreview::status_info(), and CharEditor::status_info().

qint8 FF7Item::statusMini ( int  id)

mini status effect of an item

Parameters
idvalid FF7Item::ItemId
Returns
Type of Effect for Status Mini
See also
ItemEffect

Definition at line 63 of file FF7Item.cpp.

References Items, and ITEM::s_mini.

Referenced by ItemPreview::status_info(), and CharEditor::status_info().

qint8 FF7Item::statusParalysis ( int  id)

paralysis status effect of an item

Parameters
idvalid FF7Item::ItemId
Returns
Type of Effect for Status Paralysis
See also
ItemEffect

Definition at line 56 of file FF7Item.cpp.

References Items, and ITEM::s_paralysis.

Referenced by ItemPreview::status_info(), and CharEditor::status_info().

qint8 FF7Item::statusPetrify ( int  id)

petrify status effect of an item

Parameters
idvalid FF7Item::ItemId
Returns
Type of Effect for Status Petrify
See also
ItemEffect

Definition at line 57 of file FF7Item.cpp.

References Items, and ITEM::s_petrify.

Referenced by ItemPreview::status_info(), and CharEditor::status_info().

qint8 FF7Item::statusPoison ( int  id)

poison status effect of an item

Parameters
idvalid FF7Item::ItemId
Returns
Type of Effect for Status Poison
See also
ItemEffect

Definition at line 64 of file FF7Item.cpp.

References Items, and ITEM::s_poison.

Referenced by ItemPreview::status_info(), and CharEditor::status_info().

qint8 FF7Item::statusReflect ( int  id)

reflect status effect of an item

Parameters
idvalid FF7Item::ItemId
Returns
Type of Effect for Status Reflect
See also
ItemEffect

Definition at line 73 of file FF7Item.cpp.

References Items, and ITEM::s_reflect.

Referenced by ItemPreview::status_info(), and CharEditor::status_info().

qint8 FF7Item::statusRegen ( int  id)

regen status effect of an item

Parameters
idvalid FF7Item::ItemId
Returns
Type of Effect for Status Regen
See also
ItemEffect

Definition at line 75 of file FF7Item.cpp.

References Items, and ITEM::s_regen.

Referenced by ItemPreview::status_info(), and CharEditor::status_info().

qint8 FF7Item::statusResist ( int  id)

resist status effect of an item

Parameters
idvalid FF7Item::ItemId
Returns
Type of Effect for Status Resist
See also
ItemEffect

Definition at line 76 of file FF7Item.cpp.

References Items, and ITEM::s_resist.

Referenced by ItemPreview::status_info(), and CharEditor::status_info().

qint8 FF7Item::statusSadness ( int  id)

sadness status effect of an item

Parameters
idvalid FF7Item::ItemId
Returns
Type of Effect for Status Sadness
See also
ItemEffect

Definition at line 66 of file FF7Item.cpp.

References Items, and ITEM::s_sadness.

Referenced by ItemPreview::status_info(), and CharEditor::status_info().

qint8 FF7Item::statusShield ( int  id)

shield status effect of an item

Parameters
idvalid FF7Item::ItemId
Returns
Type of Effect for Status Shield
See also
ItemEffect

Definition at line 74 of file FF7Item.cpp.

References Items, and ITEM::s_sheild.

Referenced by ItemPreview::status_info(), and CharEditor::status_info().

qint8 FF7Item::statusSilence ( int  id)

silence status effect of an item

Parameters
idvalid FF7Item::ItemId
Returns
Type of Effect for Status Silence
See also
ItemEffect

Definition at line 58 of file FF7Item.cpp.

References Items, and ITEM::s_silence.

Referenced by ItemPreview::status_info(), and CharEditor::status_info().

qint8 FF7Item::statusSleep ( int  id)

sleep status effect of an item

Parameters
idvalid FF7Item::ItemId
Returns
Type of Effect for Status Sleep
See also
ItemEffect

Definition at line 59 of file FF7Item.cpp.

References Items, and ITEM::s_sleep.

Referenced by ItemPreview::status_info(), and CharEditor::status_info().

qint8 FF7Item::statusSlow ( int  id)

slow status effect of an item

Parameters
idvalid FF7Item::ItemId
Returns
Type of Effect for Status Slow
See also
ItemEffect

Definition at line 69 of file FF7Item.cpp.

References Items, and ITEM::s_slow.

Referenced by ItemPreview::status_info(), and CharEditor::status_info().

qint8 FF7Item::statusSlowNumb ( int  id)

slow numb status effect of an item

Parameters
idvalid FF7Item::ItemId
Returns
Type of Effect for Status Slow Numb
See also
ItemEffect

Definition at line 54 of file FF7Item.cpp.

References Items, and ITEM::s_slow_numb.

Referenced by ItemPreview::status_info(), and CharEditor::status_info().

qint8 FF7Item::statusStop ( int  id)

stop status effect of an item

Parameters
idvalid FF7Item::ItemId
Returns
Type of Effect for Status Stop
See also
ItemEffect

Definition at line 70 of file FF7Item.cpp.

References Items, and ITEM::s_stop.

Referenced by ItemPreview::status_info(), and CharEditor::status_info().

qint8 FF7Item::statVIT ( int  id)

change to vitality when equipped

Parameters
idvalid FF7Item::ItemId
Returns
amount vitality is changed when item is equipped

Definition at line 30 of file FF7Item.cpp.

References Items, and ITEM::vit.

Referenced by CharEditor::calc_stats().

QString FF7Item::styleMateriaLink ( void  )

QStyle of a materia link for use on a QLabel.

Returns
QStyle of a materia link
See also
imageMateriaLink()

Definition at line 85 of file FF7Item.cpp.

Referenced by CharEditor::update_materia_slots().

QString FF7Item::styleMateriaSlot ( void  )

QStyle of a normal materia slot for use on a QPushButton.

Returns
QStyle of a normal materia slot
See also
styleMateriaSlotNoGrowth(), imageMateriaSlot()

Definition at line 81 of file FF7Item.cpp.

QString FF7Item::styleMateriaSlotNoGrowth ( void  )

QStyle of a no growth materia slot for use on a QPushButton.

Returns
QStyle of a no growth materia slot
See also
styleMateriaSlot(), imageMateriaSlotNoGrowth()

Definition at line 77 of file FF7Item.cpp.

Referenced by CharEditor::init_display().

qint8 FF7Item::type ( int  id)

get an items type

Parameters
idvalid FF7Item::ItemId
Returns
Items type
See also
ItemType

Definition at line 21 of file FF7Item.cpp.

References Items, and ITEM::type.

Referenced by ItemSelector::setCurrentItem(), ItemSelector::setFilter(), and ItemPreview::setItem().


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