mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-25 15:07:28 +00:00
26 lines
407 B
C++
26 lines
407 B
C++
#ifndef __STATE__H__
|
|
#define __STATE__H__
|
|
|
|
#include "Strip.h"
|
|
|
|
namespace tinyxml2 {
|
|
class XMLElement;
|
|
}
|
|
|
|
class AMFArrayValue;
|
|
|
|
class State {
|
|
public:
|
|
template <typename Msg>
|
|
void HandleMsg(Msg& msg);
|
|
|
|
void SendBehaviorBlocksToClient(AMFArrayValue& args) const;
|
|
bool IsEmpty() const;
|
|
|
|
void Serialize(tinyxml2::XMLElement& state) const;
|
|
private:
|
|
std::vector<Strip> m_Strips;
|
|
};
|
|
|
|
#endif //!__STATE__H__
|