ed_journals/modules/logs/content/log_event_content/
pvp_kill_event.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Fired when the player kills another player in combat.

use serde::{Deserialize, Serialize};

use crate::modules::commander::CombatRank;

/// Fired when the player kills another player in combat.
#[derive(Debug, Serialize, Deserialize, Clone, PartialEq)]
#[serde(rename_all = "PascalCase")]
pub struct PVPKillEvent {
    /// The combat rank of the killed player.
    pub combat_rank: CombatRank,

    /// The name of the killed player.
    pub victim: String,
}