group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
ClientId.hpp File Reference

Network client identifier component for multiplayer entities. More...

#include <functional>
Include dependency graph for ClientId.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ClientId
 Associates an entity with a connected network client. More...
struct  std::hash< ClientId >
 Hash function for ClientId, allowing it to be used as a key in unordered containers. More...

Functions

bool operator== (const ClientId &a, const ClientId &b) noexcept
 Equality operator for ClientId, compares the underlying value.

Detailed Description

Network client identifier component for multiplayer entities.

Function Documentation

◆ operator==()

bool operator== ( const ClientId & a,
const ClientId & b )
inlinenoexcept

Equality operator for ClientId, compares the underlying value.