Files

401 B
Raw Permalink Blame History

poker.js — getLobbyData() (satır 4)

← poker.js · ← Master

function getLobbyData(c) {
  var states = c.getServer().getStates();
  if (!states.has("poker_lobby")) {
    // Varsayılan boş lobi yapısı
    return {
      tables: [] // Aktif masalar listesi
    };
  }
  return JSON.parse(states.getString("poker_lobby"));
}