Property Behavior deserialize definitions (#812)

* Implement basic functionality

Implements the basic functionality and parsing of property behaviors.

Unhandled messages and logged and discarded for the time being.  The only implemented message is a basic one that sends the needed info the the client side User Interface to pop up.
This commit is contained in:
David Markowitz
2022-11-27 01:24:35 -08:00
committed by GitHub
parent af28d170fb
commit e40a597f18
4 changed files with 583 additions and 49 deletions

View File

@@ -9,6 +9,7 @@
class Entity;
class AMFArrayValue;
class ModelComponent;
namespace ControlBehaviors {
/**
@@ -21,15 +22,6 @@ namespace ControlBehaviors {
* @param modelOwner The owner of the model which sent this command
*/
void ProcessCommand(Entity* modelEntity, const SystemAddress& sysAddr, AMFArrayValue* arguments, std::string command, Entity* modelOwner);
/**
* @brief Helper function to send the behavior list to the client
*
* @param modelEntity The model that sent this command
* @param sysAddr The SystemAddress to respond to
* @param modelOwner The owner of the model which sent this command
*/
void SendBehaviorListToClient(Entity* modelEntity, const SystemAddress& sysAddr, Entity* modelOwner);
};
#endif //!__CONTROLBEHAVIORS__H__