Click or drag to resize
MySessionComponentDefinition Class

[This is preliminary documentation and is subject to change.]

[Missing <summary> documentation for "T:VRage.Game.Components.Session.MySessionComponentDefinition"]

Inheritance Hierarchy

Namespace: VRage.Game.Components.Session
Assembly: VRage.Game (in VRage.Game.dll) Version: 1.0.0.0
Syntax
C#
public class MySessionComponentDefinition : MyDefinitionBase

The MySessionComponentDefinition type exposes the following members.

Constructors
  NameDescription
Public methodMySessionComponentDefinition
Initializes a new instance of the MySessionComponentDefinition class
Top
Properties
  NameDescription
Public propertyDescriptionText
Use this property when showing description in GUI, as it takes into account more complex description construction.
(Inherited from MyDefinitionBase.)
Public propertyDisplayNameText
Use this property when showing name in GUI instead of DisplayName. This takes into account more complex name construction.
(Inherited from MyDefinitionBase.)
Top
Methods
  NameDescription
Public methodGetObjectBuilder (Inherited from MyDefinitionBase.)
Public methodInit (Inherited from MyDefinitionBase.)
Public methodPostprocess
Override this in case you want to do some postprocessing of the definition before the game starts. TODO: Obsolete me

Postprocess is useful if you want to process the definition before the game begins,

but you only want to do it when all the definitions are loaded and merged.

(Inherited from MyDefinitionBase.)
Public methodToString (Inherited from MyDefinitionBase.)
Top
Fields
  NameDescription
Public fieldAvailableInSurvival (Inherited from MyDefinitionBase.)
Public fieldContext (Inherited from MyDefinitionBase.)
Public fieldDescriptionEnum
Enum used for localization of description. Null for player created definitions.
(Inherited from MyDefinitionBase.)
Public fieldDescriptionString
String used for user created description which do not have localization support.
(Inherited from MyDefinitionBase.)
Public fieldDisplayNameEnum
Enum used for localization of display name. Null for player created definitions.
(Inherited from MyDefinitionBase.)
Public fieldDisplayNameString
String name used for user created definitions which do not have localization support.
(Inherited from MyDefinitionBase.)
Public fieldEnabled
Definition can be disabled by mod, then it will be removed from definition manager
(Inherited from MyDefinitionBase.)
Public fieldIcons
Icons for the definition, they are used from top to bottom.
(Inherited from MyDefinitionBase.)
Public fieldId (Inherited from MyDefinitionBase.)
Public fieldPublic
Indicates if definition should be offered in Cube builder
(Inherited from MyDefinitionBase.)
Top
See Also