C# 클래스 SEToolbox.ViewModels.CubeItemViewModel

상속: BaseViewModel
파일 보기 프로젝트 열기: midspace/SEToolbox

공개 메소드들

메소드 설명
ChangeOwner ( long newOwnerId ) : bool
CreateCube ( MyObjectBuilderType typeId, string subTypeId, MyCubeBlockDefinition definition ) : Sandbox.Common.ObjectBuilders.MyObjectBuilder_CubeBlock
CubeItemViewModel ( BaseViewModel parentViewModel, CubeItemModel dataModel ) : System
CubeItemViewModel ( BaseViewModel parentViewModel, CubeItemModel dataModel, IDialogService dialogService ) : System
ToString ( ) : string
UpdateBuildPercent ( double buildPercent ) : void
UpdateColor ( VRage.SerializableVector3 vector3 ) : void

메소드 상세

ChangeOwner() 공개 메소드

public ChangeOwner ( long newOwnerId ) : bool
newOwnerId long
리턴 bool

CreateCube() 공개 메소드

public CreateCube ( MyObjectBuilderType typeId, string subTypeId, MyCubeBlockDefinition definition ) : Sandbox.Common.ObjectBuilders.MyObjectBuilder_CubeBlock
typeId MyObjectBuilderType
subTypeId string
definition MyCubeBlockDefinition
리턴 Sandbox.Common.ObjectBuilders.MyObjectBuilder_CubeBlock

CubeItemViewModel() 공개 메소드

public CubeItemViewModel ( BaseViewModel parentViewModel, CubeItemModel dataModel ) : System
parentViewModel BaseViewModel
dataModel SEToolbox.Models.CubeItemModel
리턴 System

CubeItemViewModel() 공개 메소드

public CubeItemViewModel ( BaseViewModel parentViewModel, CubeItemModel dataModel, IDialogService dialogService ) : System
parentViewModel BaseViewModel
dataModel SEToolbox.Models.CubeItemModel
dialogService IDialogService
리턴 System

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

UpdateBuildPercent() 공개 메소드

public UpdateBuildPercent ( double buildPercent ) : void
buildPercent double
리턴 void

UpdateColor() 공개 메소드

public UpdateColor ( VRage.SerializableVector3 vector3 ) : void
vector3 VRage.SerializableVector3
리턴 void