StateManager
IStateManager
, LazyInitCapableElement
stateManager
is a passive (i.e inactive) Component; while attached to an organization, it can't write on any other Components, nor on the Organization's core. When called by the core or other Components, it performs operations on itself.StateEntry
struct, composed as follows:key
string
-> the key associated with the variable in string format; can be input with the one you like.entryType
-> the type of the variable (bool, int, uint, string, etc..).Value
-> the value of the variable to save ("true/false" for bool; "0x..." for an address; "test" for a string; etc.)