Closed DucaRii closed 5 months ago
alright should be good 2 go, couldnt really think of a good name for the "usedby" constant but this one should be good enough
@cpz is a bit busy with some other stuff for now, as soon as he reviews this PR, we will merge it. sorry for the delays :)
all good ^.^
👍
I went ahead and implemented my idea from https://github.com/neverlosecc/source2gen/issues/26
Ive opted to go with adding the offsets into the metadata of the prop for simplicity sake. Though i still had to make minor changes to the code structure in order to avoid bloat.
The conditions for whether a prop should be directly embedded are as follows
With the changes applied a dump will now embed ~50 classes across all binaries and will look like this