# Last Restored Unit
Grammar — Last restored unit
Flags —Native|Function
Returns the last unit that was restored from a bank.
Returns — unit
native unit BankLastRestoredUnit();
# Related
Category: [Bank / Store & Load](/galaxy/reference#bank-store &-load)
- Store Boolean —
void— BankValueSetFromFlag - Store Integer —
void— BankValueSetFromInt - Store Point —
void— BankValueSetFromPoint - Store Real —
void— BankValueSetFromFixed - Store String —
void— BankValueSetFromString - Store Text —
void— BankValueSetFromText - Store Unit —
void— BankValueSetFromUnit - Load Boolean Value —
bool— BankValueGetAsFlag - Load Integer Value —
int— BankValueGetAsInt - Load Point Value —
point— BankValueGetAsPoint - Load Real Value —
fixed— BankValueGetAsFixed - Load String Value —
string— BankValueGetAsString - Load Text Value —
text— BankValueGetAsText - Restore Unit —
unit— BankValueGetAsUnit - Last Restored Unit —
unit— BankLastRestoredUnit
# Examples
— None found —