R-Type
Distributed multiplayer game engine in C++
Loading...
Searching...
No Matches
ISession.hpp
Go to the documentation of this file.
1
/*
2
** EPITECH PROJECT, 2025
3
** Created by hugo on 06/12/2025
4
** File description:
5
** ISession.hpp
6
*/
7
8
#pragma once
9
10
#include <memory>
11
#include <string>
12
13
namespace
server
{
14
15
class
ISession
{
16
public
:
17
virtual
~ISession
() =
default
;
18
23
virtual
std::string
getId
()
const
= 0;
24
29
virtual
bool
isActive
()
const
= 0;
30
};
31
32
}
// namespace server
server::ISession
Definition
ISession.hpp:15
server::ISession::~ISession
virtual ~ISession()=default
server::ISession::getId
virtual std::string getId() const =0
Get the session ID.
server::ISession::isActive
virtual bool isActive() const =0
Check if session is active.
server
Definition
CommandContext.hpp:16
server
Sessions
Session
ISession.hpp
Generated by
1.9.8