/* Ċ Ġ* ĠThis Ġfile Ġis Ġpart Ġof ĠL an tern Server , Ġlicensed Ġunder Ġthe ĠMIT ĠLicense Ġ( MIT ). Ċ Ġ* Ċ Ġ* ĠCopyright Ġ( c ) ĠL an tern Power ed Ġ< https :// www . lan tern powered . org > Ċ Ġ* ĠCopyright Ġ( c ) ĠSp onge Power ed Ġ< https :// www . spongepowered . org > Ċ Ġ* ĠCopyright Ġ( c ) Ġcontributors Ċ Ġ* Ċ Ġ* Ġ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 Ġorg . lan tern powered . server . effect . sound Ċ Ċ import Ġcom . flow powered . math . vector . Vector 3 d Ċ import Ġorg . lan tern powered . api . catalog . Catalog Key Ċ import Ġorg . lan tern powered . server . catalog . Default Catalog Type Ċ import Ġorg . lan tern powered . server . network . van illa . message . type . play . Message Play Out Named Sound Effect Ċ import Ġorg . lan tern powered . server . network . van illa . message . type . play . Message Play Out Sound Effect Ċ import Ġorg . lan tern powered . server . network . van illa . message . type . play . Message Play Out Sound Effect Base Ċ import Ġorg . spongepowered . api . effect . sound . Sound Category Ċ import Ġorg . spongepowered . api . effect . sound . Sound Type Ċ Ċ class ĠL an tern Sound Type Ġ@ Jvm Over loads Ġconstructor ( key : ĠCatalog Key , Ġprivate Ġval Ġevent Id : ĠInt ? Ġ= Ġnull ) Ġ: ĊĠĠĠĠĠĠĠ ĠDefault Catalog Type ( key ), ĠSound Type Ġ{ ĊĊĠĠĠ Ġfun Ġcreate Message ( position : ĠVector 3 d , Ġsound Category : ĠSound Category , Ġvolume : ĠFloat , Ġpitch : ĠFloat ): ĠMessage Play Out Sound Effect Base < *> Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġif Ġ( this . eventId Ġ!= Ġnull ) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ ĠMessage Play Out Sound Effect ( this . eventId , Ġposition , Ġsound Category , Ġvolume , Ġpitch ) ĊĠĠĠĠĠĠĠ Ġ} Ġelse Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ ĠMessage Play Out Named Sound Effect ( name , Ġposition , Ġsound Category , Ġvolume , Ġpitch ) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ } Ċ