From 727741b81ab6a52275e459f201cebb5bf4cbafd3 Mon Sep 17 00:00:00 2001 From: Garry Newman Date: Thu, 15 Feb 2018 13:36:01 +0000 Subject: [PATCH] Added SteamFriend.SendMessage --- Facepunch.Steamworks/Client/SteamFriend.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Facepunch.Steamworks/Client/SteamFriend.cs b/Facepunch.Steamworks/Client/SteamFriend.cs index 59457ec..91206dd 100644 --- a/Facepunch.Steamworks/Client/SteamFriend.cs +++ b/Facepunch.Steamworks/Client/SteamFriend.cs @@ -124,5 +124,13 @@ public bool InviteToGame(string Text) { return Client.native.friends.InviteUserToGame(Id, Text); } + + /// + /// Sends a message to a Steam friend. Returns true if success + /// + public bool SendMessage( string message ) + { + return Client.native.friends.ReplyToFriendMessage( Id, message ); + } } }