Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/game/StarClientContext.cpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2024-04-22 06:07:59 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2024-04-22 06:07:59 +1000
commitca1426eabc873f781eb0dd389d45634b7d183250 (patch)
tree15ea83658ca3824232f14fe4b32ec714e0aa05c6 /source/game/StarClientContext.cpp
parentd5f5fb5ddf0d4a9f0b0e6ac012121926d2fcd949 (diff)
Lua chat callbacks + better font styling
golly gee whiz!! i hope i didn't fuck something up
Diffstat (limited to 'source/game/StarClientContext.cpp')
-rw-r--r--source/game/StarClientContext.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/game/StarClientContext.cpp b/source/game/StarClientContext.cpp
index e6fd89a..a91c40e 100644
--- a/source/game/StarClientContext.cpp
+++ b/source/game/StarClientContext.cpp
@@ -96,4 +96,12 @@ ByteArray ClientContext::writeUpdate() {
return m_rpc->send();
}
+void ClientContext::setConnectionId(ConnectionId connectionId) {
+ m_connectionId = connectionId;
+}
+
+ConnectionId ClientContext::connectionId() const {
+ return m_connectionId;
+}
+
}