GetRooms(int, int, Action<bool, SWGetRoomReply, SWLobbyError>) Method

Namespace: SWNetwork.Lobby

Called by players to begin an asynchronous operation to get rooms from the Lobby server using the specified pageIndex and pageRowCount.

Maximum pageIndex is 255.

Maximum pageRowCount is 255.

Declaration

public void GetRooms(int pageIndex, int pageRowCount, Action<bool, SWGetRoomReply, SWLobbyError> callback)

Parameters

Type

Description

pageIndex

int

Index of the page to get.

pageRowCount

int

Number of rooms in the page.

callback

The method to invoke when the get rooms operation is complete.

Last updated