2023-02-14 02:55:44 +00:00
|
|
|
#ifndef __RENAMEMESSAGE__H__
|
|
|
|
#define __RENAMEMESSAGE__H__
|
|
|
|
|
|
|
|
#include "BehaviorMessageBase.h"
|
|
|
|
|
|
|
|
class AMFArrayValue;
|
|
|
|
|
2023-02-16 17:30:33 +00:00
|
|
|
/**
|
|
|
|
* @brief Sent when a player renames this behavior
|
|
|
|
*/
|
2023-02-14 02:55:44 +00:00
|
|
|
class RenameMessage : public BehaviorMessageBase {
|
|
|
|
public:
|
2024-02-18 06:38:26 +00:00
|
|
|
RenameMessage(const AMFArrayValue* arguments);
|
|
|
|
[[nodiscard]] const std::string& GetName() const { return m_Name; };
|
|
|
|
|
2023-02-14 02:55:44 +00:00
|
|
|
private:
|
2024-02-18 06:38:26 +00:00
|
|
|
std::string m_Name;
|
2023-02-14 02:55:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif //!__RENAMEMESSAGE__H__
|