package Ġch . lead rian . samp . k amp . core . runtime . entity . property Ċ Ċ import Ġch . lead rian . samp . k amp . core . api . entity . Player Ċ import Ġch . lead rian . samp . k amp . core . runtime . SAMP Native Function Executor Ċ import Ġch . lead rian . samp . k amp . core . runtime . types . Reference Float Ċ import Ġkotlin . properties . ReadWrite Property Ċ import Ġkotlin . reflect . K Property Ċ Ċ internal Ġclass ĠPlayer Health Property ( ĊĠĠĠĠĠĠĠ Ġprivate Ġval Ġnative Function Executor : ĠS AMP Native Function Executor Ċ ) Ġ: ĠRead Write Property < Player , ĠFloat > Ġ{ ĊĊĠĠĠ Ġprivate Ġval Ġhealth Ġ= ĠReference Float () ĊĊĠĠĠ Ġoverride Ġfun ĠgetValue ( this Ref : ĠPlayer , Ġproperty : ĠK Property < *> ): ĠFloat Ġ{ ĊĠĠĠĠĠĠĠ Ġnative Function Executor . getPlayer Health ( player id Ġ= Ġthis Ref . id . value , Ġhealth Ġ= Ġhealth ) ĊĠĠĠĠĠĠĠ Ġreturn Ġhealth . value ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun ĠsetValue ( this Ref : ĠPlayer , Ġproperty : ĠK Property <* >, Ġvalue : ĠFloat ) Ġ{ ĊĠĠĠĠĠĠĠ Ġnative Function Executor . set Player Health ( player id Ġ= Ġthis Ref . id . value , Ġhealth Ġ= Ġvalue ) ĊĠĠĠ Ġ} Ċ Ċ }