How to know what previous flags compose a final flag?
#1

Hi. I'm working with item flags for first time, I know this flag (134217758) was made with this previous flags sum:

1 << 1;    // 2

1 << 2;    // 4

1 << 3;    // 8

1 << 4;    // 16

1 << 27; // 134217728

Sum of all results = 134217758

Now, how i can revert the final flag (134217758) to get 27, 4, 3, 2 and 1?



Messages In This Thread
[No subject] - by nicolasg - 02-23-2023, 10:13 PM
[No subject] - by nicolasg - 02-23-2023, 10:35 PM
[No subject] - by nicolasg - 02-24-2023, 03:36 AM
[No subject] - by Nikolee - 02-27-2023, 02:04 PM
[No subject] - by nicolasg - 02-27-2023, 02:18 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)