This commit is contained in:
Jeff 2024-07-17 23:56:07 -04:00
parent 3e6aea5668
commit 9f0db64482

View File

@ -39,13 +39,6 @@ const TRADE_ACTION_DELAY: Duration = Duration::from_millis(300);
const ACCOUNCEMENT_DELAY: Duration = Duration::from_mins(45);
const OUCH_DELAY: Duration = Duration::from_secs(2);
/// TODO: Implement Display
#[derive(Debug)]
pub struct Reciept {
pub my_items: HashMap<String, u32>,
pub their_items: HashMap<String, u32>,
}
/// An active connection to the Veloren server that will attempt to run every time the `tick`
/// function is called.
///
@ -955,6 +948,12 @@ impl Bot {
}
}
#[derive(Debug)]
pub struct Reciept {
pub my_items: HashMap<String, u32>,
pub their_items: HashMap<String, u32>,
}
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
enum TradeMode {
AdminAccess,