2023-02-14 02:55:44 +00:00
|
|
|
#ifndef __ADDMESSAGE__H__
|
|
|
|
#define __ADDMESSAGE__H__
|
|
|
|
|
|
|
|
#include "BehaviorMessageBase.h"
|
|
|
|
|
2023-02-16 17:30:33 +00:00
|
|
|
/**
|
|
|
|
* @brief Sent when a player adds a Behavior A from their inventory to a model.
|
|
|
|
*
|
|
|
|
*/
|
2023-02-14 02:55:44 +00:00
|
|
|
class AddMessage : public BehaviorMessageBase {
|
|
|
|
public:
|
2024-02-27 07:29:51 +00:00
|
|
|
AddMessage(const AMFArrayValue& arguments);
|
2024-02-18 06:38:26 +00:00
|
|
|
[[nodiscard]] uint32_t GetBehaviorIndex() const noexcept { return m_BehaviorIndex; };
|
|
|
|
|
2023-02-14 02:55:44 +00:00
|
|
|
private:
|
2024-02-18 06:38:26 +00:00
|
|
|
uint32_t m_BehaviorIndex{ 0 };
|
2023-02-14 02:55:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif //!__ADDMESSAGE__H__
|