- Joined
- Mar 30, 2015
- Messages
- 2,416
- Thread Author
- #1
Since Varbits are a 1 to 1 mapping to a specific value of a Varp that requires bitmasks on shifted bits, is there a way to get the bitmask & amount of shifts in a varp for specific varbits?
This is kinda backwards since we already have the varbits class, but it would be useful for understanding how multiple values are contained in varps & the route it takes to focus on the specific bits for value extraction.
Edit: Just realized we have a VarbitListener in the toolkit now. It kinda helps in mapping values to varbits & varbits to varps for real time value changing when logged in (as opposed to stopping & finding what varbit) but could this be used to help w/ finding the shifts/mask?
This is kinda backwards since we already have the varbits class, but it would be useful for understanding how multiple values are contained in varps & the route it takes to focus on the specific bits for value extraction.
Edit: Just realized we have a VarbitListener in the toolkit now. It kinda helps in mapping values to varbits & varbits to varps for real time value changing when logged in (as opposed to stopping & finding what varbit) but could this be used to help w/ finding the shifts/mask?
Last edited: