Leviathan game engine
Leviathan::Received Class Reference

Entity is received from a server. More...

#include <Components.h>

+ Inheritance diagram for Leviathan::Received:

Public Member Functions

 Received ()
- Public Member Functions inherited from Leviathan::Component
 Component (COMPONENT_TYPE type)
 Component (const Component &)=delete
Componentoperator= (const Component &)=delete

Public Attributes

bool LocallyControlled = false
 If true this uses local control and will send updates to the server. More...
- Public Attributes inherited from Leviathan::Component
bool Marked
 Type of this component, used for network serialization. More...

Static Public Attributes

static constexpr auto TYPE = COMPONENT_TYPE::Received

Detailed Description

Entity is received from a server.

Sendable counterpart on the client

Definition at line 170 of file Components.h.

Constructor & Destructor Documentation

◆ Received()

Leviathan::Received::Received ( )

Definition at line 190 of file Components.h.

190  :
192  {}
Component(COMPONENT_TYPE type)
Definition: Component.h:54
static constexpr auto TYPE
Definition: Components.h:206

Member Function Documentation


Leviathan::Received::REFERENCE_HANDLE_UNCOUNTED_TYPE ( Received  )

Member Data Documentation

◆ LocallyControlled

bool Leviathan::Received::LocallyControlled = false

If true this uses local control and will send updates to the server.

Definition at line 204 of file Components.h.


constexpr auto Leviathan::Received::TYPE = COMPONENT_TYPE::Received

Definition at line 206 of file Components.h.

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