/* Ċ Ġ* ĠMIT ĠLicense Ċ Ġ* Ċ Ġ* ĠCopyright Ġ( C ) Ġ 2 0 2 0 ĠThe ĠSimple Cloud Ġauthors Ċ Ġ* Ċ Ġ* ĠPermission Ġis Ġhereby Ġgranted , Ġfree Ġof Ġcharge , Ġto Ġany Ġperson Ġobtaining Ġa Ġcopy Ġof Ġthis Ġsoftware Ġand Ġassociated Ċ Ġ* Ġdocumentation Ġfiles Ġ( the Ġ" Software "), Ġto Ġdeal Ġin Ġthe ĠSoftware Ġwithout Ġrestriction , Ġincluding Ġwithout Ġlimitation Ċ Ġ* Ġthe Ġrights Ġto Ġuse , Ġcopy , Ġmodify , Ġmerge , Ġpublish , Ġdistribute , Ġsublicense , Ġand / or Ġsell Ġcopies Ġof Ġthe ĠSoftware , Ċ Ġ* Ġand Ġto Ġpermit Ġpersons Ġto Ġwhom Ġthe ĠSoftware Ġis Ġfurnished Ġto Ġdo Ġso , Ġsubject Ġto Ġthe Ġfollowing Ġconditions : Ċ Ġ* Ċ Ġ* ĠThe Ġabove Ġcopyright Ġnotice Ġand Ġthis Ġpermission Ġnotice Ġshall Ġbe Ġincluded Ġin Ġall Ċ Ġ* Ġcopies Ġor Ġsubstantial Ġportions Ġof Ġthe ĠSoftware . Ċ Ġ* Ċ Ġ* ĠTHE ĠSOFTWARE ĠIS ĠPROVIDED Ġ" AS ĠIS ", ĠWITHOUT ĠWARRANTY ĠOF ĠANY ĠKIND , ĠEXPRESS ĠOR ĠIMPLIED , Ċ Ġ* ĠINCLUDING ĠBUT ĠNOT ĠLIMITED ĠTO ĠTHE ĠWARRANTIES ĠOF ĠMERCHANTABILITY , Ċ Ġ* ĠFITNESS ĠFOR ĠA ĠPARTICULAR ĠPURPOSE ĠAND ĠNONINFRINGEMENT . Ċ Ġ* ĠIN ĠNO ĠEVENT ĠSHALL ĠTHE ĠAUTHORS ĠOR ĠCOPYRIGHT ĠHOLDERS ĠBE ĠLIABLE ĠFOR ĠANY ĠCLAIM , Ċ Ġ* ĠDAMAGES ĠOR ĠOTHER ĠLIABILITY , ĠWHETHER ĠIN ĠAN ĠACTION ĠOF ĠCONTRACT , ĠTORT ĠOR ĠOTHERWISE , Ċ Ġ* ĠARISING ĠFROM , ĠOUT ĠOF ĠOR ĠIN ĠCONNECTION ĠWITH ĠTHE ĠSOFTWARE ĠOR ĠTHE ĠUSE ĠOR ĠOTHER Ċ Ġ* ĠDEALINGS ĠIN ĠTHE ĠSOFTWARE . Ċ Ġ*/ Ċ Ċ package Ġeu . the simple cloud . base . wrapper . impl Ċ Ċ import Ġeu . the simple cloud . api . location . Service Location Ċ import Ġeu . the simple cloud . api . location . Simple Location Ċ import Ġeu . the simple cloud . api . player . Abstract Cloud Player Manager Ċ import Ġeu . the simple cloud . api . player . IC loud Player Ċ import Ġeu . the simple cloud . api . player . IO ff line Cloud Player Ċ import Ġeu . the simple cloud . api . player . Simple Cloud Player Ċ import Ġeu . the simple cloud . api . player . connection . Connection Response Ċ import Ġeu . the simple cloud . api . player . text . Cloud Text Ċ import Ġeu . the simple cloud . api . service . IC loud Service Ċ import Ġeu . the simple cloud . client server api . lib . promise . IC om munication Promise Ċ import Ġjava . util .* Ċ Ċ class ĠCloud Player ManagerImpl Ġ: ĠAbstract Cloud Player Manager () Ġ{ ĊĊĠĠĠ Ġoverride Ġfun Ġget Cloud Player ( unique Id : ĠUUID ): ĠI Communication Promise < IC loud Player > Ġ{ ĊĠĠĠĠĠĠĠ Ġthrow ĠUnsupportedOperationException (" Players Ġare Ġnot Ġsupported Ġin Ġthe Ġwrapper ") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġget Cloud Player ( name : ĠString ): ĠI Communication Promise < IC loud Player > Ġ{ ĊĠĠĠĠĠĠĠ Ġthrow ĠUnsupportedOperationException (" Players Ġare Ġnot Ġsupported Ġin Ġthe Ġwrapper ") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun ĠsendMessage To Player ( cloud Player : ĠI Cloud Player , Ġcloud Text : ĠCloud Text ): ĠI Communication Promise < Unit > Ġ{ ĊĠĠĠĠĠĠĠ Ġthrow ĠUnsupportedOperationException (" Players Ġare Ġnot Ġsupported Ġin Ġthe Ġwrapper ") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġconnect Player ( cloud Player : ĠI Cloud Player , Ġcloud Service : ĠI Cloud Service ): ĠI Communication Promise < Connection Response > Ġ{ ĊĠĠĠĠĠĠĠ Ġthrow ĠUnsupportedOperationException (" Players Ġare Ġnot Ġsupported Ġin Ġthe Ġwrapper ") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġkick Player ( cloud Player : ĠI Cloud Player , Ġmessage : ĠString ): ĠI Communication Promise < Unit > Ġ{ ĊĠĠĠĠĠĠĠ Ġthrow ĠUnsupportedOperationException (" Players Ġare Ġnot Ġsupported Ġin Ġthe Ġwrapper ") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġsend Title ( cloud Player : ĠI Cloud Player , Ġtitle : ĠString , Ġsub Title : ĠString , ĠfadeIn : ĠInt , Ġstay : ĠInt , Ġfade Out : ĠInt ) Ġ{ ĊĠĠĠĠĠĠĠ Ġthrow ĠUnsupportedOperationException (" Players Ġare Ġnot Ġsupported Ġin Ġthe Ġwrapper ") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġforce Player Command Execution ( cloud Player : ĠI Cloud Player , Ġcommand : ĠString ) Ġ{ ĊĠĠĠĠĠĠĠ Ġthrow ĠUnsupportedOperationException (" Players Ġare Ġnot Ġsupported Ġin Ġthe Ġwrapper ") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġsend Action bar ( cloud Player : ĠI Cloud Player , Ġaction bar : ĠString ) Ġ{ ĊĠĠĠĠĠĠĠ Ġthrow ĠUnsupportedOperationException (" Players Ġare Ġnot Ġsupported Ġin Ġthe Ġwrapper ") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġsend Tab list ( cloud Player : ĠI Cloud Player , Ġheaders : ĠArray < String >, Ġfoot ers : ĠArray < String >) Ġ{ ĊĠĠĠĠĠĠĠ Ġthrow ĠUnsupportedOperationException (" Players Ġare Ġnot Ġsupported Ġin Ġthe Ġwrapper ") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun ĠsetUp dates ( cloud Player : ĠI Cloud Player , Ġupdate : ĠBoolean , ĠserviceName : ĠString ) Ġ{ ĊĠĠĠĠĠĠĠ Ġthrow ĠUnsupportedOperationException (" Players Ġare Ġnot Ġsupported Ġin Ġthe Ġwrapper ") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġtele port Player ( cloud Player : ĠI Cloud Player , Ġlocation : ĠSimple Location ): ĠI Communication Promise < Unit > Ġ{ ĊĠĠĠĠĠĠĠ Ġthrow ĠUnsupportedOperationException (" Players Ġare Ġnot Ġsupported Ġin Ġthe Ġwrapper ") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġtele port Player ( cloud Player : ĠI Cloud Player , Ġlocation : ĠService Location ): ĠI Communication Promise < Unit > Ġ{ ĊĠĠĠĠĠĠĠ Ġthrow ĠUnsupportedOperationException (" Players Ġare Ġnot Ġsupported Ġin Ġthe Ġwrapper ") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġhas Permission ( cloud Player : ĠI Cloud Player , Ġpermission : ĠString ): ĠI Communication Promise < Boolean > Ġ{ ĊĠĠĠĠĠĠĠ Ġthrow ĠUnsupportedOperationException (" Players Ġare Ġnot Ġsupported Ġin Ġthe Ġwrapper ") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġget Location Of Player ( cloud Player : ĠI Cloud Player ): ĠI Communication Promise < Service Location > Ġ{ ĊĠĠĠĠĠĠĠ Ġthrow ĠUnsupportedOperationException (" Players Ġare Ġnot Ġsupported Ġin Ġthe Ġwrapper ") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġsend Player To Lobby ( cloud Player : ĠI Cloud Player ): ĠI Communication Promise < Unit > Ġ{ ĊĠĠĠĠĠĠĠ Ġthrow ĠUnsupportedOperationException (" Players Ġare Ġnot Ġsupported Ġin Ġthe Ġwrapper ") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġget Offline Cloud Player ( name : ĠString ): ĠI Communication Promise < IO ff line Cloud Player > Ġ{ ĊĠĠĠĠĠĠĠ Ġthrow ĠUnsupportedOperationException (" Players Ġare Ġnot Ġsupported Ġin Ġthe Ġwrapper ") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġget Offline Cloud Player ( unique Id : ĠUUID ): ĠI Communication Promise < IO ff line Cloud Player > Ġ{ ĊĠĠĠĠĠĠĠ Ġthrow ĠUnsupportedOperationException (" Players Ġare Ġnot Ġsupported Ġin Ġthe Ġwrapper ") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun ĠgetAll Online Players (): ĠI Communication Promise < List < Simple Cloud Player >> Ġ{ ĊĠĠĠĠĠĠĠ Ġthrow ĠUnsupportedOperationException (" Players Ġare Ġnot Ġsupported Ġin Ġthe Ġwrapper ") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġget Network Online Player Count (): ĠI Communication Promise < Int > Ġ{ ĊĠĠĠĠĠĠĠ Ġthrow ĠUnsupportedOperationException (" Players Ġare Ġnot Ġsupported Ġin Ġthe Ġwrapper ") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġget Registered Player Count (): ĠI Communication Promise < Int > Ġ{ ĊĠĠĠĠĠĠĠ Ġthrow ĠUnsupportedOperationException (" Players Ġare Ġnot Ġsupported Ġin Ġthe Ġwrapper ") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġsave Player To Database ( offline Player : ĠI Offline Cloud Player ): ĠI Communication Promise < Unit > Ġ{ ĊĠĠĠĠĠĠĠ Ġthrow ĠUnsupportedOperationException (" Players Ġare Ġnot Ġsupported Ġin Ġthe Ġwrapper ") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġget Players Connected To Service ( cloud Service : ĠI Cloud Service ): ĠI Communication Promise < List < Simple Cloud Player >> Ġ{ ĊĠĠĠĠĠĠĠ Ġthrow ĠUnsupportedOperationException (" Players Ġare Ġnot Ġsupported Ġin Ġthe Ġwrapper ") ĊĠĠĠ Ġ} Ċ }