Leviathan  0.8.0.0
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 ()
 
 REFERENCE_HANDLE_UNCOUNTED_TYPE (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
 
const COMPONENT_TYPE Type
 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 167 of file Components.h.

Constructor & Destructor Documentation

◆ Received()

Leviathan::Received::Received ( )
inline

Definition at line 187 of file Components.h.

187  :
188  Component(TYPE) //, ClientStateBuffer(BASESENDABLE_STORED_RECEIVED_STATES)
189  {}
Component(COMPONENT_TYPE type)
Definition: Component.h:54
static constexpr auto TYPE
Definition: Components.h:203

Member Function Documentation

◆ REFERENCE_HANDLE_UNCOUNTED_TYPE()

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 201 of file Components.h.

◆ TYPE

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

Definition at line 203 of file Components.h.


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