public LoadScriptGlobals ( [ Globals ) : void | ||
Globals | [ | Supplies an array of global variables that /// were provided to the initial StoreState request. |
return | void |
public void LoadScriptGlobals([In] object[] Globals)
{
//
// Restore all [NWScriptGlobal] attributed globals from the global
// list.
//
int i = 0;
foreach (FieldInfo Field in GlobalFields)
{
Field.SetValue(this, Globals[i]);
i += 1;
}
}
}