SimpleAI
 All Classes Namespaces Files Functions Variables Typedefs Macros Groups Pages
Public Member Functions | List of all members
ai::AIPauseMessage Class Reference

Message for the remote debugging interface. More...

#include <AIPauseMessage.h>

Inheritance diagram for ai::AIPauseMessage:
[legend]
Collaboration diagram for ai::AIPauseMessage:
[legend]

Public Member Functions

 AIPauseMessage (bool pause)
 
 AIPauseMessage (streamContainer &in)
 
void serialize (streamContainer &out) const override
 
bool isPause () const
 
- Public Member Functions inherited from ai::IProtocolMessage
 IProtocolMessage (const ProtocolId &id)
 
const ProtocolId & getId () const
 

Additional Inherited Members

- Static Public Member Functions inherited from ai::IProtocolMessage
static void addByte (streamContainer &out, uint8_t byte)
 
static void addBool (streamContainer &out, bool value)
 
static void addShort (streamContainer &out, int16_t word)
 
static void addInt (streamContainer &out, int32_t dword)
 
static void addLong (streamContainer &out, int64_t dword)
 
static void addFloat (streamContainer &out, float value)
 
static void addString (streamContainer &out, const std::string &string)
 
static bool readBool (streamContainer &in)
 
static uint8_t readByte (streamContainer &in)
 
static int16_t readShort (streamContainer &in)
 
static int32_t peekInt (const streamContainer &in)
 
static int32_t readInt (streamContainer &in)
 
static int64_t readLong (streamContainer &in)
 
static float readFloat (streamContainer &in)
 
static std::string readString (streamContainer &in)
 
- Protected Attributes inherited from ai::IProtocolMessage
const ProtocolId _id
 

Detailed Description

Message for the remote debugging interface.

If this is received on the server side, it will pause the execution of the behaviour tree for all ai controlled entities. You can then step the execution of all those entities by sending a AIStepMessage

The server is sending the back to the clients so they know whether it worked or not.


The documentation for this class was generated from the following file: