2024-10-30 07:30:20 +00:00
|
|
|
#ifndef MOVETOINVENTORYMESSAGE_H
|
|
|
|
#define MOVETOINVENTORYMESSAGE_H
|
2023-02-14 02:55:44 +00:00
|
|
|
|
|
|
|
#include "BehaviorMessageBase.h"
|
|
|
|
|
|
|
|
class AMFArrayValue;
|
|
|
|
|
2023-02-16 17:30:33 +00:00
|
|
|
/**
|
|
|
|
* @brief Sent when a player moves a Behavior A at position B to their inventory.
|
|
|
|
*/
|
2023-02-14 02:55:44 +00:00
|
|
|
#pragma warning("This Control Behavior Message does not have a test yet. Non-developers can ignore this warning.")
|
2023-02-16 17:30:33 +00:00
|
|
|
class MoveToInventoryMessage : public BehaviorMessageBase {
|
2023-02-14 02:55:44 +00:00
|
|
|
public:
|
2024-02-27 07:29:51 +00:00
|
|
|
MoveToInventoryMessage(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;
|
2023-02-14 02:55:44 +00:00
|
|
|
};
|
|
|
|
|
2024-10-30 07:30:20 +00:00
|
|
|
#endif //!MOVETOINVENTORYMESSAGE_H
|