if(GUI.Button(newRect(100,190,100,50),"Request")){
//刷新你现在不一定在的大厅的元数据//这将发送与说客相关的所有元数据//如果本地用户没有连接到Steam服务器,返回false//结果将由dataupdate_t callback 触发
SteamMatchmaking.RequestLobbyData((CSteamID)NowLobbyId);}//steam API LobbyDataUpdate_t 回调将会被触发publicstructLobbyDataUpdate_t{
publicconstint k_iCallback = Constants.k_iSteamMatchmakingCallbacks +5;publiculong m_ulSteamIDLobby;// steamID of the Lobbypubliculong m_ulSteamIDMember;// steamID of the member whose data changed, or the room itselfpublicbyte m_bSuccess;// true if we lobby data was successfully changed;// will only be false if RequestLobbyData() was called on a lobby that no longer exists}