


native class ISteamMatchmaking
{
	void LeaveLobby( ulong steamid );
	int GetNumLobbyMembers( ulong steamid );
	inline ulong GetLobbyMemberByIndex( ulong steamid, int index )
	{
		return self->GetLobbyMemberByIndex( steamid, index ).ConvertToUint64();
	}

	void* GetLobbyData( ulong steamid, string key );
	bool SetLobbyData( ulong steamid, string key, string data );
	int GetLobbyDataCount( ulong steamid );
	void DeleteLobbyData( ulong steamid, string key );

	inline bool GetLobbyDataByIndex( ulong steamid, int index, void* data, int datasize, void* value, int valueSize )
	{
		return self->GetLobbyDataByIndex( steamid, index, (char*) data, datasize, (char*)value, valueSize );
	}
}