DarkflameServer/dGame/dPropertyBehaviors/ControlBehaviorMessages/AddMessage.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

19 lines
403 B
C++

#ifndef __ADDMESSAGE__H__
#define __ADDMESSAGE__H__
#include "BehaviorMessageBase.h"
/**
* @brief Sent when a player adds a Behavior A from their inventory to a model.
*
*/
class AddMessage : public BehaviorMessageBase {
public:
AddMessage(AMFArrayValue* arguments);
const uint32_t GetBehaviorIndex() { return behaviorIndex; };
private:
uint32_t behaviorIndex;
};
#endif //!__ADDMESSAGE__H__