All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
items.h
Go to the documentation of this file.
1 /*
2  * items.h - APme: Aion Automatic Abyss Point Tracker
3  *
4  * Copyright (C) 2012 Mitja Horvat <pinkfluid@gmail.com>
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or (at
9  * your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful, but
12  * WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License along
17  * with this program; if not, write to the Free Software Foundation, Inc.,
18  * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
19  */
20 
21 #ifndef ITEM_H_INCLUDED
22 #define ITEM_H_INCLUDED
23 
31 #include <stdint.h>
32 
40 struct item
41 {
42  uint32_t item_id;
43  char *item_name;
44  uint32_t item_ap;
45 };
46 
47 extern struct item* item_find(uint32_t itemid);
48 extern struct item* item_find_name(char *item_name);
49 
54 #endif // ITEM_H_INCLUDED