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

#include <AddedComponentMessage.h>

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

Public Member Functions

 AddedComponentMessage ()=default
 AddedComponentMessage (const AddedComponentMessage &other)=default
 AddedComponentMessage (AddedComponentMessage &&other) noexcept=default
auto operator= (const AddedComponentMessage &other) -> AddedComponentMessage &=default
auto operator= (AddedComponentMessage &&other) noexcept -> AddedComponentMessage &=default
 ~AddedComponentMessage () override=default
auto clone () const -> std::unique_ptr< Message > override
auto load (const Stream &stream) -> void override
auto save (Stream &stream) const -> void override
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.

Public Attributes

ComponentnewComponent

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ AddedComponentMessage() [1/3]

AddedComponentMessage::AddedComponentMessage ( )
default
Here is the caller graph for this function:

◆ AddedComponentMessage() [2/3]

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

◆ AddedComponentMessage() [3/3]

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

◆ ~AddedComponentMessage()

AddedComponentMessage::~AddedComponentMessage ( )
overridedefault

Member Function Documentation

◆ clone()

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

Reimplemented from Message.

Here is the call graph for this function:

◆ load()

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

Reimplemented from Message.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ save()

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

Reimplemented from Message.

Member Data Documentation

◆ newComponent

Component* AddedComponentMessage::newComponent

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