[DiscordArchive] About the blz::variant type <@200677690838220800> is it correct in assuming that the type of what va
[DiscordArchive] About the blz::variant type <@200677690838220800> is it correct in assuming that the type of what va
Archived author: MaxtorCoder • Posted: 2024-12-30T14:11:31.493000+00:00
Original source
About the blz::variant type <@200677690838220800> is it correct in assuming that the type of what variant to grab is the first element?
Archived author: MaxtorCoder • Posted: 2024-12-30T14:12:08.560000+00:00
Original source
Since (for example) ShapeType comes before the actual Shapes in the areatrigger structure of `JamCliObjCreate`
Archived author: Tea • Posted: 2024-12-30T14:13:54.328000+00:00
Original source
no, it should be last
Archived author: MaxtorCoder • Posted: 2024-12-30T14:14:07.848000+00:00
Original source
Huh... weird
Archived author: Tea • Posted: 2024-12-30T14:14:12.820000+00:00
Original source
but also areatrigger shapes are stupid, blizz stores the shape twice
![[Image: image.png?ex=690c0480&is=690ab300&hm=403...b67a96f35&]](https://cdn.discordapp.com/attachments/376457124726702080/1323293117759357018/image.png?ex=690c0480&is=690ab300&hm=403318d7f32aa3022cf12fcb9ecc8ac2b82cb50c94e7257176ee6abb67a96f35&)
Archived author: MaxtorCoder • Posted: 2024-12-30T14:14:24.924000+00:00
Original source
Like this is what it's for jamcliobjcreate
![[Image: image.png?ex=690c0480&is=690ab300&hm=403...b67a96f35&]](https://cdn.discordapp.com/attachments/376457124726702080/1323293117759357018/image.png?ex=690c0480&is=690ab300&hm=403318d7f32aa3022cf12fcb9ecc8ac2b82cb50c94e7257176ee6abb67a96f35&)
Archived author: MaxtorCoder • Posted: 2024-12-30T14:14:39.615000+00:00
Original source
And it corresponds correctly with the reading
Archived author: Tea • Posted: 2024-12-30T14:14:40.855000+00:00
Original source
there is a internal variant index and separate shape type field
Archived author: MaxtorCoder • Posted: 2024-12-30T14:16:36.746000+00:00
Original source
Ooooohhh
Archived author: MaxtorCoder • Posted: 2024-12-30T14:16:42.049000+00:00
Original source
Makes sense, thanks