From 8a493a7e5a03ceab34dfcbe3f43e4f3bf4b4c73d Mon Sep 17 00:00:00 2001 From: stelar7 Date: Thu, 31 Aug 2017 18:49:33 +0200 Subject: [PATCH] add getId for matchReference --- .../stelar7/api/l4j8/pojo/match/MatchReference.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/main/java/no/stelar7/api/l4j8/pojo/match/MatchReference.java b/src/main/java/no/stelar7/api/l4j8/pojo/match/MatchReference.java index b9988a50..732fed10 100644 --- a/src/main/java/no/stelar7/api/l4j8/pojo/match/MatchReference.java +++ b/src/main/java/no/stelar7/api/l4j8/pojo/match/MatchReference.java @@ -40,6 +40,18 @@ public StaticChampion getChampion() return StaticAPI.getInstance().getChampion(Platform.EUW1, this.champion, null, null, null); } + + /** + * championid associated with game. + * + * @return int + */ + public int getChampionId() + { + return this.champion; + } + + /** * LaneType associated with game *