mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2025-12-06 04:04:53 +01:00
Only allow people to join lobbies with the overlay if they have been invited first.
This commit is contained in:
parent
245d379720
commit
b4205535fb
2 changed files with 31 additions and 45 deletions
|
|
@ -32,7 +32,7 @@ struct friend_window_state
|
|||
std::string chat_history;
|
||||
char chat_input[max_chat_len];
|
||||
|
||||
bool has_lobby;
|
||||
bool joinable;
|
||||
};
|
||||
|
||||
struct Friend_Less
|
||||
|
|
@ -110,7 +110,7 @@ class Steam_Overlay
|
|||
void Callback(Common_Message* msg);
|
||||
void RunCallbacks();
|
||||
|
||||
bool FriendHasLobby(uint64 friend_id);
|
||||
bool FriendJoinable(std::pair<const Friend, friend_window_state> &f);
|
||||
bool IHaveLobby();
|
||||
|
||||
void NotifyUser(friend_window_state& friend_state);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue