C# Class SEToolbox.Models.ExplorerModel

Inheritance: BaseModel
Afficher le fichier Open project: midspace/SEToolbox Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

public AddEntity ( MyObjectBuilder_EntityBase entity ) : IStructureBase
entity MyObjectBuilder_EntityBase
Résultat IStructureBase

BeginLoad() public méthode

public BeginLoad ( ) : void
Résultat void

CalcDistances() public méthode

public CalcDistances ( ) : void
Résultat void

ClearProgress() public méthode

public ClearProgress ( ) : void
Résultat void

CollisionCorrectEntity() public méthode

public CollisionCorrectEntity ( MyObjectBuilder_EntityBase entity ) : void
entity MyObjectBuilder_EntityBase
Résultat void

ContainsVoxelFilename() public méthode

public ContainsVoxelFilename ( string filename, MyObjectBuilder_EntityBase additionalList ) : bool
filename string
additionalList MyObjectBuilder_EntityBase
Résultat bool

CreateUniqueVoxelStorageName() public méthode

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

EndLoad() public méthode

public EndLoad ( ) : void
Résultat void

ExplorerModel() public méthode

public ExplorerModel ( ) : System
Résultat System

IncrementProgress() public méthode

public IncrementProgress ( ) : void
Résultat void

LoadEntities() public méthode

public LoadEntities ( string filenames ) : List
filenames string
Résultat List

MergeData() public méthode

public MergeData ( IList data ) : void
data IList
Résultat void

OptimizeModel() public méthode

public OptimizeModel ( StructureCubeGridModel viewModel ) : void
viewModel StructureCubeGridModel
Résultat void

ParseSandBox() public méthode

public ParseSandBox ( ) : void
Résultat void

RemoveEntity() public méthode

public RemoveEntity ( MyObjectBuilder_EntityBase entity ) : bool
entity MyObjectBuilder_EntityBase
Résultat bool

ResetProgress() public méthode

public ResetProgress ( double initial, double maximumProgress ) : void
initial double
maximumProgress double
Résultat void

SaveCheckPointAndSandBox() public méthode

public SaveCheckPointAndSandBox ( ) : void
Résultat void

SaveEntity() public méthode

public SaveEntity ( MyObjectBuilder_EntityBase entity, string filename ) : void
entity MyObjectBuilder_EntityBase
filename string
Résultat void

SaveTemporarySandbox() public méthode

public SaveTemporarySandbox ( ) : string
Résultat string

SetActiveStatus() public méthode

public SetActiveStatus ( ) : void
Résultat void

TestConvert() public méthode

public TestConvert ( StructureCubeGridModel viewModel ) : void
viewModel StructureCubeGridModel
Résultat void

TestDisplayRotation() public méthode

public TestDisplayRotation ( StructureCubeGridModel viewModel ) : void
viewModel StructureCubeGridModel
Résultat void