private byte FindSlot() { for (byte i = 0; i < this.maxPlayers; i = (byte) (i + 1)) { if (this.lobbySlots[i] == null) { return i; } } return 0xff; }