ff7tk  1.2.0.13
Work with Final Fantasy 7 game data
Type_FF7CHAR.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: 2012 - 2022 Chris Rizzitello <sithlord48@gmail.com>
2 // SPDX-License-Identifier: LGPL-3.0-or-later
3 
4 #pragma once
5 
6 #include <QtCore/qglobal.h>
7 #include <Type_materia>
8 #include <ff7tkdata_export.h>
9 
16 PACK(
17 struct FF7TKDATA_EXPORT FF7CHAR {
18  quint8 id = 0XFF;
19  quint8 level;
20  quint8 strength;
21  quint8 vitality;
22  quint8 magic;
23  quint8 spirit;
24  quint8 dexterity;
25  quint8 luck;
26  quint8 strength_bonus;
27  quint8 vitality_bonus;
28  quint8 magic_bonus;
29  quint8 spirit_bonus;
30  quint8 dexterity_bonus;
31  quint8 luck_bonus;
32  qint8 limitlevel;
33  quint8 limitbar;
34  quint8 name[12];
35  quint8 weapon;
36  quint8 armor;
37  quint8 accessory;
38  quint8 statusFlag;
39  quint8 rowFlag;
40  quint8 tnlFlag;
41  quint16 limits;
42  quint16 kills;
43  quint16 timesused1;
44  quint16 timesused2;
45  quint16 timesused3;
46  quint16 curHP;
47  quint16 baseHP;
48  quint16 curMP;
49  quint16 baseMP;
50  quint8 z_4[4];
51  quint16 maxHP;
52  quint16 maxMP;
53  quint32 exp;
54  materia materias[16];
55  quint32 expNext;
56 });
materia
materia format saved in materia list or on a character
PACK
PACK(struct FF7TKDATA_EXPORT FF7CHAR { quint8 id=0XFF;quint8 level;quint8 strength;quint8 vitality;quint8 magic;quint8 spirit;quint8 dexterity;quint8 luck;quint8 strength_bonus;quint8 vitality_bonus;quint8 magic_bonus;quint8 spirit_bonus;quint8 dexterity_bonus;quint8 luck_bonus;qint8 limitlevel;quint8 limitbar;quint8 name[12];quint8 weapon;quint8 armor;quint8 accessory;quint8 statusFlag;quint8 rowFlag;quint8 tnlFlag;quint16 limits;quint16 kills;quint16 timesused1;quint16 timesused2;quint16 timesused3;quint16 curHP;quint16 baseHP;quint16 curMP;quint16 baseMP;quint8 z_4[4];quint16 maxHP;quint16 maxMP;quint32 exp;materia materias[16];quint32 expNext;})
FF7CHAR
Character Info in the save game.