Function veloren_common::states::utils::attempt_swap_equipped_weapons
source ยท pub fn attempt_swap_equipped_weapons(
data: &JoinData<'_>,
update: &mut StateUpdate,
output_events: &mut OutputEvents<'_, '_>,
)
Expand description
Checks that player can Swap Weapons and updates Loadout
if so