public static UseItemHitbox ( Item item, Player player, Rectangle &hitbox, bool &noHitbox ) : void | ||
item | Item | |
player | Player | |
hitbox | Rectangle | |
noHitbox | bool | |
Результат | void |
public static void UseItemHitbox(Item item, Player player, ref Rectangle hitbox, ref bool noHitbox)
{
item.modItem?.UseItemHitbox(player, ref hitbox, ref noHitbox);
foreach (var hook in HookUseItemHitbox)
{
hook(item, player, ref hitbox, ref noHitbox);
}
}