Skip to main content

BANK_ID_NONE

Constant BANK_ID_NONE 

Source
pub const BANK_ID_NONE: u32 = 0xFFFF_FFFF;
Expand description

The BankID value that means “no bank”.

The engine reads BankID with this as its default and then gates bank creation by comparing the resolved value against the same literal, with no separate check for whether the file supplied one. So an absent BankID and one written explicitly as 0xffffffff are the same case, which is why the view models one u32 rather than an Option that would claim to tell them apart.