internal BoxFlags GetBoxFlags(byte boxNum) { var box = GetBoxBase(boxNum); if (box == null) return 0; return box.Flags; }