diff options
| author | Star Rauchenberger <fefferburbia@gmail.com> | 2024-12-17 15:40:19 -0500 |
|---|---|---|
| committer | Star Rauchenberger <fefferburbia@gmail.com> | 2024-12-17 15:40:19 -0500 |
| commit | ad7c3e616fdc6f13812ec52675d226a19351494a (patch) | |
| tree | 4cdd8b27c6df4e5f3475fe1b3f1815689b387fd7 /src/ipc_state.h | |
| parent | 5ea44a418ec5db446dd28daf5ed95f46fea504f8 (diff) | |
| download | lingo-ap-tracker-ad7c3e616fdc6f13812ec52675d226a19351494a.tar.gz lingo-ap-tracker-ad7c3e616fdc6f13812ec52675d226a19351494a.tar.bz2 lingo-ap-tracker-ad7c3e616fdc6f13812ec52675d226a19351494a.zip | |
Added getting player position from IPC
Diffstat (limited to 'src/ipc_state.h')
| -rw-r--r-- | src/ipc_state.h | 20 |
1 files changed, 20 insertions, 0 deletions
| 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 @@ | |||
| 1 | #ifndef IPC_STATE_H_6B3B0958 | ||
| 2 | #define IPC_STATE_H_6B3B0958 | ||
| 3 | |||
| 4 | #include <optional> | ||
| 5 | #include <string> | ||
| 6 | #include <tuple> | ||
| 7 | |||
| 8 | class TrackerFrame; | ||
| 9 | |||
| 10 | void IPC_Start(TrackerFrame* tracker_frame); | ||
| 11 | |||
| 12 | std::optional<std::string> IPC_GetStatusMessage(); | ||
| 13 | |||
| 14 | void IPC_SetTrackerSlot(std::string server, std::string user); | ||
| 15 | |||
| 16 | bool IPC_IsConnected(); | ||
| 17 | |||
| 18 | std::optional<std::tuple<int, int>> IPC_GetPlayerPosition(); | ||
| 19 | |||
| 20 | #endif /* end of include guard: IPC_STATE_H_6B3B0958 */ | ||
