--[[ https://github.com/overextended/ox_lib This file is licensed under LGPL-3.0 or higher Copyright © 2025 Linden ]] ---@class Prop : GameEntity ---@field private new ObjectConstructor lib.prop = lib.class('Prop', lib.gameEntity) lib.prop.type = lib.prop.__name ---@class ObjectConstructor ---@overload fun(self: Prop, handle: number): Prop function lib.prop:constructor(handle) self:super() self:setHandle(handle) end function lib.prop:__index(index) if index == 'handle' then return self.private.handle end return lib.prop[index] end function lib.prop:setOnGround() if lib.context == 'client' then return PlaceObjectOnGroundProperly(self.handle) end return self:setr('ox_entity_setonground', true) end