Space Engineers
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
Sandbox.Definitions.MyAgentDefinition Class Reference
Inheritance diagram for Sandbox.Definitions.MyAgentDefinition:
Sandbox.Definitions.MyBotDefinition VRage.Game.MyDefinitionBase Sandbox.Definitions.MyAnimalBotDefinition Sandbox.Definitions.MyHumanoidBotDefinition

Public Member Functions

override void AddItems (Sandbox.Game.Entities.Character.MyCharacter character)
 
- Public Member Functions inherited from VRage.Game.MyDefinitionBase
void Init (MyObjectBuilder_DefinitionBase builder, MyModContext modContext)
 
virtual void Postprocess ()
 Override this in case you want to do some postprocessing of the definition before the game starts. More...
 
void Save (string filepath)
 
virtual MyObjectBuilder_DefinitionBase GetObjectBuilder ()
 
override string ToString ()
 

Public Attributes

string BotModel
 
string TargetType
 
bool InventoryContentGenerated = false
 
MyDefinitionId InventoryContainerTypeId
 
bool RemoveAfterDeath
 
int RespawnTimeMs
 
int RemoveTimeMs
 
string FactionTag
 
- Public Attributes inherited from Sandbox.Definitions.MyBotDefinition
MyDefinitionId BotBehaviorTree
 
string BehaviorType
 
string BehaviorSubtype
 
MyDefinitionId TypeDefinitionId
 
bool Commandable
 
- Public Attributes inherited from VRage.Game.MyDefinitionBase
MyDefinitionId Id
 
MyStringId DisplayNameEnum
 Enum used for localization of display name. Null for player created definitions. More...
 
MyStringId DescriptionEnum
 Enum used for localization of description. Null for player created definitions. More...
 
String DisplayNameString
 String name used for user created definitions which do not have localization support. More...
 
String DescriptionString
 String used for user created description which do not have localization support. More...
 
string[] Icons
 Icons for the definition, they are used from top to bottom. More...
 
bool Enabled = true
 Definition can be disabled by mod, then it will be removed from definition manager More...
 
bool Public = true
 Indicates if definition should be offered in Cube builder More...
 
bool AvailableInSurvival
 
MyModContext Context
 

Protected Member Functions

override void Init (MyObjectBuilder_DefinitionBase builder)
 
- Protected Member Functions inherited from Sandbox.Definitions.MyBotDefinition
override void Init (MyObjectBuilder_DefinitionBase builder)
 

Additional Inherited Members

- Properties inherited from VRage.Game.MyDefinitionBase
virtual String DisplayNameText [get]
 Use this property when showing name in GUI instead of DisplayName. This takes into account more complex name construction. More...
 
virtual String DescriptionText [get]
 Use this property when showing description in GUI, as it takes into account more complex description construction. More...
 

Detailed Description

Definition at line 14 of file MyAgentDefinition.cs.

Member Function Documentation

override void Sandbox.Definitions.MyAgentDefinition.AddItems ( Sandbox.Game.Entities.Character.MyCharacter  character)
inlinevirtual

Reimplemented from Sandbox.Definitions.MyBotDefinition.

Reimplemented in Sandbox.Definitions.MyHumanoidBotDefinition.

Definition at line 48 of file MyAgentDefinition.cs.

override void Sandbox.Definitions.MyAgentDefinition.Init ( MyObjectBuilder_DefinitionBase  builder)
inlineprotectedvirtual

Reimplemented from VRage.Game.MyDefinitionBase.

Reimplemented in Sandbox.Definitions.MyHumanoidBotDefinition.

Definition at line 27 of file MyAgentDefinition.cs.

Member Data Documentation

string Sandbox.Definitions.MyAgentDefinition.BotModel

Definition at line 16 of file MyAgentDefinition.cs.

string Sandbox.Definitions.MyAgentDefinition.FactionTag

Definition at line 25 of file MyAgentDefinition.cs.

MyDefinitionId Sandbox.Definitions.MyAgentDefinition.InventoryContainerTypeId

Definition at line 19 of file MyAgentDefinition.cs.

bool Sandbox.Definitions.MyAgentDefinition.InventoryContentGenerated = false

Definition at line 18 of file MyAgentDefinition.cs.

bool Sandbox.Definitions.MyAgentDefinition.RemoveAfterDeath

Definition at line 21 of file MyAgentDefinition.cs.

int Sandbox.Definitions.MyAgentDefinition.RemoveTimeMs

Definition at line 23 of file MyAgentDefinition.cs.

int Sandbox.Definitions.MyAgentDefinition.RespawnTimeMs

Definition at line 22 of file MyAgentDefinition.cs.

string Sandbox.Definitions.MyAgentDefinition.TargetType

Definition at line 17 of file MyAgentDefinition.cs.


The documentation for this class was generated from the following file: