2017-12-25 23:49:48 +00:00
|
|
|
#ifndef MESSAGENODE_HPP_INCLUDED
|
|
|
|
#define MESSAGENODE_HPP_INCLUDED
|
|
|
|
|
|
|
|
#include "CacheableNode.hpp"
|
|
|
|
#include "../JavaClass/Class.hpp"
|
|
|
|
#include <cstdint>
|
|
|
|
#include <string>
|
2020-01-04 01:57:09 +00:00
|
|
|
#include "NamePair.hpp"
|
2017-12-25 23:49:48 +00:00
|
|
|
|
2018-03-18 14:38:29 +00:00
|
|
|
namespace Internal
|
2017-12-25 23:49:48 +00:00
|
|
|
{
|
2018-03-18 14:38:29 +00:00
|
|
|
class MessageNode : public CacheableNode
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
MessageNode(const void* Obj);
|
2018-12-27 18:17:09 +00:00
|
|
|
|
|
|
|
MessageNode() = default;
|
|
|
|
MessageNode(MessageNode&& Obj) = default;
|
|
|
|
MessageNode(const MessageNode& Obj) = default;
|
|
|
|
MessageNode& operator=(MessageNode&& Obj) = default;
|
|
|
|
MessageNode& operator=(const MessageNode& Obj) = default;
|
|
|
|
|
2018-03-18 14:38:29 +00:00
|
|
|
static Class GetClass();
|
2017-12-25 23:49:48 +00:00
|
|
|
|
2018-03-18 14:38:29 +00:00
|
|
|
std::int32_t GetID() const;
|
|
|
|
std::string GetName() const;
|
2020-01-04 01:57:09 +00:00
|
|
|
NamePair GetNamePair() const;
|
2018-03-18 14:38:29 +00:00
|
|
|
std::string GetSender() const;
|
|
|
|
std::string GetText() const;
|
|
|
|
std::int32_t GetTick() const;
|
|
|
|
std::int32_t GetType() const;
|
2017-12-25 23:49:48 +00:00
|
|
|
|
2018-03-18 14:38:29 +00:00
|
|
|
};
|
|
|
|
}
|
2017-12-25 23:49:48 +00:00
|
|
|
|
|
|
|
#endif // MESSAGENODE_HPP_INCLUDED
|