[DiscordArchive] they're the bit IDs that make up the bitmask value I guess ?
[DiscordArchive] they're the bit IDs that make up the bitmask value I guess ?
Archived author: Titi • Posted: 2023-06-30T19:44:43.621000+00:00
Original source
they're the bit IDs that make up the bitmask value I guess ?
Archived author: Titi • Posted: 2023-06-30T19:44:52.323000+00:00
Original source
not 100% confident with the technical terms
Archived author: flyingfrog • Posted: 2023-06-30T19:46:40.882000+00:00
Original source
alright thank you very much, im sure I can do the changes i want now
Archived author: Titi • Posted: 2023-06-30T19:48:37.464000+00:00
Original source
you probably haven't understood any of this lmao
Archived author: flyingfrog • Posted: 2023-06-30T19:50:45.863000+00:00
Original source
Not yet, but when I'm done with the 7-8 spells I want to change I probably will
Archived author: stoneharry • Posted: 2023-06-30T19:52:28.449000+00:00
Original source
There's a lot of google tutorials for how to understand bitmasks. It's basically using the binary representation of the number cleverly.
Each bit in isolation is a single unique value that is either 0 or 1. A standard number (integer) is made up of 4 bytes (32 bits), and this can have 32 values held inside of it. We are basically looking at each bit to see if it is enabled or disabled.
Archived author: stoneharry • Posted: 2023-06-30T19:53:01.970000+00:00
Original source
The actual numeric value is meaningless, we are looking at the bits to determine if different features are enabled or not
Archived author: Titi • Posted: 2023-06-30T19:53:16.081000+00:00
Original source
now we've completely lost him
Archived author: stoneharry • Posted: 2023-06-30T19:53:28.037000+00:00
Original source
Why do we do it? Because we can encode 32 values in a single variable instead of having 32 variables
Archived author: stoneharry • Posted: 2023-06-30T19:53:46.351000+00:00
Original source
(performance and network optimisation)