parityapi: preview

drop files here

.luac .luauc .txt .bin, max 2 MB

    example.lua example output
    function Index:OnLocalPlayerCameraPropertyChanged(Argument2: string) -- line: 496
        -- upvalues: Players (copy)
        if Argument2 == "CameraMode" then
            if Players.LocalPlayer.CameraMode == Enum.CameraMode.LockFirstPerson then
                if not self.activeCameraController or self.activeCameraController:GetModuleName() ~= "ClassicCamera" then
                    self:ActivateCameraController()
                end
    
                if not self.activeCameraController then return end
                self.activeCameraController:UpdateForDistancePropertyChange()
                return
            end
    
            if Players.LocalPlayer.CameraMode == Enum.CameraMode.Classic then
                self:ActivateCameraController()
                return
            end
    
            warn("Unhandled value for property player.CameraMode: ", Players.LocalPlayer.CameraMode)
            return
        end
    
        if Argument2 == "DevComputerCameraMode" or Argument2 == "DevTouchCameraMode" then
            self:ActivateCameraController()
            return
        end
        -- ...
    end