smash unsmash and wait working

This commit is contained in:
David Markowitz
2025-03-31 22:00:53 -07:00
parent 0278123a0c
commit 5d061c0274
4 changed files with 62 additions and 6 deletions

View File

@@ -801,6 +801,26 @@ namespace GameMessages {
// Used only for multi-interaction, is of the enum type InteractionType
int multiInteractType{};
};
struct Smash : public GameMsg {
Smash() : GameMsg(MessageType::Game::SMASH) {}
void Serialize(RakNet::BitStream& stream) const;
bool bIgnoreObjectVisibility{};
bool force{};
float ghostCapacity{};
LWOOBJID killerID{};
};
struct UnSmash : public GameMsg {
UnSmash() : GameMsg(MessageType::Game::UN_SMASH) {}
void Serialize(RakNet::BitStream& stream) const;
LWOOBJID builderID{ LWOOBJID_EMPTY };
float duration{ 3.0f };
};
};
#endif // GAMEMESSAGES_H