-
Notifications
You must be signed in to change notification settings - Fork 34
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
Generated SDK does not compile #59
Comments
I'd like to work on this |
I am at a point where the generated SDK compiles. |
The SDK now compiles and all generated assertions for type sizes and field offsets are passing. |
Open non-blocking worries
There are also new limitations, some types/fields get commented out, see |
To make testing and using the generated SDK easier, source2gen could
CHandle
,CUtlVector
, and many more.interfaces
namespace used to access static fieldsCUtlVector<int32>
->CUtlVector<std::int32_t>
static_assert
ions to make sure the generated types have the layout we expectedchar a: 7; char b: 2
)CUtlLeanVectorFixedGrowable
) (because those parameters are not included in the sdk)This list grows as more issues surface
(1) The user can replace the dummies with real implementations if they want to access the affected types. To compile the SDK, dummies are enough
(2) This requires an update to the ordering algorithm to detect indirect cyclic dependencies, e.g. player->entity->world->player
The text was updated successfully, but these errors were encountered: