C# Class SEModAPIInternal.API.Entity.Sector.SectorObject.CubeGrid.CubeBlockEntity

Inheritance: BaseObject
显示文件 Open project: rexxar-tc/SEServerExtender Class Usage Examples

Public Properties

Property Type Description
ActualCubeBlockClass string
ActualCubeBlockGetFactionsObjectMethod string
ActualCubeBlockGetMatrixMethod string
ActualCubeBlockGetObjectBuilderMethod string
ActualCubeBlockGetOwnerMethod string
ActualCubeBlockNamespace string
ActualCubeBlockSetFactionsDataMethod string
ConstructionManagerBuildValueField string
ConstructionManagerClass string
ConstructionManagerGetBuildPercentMethod string
ConstructionManagerGetBuildValueMethod string
ConstructionManagerGetIntegrityPercentMethod string
ConstructionManagerGetIntegrityValueMethod string
ConstructionManagerGetMaxIntegrityMethod string
ConstructionManagerIntegrityValueField string
ConstructionManagerNamespace string
ConstructionManagerSetIntegrityBuildValuesMethod string
CubeBlockColorMaskHSVField string
CubeBlockConstructionManagerField string
CubeBlockCubeBlockDefinitionField string
CubeBlockDamageBlockMethod string
CubeBlockFixBonesMethod string
CubeBlockGetActualBlockMethod string
CubeBlockGetBoneDamageMethod string
CubeBlockGetBuildPercentMethod string
CubeBlockGetBuildValueMethod string
CubeBlockGetIntegrityValueMethod string
CubeBlockGetMaxIntegrityValueMethod string
CubeBlockGetObjectBuilderMethod string
CubeBlockNamespace string
CubeBlockParentCubeGridField string
CubeBlockUpdateWeldProgressMethod string
FactionsDataClass string
FactionsDataNamespace string
FactionsDataOwnerField string
FactionsDataShareModeField string
SlimBlockClass string

Private Properties

Property Type Description
GetBlockDefinition Sandbox.Definitions.MyCubeBlockDefinition
GetBlockEntityMatrix System.Matrix
GetInternalParentCubeGrid Object

Public Methods

Method Description
CubeBlockEntity ( CubeGridEntity parent, MyObjectBuilder_CubeBlock definition ) : System
CubeBlockEntity ( CubeGridEntity parent, MyObjectBuilder_CubeBlock definition, Object backingObject ) : System
Dispose ( ) : void
Export ( FileInfo fileInfo ) : void
FixBones ( float a, float b ) : void
KnownTypes ( ) : List
ReflectionUnitTest ( ) : bool
Repair ( ) : void

Repairs this CubeBlockEntity (sets BuildPercent and IntegrityPercent to 1)

SetBuildPercent ( IMySlimBlock block, float percent ) : void

Protected Methods

Method Description
GetActualObject ( ) : Object
GetBlockOwner ( ) : long
GetBlockShareMode ( ) : MyOwnershipShareModeEnum
GetBoneDamage ( ) : float
GetConstructionManager ( ) : Object
GetFactionData ( ) : Object
InternalGetBuildPercent ( ) : float
InternalGetIntegrityPercent ( ) : float
InternalSetOwnerShareMode ( ) : void
InternalUpdateColorMaskHSV ( ) : void
InternalUpdateConstructionManager ( ) : void

Private Methods

Method Description
GetBlockDefinition ( ) : Sandbox.Definitions.MyCubeBlockDefinition
GetBlockEntityMatrix ( ) : System.Matrix
GetInternalParentCubeGrid ( Object backingActualBlock ) : Object

Method Details

CubeBlockEntity() public method

public CubeBlockEntity ( CubeGridEntity parent, MyObjectBuilder_CubeBlock definition ) : System
parent CubeGridEntity
definition MyObjectBuilder_CubeBlock
return System

CubeBlockEntity() public method

public CubeBlockEntity ( CubeGridEntity parent, MyObjectBuilder_CubeBlock definition, Object backingObject ) : System
parent CubeGridEntity
definition MyObjectBuilder_CubeBlock
backingObject Object
return System

Dispose() public method

public Dispose ( ) : void
return void

Export() public method

public Export ( FileInfo fileInfo ) : void
fileInfo System.IO.FileInfo
return void

FixBones() public method

public FixBones ( float a, float b ) : void
a float
b float
return void

GetActualObject() protected method

protected GetActualObject ( ) : Object
return Object

GetBlockOwner() protected method

protected GetBlockOwner ( ) : long
return long

GetBlockShareMode() protected method

protected GetBlockShareMode ( ) : MyOwnershipShareModeEnum
return MyOwnershipShareModeEnum

GetBoneDamage() protected method

protected GetBoneDamage ( ) : float
return float

GetConstructionManager() protected method

protected GetConstructionManager ( ) : Object
return Object

GetFactionData() protected method

protected GetFactionData ( ) : Object
return Object

InternalGetBuildPercent() protected method

protected InternalGetBuildPercent ( ) : float
return float

InternalGetIntegrityPercent() protected method

protected InternalGetIntegrityPercent ( ) : float
return float

InternalSetOwnerShareMode() protected method

protected InternalSetOwnerShareMode ( ) : void
return void

