Space Engineers
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Properties | List of all members
Sandbox.Game.World.MyNeutralShipSpawner Class Reference
Inheritance diagram for Sandbox.Game.World.MyNeutralShipSpawner:
VRage.Game.Components.MySessionComponentBase VRage.Game.Components.Interfaces.IMyUserInputComponent

Public Member Functions

override void LoadData ()
 
override void BeforeStart ()
 
override void UpdateBeforeSimulation ()
 
- Public Member Functions inherited from VRage.Game.Components.MySessionComponentBase
virtual bool UpdatedBeforeInit ()
 
 MySessionComponentBase ()
 
void SetUpdateOrder (MyUpdateOrder order)
 
virtual void InitFromDefinition (MySessionComponentDefinition definition)
 
virtual void Init (MyObjectBuilder_SessionComponent sessionComponent)
 
virtual MyObjectBuilder_SessionComponent GetObjectBuilder ()
 
void AfterLoadData ()
 
void UnloadDataConditional ()
 
virtual void SaveData ()
 
virtual void Simulate ()
 
virtual void UpdateAfterSimulation ()
 
virtual void UpdatingStopped ()
 
virtual void Draw ()
 
virtual void HandleInput ()
 
override string ToString ()
 

Static Public Member Functions

static void OnGlobalSpawnEvent (object senderEvent)
 

Public Attributes

const float NEUTRAL_SHIP_SPAWN_DISTANCE = 8000.0f
 
const float NEUTRAL_SHIP_FORBIDDEN_RADIUS = 2000.0f
 
const float NEUTRAL_SHIP_DIRECTION_SPREAD = 0.5f
 
const float NEUTRAL_SHIP_MINIMAL_ROUTE_LENGTH = 10000.0f
 
const float NEUTRAL_SHIP_SPAWN_OFFSET = 500.0f
 
- Public Attributes inherited from VRage.Game.Components.MySessionComponentBase
readonly string DebugName
 
readonly int Priority
 
readonly Type ComponentType
 
IMySession Session
 

Static Public Attributes

static TimeSpan NEUTRAL_SHIP_RESCHEDULE_TIME = TimeSpan.FromSeconds(10)
 
static TimeSpan NEUTRAL_SHIP_MIN_TIME = TimeSpan.FromMinutes(13)
 
static TimeSpan NEUTRAL_SHIP_MAX_TIME = TimeSpan.FromMinutes(17)
 

Protected Member Functions

override void UnloadData ()
 

Properties

override bool IsRequiredByGame [get]
 
- Properties inherited from VRage.Game.Components.MySessionComponentBase
MyUpdateOrder UpdateOrder [get]
 
MyObjectBuilderType ObjectBuilderType [get]
 
bool Loaded [get]
 
bool Initialized [get]
 
MyDefinitionId Definition [get, set]
 
virtual Type[] Dependencies [get]
 
virtual bool IsRequiredByGame [get]
 Indicates whether a session component should be used in current configuration. Example: MyDestructionData component returns true only when game uses Havok Destruction More...
 

Detailed Description

Definition at line 28 of file MyNeutralShipSpawner.cs.

Member Function Documentation

override void Sandbox.Game.World.MyNeutralShipSpawner.BeforeStart ( )
inlinevirtual

Reimplemented from VRage.Game.Components.MySessionComponentBase.

Definition at line 90 of file MyNeutralShipSpawner.cs.

override void Sandbox.Game.World.MyNeutralShipSpawner.LoadData ( )
inlinevirtual

Reimplemented from VRage.Game.Components.MySessionComponentBase.

Definition at line 59 of file MyNeutralShipSpawner.cs.

static void Sandbox.Game.World.MyNeutralShipSpawner.OnGlobalSpawnEvent ( object  senderEvent)
inlinestatic

Definition at line 213 of file MyNeutralShipSpawner.cs.

override void Sandbox.Game.World.MyNeutralShipSpawner.UnloadData ( )
inlineprotectedvirtual

Reimplemented from VRage.Game.Components.MySessionComponentBase.

Definition at line 84 of file MyNeutralShipSpawner.cs.

override void Sandbox.Game.World.MyNeutralShipSpawner.UpdateBeforeSimulation ( )
inlinevirtual

Reimplemented from VRage.Game.Components.MySessionComponentBase.

Definition at line 114 of file MyNeutralShipSpawner.cs.

Member Data Documentation

const float Sandbox.Game.World.MyNeutralShipSpawner.NEUTRAL_SHIP_DIRECTION_SPREAD = 0.5f

Definition at line 32 of file MyNeutralShipSpawner.cs.

const float Sandbox.Game.World.MyNeutralShipSpawner.NEUTRAL_SHIP_FORBIDDEN_RADIUS = 2000.0f

Definition at line 31 of file MyNeutralShipSpawner.cs.

TimeSpan Sandbox.Game.World.MyNeutralShipSpawner.NEUTRAL_SHIP_MAX_TIME = TimeSpan.FromMinutes(17)
static

Definition at line 37 of file MyNeutralShipSpawner.cs.

TimeSpan Sandbox.Game.World.MyNeutralShipSpawner.NEUTRAL_SHIP_MIN_TIME = TimeSpan.FromMinutes(13)
static

Definition at line 36 of file MyNeutralShipSpawner.cs.

const float Sandbox.Game.World.MyNeutralShipSpawner.NEUTRAL_SHIP_MINIMAL_ROUTE_LENGTH = 10000.0f

Definition at line 33 of file MyNeutralShipSpawner.cs.

TimeSpan Sandbox.Game.World.MyNeutralShipSpawner.NEUTRAL_SHIP_RESCHEDULE_TIME = TimeSpan.FromSeconds(10)
static

Definition at line 35 of file MyNeutralShipSpawner.cs.

const float Sandbox.Game.World.MyNeutralShipSpawner.NEUTRAL_SHIP_SPAWN_DISTANCE = 8000.0f

Definition at line 30 of file MyNeutralShipSpawner.cs.

const float Sandbox.Game.World.MyNeutralShipSpawner.NEUTRAL_SHIP_SPAWN_OFFSET = 500.0f

Definition at line 34 of file MyNeutralShipSpawner.cs.

Property Documentation

override bool Sandbox.Game.World.MyNeutralShipSpawner.IsRequiredByGame
get

Definition at line 52 of file MyNeutralShipSpawner.cs.


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