RunicVTT Open Source Virtual Tabletop for TTRPG using P2P
Loading...
Searching...
No Matches
NoteSyncSystem.h
Go to the documentation of this file.
1//#pragma once
2//#include "flecs.h"
3//#include "Components.h"
4//#include <string>
5//
6//class NoteSyncSystem
7//{
8//public:
9// NoteSyncSystem(flecs::world& world);
10//
11// void broadcastNote(const NoteComponent& note);
12// void receiveNoteJson(const std::string& jsonStr, const std::string& sender);
13//
14// //static nlohmann::json noteToJson(const NoteComponent& note);
15// //static NoteComponent jsonToNote(const nlohmann::json& j);
16//
17//private:
18// flecs::world& m_world;
19//};