RavEngine
Loading...
Searching...
No Matches
RavEngine::NetworkIdentity Struct Reference
Inheritance diagram for RavEngine::NetworkIdentity:
[legend]
Collaboration diagram for RavEngine::NetworkIdentity:
[legend]

Public Member Functions

 NetworkIdentity (Entity owner, ctti_t ent_type_id)
 
 NetworkIdentity (Entity owner, const uuids::uuid &id)
 
 MOVE_NO_COPY (NetworkIdentity)
 
const decltype(NetworkID) & GetNetworkID () const
 
decltype(NetTypeID) GetNetTypeID () const
 
bool IsOwner () const
 
- Public Member Functions inherited from RavEngine::ComponentWithOwner
 ComponentWithOwner (const decltype(owner) o)
 
Entity GetOwner () const
 

Public Attributes

HSteamNetConnection Owner = k_HSteamNetConnection_Invalid
 
- Public Attributes inherited from RavEngine::Queryable< NetworkIdentity >
constexpr q_qt_def
 

Additional Inherited Members

- Public Types inherited from RavEngine::Queryable< NetworkIdentity >
typedef std::array< ctti_t, ntypes > arraytype
 
- Static Public Member Functions inherited from RavEngine::Queryable< NetworkIdentity >
static constexpr const arraytype & GetQueryTypes ()
 
- Static Public Attributes inherited from RavEngine::Queryable< NetworkIdentity >
static constexpr std::size_t ntypes
 
- Protected Attributes inherited from RavEngine::ComponentWithOwner
Entity owner
 

Member Function Documentation

◆ IsOwner()

bool NetworkIdentity::IsOwner ( ) const

On the server: invalid = the server has ownership <any number> = the machine on the specified connection has ownership

On the client: invalid = this machine does not have ownership <any number> = this machine has ownership


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