diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2022-04-15 16:08:16 +0100 |
---|---|---|
committer | GeckoEidechse <gecko.eidechse+git@pm.me> | 2022-04-19 23:07:48 +0200 |
commit | 6e8f81a9a9127654112c5b1cec227c764b4ca8fd (patch) | |
tree | c4df30c6b67fa292d946e35316c436afe73b3926 /Northstar.Client/mod/scripts/vscripts/client | |
parent | ffdf44de4aed8e34cdc1d749193271ac80facaf3 (diff) | |
download | NorthstarMods-6e8f81a9a9127654112c5b1cec227c764b4ca8fd.tar.gz NorthstarMods-6e8f81a9a9127654112c5b1cec227c764b4ca8fd.zip |
cleanup file structure and code for presence and chat (#292)
* refactor presence and chat
* improve spacing in cl_chat
Diffstat (limited to 'Northstar.Client/mod/scripts/vscripts/client')
-rw-r--r-- | Northstar.Client/mod/scripts/vscripts/client/cl_chat.gnut | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Northstar.Client/mod/scripts/vscripts/client/cl_chat.gnut b/Northstar.Client/mod/scripts/vscripts/client/cl_chat.gnut new file mode 100644 index 00000000..3a43f312 --- /dev/null +++ b/Northstar.Client/mod/scripts/vscripts/client/cl_chat.gnut @@ -0,0 +1,22 @@ +untyped +globalize_all_functions + +void function Chat_NetworkWriteLine( string text ) +{ + NSChatWriteLine( 0, text) +} + +void function Chat_GameWriteLine( string text ) +{ + NSChatWriteLine( 1, text) +} + +void function Chat_NetworkWrite( string text ) +{ + NSChatWrite( 0, text) +} + +void function Chat_GameWrite( string text ) +{ + NSChatWrite( 1, text ) +} |