Skip to content

Commit

Permalink
Add some missing game queue types
Browse files Browse the repository at this point in the history
  • Loading branch information
stelar7 committed Jun 8, 2022
1 parent edf9ec7 commit 56fef8a
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 8 deletions.
12 changes: 6 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,28 +16,28 @@
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.8.6</version>
<version>2.9.0</version>
</dependency>

<!-- LCU Websocket access -->
<dependency>
<groupId>com.neovisionaries</groupId>
<artifactId>nv-websocket-client</artifactId>
<version>2.9</version>
<version>2.14</version>
</dependency>

<!-- Logging facade -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>2.0.0-alpha0</version>
<version>2.0.0-alpha7</version>
</dependency>

<!-- in-progress dependencies -->
<dependency>
<groupId>dev.morphia.morphia</groupId>
<artifactId>core</artifactId>
<version>1.5.8</version>
<version>1.6.1</version>
<scope>provided</scope>
<optional>true</optional>
</dependency>
Expand Down Expand Up @@ -68,13 +68,13 @@
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId>
<version>1.2.9</version>
<version>1.3.0-alpha15</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>5.6.2</version>
<version>5.8.2</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -319,12 +319,12 @@ public enum GameQueueType implements CodedEnum
/**
* Teamfight Tactics (Normal Double Up 2v0)
*/
TEAMFIGHT_TACTICS_DOUBLE_UP_2V0(new Integer[]{1142, 1152}),
TEAMFIGHT_TACTICS_DOUBLE_UP_2V0(new Integer[]{1142, 1151, 1161}),

/**
* Teamfight Tactics (Normal Double Up 4v0)
*/
TEAMFIGHT_TACTICS_DOUBLE_UP_4V0(new Integer[]{1143}),
TEAMFIGHT_TACTICS_DOUBLE_UP_4V0(new Integer[]{1143, 1152, 1162}),

/**
* Teamfight Tactics (Normal Double Up)
Expand All @@ -336,6 +336,7 @@ public enum GameQueueType implements CodedEnum
*/
TEAMFIGHT_TACTICS_DOUBLE_UP_1V7_BOTS(new Integer[]{1141}),

TEAMFIGHT_TACTICS_DOUBLE_UP_WORKSHOP(new Integer[]{1160}, "RANKED_TFT_DOUBLE_UP"),


/**
Expand All @@ -348,6 +349,8 @@ public enum GameQueueType implements CodedEnum
THREE_VS_THREE(new Integer[]{1403}),
FOUR_VS_FOUR(new Integer[]{1404}),

TFT_CUSTOM(new Integer[]{3000}),
TFT_HYPER_ROLL_CUSTOM(new Integer[]{3010}),

;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,14 @@ public void testbyId()
System.out.println();
}

@Test
@Disabled
public void testGetQueues()
{
Object a = LCUApi.customUrl("lol-game-queues/v1/queues", null, "GET");
System.out.println();
}

@Test
@Disabled
public void testCustomURL()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ public void testMatchBadDuration()
}

@Test
@Disabled
public void testForMissingAttributes() {
LeagueAPI leagueAPI = r4J.getLoLAPI().getLeagueAPI();
List<LeagueEntry> divis = leagueAPI.getLeagueByTierDivision(LeagueShard.EUW1, GameQueueType.RANKED_SOLO_5X5, TierDivisionType.GOLD_I, 1);
Expand Down

0 comments on commit 56fef8a

Please sign in to comment.