-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conflicting info about PlatformID/RendererID #94
Comments
I probably swapped the until/later in the docstrings by mistake. The docstrings have no semantic value and only show up in doc gen. Enums in general aren't versioned -- except Bethesda-specific ones, which really only serve as documentation. There isn't much use in versioning an enum aside from stripping types during codegen or xmlgen (rewriting nifxml with pared down versions). Enums don't have to have matching versions to the fields that use them either, unless the field is available in a version that the enum is not. This would only be a problem for anything actually validating the versioning, which I'm not sure anything publicly pushed does. Enums without the version attribute are always available. We cannot always be sure about when Gamebryo types were introduced or removed, so enums, structs, niobject, etc. only get version attributes when absolutely sure. The since/until in
Hope that clarified everything. Tl;dr - The only versions that matter are on the fields, everything else is essentially just documentation/metadata. |
Off-Topic to the issue: Just so this is mentioned somewhere, The |
In the info for
PlatformID
it says "later than 30.1" and forRendererID
"until 30.1", but inNiPersistentSrcTextureRendererData
PlatformID
is marked as until 30.1.0.0 andRendererID
as since 30.1.0.1. Neither of those types have aversions
attribute, so this is quite confusing.The text was updated successfully, but these errors were encountered: