Brunot
Loading...
Searching...
No Matches
LuaMessage Struct Reference

#include <LuaMessage.h>

Inheritance diagram for LuaMessage:
[legend]
Collaboration diagram for LuaMessage:
[legend]

Public Member Functions

 LuaMessage ()
 LuaMessage (const LuaMessage &other)=default
 LuaMessage (LuaMessage &&other) noexcept=default
auto operator= (const LuaMessage &other) -> LuaMessage &=default
auto operator= (LuaMessage &&other) noexcept -> LuaMessage &=default
 ~LuaMessage () override=default
auto clone () const -> std::unique_ptr< Message > override
auto load (const Stream &stream) -> void override
auto save (Stream &stream) const -> void override
auto getTable () const -> const sol::table &
Public Member Functions inherited from Message
 Message ()=default
 Message (const Message &other)=default
 Message (Message &&other) noexcept=default
auto operator= (const Message &other) -> Message &=default
auto operator= (Message &&other) noexcept -> Message &=default
virtual ~Message ()=default
template<typename T>
auto convertTo () const -> const T *
 A function that converts messages to the specific type so you don't need to call static_cast yourself
Mainly exists for cleaner code.

Static Public Member Functions

static auto bindLuaTypes (sol::state &lua) -> void
Static Public Member Functions inherited from Message
static auto bindLuaTypes (sol::state &lua) -> void

Private Attributes

sol::table table

Constructor & Destructor Documentation

◆ LuaMessage() [1/3]

LuaMessage::LuaMessage ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ LuaMessage() [2/3]

LuaMessage::LuaMessage ( const LuaMessage & other)
default
Here is the call graph for this function:

◆ LuaMessage() [3/3]

LuaMessage::LuaMessage ( LuaMessage && other)
defaultnoexcept
Here is the call graph for this function:

◆ ~LuaMessage()

LuaMessage::~LuaMessage ( )
overridedefault

Member Function Documentation

◆ bindLuaTypes()

auto LuaMessage::bindLuaTypes ( sol::state & lua) ->void
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ clone()

auto LuaMessage::clone ( ) const->std::unique_ptr< Message >
inlineoverridevirtual

Reimplemented from Message.

Here is the call graph for this function:

◆ getTable()

auto LuaMessage::getTable ( ) const->constsol::table &
Here is the caller graph for this function:

◆ load()

auto LuaMessage::load ( const Stream & stream) ->void
inlineoverridevirtual

Reimplemented from Message.

◆ operator=() [1/2]

auto LuaMessage::operator= ( const LuaMessage & other) ->LuaMessage &=default
default
Here is the call graph for this function:

◆ operator=() [2/2]

auto LuaMessage::operator= ( LuaMessage && other) ->LuaMessage &=default
defaultnoexcept
Here is the call graph for this function:

◆ save()

auto LuaMessage::save ( Stream & stream) const->void
inlineoverridevirtual

Reimplemented from Message.

Member Data Documentation

◆ table

sol::table LuaMessage::table
private

The documentation for this struct was generated from the following files:
  • /home/egrazil/sites/Brunot/The House/source/Utility/Messages/LuaMessage.h
  • /home/egrazil/sites/Brunot/The House/source/Utility/Messages/LuaMessage.cpp