[DiscordArchive] Wouldn't you feasibly be able to fuck with a class at runtime then?
[DiscordArchive] Wouldn't you feasibly be able to fuck with a class at runtime then?
Archived author: Kavligula • Posted: 2018-06-03T20:45:24.590000+00:00
Original source
So you *should* be able to look at that long return statement and almost transcribe it exactly over with no issues
Archived author: Skarn • Posted: 2018-06-03T20:45:41.936000+00:00
Original source
the problem is that there are no structs in python
Archived author: Skarn • Posted: 2018-06-03T20:45:51.266000+00:00
Original source
I have to read things imperatively
Archived author: Skarn • Posted: 2018-06-03T20:46:02.872000+00:00
Original source
opposed to C/C++ declarative way with structures
Archived author: Skarn • Posted: 2018-06-03T20:46:43.323000+00:00
Original source
I can obviously reproduce that method there to convert to floats. The question is how to read the bitfield in a range way.
Archived author: Skarn • Posted: 2018-06-03T20:46:59.616000+00:00
Original source
The way I dealt with bitfields before was only reading/writing bitfields for flags
Archived author: Skarn • Posted: 2018-06-03T20:47:01.770000+00:00
Original source
which is easy
Archived author: Skarn • Posted: 2018-06-03T20:48:44.977000+00:00
Original source
tfw people read them as just short.... how lame and wrong
Archived author: Kavligula • Posted: 2018-06-03T20:49:00.908000+00:00
Original source
I mean
Archived author: Kavligula • Posted: 2018-06-03T20:49:26.688000+00:00
Original source
It looks like all it's doing is loading them in piece by piece so you've got a variable for the number before the point, one for after the point, and then the sign itself