Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
d_a_shop_item.h
Go to the documentation of this file.
1#ifndef D_A_SHOP_ITEM_H
2#define D_A_SHOP_ITEM_H
3
5
6namespace daShopItem_prm {
7inline u8 getGroup(daShopItem_c* i_this) {
8 return fopAcM_GetParam(i_this) >> 0x1C;
9}
10
11inline u8 getItemNo(daShopItem_c* i_this) {
12 return fopAcM_GetParam(i_this) & 0xFF;
13}
14} // namespace dahopItem_prm
15
16#endif /* D_A_SHOP_ITEM_H */
Definition d_a_shop_item_static.h:48
u32 fopAcM_GetParam(const void *i_actor)
Definition f_op_actor_mng.h:182
Definition d_a_shop_item.h:6
u8 getGroup(daShopItem_c *i_this)
Definition d_a_shop_item.h:7
u8 getItemNo(daShopItem_c *i_this)
Definition d_a_shop_item.h:11
unsigned char u8
Definition types.h:5