DarkflameServer/dGame/dPropertyBehaviors/ControlBehaviorMessages/RenameMessage.h
David Markowitz d138b7b878
Make ControlBehavior messages far more modular (#991)
* Make case consistent

* How modular can you go?

Holy modular

* Add comments

* Initialize values
2023-02-16 11:30:33 -06:00

21 lines
391 B
C++

#ifndef __RENAMEMESSAGE__H__
#define __RENAMEMESSAGE__H__
#include "BehaviorMessageBase.h"
class AMFArrayValue;
/**
* @brief Sent when a player renames this behavior
*
*/
class RenameMessage : public BehaviorMessageBase {
public:
RenameMessage(AMFArrayValue* arguments);
const std::string& GetName() { return name; };
private:
std::string name;
};
#endif //!__RENAMEMESSAGE__H__