Updated event codes

This commit is contained in:
Wiktor Mazur
2020-05-06 20:52:03 +02:00
parent 6dca4458ec
commit 9d877ab9dc
2 changed files with 45 additions and 45 deletions
+18 -18
View File
@@ -560,25 +560,25 @@ pub fn into_game_message(photon_message: photon_decode::Message) -> Option<Messa
match parameters.get(&252u8) {
Some(photon_decode::Value::Short(1)) => Leave::parse(parameters),
Some(photon_decode::Value::Short(6)) => HealthUpdate::parse(parameters),
Some(photon_decode::Value::Short(80)) => RegenerationHealthChanged::parse(parameters),
Some(photon_decode::Value::Short(150)) => KnockedDown::parse(parameters),
Some(photon_decode::Value::Short(24)) => NewCharacter::parse(parameters),
Some(photon_decode::Value::Short(81)) => RegenerationHealthChanged::parse(parameters),
Some(photon_decode::Value::Short(154)) => KnockedDown::parse(parameters),
Some(photon_decode::Value::Short(25)) => NewCharacter::parse(parameters),
Some(photon_decode::Value::Short(72)) => UpdateFame::parse(parameters),
Some(photon_decode::Value::Short(79)) => CharacterEquipmentChanged::parse(parameters),
Some(photon_decode::Value::Short(210)) => PartyInvitation::parse(parameters),
Some(photon_decode::Value::Short(211)) => PartyJoined::parse(parameters),
Some(photon_decode::Value::Short(212)) => PartyDisbanded::parse(parameters),
Some(photon_decode::Value::Short(213)) => PartyPlayerJoined::parse(parameters),
Some(photon_decode::Value::Short(214)) => PartyChangedOrder::parse(parameters),
Some(photon_decode::Value::Short(215)) => PartyPlayerLeft::parse(parameters),
Some(photon_decode::Value::Short(216)) => PartyLeaderChanged::parse(parameters),
Some(photon_decode::Value::Short(217)) => PartyLootSettingChangedPlayer::parse(parameters),
Some(photon_decode::Value::Short(218)) => PartySilverGained::parse(parameters),
Some(photon_decode::Value::Short(219)) => PartyPlayerUpdated::parse(parameters),
Some(photon_decode::Value::Short(220)) => PartyInvitationPlayerBusy::parse(parameters),
Some(photon_decode::Value::Short(221)) => PartyMarkedObjectsUpdated::parse(parameters),
Some(photon_decode::Value::Short(222)) => PartyOnClusterPartyJoined::parse(parameters),
Some(photon_decode::Value::Short(223)) => PartySetRoleFlag::parse(parameters),
Some(photon_decode::Value::Short(80)) => CharacterEquipmentChanged::parse(parameters),
Some(photon_decode::Value::Short(212)) => PartyInvitation::parse(parameters),
Some(photon_decode::Value::Short(213)) => PartyJoined::parse(parameters),
Some(photon_decode::Value::Short(214)) => PartyDisbanded::parse(parameters),
Some(photon_decode::Value::Short(215)) => PartyPlayerJoined::parse(parameters),
Some(photon_decode::Value::Short(216)) => PartyChangedOrder::parse(parameters),
Some(photon_decode::Value::Short(217)) => PartyPlayerLeft::parse(parameters),
Some(photon_decode::Value::Short(218)) => PartyLeaderChanged::parse(parameters),
Some(photon_decode::Value::Short(219)) => PartyLootSettingChangedPlayer::parse(parameters),
Some(photon_decode::Value::Short(220)) => PartySilverGained::parse(parameters),
Some(photon_decode::Value::Short(221)) => PartyPlayerUpdated::parse(parameters),
Some(photon_decode::Value::Short(222)) => PartyInvitationPlayerBusy::parse(parameters),
Some(photon_decode::Value::Short(223)) => PartyMarkedObjectsUpdated::parse(parameters),
Some(photon_decode::Value::Short(224)) => PartyOnClusterPartyJoined::parse(parameters),
Some(photon_decode::Value::Short(225)) => PartySetRoleFlag::parse(parameters),
_ => None
}