Function veloren_server::sys::agent::behavior_tree::interaction::handle_inbox_cancel_interactions
source · pub fn handle_inbox_cancel_interactions(
bdata: &mut BehaviorData<'_, '_, '_>,
) -> bool
Expand description
Deny any received interaction:
AgentEvent::Talk
andAgentEvent::TradeAccepted
are cut short by an “I’m busy” messageAgentEvent::TradeInvite
are deniedAgentEvent::FinishedTrade
are still handledAgentEvent::UpdatePendingTrade
will immediately close the trade