diff options
author | Emma Miler <27428383+emma-miler@users.noreply.github.com> | 2022-03-27 00:45:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-27 00:45:23 +0100 |
commit | 3e7186801d70e50a9135b897ef572076fe442cf4 (patch) | |
tree | 80e535d881b8e90a5c4e3b2c2b8ac733ba163c84 /Northstar.Client/mod/scripts/vscripts/chat.gnut | |
parent | bd102d798a0b9db2dcbd6bd4045fb84c53fc031a (diff) | |
download | NorthstarMods-3e7186801d70e50a9135b897ef572076fe442cf4.tar.gz NorthstarMods-3e7186801d70e50a9135b897ef572076fe442cf4.zip |
Add mod code for updating state for discord RPC (#274)v1.6.0-rc3
Diffstat (limited to 'Northstar.Client/mod/scripts/vscripts/chat.gnut')
-rw-r--r-- | Northstar.Client/mod/scripts/vscripts/chat.gnut | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/Northstar.Client/mod/scripts/vscripts/chat.gnut b/Northstar.Client/mod/scripts/vscripts/chat.gnut index ce26434c..f5988bb7 100644 --- a/Northstar.Client/mod/scripts/vscripts/chat.gnut +++ b/Northstar.Client/mod/scripts/vscripts/chat.gnut @@ -1,18 +1,22 @@ untyped globalize_all_functions -void function Chat_NetworkWriteLine(string text) { +void function Chat_NetworkWriteLine(string text) +{ NSChatWriteLine(0, text) } -void function Chat_GameWriteLine(string text) { +void function Chat_GameWriteLine(string text) +{ NSChatWriteLine(1, text) } -void function Chat_NetworkWrite(string text) { +void function Chat_NetworkWrite(string text) +{ NSChatWrite(0, text) } -void function Chat_GameWrite(string text) { +void function Chat_GameWrite(string text) +{ NSChatWrite(1, text) } |