chunkedge_protocol/packets/play/reset_score_s2c.rs
1use chunkedge_binary::{Decode, Encode};
2
3use crate::Packet;
4
5#[derive(Copy, Clone, Debug, Encode, Decode, Packet)]
6pub struct ResetScoreS2c<'a> {
7 //The entity whose score this is. For players, this is their username; for other entities, it
8 // is their UUID.
9 pub entity_name: &'a str,
10 pub objective_name: Option<&'a str>,
11}