Added invite/join checks

Don't show "Invite" button if current user doesn't have a lobby.
Don't show "Join" button if friend doesn't have a lobby.
Added a button to open chat with a right click.
Close the popup when you click a button.
This commit is contained in:
Nemirtingas 2019-08-06 13:46:43 +02:00
parent 03d02b497b
commit d3ded5842d
2 changed files with 93 additions and 46 deletions

View file

@ -80,6 +80,9 @@ class Steam_Overlay
void Callback(Common_Message* msg);
void RunCallbacks();
bool FriendHasLobby(uint64 friend_id);
bool IHaveLobby();
// Right click on friend
void BuildContextMenu(Friend const& frd, friend_window_state &state);
// Double click on friend