2023-02-14 02:55:44 +00:00
|
|
|
#ifndef __MOVETOINVENTORYMESSAGE__H__
|
|
|
|
#define __MOVETOINVENTORYMESSAGE__H__
|
|
|
|
|
|
|
|
#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
|
|
|
};
|
|
|
|
|
|
|
|
#endif //!__MOVETOINVENTORYMESSAGE__H__
|