C# Class SEToolbox.Models.StructureCubeGridModel

Inheritance: StructureBaseModel
Show file Open project: midspace/SEToolbox Class Usage Examples

Public Methods

Method Description
ConvertFromHeavyToLightArmor ( ) : bool
ConvertFromLightToHeavyArmor ( ) : bool
ConvertToCornerArmor ( ) : bool
ConvertToFramework ( float value ) : void
ConvertToRoundArmor ( ) : bool
ConvertToShip ( ) : void
ConvertToStation ( ) : void
GetActiveCockpits ( ) : List

Find any Cockpits that have player character/s in them.

InitializeAsync ( ) : void
MaxVelocityAtPlayer ( VRageMath playerPosition ) : void
MirrorModel ( bool usePlane, bool oddMirror ) : bool
ReorientStation ( ) : void
RepairAllDamage ( ) : void
ResetLinearVelocity ( ) : void
ResetRotationVelocity ( ) : void
ResetVelocity ( ) : void
ReverseVelocity ( ) : void
RotateCubes ( VRageMath quaternion ) : void
RotateStructure ( VRageMath quaternion ) : void
StructureCubeGridModel ( MyObjectBuilder_EntityBase entityBase ) : System
UpdateGeneralFromEntityBase ( ) : void

Private Methods

Method Description
GetAxisIndicator ( VRageMath.Base6Directions direction ) : string
MirrorCubeOrientation ( string subtypeName, Sandbox.Common.ObjectBuilders.VRageData.SerializableBlockOrientation orientation, Mirror xMirror, Mirror yMirror, Mirror zMirror ) : Sandbox.Common.ObjectBuilders.VRageData.SerializableBlockOrientation
MirrorCubes ( StructureCubeGridModel viewModel, bool integrate, Mirror xMirror, int xAxis, Mirror yMirror, int yAxis, Mirror zMirror, int zAxis ) : IEnumerable
OnDeserializedMethod ( StreamingContext context ) : void
OnSerializingMethod ( StreamingContext context ) : void

Method Details

ConvertFromHeavyToLightArmor() public method

public ConvertFromHeavyToLightArmor ( ) : bool
return bool

ConvertFromLightToHeavyArmor() public method

public ConvertFromLightToHeavyArmor ( ) : bool
return bool

ConvertToCornerArmor() public method

public ConvertToCornerArmor ( ) : bool
return bool

ConvertToFramework() public method

public ConvertToFramework ( float value ) : void
value float
return void

ConvertToRoundArmor() public method

public ConvertToRoundArmor ( ) : bool
return bool

ConvertToShip() public method

public ConvertToShip ( ) : void
return void

ConvertToStation() public method

public ConvertToStation ( ) : void
return void

GetActiveCockpits() public method

Find any Cockpits that have player character/s in them.
public GetActiveCockpits ( ) : List
return List

InitializeAsync() public method

public InitializeAsync ( ) : void
return void

MaxVelocityAtPlayer() public method

public MaxVelocityAtPlayer ( VRageMath playerPosition ) : void
playerPosition VRageMath
return void

MirrorModel() public method

public MirrorModel ( bool usePlane, bool oddMirror ) : bool
usePlane bool
oddMirror bool
return bool

ReorientStation() public method

public ReorientStation ( ) : void
return void

RepairAllDamage() public method

public RepairAllDamage ( ) : void
return void

ResetLinearVelocity() public method

public ResetLinearVelocity ( ) : void
return void

ResetRotationVelocity() public method

public ResetRotationVelocity ( ) : void
return void

ResetVelocity() public method

public ResetVelocity ( ) : void
return void

ReverseVelocity() public method

public ReverseVelocity ( ) : void
return void

RotateCubes() public method

public RotateCubes ( VRageMath quaternion ) : void
quaternion VRageMath
return void

RotateStructure() public method

public RotateStructure ( VRageMath quaternion ) : void
quaternion VRageMath
return void

StructureCubeGridModel() public method

public StructureCubeGridModel ( MyObjectBuilder_EntityBase entityBase ) : System
entityBase MyObjectBuilder_EntityBase
return System

UpdateGeneralFromEntityBase() public method

public UpdateGeneralFromEntityBase ( ) : void
return void