Search Unity

Third Party Unity PUN2 matchmaking and the LIMIT keyword?

Discussion in 'Multiplayer' started by pezezzle, Sep 13, 2021.

  1. pezezzle

    pezezzle

    Joined:
    Nov 17, 2019
    Posts:
    11
    Hi volks,

    i try to fetch rooms with a sqlight statement. this works fine but i want to limit it
    by 10 rows. I try the below statement but it dos not work. Some suggestions how can i do this?

    Code (CSharp):
    1. PhotonNetwork.GetCustomRoomList(GameManager.defaultLobby, "C0  = "+(int)PlayMode.ALLvsALL+ " LIMIT 10");
    without the LIMIT keyword it works but i want to limit it.

    thx for every help.
     
  2. tobiass

    tobiass

    Joined:
    Apr 7, 2009
    Posts:
    3,070