C# Class SEToolbox.Models.ExplorerModel

Inheritance: BaseModel
ファイルを表示 Open project: midspace/SEToolbox Class Usage Examples

Public Methods

Method Description
AddEntity ( MyObjectBuilder_EntityBase entity ) : IStructureBase
BeginLoad ( ) : void
CalcDistances ( ) : void
ClearProgress ( ) : void
CollisionCorrectEntity ( MyObjectBuilder_EntityBase entity ) : void
ContainsVoxelFilename ( string filename, MyObjectBuilder_EntityBase additionalList ) : bool
CreateUniqueVoxelStorageName ( string originalFile, MyObjectBuilder_EntityBase additionalList ) : string

automatically number all voxel files, and check for duplicate filenames.

EndLoad ( ) : void
ExplorerModel ( ) : System
IncrementProgress ( ) : void
LoadEntities ( string filenames ) : List
MergeData ( IList data ) : void
OptimizeModel ( StructureCubeGridModel viewModel ) : void
ParseSandBox ( ) : void
RemoveEntity ( MyObjectBuilder_EntityBase entity ) : bool
ResetProgress ( double initial, double maximumProgress ) : void
SaveCheckPointAndSandBox ( ) : void
SaveEntity ( MyObjectBuilder_EntityBase entity, string filename ) : void
SaveTemporarySandbox ( ) : string
SetActiveStatus ( ) : void
TestConvert ( StructureCubeGridModel viewModel ) : void
TestDisplayRotation ( StructureCubeGridModel viewModel ) : void

Private Methods

Method Description
LoadSectorDetail ( ) : void

Loads the content from the directory and SE objects, creating object models.

MergeData ( MyObjectBuilder_CubeGrid cubeGridObject, Int64>.Dictionary &idReplacementTable ) : void
MergeId ( long currentId, Int64>.Dictionary &idReplacementTable ) : System.Int64
MergeShipParts ( StructureCubeGridModel model1, StructureCubeGridModel model2 ) : bool

Merges and copies blocks from ship2 into ship1.

RejoinBrokenShip ( StructureCubeGridModel model1, StructureCubeGridModel model2 ) : void

Copy blocks from ship2 into ship1.

RenumberToolbar ( MyObjectBuilder_Toolbar toolbar, Int64>.Dictionary &idReplacementTable ) : void

Method Details

AddEntity() public method

public AddEntity ( MyObjectBuilder_EntityBase entity ) : IStructureBase
entity MyObjectBuilder_EntityBase
return IStructureBase

BeginLoad() public method

public BeginLoad ( ) : void
return void

CalcDistances() public method

public CalcDistances ( ) : void
return void

ClearProgress() public method

public ClearProgress ( ) : void
return void

CollisionCorrectEntity() public method

public CollisionCorrectEntity ( MyObjectBuilder_EntityBase entity ) : void
entity MyObjectBuilder_EntityBase
return void

ContainsVoxelFilename() public method

public ContainsVoxelFilename ( string filename, MyObjectBuilder_EntityBase additionalList ) : bool
filename string
additionalList MyObjectBuilder_EntityBase
return bool

CreateUniqueVoxelStorageName() public method

automatically number all voxel files, and check for duplicate filenames.
public CreateUniqueVoxelStorageName ( string originalFile, MyObjectBuilder_EntityBase additionalList ) : string
originalFile string
additionalList MyObjectBuilder_EntityBase
return string

EndLoad() public method

public EndLoad ( ) : void
return void

ExplorerModel() public method

public ExplorerModel ( ) : System
return System

IncrementProgress() public method

public IncrementProgress ( ) : void
return void

LoadEntities() public method

public LoadEntities ( string filenames ) : List
filenames string
return List

MergeData() public method

public MergeData ( IList data ) : void
data IList
return void

OptimizeModel() public method

public OptimizeModel ( StructureCubeGridModel viewModel ) : void
viewModel StructureCubeGridModel
return void

ParseSandBox() public method

public ParseSandBox ( ) : void
return void

RemoveEntity() public method

public RemoveEntity ( MyObjectBuilder_EntityBase entity ) : bool
entity MyObjectBuilder_EntityBase
return bool

ResetProgress() public method

public ResetProgress ( double initial, double maximumProgress ) : void
initial double
maximumProgress double
return void

SaveCheckPointAndSandBox() public method

public SaveCheckPointAndSandBox ( ) : void
return void

SaveEntity() public method

public SaveEntity ( MyObjectBuilder_EntityBase entity, string filename ) : void
entity MyObjectBuilder_EntityBase
filename string
return void

SaveTemporarySandbox() public method

public SaveTemporarySandbox ( ) : string
return string

SetActiveStatus() public method

public SetActiveStatus ( ) : void
return void

TestConvert() public method

public TestConvert ( StructureCubeGridModel viewModel ) : void
viewModel StructureCubeGridModel
return void

TestDisplayRotation() public method

public TestDisplayRotation ( StructureCubeGridModel viewModel ) : void
viewModel StructureCubeGridModel
return void