package Ġworld s . greg s . hest ia . core . entity . player . logic . systems . region Ċ Ċ import Ġnet . most ly original . api . event . common . Event System Ċ import Ġworld s . greg s . hest ia . core . entity . player . model . events . Player Region Changed Ċ import Ġworld s . greg s . hest ia . core . world . movement . api . systems . Region Subscription Ċ import Ġworld s . greg s . hest ia . game . entity . Player Ċ Ċ class ĠPlayer Region Subscription System Ġ: ĠRegion Subscription ( Player :: class ) Ġ{ ĊĊĠĠĠ Ġprivate Ġlateinit Ġvar Ġes : ĠEvent System ĊĊĠĠĠ Ġoverride Ġfun Ġchange Region ( entityId : ĠInt , Ġfrom : ĠInt ?, Ġto : ĠInt ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġes . dispatch ( Player Region Changed ( entityId , Ġfrom , Ġto )) ĊĠĠĠ Ġ} Ċ Ċ }