V-Gears 0
Free Final Fantasy VII engine.
SaveMap::Item Struct Reference

Items, weapons, armors and accessories in inventory. More...

#include <SaveMap.h>

Public Attributes

u16 item_raw
 The item bytes, as read from KERNEL.BIN in the save map. More...
 
int item
 Item index. More...
 
int quantity
 Item quantity. More...
 

Detailed Description

Items, weapons, armors and accessories in inventory.

2 byte.

The first 7 bits are the item quantity. The 9 last bits are the index.

Member Data Documentation

◆ item

int SaveMap::Item::item

Item index.

◆ item_raw

u16 SaveMap::Item::item_raw

The item bytes, as read from KERNEL.BIN in the save map.

The first 7 bits are the item quantity. The 9 last bits are the index. All the other members can be derived from this. Indexex 0-127 are items, 128-255 are weapons, 256-287 are weapons and 288-319 are accessories.

◆ quantity

int SaveMap::Item::quantity

Item quantity.


The documentation for this struct was generated from the following file: