Init(args)
Scripting Reference
List of all members | Static Public Attributes
Sisus.Init.FlagsValues Class Reference

Description

Helper class that lists all valid values that an int-backed bit field enumeration type can have.

using System; using static Sisus.Init.FlagsValues;

[Flags] public enum MyEnum { None = _0, First = _1, Second = _2, Third = _3, Fourth = _4, Fifth = _5 }

Static Public Attributes

const int _0 = 0
 Value of 0. More...
 
const int _1 = 1 << 0
 Value of 1. More...
 
const int _2 = 1 << 1
 Value of 2. More...
 
const int _3 = 1 << 2
 Value of 4. More...
 
const int _4 = 1 << 3
 Value of 8. More...
 
const int _5 = 1 << 4
 Value of 16. More...
 
const int _6 = 1 << 5
 Value of 32. More...
 
const int _7 = 1 << 6
 Value of 64. More...
 
const int _8 = 1 << 7
 Value of 128. More...
 
const int _9 = 1 << 8
 Value of 256. More...
 
const int _10 = 1 << 9
 Value of 512. More...
 
const int _11 = 1 << 10
 Value of 1024. More...
 
const int _12 = 1 << 11
 Value of 2048. More...
 
const int _13 = 1 << 12
 Value of 4096. More...
 
const int _14 = 1 << 13
 Value of 8192. More...
 
const int _15 = 1 << 14
 Value of 16384. More...
 
const int _16 = 1 << 15
 Value of 32768. More...
 
const int _17 = 1 << 16
 Value of 65536. More...
 
const int _18 = 1 << 17
 Value of 131072. More...
 
const int _19 = 1 << 18
 Value of 262144. More...
 
const int _20 = 1 << 19
 Value of 524288. More...
 
const int _21 = 1 << 20
 Value of 1048576. More...
 
const int _22 = 1 << 21
 Value of 2097152. More...
 
const int _23 = 1 << 22
 Value of 4194304. More...
 
const int _24 = 1 << 23
 Value of 8388608. More...
 
const int _25 = 1 << 24
 Value of 16777216. More...
 
const int _26 = 1 << 25
 Value of 33554432. More...
 
const int _27 = 1 << 26
 Value of 67108864. More...
 
const int _28 = 1 << 27
 Value of 134217728. More...
 
const int _29 = 1 << 28
 Value of 268435456. More...
 
const int _30 = 1 << 29
 Value of 536870912. More...
 
const int _31 = 1 << 30
 Value of 1073741824. More...