use bevy::prelude::*;
use serde::{Deserialize, Serialize};

#[derive(Clone, Event, Serialize, Deserialize, PartialEq)]
pub struct ClientHeadChanged(pub u64);

#[derive(Event, Clone, Debug, Serialize, Deserialize)]
pub enum PlaySound {
    Hit,
    KeyCollect,
    Gun,
    Throw,
    ThrowHit,
    Gate,
    CashCollect,
    HeadCollect,
    SecretHeadCollect,
    HeadDrop,
    Selection,
    Invalid,
    MissileExplosion,
    Reloaded,
    CashHeal,
    Crossbow,
    Beaming,
    Backpack { open: bool },
    Head(String),
}

#[derive(Clone, Event, Serialize, Deserialize)]
pub struct ClientEnteredPlaying;
