Skip to content

Commit

Permalink
Update to support strawberry
Browse files Browse the repository at this point in the history
  • Loading branch information
stelar7 committed Jul 21, 2024
1 parent 230fe07 commit 77b79e5
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,11 @@ public enum GameModeType implements CodedEnum
* TFT
*/
TFT,

/**
* Vampire survivors esq
*/
STRAWBERRY,
;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ public enum GameQueueType implements CodedEnum
/**
* Swarm
*/
STRAWBERRY(1830),
STRAWBERRY(1830, 1840),
/**
* Tutorial games
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,11 @@ public enum MapType implements CodedEnum
* Arena map (2v2v2v2)
*/
ARENA(30, new Rectangle(0, 0, 12056, 12056)),

/**
* Strawberry map
*/
STRAWBERRY(33, new Rectangle(0, 0, 12056, 12056)),
;


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,17 @@ public void testForMissingAttributes()
public void testCherryGameMode()
{
LOLMatch match = LOLMatch.get(LeagueShard.EUW1, "EUW1_6507642888");
System.out.println();
String puuid = match.getParticipants().get(0).getPuuid();

MatchListBuilder builder = new MatchListBuilder();
builder = builder.withPuuid(puuid).withPlatform(LeagueShard.EUW1);
List<String> strings = builder.get();

for (String s : strings)
{
LOLMatch lolMatch = LOLMatch.get(LeagueShard.EUW1, s);
System.out.println();
}
}
}

Expand Down

0 comments on commit 77b79e5

Please sign in to comment.