Update for can send invitations.

I have add a simple function for enable send invitations to friends start from line 143.
This commit is contained in:
Lovatto 2018-02-09 00:21:25 -08:00 committed by GitHub
parent 09c4a4f63e
commit d015d00974
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -136,6 +136,14 @@ public Image GetAvatar( Friends.AvatarSize size )
{
return Client.Friends.GetCachedAvatar( size, Id );
}
/// <summary>
/// Invite this friend to the game that we are playing
/// </summary>
public bool InviteToGame(string Text)
{
return Client.native.friends.InviteUserToGame(Id, Text);
}
}
/// <summary>