YoYoGames / GMEXT-Steamworks

Repository for GameMaker's Steamworks Extension
Other
62 stars 13 forks source link

[DOCUMENTATION] Add the event type "lobby_chat_update" to docs #36

Closed RoyallGuards closed 8 months ago

RoyallGuards commented 11 months ago

In the current document, we still don't have anything about the event type "lobby_chat_update", it is an event that is triggered in Async-Steam, when someone enters or leaves the lobby, with a field called "changed_flags", if it is 1, it indicates that someone entered the lobby, case 2, someone left the lobby, and the steam_id of the player who entered/left the lobby appears.

{
     event_type : "lobby_chat_update", 
     lobby_id : xxx 
     change_flags : 1, //1 for new connection on lobby and 2 for disconnec
     user_id : xxx, ///the id of the user that joined or left the lobby
     change_id : xxx ///the id that have "changed", the same as user_id
}
YYBartT commented 8 months ago

This is now added to the JSDoc in the source repo and the wiki has been updated with the new contents.