package Ġdur d inst ud ios . wow arena . data Ċ Ċ import Ġcom . bq . mas mov . ref lux . d agger . App Scope Ċ import Ġdur d inst ud ios . wow arena . data . models . common . Region Ċ import Ġdur d inst ud ios . wow arena . data . models . war craft . p vp . Arena Bracket Ċ import Ġdur d inst ud ios . wow arena . data . models . war craft . p vp . Player Info Ċ import Ġdur d inst ud ios . wow arena . data . models . war craft . p vp . Ranking Ċ import Ġio . reactivex . Single Ċ import Ġjavax . inject . Inject Ċ Ċ /** Ċ Ġ* ĠInterface Ġthat Ġrepresents Ġa ĠService Ġfor Ġgetting Ġdata . Ċ Ġ*/ Ċ interface ĠWar craft Service Ġ{ ĊĠĠĠ Ġfun Ġget P vp Leader board ( bracket : ĠA rena Bracket , Ġregion : ĠRegion ): ĠSingle < Ranking > ĊĊĠĠĠ Ġfun Ġget Player P vp Information ( realm : ĠString , Ġcharacter Name : ĠString , Ġregion : ĠRegion ): ĠSingle < Player Info > Ċ } Ċ Ċ /** Ċ Ġ* ĠInterface Ġto Ġprovide Ġapplication Ġdata . ĠIt Ġcomes Ġfrom Ġdisk Ġor Ġnetwork . Ċ Ġ*/ Ċ Ċ @ App Scope Ċ class ĠWar craft ServiceImpl Ġ@ Inject Ġconstructor ( private Ġval Ġwar craft Api : ĠWar craft API Instances ) Ġ: ĠWar craft Service Ġ{ ĊĠĠĠ Ġoverride Ġfun Ġget P vp Leader board ( bracket : ĠA rena Bracket , Ġregion : ĠRegion ): ĠSingle < Ranking > Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġwar craft Api . apis [ region ] !!. getP v P Leader board ( bracket . value ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġget Player P vp Information ( realm : ĠString , Ġcharacter Name : ĠString , Ġregion : ĠRegion ): ĠSingle < Player Info > Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġwar craft Api . apis [ region ] !!. getPlayer P vp Info ( character Name , Ġrealm ) ĊĠĠĠ Ġ} Ċ }