summaryrefslogtreecommitdiff
path: root/src/KingSystem/System
diff options
context:
space:
mode:
authorThePixelGamer <keefjacob@gmail.com>2021-09-06 11:28:58 -0500
committerThePixelGamer <keefjacob@gmail.com>2021-09-06 11:28:58 -0500
commit766c454215e744414fe76c90c19e71a9a0b13e33 (patch)
tree19d9f4461b1e86dec382fb2a5b9a2a4f0d2c178d /src/KingSystem/System
parentc7d58ae78bc35a8f68e03fdac6e9473ed1a6c27e (diff)
Implement MessageCapture
Diffstat (limited to 'src/KingSystem/System')
-rw-r--r--src/KingSystem/System/CMakeLists.txt2
-rw-r--r--src/KingSystem/System/MessageCapture.cpp7
-rw-r--r--src/KingSystem/System/MessageCapture.h15
3 files changed, 24 insertions, 0 deletions
diff --git a/src/KingSystem/System/CMakeLists.txt b/src/KingSystem/System/CMakeLists.txt
index 0eae3977..a0d1eb08 100644
--- a/src/KingSystem/System/CMakeLists.txt
+++ b/src/KingSystem/System/CMakeLists.txt
@@ -18,6 +18,8 @@ target_sources(uking PRIVATE
KingEditor.h
MemoryProfiler.cpp
MemoryProfiler.h
+ MessageCapture.cpp
+ MessageCapture.h
OcclusionQueryCylinder.cpp
OcclusionQueryCylinder.h
OverlayArena.cpp
diff --git a/src/KingSystem/System/MessageCapture.cpp b/src/KingSystem/System/MessageCapture.cpp
new file mode 100644
index 00000000..3fd597c6
--- /dev/null
+++ b/src/KingSystem/System/MessageCapture.cpp
@@ -0,0 +1,7 @@
+#include "KingSystem/System/MessageCapture.h"
+
+namespace ksys {
+
+SEAD_SINGLETON_DISPOSER_IMPL(MessageCapture)
+
+} // namespace ksys
diff --git a/src/KingSystem/System/MessageCapture.h b/src/KingSystem/System/MessageCapture.h
new file mode 100644
index 00000000..d0e1da51
--- /dev/null
+++ b/src/KingSystem/System/MessageCapture.h
@@ -0,0 +1,15 @@
+#pragma once
+
+#include <heap/seadDisposer.h>
+#include "KingSystem/Utils/Types.h"
+
+namespace ksys {
+
+class MessageCapture {
+ SEAD_SINGLETON_DISPOSER(MessageCapture)
+ MessageCapture() = default;
+ virtual ~MessageCapture() = default;
+};
+KSYS_CHECK_SIZE_NX150(MessageCapture, 0x28);
+
+} // namespace ksys