Method UseMobiscriptCatalog
UseMobiscriptCatalog()
Sets the internal state of the SDK so that all the further called members of the class are applied to the catalog opened interactively in the MobiScript window (as opposed to calling UseLoadedCatalog(), which applies the later member calls to a catalog loaded into memory by Load(string, string) or New(string, UnitType, bool) methods ).
Declaration
public void UseMobiscriptCatalog()
Remarks
For the plugin events that are called from the MobiScript window context, there is no any difference between catalogs loaded into memory by Load(string, string), New(string, UnitType, bool) method and ones that were opened interactively.
For the plugin events that are called from other type of plugin events, you need to call UseMobiscriptCatalog() to get an access to the catalog that is currenly open in the Mobiscript window. In this case, Load(string, string) and New(string, UnitType, bool) methods load a catalog into a memory separate from MobiScript window session.