mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2025-12-06 04:04:53 +01:00
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:
parent
03d02b497b
commit
d3ded5842d
2 changed files with 93 additions and 46 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue