|
@ -1033,6 +1033,7 @@ pub enum GameMessage { |
|
|
PlayerTechDone(PlayerTechDone),
|
|
|
PlayerTechDone(PlayerTechDone),
|
|
|
PlayerPBUsed(PlayerPBUsed),
|
|
|
PlayerPBUsed(PlayerPBUsed),
|
|
|
PlayerDonatedPB(PlayerDonatedPB),
|
|
|
PlayerDonatedPB(PlayerDonatedPB),
|
|
|
|
|
|
PlayerPBReady(PlayerPBReady),
|
|
|
PlayerBlockedDamage(PlayerBlockedDamage),
|
|
|
PlayerBlockedDamage(PlayerBlockedDamage),
|
|
|
PlayerReceivedDamage(PlayerReceivedDamage),
|
|
|
PlayerReceivedDamage(PlayerReceivedDamage),
|
|
|
PlayerReceivedDamage2(PlayerReceivedDamage2),
|
|
|
PlayerReceivedDamage2(PlayerReceivedDamage2),
|
|
@ -1199,6 +1200,7 @@ impl PSOPacketData for GameMessage { |
|
|
PlayerTechDone::CMD => Ok(GameMessage::PlayerTechDone(PlayerTechDone::from_bytes(&mut cur)?)),
|
|
|
PlayerTechDone::CMD => Ok(GameMessage::PlayerTechDone(PlayerTechDone::from_bytes(&mut cur)?)),
|
|
|
PlayerPBUsed::CMD => Ok(GameMessage::PlayerPBUsed(PlayerPBUsed::from_bytes(&mut cur)?)),
|
|
|
PlayerPBUsed::CMD => Ok(GameMessage::PlayerPBUsed(PlayerPBUsed::from_bytes(&mut cur)?)),
|
|
|
PlayerDonatedPB::CMD => Ok(GameMessage::PlayerDonatedPB(PlayerDonatedPB::from_bytes(&mut cur)?)),
|
|
|
PlayerDonatedPB::CMD => Ok(GameMessage::PlayerDonatedPB(PlayerDonatedPB::from_bytes(&mut cur)?)),
|
|
|
|
|
|
PlayerPBReady::CMD => Ok(GameMessage::PlayerPBReady(PlayerPBReady::from_bytes(&mut cur)?)),
|
|
|
PlayerBlockedDamage::CMD => Ok(GameMessage::PlayerBlockedDamage(PlayerBlockedDamage::from_bytes(&mut cur)?)),
|
|
|
PlayerBlockedDamage::CMD => Ok(GameMessage::PlayerBlockedDamage(PlayerBlockedDamage::from_bytes(&mut cur)?)),
|
|
|
PlayerReceivedDamage::CMD => Ok(GameMessage::PlayerReceivedDamage(PlayerReceivedDamage::from_bytes(&mut cur)?)),
|
|
|
PlayerReceivedDamage::CMD => Ok(GameMessage::PlayerReceivedDamage(PlayerReceivedDamage::from_bytes(&mut cur)?)),
|
|
|
PlayerReceivedDamage2::CMD => Ok(GameMessage::PlayerReceivedDamage2(PlayerReceivedDamage2::from_bytes(&mut cur)?)),
|
|
|
PlayerReceivedDamage2::CMD => Ok(GameMessage::PlayerReceivedDamage2(PlayerReceivedDamage2::from_bytes(&mut cur)?)),
|
|
@ -1367,6 +1369,7 @@ impl PSOPacketData for GameMessage { |
|
|
GameMessage::PlayerTechDone(data) => data.as_bytes(),
|
|
|
GameMessage::PlayerTechDone(data) => data.as_bytes(),
|
|
|
GameMessage::PlayerPBUsed(data) => data.as_bytes(),
|
|
|
GameMessage::PlayerPBUsed(data) => data.as_bytes(),
|
|
|
GameMessage::PlayerDonatedPB(data) => data.as_bytes(),
|
|
|
GameMessage::PlayerDonatedPB(data) => data.as_bytes(),
|
|
|
|
|
|
GameMessage::PlayerPBReady(data) => data.as_bytes(),
|
|
|
GameMessage::PlayerBlockedDamage(data) => data.as_bytes(),
|
|
|
GameMessage::PlayerBlockedDamage(data) => data.as_bytes(),
|
|
|
GameMessage::PlayerReceivedDamage(data) => data.as_bytes(),
|
|
|
GameMessage::PlayerReceivedDamage(data) => data.as_bytes(),
|
|
|
GameMessage::PlayerReceivedDamage2(data) => data.as_bytes(),
|
|
|
GameMessage::PlayerReceivedDamage2(data) => data.as_bytes(),
|
|
|