mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-23 14:02:20 -04:00
initial item service implementation
This commit is contained in:
+2
-1
@@ -274,8 +274,9 @@ inline void getItemFunc(u8 i_itemNo) {
|
||||
item_func_ptr[i_itemNo]();
|
||||
}
|
||||
|
||||
void execItemGet(u8 i_itemNo) {
|
||||
void execItemGet(u8 i_itemNo IF_DUSK_ARG(u32 i_itemGiveTag) IF_DUSK_ARG(fopAc_ac_c* i_giver)) {
|
||||
getItemFunc(i_itemNo);
|
||||
IF_DUSK(dusk::mods::item_granted(i_itemNo, i_itemGiveTag, i_giver);)
|
||||
}
|
||||
|
||||
static int (*item_getcheck_func_ptr[256])() = {
|
||||
|
||||
Reference in New Issue
Block a user