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
13namespace 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
virtual ~ISession()=default
virtual std::string getId() const =0
Get the session ID.
virtual bool isActive() const =0
Check if session is active.