package Ġcom . win dea . plugin . idea . par ad ox . settings Ċ Ċ import Ġcom . intellij . openapi . components .* Ċ import Ġcom . intellij . openapi . project .* Ċ import Ġcom . intellij . util . xml b .* Ċ Ċ @ State ( name Ġ= Ġ" org . intellij . sdk . settings . Par ad ox Settings State ", Ġstorage s Ġ= Ġ[ Storage (" Par ad ox Mod ding Support . xml ") ]) Ċ class ĠPar ad ox Settings State Ġ: ĠPersistent State Component < Par ad ox Settings State > Ġ{ Ċ ĉ @ Jvm Field Ġvar Ġresolve Internal References Ġ= Ġtrue Ċ ĉ @ Jvm Field Ġvar Ġresolve External References Ġ= Ġtrue ĊĊ ĉ //@ Jvm Field Ġvar Ġuse Steam Directory Ġ= Ġtrue Ċ ĉ //@ Jvm Field Ġvar Ġsteam Directory Ġ= Ġ"" Ċ ĉ @ Jvm Field Ġvar Ġpar ad ox Directory Ġ= Ġ"" Ċ ĉ //@ Jvm Field Ġvar Ġpar ad ox Mods Directory Ġ= Ġ"" ĊĊ ĉ // val Ġsteam Path Ċ ĉ // ĉ get () Ġ= Ġsteam Directory Ċ ĉ val Ġpar ad ox Path Ċĉ ĉ get () Ġ= Ġpar ad ox Directory Ċĉ ĉ // get () Ġ= Ġif ( use Steam Directory ) Ġ"$ steam Directory \\ steam apps \\ common \\ Par ad ox " Ġelse Ġpar ad ox Directory Ċ ĉ // val Ġpar ad ox Mods Path Ċ ĉ // ĉ get () Ġ= Ġif ( use Steam Directory ) Ġ"$ steam Directory \\ steam apps \\ workshop \\ content \\ 2 8 1 9 9 0 " Ġelse Ġpar ad ox Mods Directory ĊĊ ĉ override Ġfun ĠgetState () Ġ= Ġthis ĊĊ ĉ override Ġfun Ġload State ( state : ĠPar ad ox Settings State ) Ġ= ĠXml Serializer Util . copy Bean ( state , Ġthis ) ĊĊ ĉ comp anion Ġobject Ġ{ Ċĉ ĉ @ Jvm Static Ċĉ ĉ fun ĠgetInstance (): ĠPar ad ox Settings State Ġ= ĠService Manager . getService ( Par ad ox Settings State :: class . java ) Ċ ĉ } Ċ } Ċ