InternalUpdateColorMaskHSV() protected method

protected InternalUpdateColorMaskHSV ( ) : void
return void

InternalUpdateConstructionManager() protected method

protected InternalUpdateConstructionManager ( ) : void
return void

KnownTypes() public static method

public static KnownTypes ( ) : List
return List

ReflectionUnitTest() public static method

public static ReflectionUnitTest ( ) : bool
return bool

Repair() public method

Repairs this CubeBlockEntity (sets BuildPercent and IntegrityPercent to 1)
public Repair ( ) : void
return void

SetBuildPercent() public static method

public static SetBuildPercent ( IMySlimBlock block, float percent ) : void
block IMySlimBlock
percent float
return void

Property Details

ActualCubeBlockClass public_oe static_oe property

public static string ActualCubeBlockClass
return string

ActualCubeBlockGetFactionsObjectMethod public_oe static_oe property

public static string ActualCubeBlockGetFactionsObjectMethod
return string

ActualCubeBlockGetMatrixMethod public_oe static_oe property

public static string ActualCubeBlockGetMatrixMethod
return string

ActualCubeBlockGetObjectBuilderMethod public_oe static_oe property

public static string ActualCubeBlockGetObjectBuilderMethod
return string

ActualCubeBlockGetOwnerMethod public_oe static_oe property

public static string ActualCubeBlockGetOwnerMethod
return string

ActualCubeBlockNamespace public_oe static_oe property

public static string ActualCubeBlockNamespace
return string

ActualCubeBlockSetFactionsDataMethod public_oe static_oe property

public static string ActualCubeBlockSetFactionsDataMethod
return string

ConstructionManagerBuildValueField public_oe static_oe property

public static string ConstructionManagerBuildValueField
return string

ConstructionManagerClass public_oe static_oe property

public static string ConstructionManagerClass
return string

ConstructionManagerGetBuildPercentMethod public_oe static_oe property

public static string ConstructionManagerGetBuildPercentMethod
return string

ConstructionManagerGetBuildValueMethod public_oe static_oe property

public static string ConstructionManagerGetBuildValueMethod
return string

ConstructionManagerGetIntegrityPercentMethod public_oe static_oe property

public static string ConstructionManagerGetIntegrityPercentMethod
return string

ConstructionManagerGetIntegrityValueMethod public_oe static_oe property

public static string ConstructionManagerGetIntegrityValueMethod
return string

ConstructionManagerGetMaxIntegrityMethod public_oe static_oe property

public static string ConstructionManagerGetMaxIntegrityMethod
return string

ConstructionManagerIntegrityValueField public_oe static_oe property

public static string ConstructionManagerIntegrityValueField
return string

ConstructionManagerNamespace public_oe static_oe property

public static string ConstructionManagerNamespace
return string

ConstructionManagerSetIntegrityBuildValuesMethod public_oe static_oe property

public static string ConstructionManagerSetIntegrityBuildValuesMethod
return string

CubeBlockColorMaskHSVField public_oe static_oe property

public static string CubeBlockColorMaskHSVField
return string

CubeBlockConstructionManagerField public_oe static_oe property

public static string CubeBlockConstructionManagerField
return string

CubeBlockCubeBlockDefinitionField public_oe static_oe property

public static string CubeBlockCubeBlockDefinitionField
return string

CubeBlockDamageBlockMethod public_oe static_oe property

public static string CubeBlockDamageBlockMethod
return string

CubeBlockFixBonesMethod public_oe static_oe property

public static string CubeBlockFixBonesMethod
return string

CubeBlockGetActualBlockMethod public_oe static_oe property

public static string CubeBlockGetActualBlockMethod
return string

CubeBlockGetBoneDamageMethod public_oe static_oe property

public static string CubeBlockGetBoneDamageMethod
return string

CubeBlockGetBuildPercentMethod public_oe static_oe property

public static string CubeBlockGetBuildPercentMethod
return string

CubeBlockGetBuildValueMethod public_oe static_oe property

public static string CubeBlockGetBuildValueMethod
return string

CubeBlockGetIntegrityValueMethod public_oe static_oe property

public static string CubeBlockGetIntegrityValueMethod
return string

CubeBlockGetMaxIntegrityValueMethod public_oe static_oe property

public static string CubeBlockGetMaxIntegrityValueMethod
return string

CubeBlockGetObjectBuilderMethod public_oe static_oe property

public static string CubeBlockGetObjectBuilderMethod
return string

CubeBlockNamespace public_oe static_oe property

public static string CubeBlockNamespace
return string

CubeBlockParentCubeGridField public_oe static_oe property

public static string CubeBlockParentCubeGridField
return string

CubeBlockUpdateWeldProgressMethod public_oe static_oe property

public static string CubeBlockUpdateWeldProgressMethod
return string

FactionsDataClass public_oe static_oe property

public static string FactionsDataClass
return string

FactionsDataNamespace public_oe static_oe property

public static string FactionsDataNamespace
return string

FactionsDataOwnerField public_oe static_oe property

public static string FactionsDataOwnerField
return string

FactionsDataShareModeField public_oe static_oe property

public static string FactionsDataShareModeField
return string

SlimBlockClass public_oe static_oe property

public static string SlimBlockClass
return string