From ad7c3e616fdc6f13812ec52675d226a19351494a Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Tue, 17 Dec 2024 15:40:19 -0500 Subject: Added getting player position from IPC --- src/ipc_state.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/ipc_state.h (limited to 'src/ipc_state.h') diff --git a/src/ipc_state.h b/src/ipc_state.h new file mode 100644 index 0000000..be71673 --- /dev/null +++ b/src/ipc_state.h @@ -0,0 +1,20 @@ +#ifndef IPC_STATE_H_6B3B0958 +#define IPC_STATE_H_6B3B0958 + +#include +#include +#include + +class TrackerFrame; + +void IPC_Start(TrackerFrame* tracker_frame); + +std::optional IPC_GetStatusMessage(); + +void IPC_SetTrackerSlot(std::string server, std::string user); + +bool IPC_IsConnected(); + +std::optional> IPC_GetPlayerPosition(); + +#endif /* end of include guard: IPC_STATE_H_6B3B0958 */ -- cgit 1.4.1