Skip to content

Add "introduced build" attributes (and probably analyser) to generated native functions #5

Description

@WithLithum

Feature description

Add an attribute, presumably IntroducedInBuild, to indicate the build that the native was introduced in.

Then investigate how a Roslyn analyser can be then implemented to target a baseline based on project properties and the attributes.

Motivation

The Kortez Center Heist update was released on 14 July 2026. However, many players had to remain on the old build due to RPH update was first made sponsor exclusive. This is not helped by the new build introduced quite a few natives.

Developers may accidentally use a native which was introduced in the build newer than the build they want to target, which would probably result in CTD.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/enhanceEnhancements to existing features.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions