Click or drag to resize

ModScript Properties

The ModScript type exposes the following members.

Properties
  NameDescription
Public propertyGameAssets
A reference to the IGameAssets interface that allows access to shared game assets.
Public propertyModAssets
A reference to the IModAssets interface that allows access to the loading API.
Public propertyModDebug
A reference to the IModDebug interface that allows access to the mod debug API.
Public propertyModHost
A reference to the IModHost interface that allows access to the host that is handling this mod.
Public propertyModPersistentData
A reference to the IModPersistentData interface that allows data to be stored between sessions. This is useful for storing mod configuration values and then loading them back at a later date.
Public propertyModScenes
A reference to the IModScenes interface that allows access to the mod scenes.
Public propertyModSecurity
A reference to the IModSecurity interface that allows access to the mod security permissions at runtime. This is useful for determining whether the mod has permission to perform an action before hand.
Top
See Also