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-27 07:29:51 +00:00
|
|
|
RenameMessage(const AMFArrayValue& arguments);
|
2024-11-19 02:45:24 +00:00
|
|
|
[[nodiscard]] std::string_view GetName() const { return m_Name; };
|
2024-02-18 06:38:26 +00:00
|
|
|
|
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__
|