All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Classes | Functions | Variables
Simple Item Database

Currnetly it contains only the IDs for the AP relics. More...

Classes

struct  item
 

Functions

struct itemitem_find (uint32_t itemid)
 
struct itemitem_find_name (char *item_name)
 

Variables

struct item itemdb []
 

Detailed Description

Currnetly it contains only the IDs for the AP relics.

Function Documentation

struct item* item_find ( uint32_t  itemid)

Find item with ID itemid in the database

Parameters
[in]itemidThe item ID
Returns
Returns NULL on error or a pointer to an item in the database
struct item* item_find_name ( char *  item_name)

Lookup an item by the item name

Parameters
[in]item_nameThe item name
Returns
Returns NULL on error or a pointer to an item in the database

Variable Documentation

struct item itemdb[]

Items database